public static final class V1beta1Admission.AdmissionRequest extends com.google.protobuf.GeneratedMessageV3 implements V1beta1Admission.AdmissionRequestOrBuilder
AdmissionRequest describes the admission.Attributes for the admission request.Protobuf type
k8s.io.api.admission.v1beta1.AdmissionRequest
Modifier and Type | Class and Description |
---|---|
static class |
V1beta1Admission.AdmissionRequest.Builder
AdmissionRequest describes the admission.Attributes for the admission request.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
Modifier and Type | Field and Description |
---|---|
static int |
DRYRUN_FIELD_NUMBER |
static int |
KIND_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
NAMESPACE_FIELD_NUMBER |
static int |
OBJECT_FIELD_NUMBER |
static int |
OLDOBJECT_FIELD_NUMBER |
static int |
OPERATION_FIELD_NUMBER |
static int |
OPTIONS_FIELD_NUMBER |
static com.google.protobuf.Parser<V1beta1Admission.AdmissionRequest> |
PARSER
Deprecated.
|
static int |
REQUESTKIND_FIELD_NUMBER |
static int |
REQUESTRESOURCE_FIELD_NUMBER |
static int |
REQUESTSUBRESOURCE_FIELD_NUMBER |
static int |
RESOURCE_FIELD_NUMBER |
static int |
SUBRESOURCE_FIELD_NUMBER |
static int |
UID_FIELD_NUMBER |
static int |
USERINFO_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static V1beta1Admission.AdmissionRequest |
getDefaultInstance() |
V1beta1Admission.AdmissionRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.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.RawExtensionOrBuilder |
getObjectOrBuilder()
Object is the object from the incoming request.
|
Runtime.RawExtension |
getOldObject()
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.RawExtensionOrBuilder |
getOptionsOrBuilder()
Options is the operation option structure of the operation being performed.
|
com.google.protobuf.Parser<V1beta1Admission.AdmissionRequest> |
getParserForType() |
Meta.GroupVersionKind |
getRequestKind()
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.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.GroupVersionResourceOrBuilder |
getResourceOrBuilder()
Resource is the fully-qualified resource being requested (for example, v1.pods)
|
int |
getSerializedSize() |
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.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
V1Authentication.UserInfo |
getUserInfo()
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.
|
int |
hashCode() |
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() |
static V1beta1Admission.AdmissionRequest.Builder |
newBuilder() |
static V1beta1Admission.AdmissionRequest.Builder |
newBuilder(V1beta1Admission.AdmissionRequest prototype) |
V1beta1Admission.AdmissionRequest.Builder |
newBuilderForType() |
protected V1beta1Admission.AdmissionRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static V1beta1Admission.AdmissionRequest |
parseDelimitedFrom(InputStream input) |
static V1beta1Admission.AdmissionRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1beta1Admission.AdmissionRequest |
parseFrom(byte[] data) |
static V1beta1Admission.AdmissionRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1beta1Admission.AdmissionRequest |
parseFrom(ByteBuffer data) |
static V1beta1Admission.AdmissionRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1beta1Admission.AdmissionRequest |
parseFrom(com.google.protobuf.ByteString data) |
static V1beta1Admission.AdmissionRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1beta1Admission.AdmissionRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static V1beta1Admission.AdmissionRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1beta1Admission.AdmissionRequest |
parseFrom(InputStream input) |
static V1beta1Admission.AdmissionRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<V1beta1Admission.AdmissionRequest> |
parser() |
V1beta1Admission.AdmissionRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int UID_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER
public static final int RESOURCE_FIELD_NUMBER
public static final int SUBRESOURCE_FIELD_NUMBER
public static final int REQUESTKIND_FIELD_NUMBER
public static final int REQUESTRESOURCE_FIELD_NUMBER
public static final int REQUESTSUBRESOURCE_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
public static final int NAMESPACE_FIELD_NUMBER
public static final int OPERATION_FIELD_NUMBER
public static final int USERINFO_FIELD_NUMBER
public static final int OBJECT_FIELD_NUMBER
public static final int OLDOBJECT_FIELD_NUMBER
public static final int DRYRUN_FIELD_NUMBER
public static final int OPTIONS_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<V1beta1Admission.AdmissionRequest> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static V1beta1Admission.AdmissionRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static V1beta1Admission.AdmissionRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static V1beta1Admission.AdmissionRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static V1beta1Admission.AdmissionRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static V1beta1Admission.AdmissionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static V1beta1Admission.AdmissionRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static V1beta1Admission.AdmissionRequest parseFrom(InputStream input) throws IOException
IOException
public static V1beta1Admission.AdmissionRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static V1beta1Admission.AdmissionRequest parseDelimitedFrom(InputStream input) throws IOException
IOException
public static V1beta1Admission.AdmissionRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static V1beta1Admission.AdmissionRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static V1beta1Admission.AdmissionRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public V1beta1Admission.AdmissionRequest.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static V1beta1Admission.AdmissionRequest.Builder newBuilder()
public static V1beta1Admission.AdmissionRequest.Builder newBuilder(V1beta1Admission.AdmissionRequest prototype)
public V1beta1Admission.AdmissionRequest.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected V1beta1Admission.AdmissionRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static V1beta1Admission.AdmissionRequest getDefaultInstance()
public static com.google.protobuf.Parser<V1beta1Admission.AdmissionRequest> parser()
public com.google.protobuf.Parser<V1beta1Admission.AdmissionRequest> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public V1beta1Admission.AdmissionRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2022. All rights reserved.