Package io.kubernetes.client.proto
Class V1alpha1Admission.AdmissionReviewSpec
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.kubernetes.client.proto.V1alpha1Admission.AdmissionReviewSpec
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,V1alpha1Admission.AdmissionReviewSpecOrBuilder,Serializable
- Enclosing class:
- V1alpha1Admission
public static final class V1alpha1Admission.AdmissionReviewSpec
extends com.google.protobuf.GeneratedMessageV3
implements V1alpha1Admission.AdmissionReviewSpecOrBuilder
AdmissionReviewSpec describes the admission.Attributes for the admission request.Protobuf type
k8s.io.api.admission.v1alpha1.AdmissionReviewSpec- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classAdmissionReviewSpec describes the admission.Attributes for the admission request.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final com.google.protobuf.Parser<V1alpha1Admission.AdmissionReviewSpec>Deprecated.static final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic final com.google.protobuf.Descriptors.DescriptorgetKind()Kind is the type of object being manipulated.Kind is the type of object being manipulated.getName()Name is the name of the object as presented in the request.com.google.protobuf.ByteStringName is the name of the object as presented in the request.Namespace is the namespace associated with the request (if any).com.google.protobuf.ByteStringNamespace is the namespace associated with the request (if any).Object is the object from the incoming request prior to default values being appliedObject is the object from the incoming request prior to default values being appliedOldObject is the existing object.OldObject is the existing object.Operation is the operation being performedcom.google.protobuf.ByteStringOperation is the operation being performedcom.google.protobuf.Parser<V1alpha1Admission.AdmissionReviewSpec>Resource is the name of the resource being requested.Resource is the name of the resource being requested.intSubResource is the name of the subresource being requested.com.google.protobuf.ByteStringSubResource is the name of the subresource being requested.final com.google.protobuf.UnknownFieldSetUserInfo is information about the requesting userUserInfo is information about the requesting userinthashCode()booleanhasKind()Kind is the type of object being manipulated.booleanhasName()Name is the name of the object as presented in the request.booleanNamespace is the namespace associated with the request (if any).booleanObject is the object from the incoming request prior to default values being appliedbooleanOldObject is the existing object.booleanOperation is the operation being performedbooleanResource is the name of the resource being requested.booleanSubResource is the name of the subresource being requested.booleanUserInfo is information about the requesting userprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(V1alpha1Admission.AdmissionReviewSpec prototype) newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<V1alpha1Admission.AdmissionReviewSpec>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
Field Details
-
KIND_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER- See Also:
-
OBJECT_FIELD_NUMBER
public static final int OBJECT_FIELD_NUMBER- See Also:
-
OLDOBJECT_FIELD_NUMBER
public static final int OLDOBJECT_FIELD_NUMBER- See Also:
-
OPERATION_FIELD_NUMBER
public static final int OPERATION_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
NAMESPACE_FIELD_NUMBER
public static final int NAMESPACE_FIELD_NUMBER- See Also:
-
RESOURCE_FIELD_NUMBER
public static final int RESOURCE_FIELD_NUMBER- See Also:
-
SUBRESOURCE_FIELD_NUMBER
public static final int SUBRESOURCE_FIELD_NUMBER- See Also:
-
USERINFO_FIELD_NUMBER
public static final int USERINFO_FIELD_NUMBER- See Also:
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<V1alpha1Admission.AdmissionReviewSpec> PARSERDeprecated.
-
-
Method Details
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasKind
public boolean hasKind()Kind is the type of object being manipulated. For example: Pod
optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionKind kind = 1;- Specified by:
hasKindin interfaceV1alpha1Admission.AdmissionReviewSpecOrBuilder
-
getKind
Kind is the type of object being manipulated. For example: Pod
optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionKind kind = 1;- Specified by:
getKindin interfaceV1alpha1Admission.AdmissionReviewSpecOrBuilder
-
getKindOrBuilder
Kind is the type of object being manipulated. For example: Pod
optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionKind kind = 1;- Specified by:
getKindOrBuilderin interfaceV1alpha1Admission.AdmissionReviewSpecOrBuilder
-
hasObject
public boolean hasObject()Object is the object from the incoming request prior to default values being applied
optional .k8s.io.apimachinery.pkg.runtime.RawExtension object = 2;- Specified by:
hasObjectin interfaceV1alpha1Admission.AdmissionReviewSpecOrBuilder
-
getObject
Object is the object from the incoming request prior to default values being applied
optional .k8s.io.apimachinery.pkg.runtime.RawExtension object = 2;- Specified by:
getObjectin interfaceV1alpha1Admission.AdmissionReviewSpecOrBuilder
-
getObjectOrBuilder
Object is the object from the incoming request prior to default values being applied
optional .k8s.io.apimachinery.pkg.runtime.RawExtension object = 2;- Specified by:
getObjectOrBuilderin interfaceV1alpha1Admission.AdmissionReviewSpecOrBuilder
-
hasOldObject
public boolean hasOldObject()OldObject is the existing object. Only populated for UPDATE requests. +optional
optional .k8s.io.apimachinery.pkg.runtime.RawExtension oldObject = 3;- Specified by:
hasOldObjectin interfaceV1alpha1Admission.AdmissionReviewSpecOrBuilder
-
getOldObject
OldObject is the existing object. Only populated for UPDATE requests. +optional
optional .k8s.io.apimachinery.pkg.runtime.RawExtension oldObject = 3;- Specified by:
getOldObjectin interfaceV1alpha1Admission.AdmissionReviewSpecOrBuilder
-
getOldObjectOrBuilder
OldObject is the existing object. Only populated for UPDATE requests. +optional
optional .k8s.io.apimachinery.pkg.runtime.RawExtension oldObject = 3;- Specified by:
getOldObjectOrBuilderin interfaceV1alpha1Admission.AdmissionReviewSpecOrBuilder
-
hasOperation
public boolean hasOperation()Operation is the operation being performed
optional string operation = 4;- Specified by:
hasOperationin interfaceV1alpha1Admission.AdmissionReviewSpecOrBuilder
-
getOperation
Operation is the operation being performed
optional string operation = 4;- Specified by:
getOperationin interfaceV1alpha1Admission.AdmissionReviewSpecOrBuilder
-
getOperationBytes
public com.google.protobuf.ByteString getOperationBytes()Operation is the operation being performed
optional string operation = 4;- Specified by:
getOperationBytesin interfaceV1alpha1Admission.AdmissionReviewSpecOrBuilder
-
hasName
public boolean hasName()Name is the name of the object as presented in the request. On a CREATE operation, the client may omit name and rely on the server to generate the name. If that is the case, this method will return the empty string. +optional
optional string name = 5;- Specified by:
hasNamein interfaceV1alpha1Admission.AdmissionReviewSpecOrBuilder
-
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;- Specified by:
getNamein interfaceV1alpha1Admission.AdmissionReviewSpecOrBuilder
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Name is the name of the object as presented in the request. On a CREATE operation, the client may omit name and rely on the server to generate the name. If that is the case, this method will return the empty string. +optional
optional string name = 5;- Specified by:
getNameBytesin interfaceV1alpha1Admission.AdmissionReviewSpecOrBuilder
-
hasNamespace
public boolean hasNamespace()Namespace is the namespace associated with the request (if any). +optional
optional string namespace = 6;- Specified by:
hasNamespacein interfaceV1alpha1Admission.AdmissionReviewSpecOrBuilder
-
getNamespace
Namespace is the namespace associated with the request (if any). +optional
optional string namespace = 6;- Specified by:
getNamespacein interfaceV1alpha1Admission.AdmissionReviewSpecOrBuilder
-
getNamespaceBytes
public com.google.protobuf.ByteString getNamespaceBytes()Namespace is the namespace associated with the request (if any). +optional
optional string namespace = 6;- Specified by:
getNamespaceBytesin interfaceV1alpha1Admission.AdmissionReviewSpecOrBuilder
-
hasResource
public 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 = 7;- Specified by:
hasResourcein interfaceV1alpha1Admission.AdmissionReviewSpecOrBuilder
-
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 = 7;- Specified by:
getResourcein interfaceV1alpha1Admission.AdmissionReviewSpecOrBuilder
-
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 = 7;- Specified by:
getResourceOrBuilderin interfaceV1alpha1Admission.AdmissionReviewSpecOrBuilder
-
hasSubResource
public 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 = 8;- Specified by:
hasSubResourcein interfaceV1alpha1Admission.AdmissionReviewSpecOrBuilder
-
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 = 8;- Specified by:
getSubResourcein interfaceV1alpha1Admission.AdmissionReviewSpecOrBuilder
-
getSubResourceBytes
public 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 = 8;- Specified by:
getSubResourceBytesin interfaceV1alpha1Admission.AdmissionReviewSpecOrBuilder
-
hasUserInfo
public boolean hasUserInfo()UserInfo is information about the requesting user
optional .k8s.io.api.authentication.v1.UserInfo userInfo = 9;- Specified by:
hasUserInfoin interfaceV1alpha1Admission.AdmissionReviewSpecOrBuilder
-
getUserInfo
UserInfo is information about the requesting user
optional .k8s.io.api.authentication.v1.UserInfo userInfo = 9;- Specified by:
getUserInfoin interfaceV1alpha1Admission.AdmissionReviewSpecOrBuilder
-
getUserInfoOrBuilder
UserInfo is information about the requesting user
optional .k8s.io.api.authentication.v1.UserInfo userInfo = 9;- Specified by:
getUserInfoOrBuilderin interfaceV1alpha1Admission.AdmissionReviewSpecOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static V1alpha1Admission.AdmissionReviewSpec parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1alpha1Admission.AdmissionReviewSpec parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1alpha1Admission.AdmissionReviewSpec parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1alpha1Admission.AdmissionReviewSpec parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1alpha1Admission.AdmissionReviewSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1alpha1Admission.AdmissionReviewSpec parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static V1alpha1Admission.AdmissionReviewSpec parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static V1alpha1Admission.AdmissionReviewSpec parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static V1alpha1Admission.AdmissionReviewSpec parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static V1alpha1Admission.AdmissionReviewSpec parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static V1alpha1Admission.AdmissionReviewSpec parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static V1alpha1Admission.AdmissionReviewSpec.Builder newBuilder(V1alpha1Admission.AdmissionReviewSpec prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected V1alpha1Admission.AdmissionReviewSpec.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-