public static final class V1beta1Admission.AdmissionRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Admission.AdmissionRequest.Builder> implements V1beta1Admission.AdmissionRequestOrBuilder
AdmissionRequest describes the admission.Attributes for the admission request.Protobuf type
k8s.io.api.admission.v1beta1.AdmissionRequest
Modifier and Type | Method and Description |
---|---|
V1beta1Admission.AdmissionRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1beta1Admission.AdmissionRequest |
build() |
V1beta1Admission.AdmissionRequest |
buildPartial() |
V1beta1Admission.AdmissionRequest.Builder |
clear() |
V1beta1Admission.AdmissionRequest.Builder |
clearDryRun()
DryRun indicates that modifications will definitely not be persisted for this request.
|
V1beta1Admission.AdmissionRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1beta1Admission.AdmissionRequest.Builder |
clearKind()
Kind is the fully-qualified type of object being submitted (for example, v1.Pod or autoscaling.v1.Scale)
|
V1beta1Admission.AdmissionRequest.Builder |
clearName()
Name is the name of the object as presented in the request.
|
V1beta1Admission.AdmissionRequest.Builder |
clearNamespace()
Namespace is the namespace associated with the request (if any).
|
V1beta1Admission.AdmissionRequest.Builder |
clearObject()
Object is the object from the incoming request.
|
V1beta1Admission.AdmissionRequest.Builder |
clearOldObject()
OldObject is the existing object.
|
V1beta1Admission.AdmissionRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1beta1Admission.AdmissionRequest.Builder |
clearOperation()
Operation is the operation being performed.
|
V1beta1Admission.AdmissionRequest.Builder |
clearOptions()
Options is the operation option structure of the operation being performed.
|
V1beta1Admission.AdmissionRequest.Builder |
clearRequestKind()
RequestKind is the fully-qualified type of the original API request (for example, v1.Pod or autoscaling.v1.Scale).
|
V1beta1Admission.AdmissionRequest.Builder |
clearRequestResource()
RequestResource is the fully-qualified resource of the original API request (for example, v1.pods).
|
V1beta1Admission.AdmissionRequest.Builder |
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.
|
V1beta1Admission.AdmissionRequest.Builder |
clearResource()
Resource is the fully-qualified resource being requested (for example, v1.pods)
|
V1beta1Admission.AdmissionRequest.Builder |
clearSubResource()
SubResource is the subresource being requested, if any (for example, "status" or "scale")
+optional
|
V1beta1Admission.AdmissionRequest.Builder |
clearUid()
UID is an identifier for the individual request/response.
|
V1beta1Admission.AdmissionRequest.Builder |
clearUserInfo()
UserInfo is information about the requesting user
|
V1beta1Admission.AdmissionRequest.Builder |
clone() |
V1beta1Admission.AdmissionRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getDryRun()
DryRun indicates that modifications will definitely not be persisted for this request.
|
Meta.GroupVersionKind |
getKind()
Kind is the fully-qualified type of object being submitted (for example, v1.Pod or autoscaling.v1.Scale)
|
Meta.GroupVersionKind.Builder |
getKindBuilder()
Kind is the fully-qualified type of object being submitted (for example, v1.Pod or autoscaling.v1.Scale)
|
Meta.GroupVersionKindOrBuilder |
getKindOrBuilder()
Kind is the fully-qualified type of object being submitted (for example, v1.Pod or autoscaling.v1.Scale)
|
String |
getName()
Name is the name of the object as presented in the request.
|
com.google.protobuf.ByteString |
getNameBytes()
Name is the name of the object as presented in the request.
|
String |
getNamespace()
Namespace is the namespace associated with the request (if any).
|
com.google.protobuf.ByteString |
getNamespaceBytes()
Namespace is the namespace associated with the request (if any).
|
Runtime.RawExtension |
getObject()
Object is the object from the incoming request.
|
Runtime.RawExtension.Builder |
getObjectBuilder()
Object is the object from the incoming request.
|
Runtime.RawExtensionOrBuilder |
getObjectOrBuilder()
Object is the object from the incoming request.
|
Runtime.RawExtension |
getOldObject()
OldObject is the existing object.
|
Runtime.RawExtension.Builder |
getOldObjectBuilder()
OldObject is the existing object.
|
Runtime.RawExtensionOrBuilder |
getOldObjectOrBuilder()
OldObject is the existing object.
|
String |
getOperation()
Operation is the operation being performed.
|
com.google.protobuf.ByteString |
getOperationBytes()
Operation is the operation being performed.
|
Runtime.RawExtension |
getOptions()
Options is the operation option structure of the operation being performed.
|
Runtime.RawExtension.Builder |
getOptionsBuilder()
Options is the operation option structure of the operation being performed.
|
Runtime.RawExtensionOrBuilder |
getOptionsOrBuilder()
Options is the operation option structure of the operation being performed.
|
Meta.GroupVersionKind |
getRequestKind()
RequestKind is the fully-qualified type of the original API request (for example, v1.Pod or autoscaling.v1.Scale).
|
Meta.GroupVersionKind.Builder |
getRequestKindBuilder()
RequestKind is the fully-qualified type of the original API request (for example, v1.Pod or autoscaling.v1.Scale).
|
Meta.GroupVersionKindOrBuilder |
getRequestKindOrBuilder()
RequestKind is the fully-qualified type of the original API request (for example, v1.Pod or autoscaling.v1.Scale).
|
Meta.GroupVersionResource |
getRequestResource()
RequestResource is the fully-qualified resource of the original API request (for example, v1.pods).
|
Meta.GroupVersionResource.Builder |
getRequestResourceBuilder()
RequestResource is the fully-qualified resource of the original API request (for example, v1.pods).
|
Meta.GroupVersionResourceOrBuilder |
getRequestResourceOrBuilder()
RequestResource is the fully-qualified resource of the original API request (for example, v1.pods).
|
String |
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.
|
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.
|
Meta.GroupVersionResource |
getResource()
Resource is the fully-qualified resource being requested (for example, v1.pods)
|
Meta.GroupVersionResource.Builder |
getResourceBuilder()
Resource is the fully-qualified resource being requested (for example, v1.pods)
|
Meta.GroupVersionResourceOrBuilder |
getResourceOrBuilder()
Resource is the fully-qualified resource being requested (for example, v1.pods)
|
String |
getSubResource()
SubResource is the subresource being requested, if any (for example, "status" or "scale")
+optional
|
com.google.protobuf.ByteString |
getSubResourceBytes()
SubResource is the subresource being requested, if any (for example, "status" or "scale")
+optional
|
String |
getUid()
UID is an identifier for the individual request/response.
|
com.google.protobuf.ByteString |
getUidBytes()
UID is an identifier for the individual request/response.
|
V1Authentication.UserInfo |
getUserInfo()
UserInfo is information about the requesting user
|
V1Authentication.UserInfo.Builder |
getUserInfoBuilder()
UserInfo is information about the requesting user
|
V1Authentication.UserInfoOrBuilder |
getUserInfoOrBuilder()
UserInfo is information about the requesting user
|
boolean |
hasDryRun()
DryRun indicates that modifications will definitely not be persisted for this request.
|
boolean |
hasKind()
Kind is the fully-qualified type of object being submitted (for example, v1.Pod or autoscaling.v1.Scale)
|
boolean |
hasName()
Name is the name of the object as presented in the request.
|
boolean |
hasNamespace()
Namespace is the namespace associated with the request (if any).
|
boolean |
hasObject()
Object is the object from the incoming request.
|
boolean |
hasOldObject()
OldObject is the existing object.
|
boolean |
hasOperation()
Operation is the operation being performed.
|
boolean |
hasOptions()
Options is the operation option structure of the operation being performed.
|
boolean |
hasRequestKind()
RequestKind is the fully-qualified type of the original API request (for example, v1.Pod or autoscaling.v1.Scale).
|
boolean |
hasRequestResource()
RequestResource is the fully-qualified resource of the original API request (for example, v1.pods).
|
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.
|
boolean |
hasResource()
Resource is the fully-qualified resource being requested (for example, v1.pods)
|
boolean |
hasSubResource()
SubResource is the subresource being requested, if any (for example, "status" or "scale")
+optional
|
boolean |
hasUid()
UID is an identifier for the individual request/response.
|
boolean |
hasUserInfo()
UserInfo is information about the requesting user
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
V1beta1Admission.AdmissionRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1beta1Admission.AdmissionRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1beta1Admission.AdmissionRequest.Builder |
mergeFrom(V1beta1Admission.AdmissionRequest other) |
V1beta1Admission.AdmissionRequest.Builder |
mergeKind(Meta.GroupVersionKind value)
Kind is the fully-qualified type of object being submitted (for example, v1.Pod or autoscaling.v1.Scale)
|
V1beta1Admission.AdmissionRequest.Builder |
mergeObject(Runtime.RawExtension value)
Object is the object from the incoming request.
|
V1beta1Admission.AdmissionRequest.Builder |
mergeOldObject(Runtime.RawExtension value)
OldObject is the existing object.
|
V1beta1Admission.AdmissionRequest.Builder |
mergeOptions(Runtime.RawExtension value)
Options is the operation option structure of the operation being performed.
|
V1beta1Admission.AdmissionRequest.Builder |
mergeRequestKind(Meta.GroupVersionKind value)
RequestKind is the fully-qualified type of the original API request (for example, v1.Pod or autoscaling.v1.Scale).
|
V1beta1Admission.AdmissionRequest.Builder |
mergeRequestResource(Meta.GroupVersionResource value)
RequestResource is the fully-qualified resource of the original API request (for example, v1.pods).
|
V1beta1Admission.AdmissionRequest.Builder |
mergeResource(Meta.GroupVersionResource value)
Resource is the fully-qualified resource being requested (for example, v1.pods)
|
V1beta1Admission.AdmissionRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1beta1Admission.AdmissionRequest.Builder |
mergeUserInfo(V1Authentication.UserInfo value)
UserInfo is information about the requesting user
|
V1beta1Admission.AdmissionRequest.Builder |
setDryRun(boolean value)
DryRun indicates that modifications will definitely not be persisted for this request.
|
V1beta1Admission.AdmissionRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1beta1Admission.AdmissionRequest.Builder |
setKind(Meta.GroupVersionKind.Builder builderForValue)
Kind is the fully-qualified type of object being submitted (for example, v1.Pod or autoscaling.v1.Scale)
|
V1beta1Admission.AdmissionRequest.Builder |
setKind(Meta.GroupVersionKind value)
Kind is the fully-qualified type of object being submitted (for example, v1.Pod or autoscaling.v1.Scale)
|
V1beta1Admission.AdmissionRequest.Builder |
setName(String value)
Name is the name of the object as presented in the request.
|
V1beta1Admission.AdmissionRequest.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Name is the name of the object as presented in the request.
|
V1beta1Admission.AdmissionRequest.Builder |
setNamespace(String value)
Namespace is the namespace associated with the request (if any).
|
V1beta1Admission.AdmissionRequest.Builder |
setNamespaceBytes(com.google.protobuf.ByteString value)
Namespace is the namespace associated with the request (if any).
|
V1beta1Admission.AdmissionRequest.Builder |
setObject(Runtime.RawExtension.Builder builderForValue)
Object is the object from the incoming request.
|
V1beta1Admission.AdmissionRequest.Builder |
setObject(Runtime.RawExtension value)
Object is the object from the incoming request.
|
V1beta1Admission.AdmissionRequest.Builder |
setOldObject(Runtime.RawExtension.Builder builderForValue)
OldObject is the existing object.
|
V1beta1Admission.AdmissionRequest.Builder |
setOldObject(Runtime.RawExtension value)
OldObject is the existing object.
|
V1beta1Admission.AdmissionRequest.Builder |
setOperation(String value)
Operation is the operation being performed.
|
V1beta1Admission.AdmissionRequest.Builder |
setOperationBytes(com.google.protobuf.ByteString value)
Operation is the operation being performed.
|
V1beta1Admission.AdmissionRequest.Builder |
setOptions(Runtime.RawExtension.Builder builderForValue)
Options is the operation option structure of the operation being performed.
|
V1beta1Admission.AdmissionRequest.Builder |
setOptions(Runtime.RawExtension value)
Options is the operation option structure of the operation being performed.
|
V1beta1Admission.AdmissionRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1beta1Admission.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).
|
V1beta1Admission.AdmissionRequest.Builder |
setRequestKind(Meta.GroupVersionKind value)
RequestKind is the fully-qualified type of the original API request (for example, v1.Pod or autoscaling.v1.Scale).
|
V1beta1Admission.AdmissionRequest.Builder |
setRequestResource(Meta.GroupVersionResource.Builder builderForValue)
RequestResource is the fully-qualified resource of the original API request (for example, v1.pods).
|
V1beta1Admission.AdmissionRequest.Builder |
setRequestResource(Meta.GroupVersionResource value)
RequestResource is the fully-qualified resource of the original API request (for example, v1.pods).
|
V1beta1Admission.AdmissionRequest.Builder |
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.
|
V1beta1Admission.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.
|
V1beta1Admission.AdmissionRequest.Builder |
setResource(Meta.GroupVersionResource.Builder builderForValue)
Resource is the fully-qualified resource being requested (for example, v1.pods)
|
V1beta1Admission.AdmissionRequest.Builder |
setResource(Meta.GroupVersionResource value)
Resource is the fully-qualified resource being requested (for example, v1.pods)
|
V1beta1Admission.AdmissionRequest.Builder |
setSubResource(String value)
SubResource is the subresource being requested, if any (for example, "status" or "scale")
+optional
|
V1beta1Admission.AdmissionRequest.Builder |
setSubResourceBytes(com.google.protobuf.ByteString value)
SubResource is the subresource being requested, if any (for example, "status" or "scale")
+optional
|
V1beta1Admission.AdmissionRequest.Builder |
setUid(String value)
UID is an identifier for the individual request/response.
|
V1beta1Admission.AdmissionRequest.Builder |
setUidBytes(com.google.protobuf.ByteString value)
UID is an identifier for the individual request/response.
|
V1beta1Admission.AdmissionRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1beta1Admission.AdmissionRequest.Builder |
setUserInfo(V1Authentication.UserInfo.Builder builderForValue)
UserInfo is information about the requesting user
|
V1beta1Admission.AdmissionRequest.Builder |
setUserInfo(V1Authentication.UserInfo value)
UserInfo is information about the requesting user
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Admission.AdmissionRequest.Builder>
public V1beta1Admission.AdmissionRequest.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Admission.AdmissionRequest.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Admission.AdmissionRequest.Builder>
public V1beta1Admission.AdmissionRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public V1beta1Admission.AdmissionRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public V1beta1Admission.AdmissionRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public V1beta1Admission.AdmissionRequest.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Admission.AdmissionRequest.Builder>
public V1beta1Admission.AdmissionRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Admission.AdmissionRequest.Builder>
public V1beta1Admission.AdmissionRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Admission.AdmissionRequest.Builder>
public V1beta1Admission.AdmissionRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Admission.AdmissionRequest.Builder>
public V1beta1Admission.AdmissionRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Admission.AdmissionRequest.Builder>
public V1beta1Admission.AdmissionRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Admission.AdmissionRequest.Builder>
public V1beta1Admission.AdmissionRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<V1beta1Admission.AdmissionRequest.Builder>
public V1beta1Admission.AdmissionRequest.Builder mergeFrom(V1beta1Admission.AdmissionRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Admission.AdmissionRequest.Builder>
public V1beta1Admission.AdmissionRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<V1beta1Admission.AdmissionRequest.Builder>
IOException
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;
hasUid
in interface V1beta1Admission.AdmissionRequestOrBuilder
public String 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;
getUid
in interface V1beta1Admission.AdmissionRequestOrBuilder
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;
getUidBytes
in interface V1beta1Admission.AdmissionRequestOrBuilder
public V1beta1Admission.AdmissionRequest.Builder setUid(String value)
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;
public V1beta1Admission.AdmissionRequest.Builder 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;
public V1beta1Admission.AdmissionRequest.Builder setUidBytes(com.google.protobuf.ByteString value)
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;
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;
hasKind
in interface V1beta1Admission.AdmissionRequestOrBuilder
public Meta.GroupVersionKind 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;
getKind
in interface V1beta1Admission.AdmissionRequestOrBuilder
public V1beta1Admission.AdmissionRequest.Builder setKind(Meta.GroupVersionKind value)
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;
public V1beta1Admission.AdmissionRequest.Builder setKind(Meta.GroupVersionKind.Builder builderForValue)
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;
public V1beta1Admission.AdmissionRequest.Builder mergeKind(Meta.GroupVersionKind value)
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;
public V1beta1Admission.AdmissionRequest.Builder 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;
public Meta.GroupVersionKind.Builder 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;
public Meta.GroupVersionKindOrBuilder 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;
getKindOrBuilder
in interface V1beta1Admission.AdmissionRequestOrBuilder
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;
hasResource
in interface V1beta1Admission.AdmissionRequestOrBuilder
public Meta.GroupVersionResource getResource()
Resource is the fully-qualified resource being requested (for example, v1.pods)
optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionResource resource = 3;
getResource
in interface V1beta1Admission.AdmissionRequestOrBuilder
public V1beta1Admission.AdmissionRequest.Builder setResource(Meta.GroupVersionResource value)
Resource is the fully-qualified resource being requested (for example, v1.pods)
optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionResource resource = 3;
public V1beta1Admission.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;
public V1beta1Admission.AdmissionRequest.Builder mergeResource(Meta.GroupVersionResource value)
Resource is the fully-qualified resource being requested (for example, v1.pods)
optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionResource resource = 3;
public V1beta1Admission.AdmissionRequest.Builder clearResource()
Resource is the fully-qualified resource being requested (for example, v1.pods)
optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionResource resource = 3;
public Meta.GroupVersionResource.Builder getResourceBuilder()
Resource is the fully-qualified resource being requested (for example, v1.pods)
optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionResource resource = 3;
public Meta.GroupVersionResourceOrBuilder getResourceOrBuilder()
Resource is the fully-qualified resource being requested (for example, v1.pods)
optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionResource resource = 3;
getResourceOrBuilder
in interface V1beta1Admission.AdmissionRequestOrBuilder
public boolean hasSubResource()
SubResource is the subresource being requested, if any (for example, "status" or "scale") +optional
optional string subResource = 4;
hasSubResource
in interface V1beta1Admission.AdmissionRequestOrBuilder
public String getSubResource()
SubResource is the subresource being requested, if any (for example, "status" or "scale") +optional
optional string subResource = 4;
getSubResource
in interface V1beta1Admission.AdmissionRequestOrBuilder
public com.google.protobuf.ByteString getSubResourceBytes()
SubResource is the subresource being requested, if any (for example, "status" or "scale") +optional
optional string subResource = 4;
getSubResourceBytes
in interface V1beta1Admission.AdmissionRequestOrBuilder
public V1beta1Admission.AdmissionRequest.Builder setSubResource(String value)
SubResource is the subresource being requested, if any (for example, "status" or "scale") +optional
optional string subResource = 4;
public V1beta1Admission.AdmissionRequest.Builder clearSubResource()
SubResource is the subresource being requested, if any (for example, "status" or "scale") +optional
optional string subResource = 4;
public V1beta1Admission.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;
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. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionKind requestKind = 13;
hasRequestKind
in interface V1beta1Admission.AdmissionRequestOrBuilder
public Meta.GroupVersionKind 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. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionKind requestKind = 13;
getRequestKind
in interface V1beta1Admission.AdmissionRequestOrBuilder
public V1beta1Admission.AdmissionRequest.Builder setRequestKind(Meta.GroupVersionKind value)
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. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionKind requestKind = 13;
public V1beta1Admission.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. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionKind requestKind = 13;
public V1beta1Admission.AdmissionRequest.Builder mergeRequestKind(Meta.GroupVersionKind value)
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. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionKind requestKind = 13;
public V1beta1Admission.AdmissionRequest.Builder 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. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionKind requestKind = 13;
public Meta.GroupVersionKind.Builder 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. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionKind requestKind = 13;
public Meta.GroupVersionKindOrBuilder 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. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionKind requestKind = 13;
getRequestKindOrBuilder
in interface V1beta1Admission.AdmissionRequestOrBuilder
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. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionResource requestResource = 14;
hasRequestResource
in interface V1beta1Admission.AdmissionRequestOrBuilder
public Meta.GroupVersionResource 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. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionResource requestResource = 14;
getRequestResource
in interface V1beta1Admission.AdmissionRequestOrBuilder
public V1beta1Admission.AdmissionRequest.Builder setRequestResource(Meta.GroupVersionResource value)
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. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionResource requestResource = 14;
public V1beta1Admission.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. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionResource requestResource = 14;
public V1beta1Admission.AdmissionRequest.Builder mergeRequestResource(Meta.GroupVersionResource value)
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. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionResource requestResource = 14;
public V1beta1Admission.AdmissionRequest.Builder 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. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionResource requestResource = 14;
public Meta.GroupVersionResource.Builder 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. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionResource requestResource = 14;
public Meta.GroupVersionResourceOrBuilder 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. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionResource requestResource = 14;
getRequestResourceOrBuilder
in interface V1beta1Admission.AdmissionRequestOrBuilder
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;
hasRequestSubResource
in interface V1beta1Admission.AdmissionRequestOrBuilder
public String 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;
getRequestSubResource
in interface V1beta1Admission.AdmissionRequestOrBuilder
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;
getRequestSubResourceBytes
in interface V1beta1Admission.AdmissionRequestOrBuilder
public V1beta1Admission.AdmissionRequest.Builder 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. See documentation for the "matchPolicy" field in the webhook configuration type. +optional
optional string requestSubResource = 15;
public V1beta1Admission.AdmissionRequest.Builder 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;
public V1beta1Admission.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;
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;
hasName
in interface V1beta1Admission.AdmissionRequestOrBuilder
public String 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;
getName
in interface V1beta1Admission.AdmissionRequestOrBuilder
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;
getNameBytes
in interface V1beta1Admission.AdmissionRequestOrBuilder
public V1beta1Admission.AdmissionRequest.Builder setName(String value)
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;
public V1beta1Admission.AdmissionRequest.Builder 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;
public V1beta1Admission.AdmissionRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
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;
public boolean hasNamespace()
Namespace is the namespace associated with the request (if any). +optional
optional string namespace = 6;
hasNamespace
in interface V1beta1Admission.AdmissionRequestOrBuilder
public String getNamespace()
Namespace is the namespace associated with the request (if any). +optional
optional string namespace = 6;
getNamespace
in interface V1beta1Admission.AdmissionRequestOrBuilder
public com.google.protobuf.ByteString getNamespaceBytes()
Namespace is the namespace associated with the request (if any). +optional
optional string namespace = 6;
getNamespaceBytes
in interface V1beta1Admission.AdmissionRequestOrBuilder
public V1beta1Admission.AdmissionRequest.Builder setNamespace(String value)
Namespace is the namespace associated with the request (if any). +optional
optional string namespace = 6;
public V1beta1Admission.AdmissionRequest.Builder clearNamespace()
Namespace is the namespace associated with the request (if any). +optional
optional string namespace = 6;
public V1beta1Admission.AdmissionRequest.Builder setNamespaceBytes(com.google.protobuf.ByteString value)
Namespace is the namespace associated with the request (if any). +optional
optional string namespace = 6;
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;
hasOperation
in interface V1beta1Admission.AdmissionRequestOrBuilder
public String 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;
getOperation
in interface V1beta1Admission.AdmissionRequestOrBuilder
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;
getOperationBytes
in interface V1beta1Admission.AdmissionRequestOrBuilder
public V1beta1Admission.AdmissionRequest.Builder setOperation(String value)
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;
public V1beta1Admission.AdmissionRequest.Builder 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;
public V1beta1Admission.AdmissionRequest.Builder setOperationBytes(com.google.protobuf.ByteString value)
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;
public boolean hasUserInfo()
UserInfo is information about the requesting user
optional .k8s.io.api.authentication.v1.UserInfo userInfo = 8;
hasUserInfo
in interface V1beta1Admission.AdmissionRequestOrBuilder
public V1Authentication.UserInfo getUserInfo()
UserInfo is information about the requesting user
optional .k8s.io.api.authentication.v1.UserInfo userInfo = 8;
getUserInfo
in interface V1beta1Admission.AdmissionRequestOrBuilder
public V1beta1Admission.AdmissionRequest.Builder setUserInfo(V1Authentication.UserInfo value)
UserInfo is information about the requesting user
optional .k8s.io.api.authentication.v1.UserInfo userInfo = 8;
public V1beta1Admission.AdmissionRequest.Builder setUserInfo(V1Authentication.UserInfo.Builder builderForValue)
UserInfo is information about the requesting user
optional .k8s.io.api.authentication.v1.UserInfo userInfo = 8;
public V1beta1Admission.AdmissionRequest.Builder mergeUserInfo(V1Authentication.UserInfo value)
UserInfo is information about the requesting user
optional .k8s.io.api.authentication.v1.UserInfo userInfo = 8;
public V1beta1Admission.AdmissionRequest.Builder clearUserInfo()
UserInfo is information about the requesting user
optional .k8s.io.api.authentication.v1.UserInfo userInfo = 8;
public V1Authentication.UserInfo.Builder getUserInfoBuilder()
UserInfo is information about the requesting user
optional .k8s.io.api.authentication.v1.UserInfo userInfo = 8;
public V1Authentication.UserInfoOrBuilder getUserInfoOrBuilder()
UserInfo is information about the requesting user
optional .k8s.io.api.authentication.v1.UserInfo userInfo = 8;
getUserInfoOrBuilder
in interface V1beta1Admission.AdmissionRequestOrBuilder
public boolean hasObject()
Object is the object from the incoming request. +optional
optional .k8s.io.apimachinery.pkg.runtime.RawExtension object = 9;
hasObject
in interface V1beta1Admission.AdmissionRequestOrBuilder
public Runtime.RawExtension getObject()
Object is the object from the incoming request. +optional
optional .k8s.io.apimachinery.pkg.runtime.RawExtension object = 9;
getObject
in interface V1beta1Admission.AdmissionRequestOrBuilder
public V1beta1Admission.AdmissionRequest.Builder setObject(Runtime.RawExtension value)
Object is the object from the incoming request. +optional
optional .k8s.io.apimachinery.pkg.runtime.RawExtension object = 9;
public V1beta1Admission.AdmissionRequest.Builder setObject(Runtime.RawExtension.Builder builderForValue)
Object is the object from the incoming request. +optional
optional .k8s.io.apimachinery.pkg.runtime.RawExtension object = 9;
public V1beta1Admission.AdmissionRequest.Builder mergeObject(Runtime.RawExtension value)
Object is the object from the incoming request. +optional
optional .k8s.io.apimachinery.pkg.runtime.RawExtension object = 9;
public V1beta1Admission.AdmissionRequest.Builder clearObject()
Object is the object from the incoming request. +optional
optional .k8s.io.apimachinery.pkg.runtime.RawExtension object = 9;
public Runtime.RawExtension.Builder getObjectBuilder()
Object is the object from the incoming request. +optional
optional .k8s.io.apimachinery.pkg.runtime.RawExtension object = 9;
public Runtime.RawExtensionOrBuilder getObjectOrBuilder()
Object is the object from the incoming request. +optional
optional .k8s.io.apimachinery.pkg.runtime.RawExtension object = 9;
getObjectOrBuilder
in interface V1beta1Admission.AdmissionRequestOrBuilder
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;
hasOldObject
in interface V1beta1Admission.AdmissionRequestOrBuilder
public Runtime.RawExtension getOldObject()
OldObject is the existing object. Only populated for DELETE and UPDATE requests. +optional
optional .k8s.io.apimachinery.pkg.runtime.RawExtension oldObject = 10;
getOldObject
in interface V1beta1Admission.AdmissionRequestOrBuilder
public V1beta1Admission.AdmissionRequest.Builder setOldObject(Runtime.RawExtension value)
OldObject is the existing object. Only populated for DELETE and UPDATE requests. +optional
optional .k8s.io.apimachinery.pkg.runtime.RawExtension oldObject = 10;
public V1beta1Admission.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;
public V1beta1Admission.AdmissionRequest.Builder mergeOldObject(Runtime.RawExtension value)
OldObject is the existing object. Only populated for DELETE and UPDATE requests. +optional
optional .k8s.io.apimachinery.pkg.runtime.RawExtension oldObject = 10;
public V1beta1Admission.AdmissionRequest.Builder clearOldObject()
OldObject is the existing object. Only populated for DELETE and UPDATE requests. +optional
optional .k8s.io.apimachinery.pkg.runtime.RawExtension oldObject = 10;
public Runtime.RawExtension.Builder getOldObjectBuilder()
OldObject is the existing object. Only populated for DELETE and UPDATE requests. +optional
optional .k8s.io.apimachinery.pkg.runtime.RawExtension oldObject = 10;
public Runtime.RawExtensionOrBuilder getOldObjectOrBuilder()
OldObject is the existing object. Only populated for DELETE and UPDATE requests. +optional
optional .k8s.io.apimachinery.pkg.runtime.RawExtension oldObject = 10;
getOldObjectOrBuilder
in interface V1beta1Admission.AdmissionRequestOrBuilder
public boolean hasDryRun()
DryRun indicates that modifications will definitely not be persisted for this request. Defaults to false. +optional
optional bool dryRun = 11;
hasDryRun
in interface V1beta1Admission.AdmissionRequestOrBuilder
public boolean getDryRun()
DryRun indicates that modifications will definitely not be persisted for this request. Defaults to false. +optional
optional bool dryRun = 11;
getDryRun
in interface V1beta1Admission.AdmissionRequestOrBuilder
public V1beta1Admission.AdmissionRequest.Builder setDryRun(boolean value)
DryRun indicates that modifications will definitely not be persisted for this request. Defaults to false. +optional
optional bool dryRun = 11;
public V1beta1Admission.AdmissionRequest.Builder clearDryRun()
DryRun indicates that modifications will definitely not be persisted for this request. Defaults to false. +optional
optional bool dryRun = 11;
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;
hasOptions
in interface V1beta1Admission.AdmissionRequestOrBuilder
public Runtime.RawExtension 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;
getOptions
in interface V1beta1Admission.AdmissionRequestOrBuilder
public V1beta1Admission.AdmissionRequest.Builder setOptions(Runtime.RawExtension value)
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;
public V1beta1Admission.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;
public V1beta1Admission.AdmissionRequest.Builder mergeOptions(Runtime.RawExtension value)
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;
public V1beta1Admission.AdmissionRequest.Builder 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;
public Runtime.RawExtension.Builder 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;
public Runtime.RawExtensionOrBuilder 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;
getOptionsOrBuilder
in interface V1beta1Admission.AdmissionRequestOrBuilder
public final V1beta1Admission.AdmissionRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Admission.AdmissionRequest.Builder>
public final V1beta1Admission.AdmissionRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Admission.AdmissionRequest.Builder>
Copyright © 2022. All rights reserved.