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 com.google.protobuf.Parser<V1beta1Admission.AdmissionRequest> |
PARSER
Deprecated.
|
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 type of object being manipulated.
|
Meta.GroupVersionKindOrBuilder |
getKindOrBuilder()
Kind is the type of object being manipulated.
|
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 prior to default values being applied
+optional
|
Runtime.RawExtensionOrBuilder |
getObjectOrBuilder()
Object is the object from the incoming request prior to default values being applied
+optional
|
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
|
com.google.protobuf.Parser<V1beta1Admission.AdmissionRequest> |
getParserForType() |
Meta.GroupVersionResource |
getResource()
Resource is the name of the resource being requested.
|
Meta.GroupVersionResourceOrBuilder |
getResourceOrBuilder()
Resource is the name of the resource being requested.
|
int |
getSerializedSize() |
String |
getSubResource()
SubResource is the name of the subresource being requested.
|
com.google.protobuf.ByteString |
getSubResourceBytes()
SubResource is the name of the subresource being requested.
|
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 type of object being manipulated.
|
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 prior to default values being applied
+optional
|
boolean |
hasOldObject()
OldObject is the existing object.
|
boolean |
hasOperation()
Operation is the operation being performed
|
boolean |
hasResource()
Resource is the name of the resource being requested.
|
boolean |
hasSubResource()
SubResource is the name of the subresource being requested.
|
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, 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic 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 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
@Deprecated public static final com.google.protobuf.Parser<V1beta1Admission.AdmissionRequest> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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.AdmissionRequestOrBuilderpublic 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.AdmissionRequestOrBuilderpublic 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.AdmissionRequestOrBuilderpublic boolean hasKind()
Kind is the type of object being manipulated. For example: Pod
optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionKind kind = 2;hasKind in interface V1beta1Admission.AdmissionRequestOrBuilderpublic Meta.GroupVersionKind getKind()
Kind is the type of object being manipulated. For example: Pod
optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionKind kind = 2;getKind in interface V1beta1Admission.AdmissionRequestOrBuilderpublic Meta.GroupVersionKindOrBuilder getKindOrBuilder()
Kind is the type of object being manipulated. For example: Pod
optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionKind kind = 2;getKindOrBuilder in interface V1beta1Admission.AdmissionRequestOrBuilderpublic boolean hasResource()
Resource is the name of the resource being requested. This is not the kind. For example: pods
optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionResource resource = 3;
hasResource in interface V1beta1Admission.AdmissionRequestOrBuilderpublic Meta.GroupVersionResource getResource()
Resource is the name of the resource being requested. This is not the kind. For example: pods
optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionResource resource = 3;
getResource in interface V1beta1Admission.AdmissionRequestOrBuilderpublic Meta.GroupVersionResourceOrBuilder getResourceOrBuilder()
Resource is the name of the resource being requested. This is not the kind. For example: pods
optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionResource resource = 3;
getResourceOrBuilder in interface V1beta1Admission.AdmissionRequestOrBuilderpublic boolean hasSubResource()
SubResource is the name of the subresource being requested. This is a different resource, scoped to the parent resource, but it may have a different kind. For instance, /pods has the resource "pods" and the kind "Pod", while /pods/foo/status has the resource "pods", the sub resource "status", and the kind "Pod" (because status operates on pods). The binding resource for a pod though may be /pods/foo/binding, which has resource "pods", subresource "binding", and kind "Binding". +optional
optional string subResource = 4;hasSubResource in interface V1beta1Admission.AdmissionRequestOrBuilderpublic String getSubResource()
SubResource is the name of the subresource being requested. This is a different resource, scoped to the parent resource, but it may have a different kind. For instance, /pods has the resource "pods" and the kind "Pod", while /pods/foo/status has the resource "pods", the sub resource "status", and the kind "Pod" (because status operates on pods). The binding resource for a pod though may be /pods/foo/binding, which has resource "pods", subresource "binding", and kind "Binding". +optional
optional string subResource = 4;getSubResource in interface V1beta1Admission.AdmissionRequestOrBuilderpublic com.google.protobuf.ByteString getSubResourceBytes()
SubResource is the name of the subresource being requested. This is a different resource, scoped to the parent resource, but it may have a different kind. For instance, /pods has the resource "pods" and the kind "Pod", while /pods/foo/status has the resource "pods", the sub resource "status", and the kind "Pod" (because status operates on pods). The binding resource for a pod though may be /pods/foo/binding, which has resource "pods", subresource "binding", and kind "Binding". +optional
optional string subResource = 4;getSubResourceBytes in interface V1beta1Admission.AdmissionRequestOrBuilderpublic 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 method will return the empty string. +optional
optional string name = 5;hasName in interface V1beta1Admission.AdmissionRequestOrBuilderpublic 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 method will return the empty string. +optional
optional string name = 5;getName in interface V1beta1Admission.AdmissionRequestOrBuilderpublic 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 method will return the empty string. +optional
optional string name = 5;getNameBytes in interface V1beta1Admission.AdmissionRequestOrBuilderpublic boolean hasNamespace()
Namespace is the namespace associated with the request (if any). +optional
optional string namespace = 6;hasNamespace in interface V1beta1Admission.AdmissionRequestOrBuilderpublic String getNamespace()
Namespace is the namespace associated with the request (if any). +optional
optional string namespace = 6;getNamespace in interface V1beta1Admission.AdmissionRequestOrBuilderpublic com.google.protobuf.ByteString getNamespaceBytes()
Namespace is the namespace associated with the request (if any). +optional
optional string namespace = 6;getNamespaceBytes in interface V1beta1Admission.AdmissionRequestOrBuilderpublic boolean hasOperation()
Operation is the operation being performed
optional string operation = 7;hasOperation in interface V1beta1Admission.AdmissionRequestOrBuilderpublic String getOperation()
Operation is the operation being performed
optional string operation = 7;getOperation in interface V1beta1Admission.AdmissionRequestOrBuilderpublic com.google.protobuf.ByteString getOperationBytes()
Operation is the operation being performed
optional string operation = 7;getOperationBytes in interface V1beta1Admission.AdmissionRequestOrBuilderpublic boolean hasUserInfo()
UserInfo is information about the requesting user
optional .k8s.io.api.authentication.v1.UserInfo userInfo = 8;hasUserInfo in interface V1beta1Admission.AdmissionRequestOrBuilderpublic V1Authentication.UserInfo getUserInfo()
UserInfo is information about the requesting user
optional .k8s.io.api.authentication.v1.UserInfo userInfo = 8;getUserInfo in interface V1beta1Admission.AdmissionRequestOrBuilderpublic V1Authentication.UserInfoOrBuilder getUserInfoOrBuilder()
UserInfo is information about the requesting user
optional .k8s.io.api.authentication.v1.UserInfo userInfo = 8;getUserInfoOrBuilder in interface V1beta1Admission.AdmissionRequestOrBuilderpublic boolean hasObject()
Object is the object from the incoming request prior to default values being applied +optional
optional .k8s.io.apimachinery.pkg.runtime.RawExtension object = 9;hasObject in interface V1beta1Admission.AdmissionRequestOrBuilderpublic Runtime.RawExtension getObject()
Object is the object from the incoming request prior to default values being applied +optional
optional .k8s.io.apimachinery.pkg.runtime.RawExtension object = 9;getObject in interface V1beta1Admission.AdmissionRequestOrBuilderpublic Runtime.RawExtensionOrBuilder getObjectOrBuilder()
Object is the object from the incoming request prior to default values being applied +optional
optional .k8s.io.apimachinery.pkg.runtime.RawExtension object = 9;getObjectOrBuilder in interface V1beta1Admission.AdmissionRequestOrBuilderpublic boolean hasOldObject()
OldObject is the existing object. Only populated for UPDATE requests. +optional
optional .k8s.io.apimachinery.pkg.runtime.RawExtension oldObject = 10;hasOldObject in interface V1beta1Admission.AdmissionRequestOrBuilderpublic Runtime.RawExtension getOldObject()
OldObject is the existing object. Only populated for UPDATE requests. +optional
optional .k8s.io.apimachinery.pkg.runtime.RawExtension oldObject = 10;getOldObject in interface V1beta1Admission.AdmissionRequestOrBuilderpublic Runtime.RawExtensionOrBuilder getOldObjectOrBuilder()
OldObject is the existing object. Only populated for UPDATE requests. +optional
optional .k8s.io.apimachinery.pkg.runtime.RawExtension oldObject = 10;getOldObjectOrBuilder in interface V1beta1Admission.AdmissionRequestOrBuilderpublic 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.AdmissionRequestOrBuilderpublic 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.AdmissionRequestOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static V1beta1Admission.AdmissionRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1beta1Admission.AdmissionRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1beta1Admission.AdmissionRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1beta1Admission.AdmissionRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1beta1Admission.AdmissionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1beta1Admission.AdmissionRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1beta1Admission.AdmissionRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static V1beta1Admission.AdmissionRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1beta1Admission.AdmissionRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static V1beta1Admission.AdmissionRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1beta1Admission.AdmissionRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static V1beta1Admission.AdmissionRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic V1beta1Admission.AdmissionRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic 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.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected V1beta1Admission.AdmissionRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public 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.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public V1beta1Admission.AdmissionRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2020. All rights reserved.