Package io.kubernetes.client.proto
Class V1alpha1Admissionregistration.ExternalAdmissionHook
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.kubernetes.client.proto.V1alpha1Admissionregistration.ExternalAdmissionHook
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,V1alpha1Admissionregistration.ExternalAdmissionHookOrBuilder,Serializable
- Enclosing class:
- V1alpha1Admissionregistration
public static final class V1alpha1Admissionregistration.ExternalAdmissionHook
extends com.google.protobuf.GeneratedMessageV3
implements V1alpha1Admissionregistration.ExternalAdmissionHookOrBuilder
ExternalAdmissionHook describes an external admission webhook and the resources and operations it applies to.Protobuf type
k8s.io.api.admissionregistration.v1alpha1.ExternalAdmissionHook- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classExternalAdmissionHook describes an external admission webhook and the resources and operations it applies to.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 com.google.protobuf.Parser<V1alpha1Admissionregistration.ExternalAdmissionHook>Deprecated.static 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 TypeMethodDescriptionbooleanClientConfig defines how to communicate with the hook.ClientConfig defines how to communicate with the hook.static final com.google.protobuf.Descriptors.DescriptorFailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail.com.google.protobuf.ByteStringFailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail.getName()The name of the external admission webhook.com.google.protobuf.ByteStringThe name of the external admission webhook.com.google.protobuf.Parser<V1alpha1Admissionregistration.ExternalAdmissionHook>getRules(int index) Rules describes what operations on what resources/subresources the webhook cares about.intRules describes what operations on what resources/subresources the webhook cares about.Rules describes what operations on what resources/subresources the webhook cares about.getRulesOrBuilder(int index) Rules describes what operations on what resources/subresources the webhook cares about.Rules describes what operations on what resources/subresources the webhook cares about.intfinal com.google.protobuf.UnknownFieldSetbooleanClientConfig defines how to communicate with the hook.booleanFailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail.inthashCode()booleanhasName()The name of the external admission webhook.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilderForType(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<V1alpha1Admissionregistration.ExternalAdmissionHook>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
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
CLIENTCONFIG_FIELD_NUMBER
public static final int CLIENTCONFIG_FIELD_NUMBER- See Also:
-
RULES_FIELD_NUMBER
public static final int RULES_FIELD_NUMBER- See Also:
-
FAILUREPOLICY_FIELD_NUMBER
public static final int FAILUREPOLICY_FIELD_NUMBER- See Also:
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<V1alpha1Admissionregistration.ExternalAdmissionHook> 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
-
hasName
public boolean hasName()The name of the external admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required.
optional string name = 1;- Specified by:
hasNamein interfaceV1alpha1Admissionregistration.ExternalAdmissionHookOrBuilder
-
getName
The name of the external admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required.
optional string name = 1;- Specified by:
getNamein interfaceV1alpha1Admissionregistration.ExternalAdmissionHookOrBuilder
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()The name of the external admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required.
optional string name = 1;- Specified by:
getNameBytesin interfaceV1alpha1Admissionregistration.ExternalAdmissionHookOrBuilder
-
hasClientConfig
public boolean hasClientConfig()ClientConfig defines how to communicate with the hook. Required
optional .k8s.io.api.admissionregistration.v1alpha1.AdmissionHookClientConfig clientConfig = 2;- Specified by:
hasClientConfigin interfaceV1alpha1Admissionregistration.ExternalAdmissionHookOrBuilder
-
getClientConfig
ClientConfig defines how to communicate with the hook. Required
optional .k8s.io.api.admissionregistration.v1alpha1.AdmissionHookClientConfig clientConfig = 2;- Specified by:
getClientConfigin interfaceV1alpha1Admissionregistration.ExternalAdmissionHookOrBuilder
-
getClientConfigOrBuilder
ClientConfig defines how to communicate with the hook. Required
optional .k8s.io.api.admissionregistration.v1alpha1.AdmissionHookClientConfig clientConfig = 2;- Specified by:
getClientConfigOrBuilderin interfaceV1alpha1Admissionregistration.ExternalAdmissionHookOrBuilder
-
getRulesList
Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule.
repeated .k8s.io.api.admissionregistration.v1alpha1.RuleWithOperations rules = 3;- Specified by:
getRulesListin interfaceV1alpha1Admissionregistration.ExternalAdmissionHookOrBuilder
-
getRulesOrBuilderList
public List<? extends V1alpha1Admissionregistration.RuleWithOperationsOrBuilder> getRulesOrBuilderList()Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule.
repeated .k8s.io.api.admissionregistration.v1alpha1.RuleWithOperations rules = 3;- Specified by:
getRulesOrBuilderListin interfaceV1alpha1Admissionregistration.ExternalAdmissionHookOrBuilder
-
getRulesCount
public int getRulesCount()Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule.
repeated .k8s.io.api.admissionregistration.v1alpha1.RuleWithOperations rules = 3;- Specified by:
getRulesCountin interfaceV1alpha1Admissionregistration.ExternalAdmissionHookOrBuilder
-
getRules
Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule.
repeated .k8s.io.api.admissionregistration.v1alpha1.RuleWithOperations rules = 3;- Specified by:
getRulesin interfaceV1alpha1Admissionregistration.ExternalAdmissionHookOrBuilder
-
getRulesOrBuilder
Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule.
repeated .k8s.io.api.admissionregistration.v1alpha1.RuleWithOperations rules = 3;- Specified by:
getRulesOrBuilderin interfaceV1alpha1Admissionregistration.ExternalAdmissionHookOrBuilder
-
hasFailurePolicy
public boolean hasFailurePolicy()FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore. +optional
optional string failurePolicy = 4;- Specified by:
hasFailurePolicyin interfaceV1alpha1Admissionregistration.ExternalAdmissionHookOrBuilder
-
getFailurePolicy
FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore. +optional
optional string failurePolicy = 4;- Specified by:
getFailurePolicyin interfaceV1alpha1Admissionregistration.ExternalAdmissionHookOrBuilder
-
getFailurePolicyBytes
public com.google.protobuf.ByteString getFailurePolicyBytes()FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore. +optional
optional string failurePolicy = 4;- Specified by:
getFailurePolicyBytesin interfaceV1alpha1Admissionregistration.ExternalAdmissionHookOrBuilder
-
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 V1alpha1Admissionregistration.ExternalAdmissionHook parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1alpha1Admissionregistration.ExternalAdmissionHook parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1alpha1Admissionregistration.ExternalAdmissionHook parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1alpha1Admissionregistration.ExternalAdmissionHook parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1alpha1Admissionregistration.ExternalAdmissionHook parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1alpha1Admissionregistration.ExternalAdmissionHook parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1alpha1Admissionregistration.ExternalAdmissionHook parseFrom(InputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static V1alpha1Admissionregistration.ExternalAdmissionHook parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static V1alpha1Admissionregistration.ExternalAdmissionHook parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static V1alpha1Admissionregistration.ExternalAdmissionHook parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static V1alpha1Admissionregistration.ExternalAdmissionHook parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static V1alpha1Admissionregistration.ExternalAdmissionHook 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 V1alpha1Admissionregistration.ExternalAdmissionHook.Builder newBuilder(V1alpha1Admissionregistration.ExternalAdmissionHook prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected V1alpha1Admissionregistration.ExternalAdmissionHook.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
public static com.google.protobuf.Parser<V1alpha1Admissionregistration.ExternalAdmissionHook> parser() -
getParserForType
public com.google.protobuf.Parser<V1alpha1Admissionregistration.ExternalAdmissionHook> 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
-