Package io.kubernetes.client.proto
Class V1Admission.AdmissionRequest
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.kubernetes.client.proto.V1Admission.AdmissionRequest
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,V1Admission.AdmissionRequestOrBuilder,Serializable
- Enclosing class:
- V1Admission
public static final class V1Admission.AdmissionRequest
extends com.google.protobuf.GeneratedMessageV3
implements V1Admission.AdmissionRequestOrBuilder
AdmissionRequest describes the admission.Attributes for the admission request.Protobuf type
k8s.io.api.admission.v1.AdmissionRequest- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classAdmissionRequest describes the admission.Attributes for the admission request.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final com.google.protobuf.Parser<V1Admission.AdmissionRequest>Deprecated.static final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic V1Admission.AdmissionRequeststatic final com.google.protobuf.Descriptors.DescriptorbooleanDryRun indicates that modifications will definitely not be persisted for this request.getKind()Kind is the fully-qualified type of object being submitted (for example, v1.Pod or autoscaling.v1.Scale)Kind is the fully-qualified type of object being submitted (for example, v1.Pod or autoscaling.v1.Scale)getName()Name is the name of the object as presented in the request.com.google.protobuf.ByteStringName is the name of the object as presented in the request.Namespace is the namespace associated with the request (if any).com.google.protobuf.ByteStringNamespace is the namespace associated with the request (if any).Object is the object from the incoming request.Object is the object from the incoming request.OldObject is the existing object.OldObject is the existing object.Operation is the operation being performed.com.google.protobuf.ByteStringOperation is the operation being performed.Options is the operation option structure of the operation being performed.Options is the operation option structure of the operation being performed.com.google.protobuf.Parser<V1Admission.AdmissionRequest>RequestKind is the fully-qualified type of the original API request (for example, v1.Pod or autoscaling.v1.Scale).RequestKind is the fully-qualified type of the original API request (for example, v1.Pod or autoscaling.v1.Scale).RequestResource is the fully-qualified resource of the original API request (for example, v1.pods).RequestResource is the fully-qualified resource of the original API request (for example, v1.pods).RequestSubResource is the name of the subresource of the original API request, if any (for example, "status" or "scale") If this is specified and differs from the value in "subResource", an equivalent match and conversion was performed.com.google.protobuf.ByteStringRequestSubResource is the name of the subresource of the original API request, if any (for example, "status" or "scale") If this is specified and differs from the value in "subResource", an equivalent match and conversion was performed.Resource is the fully-qualified resource being requested (for example, v1.pods)Resource is the fully-qualified resource being requested (for example, v1.pods)intSubResource is the subresource being requested, if any (for example, "status" or "scale") +optionalcom.google.protobuf.ByteStringSubResource is the subresource being requested, if any (for example, "status" or "scale") +optionalgetUid()UID is an identifier for the individual request/response.com.google.protobuf.ByteStringUID is an identifier for the individual request/response.final com.google.protobuf.UnknownFieldSetUserInfo is information about the requesting userUserInfo is information about the requesting userbooleanDryRun indicates that modifications will definitely not be persisted for this request.inthashCode()booleanhasKind()Kind is the fully-qualified type of object being submitted (for example, v1.Pod or autoscaling.v1.Scale)booleanhasName()Name is the name of the object as presented in the request.booleanNamespace is the namespace associated with the request (if any).booleanObject is the object from the incoming request.booleanOldObject is the existing object.booleanOperation is the operation being performed.booleanOptions is the operation option structure of the operation being performed.booleanRequestKind is the fully-qualified type of the original API request (for example, v1.Pod or autoscaling.v1.Scale).booleanRequestResource is the fully-qualified resource of the original API request (for example, v1.pods).booleanRequestSubResource is the name of the subresource of the original API request, if any (for example, "status" or "scale") If this is specified and differs from the value in "subResource", an equivalent match and conversion was performed.booleanResource is the fully-qualified resource being requested (for example, v1.pods)booleanSubResource is the subresource being requested, if any (for example, "status" or "scale") +optionalbooleanhasUid()UID is an identifier for the individual request/response.booleanUserInfo is information about the requesting userprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(V1Admission.AdmissionRequest prototype) protected V1Admission.AdmissionRequest.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) static V1Admission.AdmissionRequestparseDelimitedFrom(InputStream input) static V1Admission.AdmissionRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1Admission.AdmissionRequestparseFrom(byte[] data) static V1Admission.AdmissionRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1Admission.AdmissionRequestparseFrom(com.google.protobuf.ByteString data) static V1Admission.AdmissionRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1Admission.AdmissionRequestparseFrom(com.google.protobuf.CodedInputStream input) static V1Admission.AdmissionRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1Admission.AdmissionRequestparseFrom(InputStream input) static V1Admission.AdmissionRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1Admission.AdmissionRequestparseFrom(ByteBuffer data) static V1Admission.AdmissionRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<V1Admission.AdmissionRequest>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
Field Details
-
UID_FIELD_NUMBER
public static final int UID_FIELD_NUMBER- See Also:
-
KIND_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER- See Also:
-
RESOURCE_FIELD_NUMBER
public static final int RESOURCE_FIELD_NUMBER- See Also:
-
SUBRESOURCE_FIELD_NUMBER
public static final int SUBRESOURCE_FIELD_NUMBER- See Also:
-
REQUESTKIND_FIELD_NUMBER
public static final int REQUESTKIND_FIELD_NUMBER- See Also:
-
REQUESTRESOURCE_FIELD_NUMBER
public static final int REQUESTRESOURCE_FIELD_NUMBER- See Also:
-
REQUESTSUBRESOURCE_FIELD_NUMBER
public static final int REQUESTSUBRESOURCE_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
NAMESPACE_FIELD_NUMBER
public static final int NAMESPACE_FIELD_NUMBER- See Also:
-
OPERATION_FIELD_NUMBER
public static final int OPERATION_FIELD_NUMBER- See Also:
-
USERINFO_FIELD_NUMBER
public static final int USERINFO_FIELD_NUMBER- See Also:
-
OBJECT_FIELD_NUMBER
public static final int OBJECT_FIELD_NUMBER- See Also:
-
OLDOBJECT_FIELD_NUMBER
public static final int OLDOBJECT_FIELD_NUMBER- See Also:
-
DRYRUN_FIELD_NUMBER
public static final int DRYRUN_FIELD_NUMBER- See Also:
-
OPTIONS_FIELD_NUMBER
public static final int OPTIONS_FIELD_NUMBER- See Also:
-
PARSER
Deprecated.
-
-
Method Details
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasUid
public boolean hasUid()UID is an identifier for the individual request/response. It allows us to distinguish instances of requests which are otherwise identical (parallel requests, requests when earlier requests did not modify etc) The UID is meant to track the round trip (request/response) between the KAS and the WebHook, not the user request. It is suitable for correlating log entries between the webhook and apiserver, for either auditing or debugging.
optional string uid = 1;- Specified by:
hasUidin interfaceV1Admission.AdmissionRequestOrBuilder
-
getUid
UID is an identifier for the individual request/response. It allows us to distinguish instances of requests which are otherwise identical (parallel requests, requests when earlier requests did not modify etc) The UID is meant to track the round trip (request/response) between the KAS and the WebHook, not the user request. It is suitable for correlating log entries between the webhook and apiserver, for either auditing or debugging.
optional string uid = 1;- Specified by:
getUidin interfaceV1Admission.AdmissionRequestOrBuilder
-
getUidBytes
public com.google.protobuf.ByteString getUidBytes()UID is an identifier for the individual request/response. It allows us to distinguish instances of requests which are otherwise identical (parallel requests, requests when earlier requests did not modify etc) The UID is meant to track the round trip (request/response) between the KAS and the WebHook, not the user request. It is suitable for correlating log entries between the webhook and apiserver, for either auditing or debugging.
optional string uid = 1;- Specified by:
getUidBytesin interfaceV1Admission.AdmissionRequestOrBuilder
-
hasKind
public boolean hasKind()Kind is the fully-qualified type of object being submitted (for example, v1.Pod or autoscaling.v1.Scale)
optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionKind kind = 2;- Specified by:
hasKindin interfaceV1Admission.AdmissionRequestOrBuilder
-
getKind
Kind is the fully-qualified type of object being submitted (for example, v1.Pod or autoscaling.v1.Scale)
optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionKind kind = 2;- Specified by:
getKindin interfaceV1Admission.AdmissionRequestOrBuilder
-
getKindOrBuilder
Kind is the fully-qualified type of object being submitted (for example, v1.Pod or autoscaling.v1.Scale)
optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionKind kind = 2;- Specified by:
getKindOrBuilderin interfaceV1Admission.AdmissionRequestOrBuilder
-
hasResource
public boolean hasResource()Resource is the fully-qualified resource being requested (for example, v1.pods)
optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionResource resource = 3;- Specified by:
hasResourcein interfaceV1Admission.AdmissionRequestOrBuilder
-
getResource
Resource is the fully-qualified resource being requested (for example, v1.pods)
optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionResource resource = 3;- Specified by:
getResourcein interfaceV1Admission.AdmissionRequestOrBuilder
-
getResourceOrBuilder
Resource is the fully-qualified resource being requested (for example, v1.pods)
optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionResource resource = 3;- Specified by:
getResourceOrBuilderin interfaceV1Admission.AdmissionRequestOrBuilder
-
hasSubResource
public boolean hasSubResource()SubResource is the subresource being requested, if any (for example, "status" or "scale") +optional
optional string subResource = 4;- Specified by:
hasSubResourcein interfaceV1Admission.AdmissionRequestOrBuilder
-
getSubResource
SubResource is the subresource being requested, if any (for example, "status" or "scale") +optional
optional string subResource = 4;- Specified by:
getSubResourcein interfaceV1Admission.AdmissionRequestOrBuilder
-
getSubResourceBytes
public com.google.protobuf.ByteString getSubResourceBytes()SubResource is the subresource being requested, if any (for example, "status" or "scale") +optional
optional string subResource = 4;- Specified by:
getSubResourceBytesin interfaceV1Admission.AdmissionRequestOrBuilder
-
hasRequestKind
public boolean hasRequestKind()RequestKind is the fully-qualified type of the original API request (for example, v1.Pod or autoscaling.v1.Scale). If this is specified and differs from the value in "kind", an equivalent match and conversion was performed. For example, if deployments can be modified via apps/v1 and apps/v1beta1, and a webhook registered a rule of `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]` and `matchPolicy: Equivalent`, an API request to apps/v1beta1 deployments would be converted and sent to the webhook with `kind: {group:"apps", version:"v1", kind:"Deployment"}` (matching the rule the webhook registered for), and `requestKind: {group:"apps", version:"v1beta1", kind:"Deployment"}` (indicating the kind of the original API request). See documentation for the "matchPolicy" field in the webhook configuration type for more details. +optionaloptional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionKind requestKind = 13;- Specified by:
hasRequestKindin interfaceV1Admission.AdmissionRequestOrBuilder
-
getRequestKind
RequestKind is the fully-qualified type of the original API request (for example, v1.Pod or autoscaling.v1.Scale). If this is specified and differs from the value in "kind", an equivalent match and conversion was performed. For example, if deployments can be modified via apps/v1 and apps/v1beta1, and a webhook registered a rule of `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]` and `matchPolicy: Equivalent`, an API request to apps/v1beta1 deployments would be converted and sent to the webhook with `kind: {group:"apps", version:"v1", kind:"Deployment"}` (matching the rule the webhook registered for), and `requestKind: {group:"apps", version:"v1beta1", kind:"Deployment"}` (indicating the kind of the original API request). See documentation for the "matchPolicy" field in the webhook configuration type for more details. +optionaloptional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionKind requestKind = 13;- Specified by:
getRequestKindin interfaceV1Admission.AdmissionRequestOrBuilder
-
getRequestKindOrBuilder
RequestKind is the fully-qualified type of the original API request (for example, v1.Pod or autoscaling.v1.Scale). If this is specified and differs from the value in "kind", an equivalent match and conversion was performed. For example, if deployments can be modified via apps/v1 and apps/v1beta1, and a webhook registered a rule of `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]` and `matchPolicy: Equivalent`, an API request to apps/v1beta1 deployments would be converted and sent to the webhook with `kind: {group:"apps", version:"v1", kind:"Deployment"}` (matching the rule the webhook registered for), and `requestKind: {group:"apps", version:"v1beta1", kind:"Deployment"}` (indicating the kind of the original API request). See documentation for the "matchPolicy" field in the webhook configuration type for more details. +optionaloptional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionKind requestKind = 13;- Specified by:
getRequestKindOrBuilderin interfaceV1Admission.AdmissionRequestOrBuilder
-
hasRequestResource
public boolean hasRequestResource()RequestResource is the fully-qualified resource of the original API request (for example, v1.pods). If this is specified and differs from the value in "resource", an equivalent match and conversion was performed. For example, if deployments can be modified via apps/v1 and apps/v1beta1, and a webhook registered a rule of `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]` and `matchPolicy: Equivalent`, an API request to apps/v1beta1 deployments would be converted and sent to the webhook with `resource: {group:"apps", version:"v1", resource:"deployments"}` (matching the resource the webhook registered for), and `requestResource: {group:"apps", version:"v1beta1", resource:"deployments"}` (indicating the resource of the original API request). See documentation for the "matchPolicy" field in the webhook configuration type. +optionaloptional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionResource requestResource = 14;- Specified by:
hasRequestResourcein interfaceV1Admission.AdmissionRequestOrBuilder
-
getRequestResource
RequestResource is the fully-qualified resource of the original API request (for example, v1.pods). If this is specified and differs from the value in "resource", an equivalent match and conversion was performed. For example, if deployments can be modified via apps/v1 and apps/v1beta1, and a webhook registered a rule of `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]` and `matchPolicy: Equivalent`, an API request to apps/v1beta1 deployments would be converted and sent to the webhook with `resource: {group:"apps", version:"v1", resource:"deployments"}` (matching the resource the webhook registered for), and `requestResource: {group:"apps", version:"v1beta1", resource:"deployments"}` (indicating the resource of the original API request). See documentation for the "matchPolicy" field in the webhook configuration type. +optionaloptional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionResource requestResource = 14;- Specified by:
getRequestResourcein interfaceV1Admission.AdmissionRequestOrBuilder
-
getRequestResourceOrBuilder
RequestResource is the fully-qualified resource of the original API request (for example, v1.pods). If this is specified and differs from the value in "resource", an equivalent match and conversion was performed. For example, if deployments can be modified via apps/v1 and apps/v1beta1, and a webhook registered a rule of `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]` and `matchPolicy: Equivalent`, an API request to apps/v1beta1 deployments would be converted and sent to the webhook with `resource: {group:"apps", version:"v1", resource:"deployments"}` (matching the resource the webhook registered for), and `requestResource: {group:"apps", version:"v1beta1", resource:"deployments"}` (indicating the resource of the original API request). See documentation for the "matchPolicy" field in the webhook configuration type. +optionaloptional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionResource requestResource = 14;- Specified by:
getRequestResourceOrBuilderin interfaceV1Admission.AdmissionRequestOrBuilder
-
hasRequestSubResource
public boolean hasRequestSubResource()RequestSubResource is the name of the subresource of the original API request, if any (for example, "status" or "scale") If this is specified and differs from the value in "subResource", an equivalent match and conversion was performed. See documentation for the "matchPolicy" field in the webhook configuration type. +optional
optional string requestSubResource = 15;- Specified by:
hasRequestSubResourcein interfaceV1Admission.AdmissionRequestOrBuilder
-
getRequestSubResource
RequestSubResource is the name of the subresource of the original API request, if any (for example, "status" or "scale") If this is specified and differs from the value in "subResource", an equivalent match and conversion was performed. See documentation for the "matchPolicy" field in the webhook configuration type. +optional
optional string requestSubResource = 15;- Specified by:
getRequestSubResourcein interfaceV1Admission.AdmissionRequestOrBuilder
-
getRequestSubResourceBytes
public com.google.protobuf.ByteString getRequestSubResourceBytes()RequestSubResource is the name of the subresource of the original API request, if any (for example, "status" or "scale") If this is specified and differs from the value in "subResource", an equivalent match and conversion was performed. See documentation for the "matchPolicy" field in the webhook configuration type. +optional
optional string requestSubResource = 15;- Specified by:
getRequestSubResourceBytesin interfaceV1Admission.AdmissionRequestOrBuilder
-
hasName
public boolean hasName()Name is the name of the object as presented in the request. On a CREATE operation, the client may omit name and rely on the server to generate the name. If that is the case, this field will contain an empty string. +optional
optional string name = 5;- Specified by:
hasNamein interfaceV1Admission.AdmissionRequestOrBuilder
-
getName
Name is the name of the object as presented in the request. On a CREATE operation, the client may omit name and rely on the server to generate the name. If that is the case, this field will contain an empty string. +optional
optional string name = 5;- Specified by:
getNamein interfaceV1Admission.AdmissionRequestOrBuilder
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Name is the name of the object as presented in the request. On a CREATE operation, the client may omit name and rely on the server to generate the name. If that is the case, this field will contain an empty string. +optional
optional string name = 5;- Specified by:
getNameBytesin interfaceV1Admission.AdmissionRequestOrBuilder
-
hasNamespace
public boolean hasNamespace()Namespace is the namespace associated with the request (if any). +optional
optional string namespace = 6;- Specified by:
hasNamespacein interfaceV1Admission.AdmissionRequestOrBuilder
-
getNamespace
Namespace is the namespace associated with the request (if any). +optional
optional string namespace = 6;- Specified by:
getNamespacein interfaceV1Admission.AdmissionRequestOrBuilder
-
getNamespaceBytes
public com.google.protobuf.ByteString getNamespaceBytes()Namespace is the namespace associated with the request (if any). +optional
optional string namespace = 6;- Specified by:
getNamespaceBytesin interfaceV1Admission.AdmissionRequestOrBuilder
-
hasOperation
public boolean hasOperation()Operation is the operation being performed. This may be different than the operation requested. e.g. a patch can result in either a CREATE or UPDATE Operation.
optional string operation = 7;- Specified by:
hasOperationin interfaceV1Admission.AdmissionRequestOrBuilder
-
getOperation
Operation is the operation being performed. This may be different than the operation requested. e.g. a patch can result in either a CREATE or UPDATE Operation.
optional string operation = 7;- Specified by:
getOperationin interfaceV1Admission.AdmissionRequestOrBuilder
-
getOperationBytes
public com.google.protobuf.ByteString getOperationBytes()Operation is the operation being performed. This may be different than the operation requested. e.g. a patch can result in either a CREATE or UPDATE Operation.
optional string operation = 7;- Specified by:
getOperationBytesin interfaceV1Admission.AdmissionRequestOrBuilder
-
hasUserInfo
public boolean hasUserInfo()UserInfo is information about the requesting user
optional .k8s.io.api.authentication.v1.UserInfo userInfo = 8;- Specified by:
hasUserInfoin interfaceV1Admission.AdmissionRequestOrBuilder
-
getUserInfo
UserInfo is information about the requesting user
optional .k8s.io.api.authentication.v1.UserInfo userInfo = 8;- Specified by:
getUserInfoin interfaceV1Admission.AdmissionRequestOrBuilder
-
getUserInfoOrBuilder
UserInfo is information about the requesting user
optional .k8s.io.api.authentication.v1.UserInfo userInfo = 8;- Specified by:
getUserInfoOrBuilderin interfaceV1Admission.AdmissionRequestOrBuilder
-
hasObject
public boolean hasObject()Object is the object from the incoming request. +optional
optional .k8s.io.apimachinery.pkg.runtime.RawExtension object = 9;- Specified by:
hasObjectin interfaceV1Admission.AdmissionRequestOrBuilder
-
getObject
Object is the object from the incoming request. +optional
optional .k8s.io.apimachinery.pkg.runtime.RawExtension object = 9;- Specified by:
getObjectin interfaceV1Admission.AdmissionRequestOrBuilder
-
getObjectOrBuilder
Object is the object from the incoming request. +optional
optional .k8s.io.apimachinery.pkg.runtime.RawExtension object = 9;- Specified by:
getObjectOrBuilderin interfaceV1Admission.AdmissionRequestOrBuilder
-
hasOldObject
public boolean hasOldObject()OldObject is the existing object. Only populated for DELETE and UPDATE requests. +optional
optional .k8s.io.apimachinery.pkg.runtime.RawExtension oldObject = 10;- Specified by:
hasOldObjectin interfaceV1Admission.AdmissionRequestOrBuilder
-
getOldObject
OldObject is the existing object. Only populated for DELETE and UPDATE requests. +optional
optional .k8s.io.apimachinery.pkg.runtime.RawExtension oldObject = 10;- Specified by:
getOldObjectin interfaceV1Admission.AdmissionRequestOrBuilder
-
getOldObjectOrBuilder
OldObject is the existing object. Only populated for DELETE and UPDATE requests. +optional
optional .k8s.io.apimachinery.pkg.runtime.RawExtension oldObject = 10;- Specified by:
getOldObjectOrBuilderin interfaceV1Admission.AdmissionRequestOrBuilder
-
hasDryRun
public boolean hasDryRun()DryRun indicates that modifications will definitely not be persisted for this request. Defaults to false. +optional
optional bool dryRun = 11;- Specified by:
hasDryRunin interfaceV1Admission.AdmissionRequestOrBuilder
-
getDryRun
public boolean getDryRun()DryRun indicates that modifications will definitely not be persisted for this request. Defaults to false. +optional
optional bool dryRun = 11;- Specified by:
getDryRunin interfaceV1Admission.AdmissionRequestOrBuilder
-
hasOptions
public boolean hasOptions()Options is the operation option structure of the operation being performed. e.g. `meta.k8s.io/v1.DeleteOptions` or `meta.k8s.io/v1.CreateOptions`. This may be different than the options the caller provided. e.g. for a patch request the performed Operation might be a CREATE, in which case the Options will a `meta.k8s.io/v1.CreateOptions` even though the caller provided `meta.k8s.io/v1.PatchOptions`. +optional
optional .k8s.io.apimachinery.pkg.runtime.RawExtension options = 12;- Specified by:
hasOptionsin interfaceV1Admission.AdmissionRequestOrBuilder
-
getOptions
Options is the operation option structure of the operation being performed. e.g. `meta.k8s.io/v1.DeleteOptions` or `meta.k8s.io/v1.CreateOptions`. This may be different than the options the caller provided. e.g. for a patch request the performed Operation might be a CREATE, in which case the Options will a `meta.k8s.io/v1.CreateOptions` even though the caller provided `meta.k8s.io/v1.PatchOptions`. +optional
optional .k8s.io.apimachinery.pkg.runtime.RawExtension options = 12;- Specified by:
getOptionsin interfaceV1Admission.AdmissionRequestOrBuilder
-
getOptionsOrBuilder
Options is the operation option structure of the operation being performed. e.g. `meta.k8s.io/v1.DeleteOptions` or `meta.k8s.io/v1.CreateOptions`. This may be different than the options the caller provided. e.g. for a patch request the performed Operation might be a CREATE, in which case the Options will a `meta.k8s.io/v1.CreateOptions` even though the caller provided `meta.k8s.io/v1.PatchOptions`. +optional
optional .k8s.io.apimachinery.pkg.runtime.RawExtension options = 12;- Specified by:
getOptionsOrBuilderin interfaceV1Admission.AdmissionRequestOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static V1Admission.AdmissionRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1Admission.AdmissionRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1Admission.AdmissionRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1Admission.AdmissionRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1Admission.AdmissionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1Admission.AdmissionRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static V1Admission.AdmissionRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static V1Admission.AdmissionRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static V1Admission.AdmissionRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static V1Admission.AdmissionRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static V1Admission.AdmissionRequest.Builder newBuilder(V1Admission.AdmissionRequest prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected V1Admission.AdmissionRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-