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| Modifier and Type | Class and Description |
|---|---|
static class |
V1alpha1Admissionregistration.ExternalAdmissionHook.Builder
ExternalAdmissionHook describes an external admission webhook and the
resources and operations it applies to.
|
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 |
CLIENTCONFIG_FIELD_NUMBER |
static int |
FAILUREPOLICY_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static com.google.protobuf.Parser<V1alpha1Admissionregistration.ExternalAdmissionHook> |
PARSER
Deprecated.
|
static int |
RULES_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
V1alpha1Admissionregistration.AdmissionHookClientConfig |
getClientConfig()
ClientConfig defines how to communicate with the hook.
|
V1alpha1Admissionregistration.AdmissionHookClientConfigOrBuilder |
getClientConfigOrBuilder()
ClientConfig defines how to communicate with the hook.
|
static V1alpha1Admissionregistration.ExternalAdmissionHook |
getDefaultInstance() |
V1alpha1Admissionregistration.ExternalAdmissionHook |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getFailurePolicy()
FailurePolicy defines how unrecognized errors from the admission endpoint are handled -
allowed values are Ignore or Fail.
|
com.google.protobuf.ByteString |
getFailurePolicyBytes()
FailurePolicy defines how unrecognized errors from the admission endpoint are handled -
allowed values are Ignore or Fail.
|
String |
getName()
The name of the external admission webhook.
|
com.google.protobuf.ByteString |
getNameBytes()
The name of the external admission webhook.
|
com.google.protobuf.Parser<V1alpha1Admissionregistration.ExternalAdmissionHook> |
getParserForType() |
V1alpha1Admissionregistration.RuleWithOperations |
getRules(int index)
Rules describes what operations on what resources/subresources the webhook cares about.
|
int |
getRulesCount()
Rules describes what operations on what resources/subresources the webhook cares about.
|
List<V1alpha1Admissionregistration.RuleWithOperations> |
getRulesList()
Rules describes what operations on what resources/subresources the webhook cares about.
|
V1alpha1Admissionregistration.RuleWithOperationsOrBuilder |
getRulesOrBuilder(int index)
Rules describes what operations on what resources/subresources the webhook cares about.
|
List<? extends V1alpha1Admissionregistration.RuleWithOperationsOrBuilder> |
getRulesOrBuilderList()
Rules describes what operations on what resources/subresources the webhook cares about.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasClientConfig()
ClientConfig defines how to communicate with the hook.
|
boolean |
hasFailurePolicy()
FailurePolicy defines how unrecognized errors from the admission endpoint are handled -
allowed values are Ignore or Fail.
|
int |
hashCode() |
boolean |
hasName()
The name of the external admission webhook.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static V1alpha1Admissionregistration.ExternalAdmissionHook.Builder |
newBuilder() |
static V1alpha1Admissionregistration.ExternalAdmissionHook.Builder |
newBuilder(V1alpha1Admissionregistration.ExternalAdmissionHook prototype) |
V1alpha1Admissionregistration.ExternalAdmissionHook.Builder |
newBuilderForType() |
protected V1alpha1Admissionregistration.ExternalAdmissionHook.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static V1alpha1Admissionregistration.ExternalAdmissionHook |
parseDelimitedFrom(InputStream input) |
static V1alpha1Admissionregistration.ExternalAdmissionHook |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1alpha1Admissionregistration.ExternalAdmissionHook |
parseFrom(byte[] data) |
static V1alpha1Admissionregistration.ExternalAdmissionHook |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1alpha1Admissionregistration.ExternalAdmissionHook |
parseFrom(ByteBuffer data) |
static V1alpha1Admissionregistration.ExternalAdmissionHook |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1alpha1Admissionregistration.ExternalAdmissionHook |
parseFrom(com.google.protobuf.ByteString data) |
static V1alpha1Admissionregistration.ExternalAdmissionHook |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1alpha1Admissionregistration.ExternalAdmissionHook |
parseFrom(com.google.protobuf.CodedInputStream input) |
static V1alpha1Admissionregistration.ExternalAdmissionHook |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1alpha1Admissionregistration.ExternalAdmissionHook |
parseFrom(InputStream input) |
static V1alpha1Admissionregistration.ExternalAdmissionHook |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<V1alpha1Admissionregistration.ExternalAdmissionHook> |
parser() |
V1alpha1Admissionregistration.ExternalAdmissionHook.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 NAME_FIELD_NUMBER
public static final int CLIENTCONFIG_FIELD_NUMBER
public static final int RULES_FIELD_NUMBER
public static final int FAILUREPOLICY_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<V1alpha1Admissionregistration.ExternalAdmissionHook> 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 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;hasName in interface V1alpha1Admissionregistration.ExternalAdmissionHookOrBuilderpublic String 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;getName in interface V1alpha1Admissionregistration.ExternalAdmissionHookOrBuilderpublic 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;getNameBytes in interface V1alpha1Admissionregistration.ExternalAdmissionHookOrBuilderpublic boolean hasClientConfig()
ClientConfig defines how to communicate with the hook. Required
optional .k8s.io.api.admissionregistration.v1alpha1.AdmissionHookClientConfig clientConfig = 2;
hasClientConfig in interface V1alpha1Admissionregistration.ExternalAdmissionHookOrBuilderpublic V1alpha1Admissionregistration.AdmissionHookClientConfig getClientConfig()
ClientConfig defines how to communicate with the hook. Required
optional .k8s.io.api.admissionregistration.v1alpha1.AdmissionHookClientConfig clientConfig = 2;
getClientConfig in interface V1alpha1Admissionregistration.ExternalAdmissionHookOrBuilderpublic V1alpha1Admissionregistration.AdmissionHookClientConfigOrBuilder getClientConfigOrBuilder()
ClientConfig defines how to communicate with the hook. Required
optional .k8s.io.api.admissionregistration.v1alpha1.AdmissionHookClientConfig clientConfig = 2;
getClientConfigOrBuilder in interface V1alpha1Admissionregistration.ExternalAdmissionHookOrBuilderpublic List<V1alpha1Admissionregistration.RuleWithOperations> 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;
getRulesList in interface V1alpha1Admissionregistration.ExternalAdmissionHookOrBuilderpublic 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;
getRulesOrBuilderList in interface V1alpha1Admissionregistration.ExternalAdmissionHookOrBuilderpublic 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;
getRulesCount in interface V1alpha1Admissionregistration.ExternalAdmissionHookOrBuilderpublic V1alpha1Admissionregistration.RuleWithOperations getRules(int index)
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;
getRules in interface V1alpha1Admissionregistration.ExternalAdmissionHookOrBuilderpublic V1alpha1Admissionregistration.RuleWithOperationsOrBuilder getRulesOrBuilder(int index)
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;
getRulesOrBuilder in interface V1alpha1Admissionregistration.ExternalAdmissionHookOrBuilderpublic 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;hasFailurePolicy in interface V1alpha1Admissionregistration.ExternalAdmissionHookOrBuilderpublic String 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;getFailurePolicy in interface V1alpha1Admissionregistration.ExternalAdmissionHookOrBuilderpublic 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;getFailurePolicyBytes in interface V1alpha1Admissionregistration.ExternalAdmissionHookOrBuilderpublic 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 V1alpha1Admissionregistration.ExternalAdmissionHook parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1alpha1Admissionregistration.ExternalAdmissionHook parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1alpha1Admissionregistration.ExternalAdmissionHook parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1alpha1Admissionregistration.ExternalAdmissionHook parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1alpha1Admissionregistration.ExternalAdmissionHook parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1alpha1Admissionregistration.ExternalAdmissionHook parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1alpha1Admissionregistration.ExternalAdmissionHook parseFrom(InputStream input) throws IOException
IOExceptionpublic static V1alpha1Admissionregistration.ExternalAdmissionHook parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1alpha1Admissionregistration.ExternalAdmissionHook parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static V1alpha1Admissionregistration.ExternalAdmissionHook parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1alpha1Admissionregistration.ExternalAdmissionHook parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static V1alpha1Admissionregistration.ExternalAdmissionHook parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic V1alpha1Admissionregistration.ExternalAdmissionHook.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static V1alpha1Admissionregistration.ExternalAdmissionHook.Builder newBuilder()
public static V1alpha1Admissionregistration.ExternalAdmissionHook.Builder newBuilder(V1alpha1Admissionregistration.ExternalAdmissionHook prototype)
public V1alpha1Admissionregistration.ExternalAdmissionHook.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected V1alpha1Admissionregistration.ExternalAdmissionHook.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static V1alpha1Admissionregistration.ExternalAdmissionHook getDefaultInstance()
public static com.google.protobuf.Parser<V1alpha1Admissionregistration.ExternalAdmissionHook> parser()
public com.google.protobuf.Parser<V1alpha1Admissionregistration.ExternalAdmissionHook> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public V1alpha1Admissionregistration.ExternalAdmissionHook getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2021. All rights reserved.