public static final class V1alpha1Admissionregistration.ExternalAdmissionHook.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Admissionregistration.ExternalAdmissionHook.Builder> 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 | Method and Description |
|---|---|
V1alpha1Admissionregistration.ExternalAdmissionHook.Builder |
addAllRules(Iterable<? extends V1alpha1Admissionregistration.RuleWithOperations> values)
Rules describes what operations on what resources/subresources the webhook cares about.
|
V1alpha1Admissionregistration.ExternalAdmissionHook.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1alpha1Admissionregistration.ExternalAdmissionHook.Builder |
addRules(int index,
V1alpha1Admissionregistration.RuleWithOperations.Builder builderForValue)
Rules describes what operations on what resources/subresources the webhook cares about.
|
V1alpha1Admissionregistration.ExternalAdmissionHook.Builder |
addRules(int index,
V1alpha1Admissionregistration.RuleWithOperations value)
Rules describes what operations on what resources/subresources the webhook cares about.
|
V1alpha1Admissionregistration.ExternalAdmissionHook.Builder |
addRules(V1alpha1Admissionregistration.RuleWithOperations.Builder builderForValue)
Rules describes what operations on what resources/subresources the webhook cares about.
|
V1alpha1Admissionregistration.ExternalAdmissionHook.Builder |
addRules(V1alpha1Admissionregistration.RuleWithOperations value)
Rules describes what operations on what resources/subresources the webhook cares about.
|
V1alpha1Admissionregistration.RuleWithOperations.Builder |
addRulesBuilder()
Rules describes what operations on what resources/subresources the webhook cares about.
|
V1alpha1Admissionregistration.RuleWithOperations.Builder |
addRulesBuilder(int index)
Rules describes what operations on what resources/subresources the webhook cares about.
|
V1alpha1Admissionregistration.ExternalAdmissionHook |
build() |
V1alpha1Admissionregistration.ExternalAdmissionHook |
buildPartial() |
V1alpha1Admissionregistration.ExternalAdmissionHook.Builder |
clear() |
V1alpha1Admissionregistration.ExternalAdmissionHook.Builder |
clearClientConfig()
ClientConfig defines how to communicate with the hook.
|
V1alpha1Admissionregistration.ExternalAdmissionHook.Builder |
clearFailurePolicy()
FailurePolicy defines how unrecognized errors from the admission endpoint are handled -
allowed values are Ignore or Fail.
|
V1alpha1Admissionregistration.ExternalAdmissionHook.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1alpha1Admissionregistration.ExternalAdmissionHook.Builder |
clearName()
The name of the external admission webhook.
|
V1alpha1Admissionregistration.ExternalAdmissionHook.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1alpha1Admissionregistration.ExternalAdmissionHook.Builder |
clearRules()
Rules describes what operations on what resources/subresources the webhook cares about.
|
V1alpha1Admissionregistration.ExternalAdmissionHook.Builder |
clone() |
V1alpha1Admissionregistration.AdmissionHookClientConfig |
getClientConfig()
ClientConfig defines how to communicate with the hook.
|
V1alpha1Admissionregistration.AdmissionHookClientConfig.Builder |
getClientConfigBuilder()
ClientConfig defines how to communicate with the hook.
|
V1alpha1Admissionregistration.AdmissionHookClientConfigOrBuilder |
getClientConfigOrBuilder()
ClientConfig defines how to communicate with the hook.
|
V1alpha1Admissionregistration.ExternalAdmissionHook |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.
|
V1alpha1Admissionregistration.RuleWithOperations |
getRules(int index)
Rules describes what operations on what resources/subresources the webhook cares about.
|
V1alpha1Admissionregistration.RuleWithOperations.Builder |
getRulesBuilder(int index)
Rules describes what operations on what resources/subresources the webhook cares about.
|
List<V1alpha1Admissionregistration.RuleWithOperations.Builder> |
getRulesBuilderList()
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.
|
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.
|
boolean |
hasName()
The name of the external admission webhook.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
V1alpha1Admissionregistration.ExternalAdmissionHook.Builder |
mergeClientConfig(V1alpha1Admissionregistration.AdmissionHookClientConfig value)
ClientConfig defines how to communicate with the hook.
|
V1alpha1Admissionregistration.ExternalAdmissionHook.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1alpha1Admissionregistration.ExternalAdmissionHook.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1alpha1Admissionregistration.ExternalAdmissionHook.Builder |
mergeFrom(V1alpha1Admissionregistration.ExternalAdmissionHook other) |
V1alpha1Admissionregistration.ExternalAdmissionHook.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1alpha1Admissionregistration.ExternalAdmissionHook.Builder |
removeRules(int index)
Rules describes what operations on what resources/subresources the webhook cares about.
|
V1alpha1Admissionregistration.ExternalAdmissionHook.Builder |
setClientConfig(V1alpha1Admissionregistration.AdmissionHookClientConfig.Builder builderForValue)
ClientConfig defines how to communicate with the hook.
|
V1alpha1Admissionregistration.ExternalAdmissionHook.Builder |
setClientConfig(V1alpha1Admissionregistration.AdmissionHookClientConfig value)
ClientConfig defines how to communicate with the hook.
|
V1alpha1Admissionregistration.ExternalAdmissionHook.Builder |
setFailurePolicy(String value)
FailurePolicy defines how unrecognized errors from the admission endpoint are handled -
allowed values are Ignore or Fail.
|
V1alpha1Admissionregistration.ExternalAdmissionHook.Builder |
setFailurePolicyBytes(com.google.protobuf.ByteString value)
FailurePolicy defines how unrecognized errors from the admission endpoint are handled -
allowed values are Ignore or Fail.
|
V1alpha1Admissionregistration.ExternalAdmissionHook.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1alpha1Admissionregistration.ExternalAdmissionHook.Builder |
setName(String value)
The name of the external admission webhook.
|
V1alpha1Admissionregistration.ExternalAdmissionHook.Builder |
setNameBytes(com.google.protobuf.ByteString value)
The name of the external admission webhook.
|
V1alpha1Admissionregistration.ExternalAdmissionHook.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1alpha1Admissionregistration.ExternalAdmissionHook.Builder |
setRules(int index,
V1alpha1Admissionregistration.RuleWithOperations.Builder builderForValue)
Rules describes what operations on what resources/subresources the webhook cares about.
|
V1alpha1Admissionregistration.ExternalAdmissionHook.Builder |
setRules(int index,
V1alpha1Admissionregistration.RuleWithOperations value)
Rules describes what operations on what resources/subresources the webhook cares about.
|
V1alpha1Admissionregistration.ExternalAdmissionHook.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Admissionregistration.ExternalAdmissionHook.Builder>public V1alpha1Admissionregistration.ExternalAdmissionHook.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Admissionregistration.ExternalAdmissionHook.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Admissionregistration.ExternalAdmissionHook.Builder>public V1alpha1Admissionregistration.ExternalAdmissionHook getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1alpha1Admissionregistration.ExternalAdmissionHook build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1alpha1Admissionregistration.ExternalAdmissionHook buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1alpha1Admissionregistration.ExternalAdmissionHook.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Admissionregistration.ExternalAdmissionHook.Builder>public V1alpha1Admissionregistration.ExternalAdmissionHook.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Admissionregistration.ExternalAdmissionHook.Builder>public V1alpha1Admissionregistration.ExternalAdmissionHook.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Admissionregistration.ExternalAdmissionHook.Builder>public V1alpha1Admissionregistration.ExternalAdmissionHook.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Admissionregistration.ExternalAdmissionHook.Builder>public V1alpha1Admissionregistration.ExternalAdmissionHook.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Admissionregistration.ExternalAdmissionHook.Builder>public V1alpha1Admissionregistration.ExternalAdmissionHook.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Admissionregistration.ExternalAdmissionHook.Builder>public V1alpha1Admissionregistration.ExternalAdmissionHook.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1alpha1Admissionregistration.ExternalAdmissionHook.Builder>public V1alpha1Admissionregistration.ExternalAdmissionHook.Builder mergeFrom(V1alpha1Admissionregistration.ExternalAdmissionHook other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Admissionregistration.ExternalAdmissionHook.Builder>public V1alpha1Admissionregistration.ExternalAdmissionHook.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1alpha1Admissionregistration.ExternalAdmissionHook.Builder>IOExceptionpublic 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 V1alpha1Admissionregistration.ExternalAdmissionHook.Builder setName(String value)
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;public V1alpha1Admissionregistration.ExternalAdmissionHook.Builder clearName()
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;public V1alpha1Admissionregistration.ExternalAdmissionHook.Builder setNameBytes(com.google.protobuf.ByteString value)
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;public 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.ExternalAdmissionHook.Builder setClientConfig(V1alpha1Admissionregistration.AdmissionHookClientConfig value)
ClientConfig defines how to communicate with the hook. Required
optional .k8s.io.api.admissionregistration.v1alpha1.AdmissionHookClientConfig clientConfig = 2;
public V1alpha1Admissionregistration.ExternalAdmissionHook.Builder setClientConfig(V1alpha1Admissionregistration.AdmissionHookClientConfig.Builder builderForValue)
ClientConfig defines how to communicate with the hook. Required
optional .k8s.io.api.admissionregistration.v1alpha1.AdmissionHookClientConfig clientConfig = 2;
public V1alpha1Admissionregistration.ExternalAdmissionHook.Builder mergeClientConfig(V1alpha1Admissionregistration.AdmissionHookClientConfig value)
ClientConfig defines how to communicate with the hook. Required
optional .k8s.io.api.admissionregistration.v1alpha1.AdmissionHookClientConfig clientConfig = 2;
public V1alpha1Admissionregistration.ExternalAdmissionHook.Builder clearClientConfig()
ClientConfig defines how to communicate with the hook. Required
optional .k8s.io.api.admissionregistration.v1alpha1.AdmissionHookClientConfig clientConfig = 2;
public V1alpha1Admissionregistration.AdmissionHookClientConfig.Builder getClientConfigBuilder()
ClientConfig defines how to communicate with the hook. Required
optional .k8s.io.api.admissionregistration.v1alpha1.AdmissionHookClientConfig clientConfig = 2;
public 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 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.ExternalAdmissionHook.Builder setRules(int index, V1alpha1Admissionregistration.RuleWithOperations value)
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;
public V1alpha1Admissionregistration.ExternalAdmissionHook.Builder setRules(int index, V1alpha1Admissionregistration.RuleWithOperations.Builder builderForValue)
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;
public V1alpha1Admissionregistration.ExternalAdmissionHook.Builder addRules(V1alpha1Admissionregistration.RuleWithOperations value)
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;
public V1alpha1Admissionregistration.ExternalAdmissionHook.Builder addRules(int index, V1alpha1Admissionregistration.RuleWithOperations value)
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;
public V1alpha1Admissionregistration.ExternalAdmissionHook.Builder addRules(V1alpha1Admissionregistration.RuleWithOperations.Builder builderForValue)
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;
public V1alpha1Admissionregistration.ExternalAdmissionHook.Builder addRules(int index, V1alpha1Admissionregistration.RuleWithOperations.Builder builderForValue)
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;
public V1alpha1Admissionregistration.ExternalAdmissionHook.Builder addAllRules(Iterable<? extends V1alpha1Admissionregistration.RuleWithOperations> values)
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;
public V1alpha1Admissionregistration.ExternalAdmissionHook.Builder clearRules()
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;
public V1alpha1Admissionregistration.ExternalAdmissionHook.Builder removeRules(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;
public V1alpha1Admissionregistration.RuleWithOperations.Builder getRulesBuilder(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;
public 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 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 V1alpha1Admissionregistration.RuleWithOperations.Builder addRulesBuilder()
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;
public V1alpha1Admissionregistration.RuleWithOperations.Builder addRulesBuilder(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;
public List<V1alpha1Admissionregistration.RuleWithOperations.Builder> getRulesBuilderList()
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;
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;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 V1alpha1Admissionregistration.ExternalAdmissionHook.Builder setFailurePolicy(String value)
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;public V1alpha1Admissionregistration.ExternalAdmissionHook.Builder clearFailurePolicy()
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;public V1alpha1Admissionregistration.ExternalAdmissionHook.Builder setFailurePolicyBytes(com.google.protobuf.ByteString value)
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;public final V1alpha1Admissionregistration.ExternalAdmissionHook.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Admissionregistration.ExternalAdmissionHook.Builder>public final V1alpha1Admissionregistration.ExternalAdmissionHook.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Admissionregistration.ExternalAdmissionHook.Builder>Copyright © 2023. All rights reserved.