Package io.kubernetes.client.proto
Class V1beta1Admissionregistration.ValidatingWebhookConfiguration.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Admissionregistration.ValidatingWebhookConfiguration.Builder>
io.kubernetes.client.proto.V1beta1Admissionregistration.ValidatingWebhookConfiguration.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,V1beta1Admissionregistration.ValidatingWebhookConfigurationOrBuilder
,Cloneable
- Enclosing class:
- V1beta1Admissionregistration.ValidatingWebhookConfiguration
public static final class V1beta1Admissionregistration.ValidatingWebhookConfiguration.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Admissionregistration.ValidatingWebhookConfiguration.Builder>
implements V1beta1Admissionregistration.ValidatingWebhookConfigurationOrBuilder
ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it. Deprecated in v1.16, planned for removal in v1.19. Use admissionregistration.k8s.io/v1 ValidatingWebhookConfiguration instead.Protobuf type
k8s.io.api.admissionregistration.v1beta1.ValidatingWebhookConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionaddAllWebhooks
(Iterable<? extends V1beta1Admissionregistration.ValidatingWebhook> values) Webhooks is a list of webhooks and the affected resources and operations.addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addWebhooks
(int index, V1beta1Admissionregistration.ValidatingWebhook value) Webhooks is a list of webhooks and the affected resources and operations.addWebhooks
(int index, V1beta1Admissionregistration.ValidatingWebhook.Builder builderForValue) Webhooks is a list of webhooks and the affected resources and operations.Webhooks is a list of webhooks and the affected resources and operations.addWebhooks
(V1beta1Admissionregistration.ValidatingWebhook.Builder builderForValue) Webhooks is a list of webhooks and the affected resources and operations.Webhooks is a list of webhooks and the affected resources and operations.addWebhooksBuilder
(int index) Webhooks is a list of webhooks and the affected resources and operations.build()
clear()
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Webhooks is a list of webhooks and the affected resources and operations.clone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.getWebhooks
(int index) Webhooks is a list of webhooks and the affected resources and operations.getWebhooksBuilder
(int index) Webhooks is a list of webhooks and the affected resources and operations.Webhooks is a list of webhooks and the affected resources and operations.int
Webhooks is a list of webhooks and the affected resources and operations.Webhooks is a list of webhooks and the affected resources and operations.getWebhooksOrBuilder
(int index) Webhooks is a list of webhooks and the affected resources and operations.Webhooks is a list of webhooks and the affected resources and operations.boolean
Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeMetadata
(Meta.ObjectMeta value) Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) removeWebhooks
(int index) Webhooks is a list of webhooks and the affected resources and operations.setMetadata
(Meta.ObjectMeta value) Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.setMetadata
(Meta.ObjectMeta.Builder builderForValue) Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setWebhooks
(int index, V1beta1Admissionregistration.ValidatingWebhook value) Webhooks is a list of webhooks and the affected resources and operations.setWebhooks
(int index, V1beta1Admissionregistration.ValidatingWebhook.Builder builderForValue) Webhooks is a list of webhooks and the affected resources and operations.Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Admissionregistration.ValidatingWebhookConfiguration.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Admissionregistration.ValidatingWebhookConfiguration.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Admissionregistration.ValidatingWebhookConfiguration.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Admissionregistration.ValidatingWebhookConfiguration.Builder>
-
setField
public V1beta1Admissionregistration.ValidatingWebhookConfiguration.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Admissionregistration.ValidatingWebhookConfiguration.Builder>
-
clearField
public V1beta1Admissionregistration.ValidatingWebhookConfiguration.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Admissionregistration.ValidatingWebhookConfiguration.Builder>
-
clearOneof
public V1beta1Admissionregistration.ValidatingWebhookConfiguration.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Admissionregistration.ValidatingWebhookConfiguration.Builder>
-
setRepeatedField
public V1beta1Admissionregistration.ValidatingWebhookConfiguration.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Admissionregistration.ValidatingWebhookConfiguration.Builder>
-
addRepeatedField
public V1beta1Admissionregistration.ValidatingWebhookConfiguration.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Admissionregistration.ValidatingWebhookConfiguration.Builder>
-
mergeFrom
public V1beta1Admissionregistration.ValidatingWebhookConfiguration.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<V1beta1Admissionregistration.ValidatingWebhookConfiguration.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Admissionregistration.ValidatingWebhookConfiguration.Builder>
-
mergeFrom
public V1beta1Admissionregistration.ValidatingWebhookConfiguration.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<V1beta1Admissionregistration.ValidatingWebhookConfiguration.Builder>
- Throws:
IOException
-
hasMetadata
public boolean hasMetadata()Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
- Specified by:
hasMetadata
in interfaceV1beta1Admissionregistration.ValidatingWebhookConfigurationOrBuilder
-
getMetadata
Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
- Specified by:
getMetadata
in interfaceV1beta1Admissionregistration.ValidatingWebhookConfigurationOrBuilder
-
setMetadata
public V1beta1Admissionregistration.ValidatingWebhookConfiguration.Builder setMetadata(Meta.ObjectMeta value) Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
-
setMetadata
public V1beta1Admissionregistration.ValidatingWebhookConfiguration.Builder setMetadata(Meta.ObjectMeta.Builder builderForValue) Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
-
mergeMetadata
public V1beta1Admissionregistration.ValidatingWebhookConfiguration.Builder mergeMetadata(Meta.ObjectMeta value) Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
-
clearMetadata
Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
-
getMetadataBuilder
Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
-
getMetadataOrBuilder
Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
- Specified by:
getMetadataOrBuilder
in interfaceV1beta1Admissionregistration.ValidatingWebhookConfigurationOrBuilder
-
getWebhooksList
Webhooks is a list of webhooks and the affected resources and operations. +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.admissionregistration.v1beta1.ValidatingWebhook Webhooks = 2;
- Specified by:
getWebhooksList
in interfaceV1beta1Admissionregistration.ValidatingWebhookConfigurationOrBuilder
-
getWebhooksCount
public int getWebhooksCount()Webhooks is a list of webhooks and the affected resources and operations. +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.admissionregistration.v1beta1.ValidatingWebhook Webhooks = 2;
- Specified by:
getWebhooksCount
in interfaceV1beta1Admissionregistration.ValidatingWebhookConfigurationOrBuilder
-
getWebhooks
Webhooks is a list of webhooks and the affected resources and operations. +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.admissionregistration.v1beta1.ValidatingWebhook Webhooks = 2;
- Specified by:
getWebhooks
in interfaceV1beta1Admissionregistration.ValidatingWebhookConfigurationOrBuilder
-
setWebhooks
public V1beta1Admissionregistration.ValidatingWebhookConfiguration.Builder setWebhooks(int index, V1beta1Admissionregistration.ValidatingWebhook value) Webhooks is a list of webhooks and the affected resources and operations. +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.admissionregistration.v1beta1.ValidatingWebhook Webhooks = 2;
-
setWebhooks
public V1beta1Admissionregistration.ValidatingWebhookConfiguration.Builder setWebhooks(int index, V1beta1Admissionregistration.ValidatingWebhook.Builder builderForValue) Webhooks is a list of webhooks and the affected resources and operations. +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.admissionregistration.v1beta1.ValidatingWebhook Webhooks = 2;
-
addWebhooks
public V1beta1Admissionregistration.ValidatingWebhookConfiguration.Builder addWebhooks(V1beta1Admissionregistration.ValidatingWebhook value) Webhooks is a list of webhooks and the affected resources and operations. +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.admissionregistration.v1beta1.ValidatingWebhook Webhooks = 2;
-
addWebhooks
public V1beta1Admissionregistration.ValidatingWebhookConfiguration.Builder addWebhooks(int index, V1beta1Admissionregistration.ValidatingWebhook value) Webhooks is a list of webhooks and the affected resources and operations. +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.admissionregistration.v1beta1.ValidatingWebhook Webhooks = 2;
-
addWebhooks
public V1beta1Admissionregistration.ValidatingWebhookConfiguration.Builder addWebhooks(V1beta1Admissionregistration.ValidatingWebhook.Builder builderForValue) Webhooks is a list of webhooks and the affected resources and operations. +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.admissionregistration.v1beta1.ValidatingWebhook Webhooks = 2;
-
addWebhooks
public V1beta1Admissionregistration.ValidatingWebhookConfiguration.Builder addWebhooks(int index, V1beta1Admissionregistration.ValidatingWebhook.Builder builderForValue) Webhooks is a list of webhooks and the affected resources and operations. +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.admissionregistration.v1beta1.ValidatingWebhook Webhooks = 2;
-
addAllWebhooks
public V1beta1Admissionregistration.ValidatingWebhookConfiguration.Builder addAllWebhooks(Iterable<? extends V1beta1Admissionregistration.ValidatingWebhook> values) Webhooks is a list of webhooks and the affected resources and operations. +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.admissionregistration.v1beta1.ValidatingWebhook Webhooks = 2;
-
clearWebhooks
Webhooks is a list of webhooks and the affected resources and operations. +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.admissionregistration.v1beta1.ValidatingWebhook Webhooks = 2;
-
removeWebhooks
public V1beta1Admissionregistration.ValidatingWebhookConfiguration.Builder removeWebhooks(int index) Webhooks is a list of webhooks and the affected resources and operations. +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.admissionregistration.v1beta1.ValidatingWebhook Webhooks = 2;
-
getWebhooksBuilder
Webhooks is a list of webhooks and the affected resources and operations. +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.admissionregistration.v1beta1.ValidatingWebhook Webhooks = 2;
-
getWebhooksOrBuilder
Webhooks is a list of webhooks and the affected resources and operations. +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.admissionregistration.v1beta1.ValidatingWebhook Webhooks = 2;
- Specified by:
getWebhooksOrBuilder
in interfaceV1beta1Admissionregistration.ValidatingWebhookConfigurationOrBuilder
-
getWebhooksOrBuilderList
public List<? extends V1beta1Admissionregistration.ValidatingWebhookOrBuilder> getWebhooksOrBuilderList()Webhooks is a list of webhooks and the affected resources and operations. +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.admissionregistration.v1beta1.ValidatingWebhook Webhooks = 2;
- Specified by:
getWebhooksOrBuilderList
in interfaceV1beta1Admissionregistration.ValidatingWebhookConfigurationOrBuilder
-
addWebhooksBuilder
Webhooks is a list of webhooks and the affected resources and operations. +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.admissionregistration.v1beta1.ValidatingWebhook Webhooks = 2;
-
addWebhooksBuilder
Webhooks is a list of webhooks and the affected resources and operations. +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.admissionregistration.v1beta1.ValidatingWebhook Webhooks = 2;
-
getWebhooksBuilderList
Webhooks is a list of webhooks and the affected resources and operations. +optional +patchMergeKey=name +patchStrategy=merge
repeated .k8s.io.api.admissionregistration.v1beta1.ValidatingWebhook Webhooks = 2;
-
setUnknownFields
public final V1beta1Admissionregistration.ValidatingWebhookConfiguration.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Admissionregistration.ValidatingWebhookConfiguration.Builder>
-
mergeUnknownFields
public final V1beta1Admissionregistration.ValidatingWebhookConfiguration.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Admissionregistration.ValidatingWebhookConfiguration.Builder>
-