Package io.kubernetes.client.proto
Class V1Admission.AdmissionRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<V1Admission.AdmissionRequest.Builder>
io.kubernetes.client.proto.V1Admission.AdmissionRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,V1Admission.AdmissionRequestOrBuilder,Cloneable
- Enclosing class:
- V1Admission.AdmissionRequest
public static final class V1Admission.AdmissionRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<V1Admission.AdmissionRequest.Builder>
implements V1Admission.AdmissionRequestOrBuilder
AdmissionRequest describes the admission.Attributes for the admission request.Protobuf type
k8s.io.api.admission.v1.AdmissionRequest-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()DryRun indicates that modifications will definitely not be persisted for this request.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Kind is the fully-qualified type of object being submitted (for example, v1.Pod or autoscaling.v1.Scale)Name is the name of the object as presented in the request.Namespace is the namespace associated with the request (if any).Object is the object from the incoming request.OldObject is the existing object.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Operation is the operation being performed.Options is the operation option structure of the operation being performed.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).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.Resource is the fully-qualified resource being requested (for example, v1.pods)SubResource is the subresource being requested, if any (for example, "status" or "scale") +optionalclearUid()UID is an identifier for the individual request/response.UserInfo is information about the requesting userclone()static final com.google.protobuf.Descriptors.Descriptorcom.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)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.Object is the object from the incoming request.OldObject is the existing object.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.Options is the operation option structure of the operation being performed.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).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).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)Resource is the fully-qualified resource being requested (for example, v1.pods)SubResource 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.UserInfo is information about the requesting userUserInfo is information about the requesting userUserInfo is information about the requesting userbooleanDryRun indicates that modifications will definitely not be persisted for this request.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 booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeKind(Meta.GroupVersionKind value) Kind is the fully-qualified type of object being submitted (for example, v1.Pod or autoscaling.v1.Scale)mergeObject(Runtime.RawExtension value) Object is the object from the incoming request.OldObject is the existing object.mergeOptions(Runtime.RawExtension value) Options is the operation option structure of the operation being performed.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).Resource is the fully-qualified resource being requested (for example, v1.pods)mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) UserInfo is information about the requesting usersetDryRun(boolean value) DryRun indicates that modifications will definitely not be persisted for this request.setKind(Meta.GroupVersionKind value) Kind is the fully-qualified type of object being submitted (for example, v1.Pod or autoscaling.v1.Scale)setKind(Meta.GroupVersionKind.Builder builderForValue) Kind is the fully-qualified type of object being submitted (for example, v1.Pod or autoscaling.v1.Scale)Name is the name of the object as presented in the request.setNameBytes(com.google.protobuf.ByteString value) Name is the name of the object as presented in the request.setNamespace(String value) Namespace is the namespace associated with the request (if any).setNamespaceBytes(com.google.protobuf.ByteString value) Namespace is the namespace associated with the request (if any).setObject(Runtime.RawExtension value) Object is the object from the incoming request.setObject(Runtime.RawExtension.Builder builderForValue) Object is the object from the incoming request.setOldObject(Runtime.RawExtension value) OldObject is the existing object.setOldObject(Runtime.RawExtension.Builder builderForValue) OldObject is the existing object.setOperation(String value) Operation is the operation being performed.setOperationBytes(com.google.protobuf.ByteString value) Operation is the operation being performed.setOptions(Runtime.RawExtension value) Options is the operation option structure of the operation being performed.setOptions(Runtime.RawExtension.Builder builderForValue) Options is the operation option structure of the operation being performed.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) RequestKind is the fully-qualified type of the original API request (for example, v1.Pod or autoscaling.v1.Scale).setRequestKind(Meta.GroupVersionKind.Builder builderForValue) 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).setRequestResource(Meta.GroupVersionResource.Builder builderForValue) RequestResource is the fully-qualified resource of the original API request (for example, v1.pods).setRequestSubResource(String value) 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.setRequestSubResourceBytes(com.google.protobuf.ByteString value) 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.Resource is the fully-qualified resource being requested (for example, v1.pods)setResource(Meta.GroupVersionResource.Builder builderForValue) Resource is the fully-qualified resource being requested (for example, v1.pods)setSubResource(String value) SubResource is the subresource being requested, if any (for example, "status" or "scale") +optionalsetSubResourceBytes(com.google.protobuf.ByteString value) SubResource is the subresource being requested, if any (for example, "status" or "scale") +optionalUID is an identifier for the individual request/response.setUidBytes(com.google.protobuf.ByteString value) UID is an identifier for the individual request/response.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) UserInfo is information about the requesting usersetUserInfo(V1Authentication.UserInfo.Builder builderForValue) UserInfo is information about the requesting userMethods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.Builder<V1Admission.AdmissionRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Admission.AdmissionRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<V1Admission.AdmissionRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<V1Admission.AdmissionRequest.Builder>
-
setField
public V1Admission.AdmissionRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Admission.AdmissionRequest.Builder>
-
clearField
public V1Admission.AdmissionRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Admission.AdmissionRequest.Builder>
-
clearOneof
public V1Admission.AdmissionRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Admission.AdmissionRequest.Builder>
-
setRepeatedField
public V1Admission.AdmissionRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Admission.AdmissionRequest.Builder>
-
addRepeatedField
public V1Admission.AdmissionRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Admission.AdmissionRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<V1Admission.AdmissionRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Admission.AdmissionRequest.Builder>
-
mergeFrom
public V1Admission.AdmissionRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<V1Admission.AdmissionRequest.Builder>- Throws:
IOException
-
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
-
setUid
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; -
clearUid
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; -
setUidBytes
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; -
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
-
setKind
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; -
setKind
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; -
mergeKind
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; -
clearKind
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; -
getKindBuilder
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; -
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
-
setResource
Resource is the fully-qualified resource being requested (for example, v1.pods)
optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionResource resource = 3; -
setResource
public V1Admission.AdmissionRequest.Builder setResource(Meta.GroupVersionResource.Builder builderForValue) Resource is the fully-qualified resource being requested (for example, v1.pods)
optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionResource resource = 3; -
mergeResource
Resource is the fully-qualified resource being requested (for example, v1.pods)
optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionResource resource = 3; -
clearResource
Resource is the fully-qualified resource being requested (for example, v1.pods)
optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionResource resource = 3; -
getResourceBuilder
Resource is the fully-qualified resource being requested (for example, v1.pods)
optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionResource resource = 3; -
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
-
setSubResource
SubResource is the subresource being requested, if any (for example, "status" or "scale") +optional
optional string subResource = 4; -
clearSubResource
SubResource is the subresource being requested, if any (for example, "status" or "scale") +optional
optional string subResource = 4; -
setSubResourceBytes
public V1Admission.AdmissionRequest.Builder setSubResourceBytes(com.google.protobuf.ByteString value) SubResource is the subresource being requested, if any (for example, "status" or "scale") +optional
optional string subResource = 4; -
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
-
setRequestKind
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; -
setRequestKind
public V1Admission.AdmissionRequest.Builder setRequestKind(Meta.GroupVersionKind.Builder builderForValue) 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; -
mergeRequestKind
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; -
clearRequestKind
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; -
getRequestKindBuilder
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; -
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
-
setRequestResource
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; -
setRequestResource
public V1Admission.AdmissionRequest.Builder setRequestResource(Meta.GroupVersionResource.Builder builderForValue) 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; -
mergeRequestResource
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; -
clearRequestResource
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; -
getRequestResourceBuilder
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; -
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
-
setRequestSubResource
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; -
clearRequestSubResource
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; -
setRequestSubResourceBytes
public V1Admission.AdmissionRequest.Builder setRequestSubResourceBytes(com.google.protobuf.ByteString value) 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; -
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
-
setName
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; -
clearName
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; -
setNameBytes
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; -
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
-
setNamespace
Namespace is the namespace associated with the request (if any). +optional
optional string namespace = 6; -
clearNamespace
Namespace is the namespace associated with the request (if any). +optional
optional string namespace = 6; -
setNamespaceBytes
Namespace is the namespace associated with the request (if any). +optional
optional string namespace = 6; -
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
-
setOperation
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; -
clearOperation
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; -
setOperationBytes
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; -
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
-
setUserInfo
UserInfo is information about the requesting user
optional .k8s.io.api.authentication.v1.UserInfo userInfo = 8; -
setUserInfo
public V1Admission.AdmissionRequest.Builder setUserInfo(V1Authentication.UserInfo.Builder builderForValue) UserInfo is information about the requesting user
optional .k8s.io.api.authentication.v1.UserInfo userInfo = 8; -
mergeUserInfo
UserInfo is information about the requesting user
optional .k8s.io.api.authentication.v1.UserInfo userInfo = 8; -
clearUserInfo
UserInfo is information about the requesting user
optional .k8s.io.api.authentication.v1.UserInfo userInfo = 8; -
getUserInfoBuilder
UserInfo is information about the requesting user
optional .k8s.io.api.authentication.v1.UserInfo userInfo = 8; -
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
-
setObject
Object is the object from the incoming request. +optional
optional .k8s.io.apimachinery.pkg.runtime.RawExtension object = 9; -
setObject
Object is the object from the incoming request. +optional
optional .k8s.io.apimachinery.pkg.runtime.RawExtension object = 9; -
mergeObject
Object is the object from the incoming request. +optional
optional .k8s.io.apimachinery.pkg.runtime.RawExtension object = 9; -
clearObject
Object is the object from the incoming request. +optional
optional .k8s.io.apimachinery.pkg.runtime.RawExtension object = 9; -
getObjectBuilder
Object is the object from the incoming request. +optional
optional .k8s.io.apimachinery.pkg.runtime.RawExtension object = 9; -
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
-
setOldObject
OldObject is the existing object. Only populated for DELETE and UPDATE requests. +optional
optional .k8s.io.apimachinery.pkg.runtime.RawExtension oldObject = 10; -
setOldObject
public V1Admission.AdmissionRequest.Builder setOldObject(Runtime.RawExtension.Builder builderForValue) OldObject is the existing object. Only populated for DELETE and UPDATE requests. +optional
optional .k8s.io.apimachinery.pkg.runtime.RawExtension oldObject = 10; -
mergeOldObject
OldObject is the existing object. Only populated for DELETE and UPDATE requests. +optional
optional .k8s.io.apimachinery.pkg.runtime.RawExtension oldObject = 10; -
clearOldObject
OldObject is the existing object. Only populated for DELETE and UPDATE requests. +optional
optional .k8s.io.apimachinery.pkg.runtime.RawExtension oldObject = 10; -
getOldObjectBuilder
OldObject is the existing object. Only populated for DELETE and UPDATE requests. +optional
optional .k8s.io.apimachinery.pkg.runtime.RawExtension oldObject = 10; -
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
-
setDryRun
DryRun indicates that modifications will definitely not be persisted for this request. Defaults to false. +optional
optional bool dryRun = 11; -
clearDryRun
DryRun indicates that modifications will definitely not be persisted for this request. Defaults to false. +optional
optional bool dryRun = 11; -
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
-
setOptions
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; -
setOptions
public V1Admission.AdmissionRequest.Builder setOptions(Runtime.RawExtension.Builder builderForValue) 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; -
mergeOptions
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; -
clearOptions
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; -
getOptionsBuilder
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; -
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
-
setUnknownFields
public final V1Admission.AdmissionRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Admission.AdmissionRequest.Builder>
-
mergeUnknownFields
public final V1Admission.AdmissionRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Admission.AdmissionRequest.Builder>
-