Package io.kubernetes.client.proto
Class V1alpha1Admissionregistration.Initializer.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Admissionregistration.Initializer.Builder>
io.kubernetes.client.proto.V1alpha1Admissionregistration.Initializer.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,V1alpha1Admissionregistration.InitializerOrBuilder,Cloneable
- Enclosing class:
- V1alpha1Admissionregistration.Initializer
public static final class V1alpha1Admissionregistration.Initializer.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Admissionregistration.Initializer.Builder>
implements V1alpha1Admissionregistration.InitializerOrBuilder
Initializer describes the name and the failure policy of an initializer, and what resources it applies to.Protobuf type
k8s.io.api.admissionregistration.v1alpha1.Initializer-
Method Summary
Modifier and TypeMethodDescriptionaddAllRules(Iterable<? extends V1alpha1Admissionregistration.Rule> values) Rules describes what resources/subresources the initializer cares about.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addRules(int index, V1alpha1Admissionregistration.Rule value) Rules describes what resources/subresources the initializer cares about.addRules(int index, V1alpha1Admissionregistration.Rule.Builder builderForValue) Rules describes what resources/subresources the initializer cares about.Rules describes what resources/subresources the initializer cares about.addRules(V1alpha1Admissionregistration.Rule.Builder builderForValue) Rules describes what resources/subresources the initializer cares about.Rules describes what resources/subresources the initializer cares about.addRulesBuilder(int index) Rules describes what resources/subresources the initializer cares about.build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Name is the identifier of the initializer.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Rules describes what resources/subresources the initializer cares about.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetName()Name is the identifier of the initializer.com.google.protobuf.ByteStringName is the identifier of the initializer.getRules(int index) Rules describes what resources/subresources the initializer cares about.getRulesBuilder(int index) Rules describes what resources/subresources the initializer cares about.Rules describes what resources/subresources the initializer cares about.intRules describes what resources/subresources the initializer cares about.Rules describes what resources/subresources the initializer cares about.getRulesOrBuilder(int index) Rules describes what resources/subresources the initializer cares about.List<? extends V1alpha1Admissionregistration.RuleOrBuilder>Rules describes what resources/subresources the initializer cares about.booleanhasName()Name is the identifier of the initializer.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeRules(int index) Rules describes what resources/subresources the initializer cares about.Name is the identifier of the initializer.setNameBytes(com.google.protobuf.ByteString value) Name is the identifier of the initializer.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRules(int index, V1alpha1Admissionregistration.Rule value) Rules describes what resources/subresources the initializer cares about.setRules(int index, V1alpha1Admissionregistration.Rule.Builder builderForValue) Rules describes what resources/subresources the initializer cares about.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) 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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Admissionregistration.Initializer.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Admissionregistration.Initializer.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Admissionregistration.Initializer.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Admissionregistration.Initializer.Builder>
-
setField
public V1alpha1Admissionregistration.Initializer.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Admissionregistration.Initializer.Builder>
-
clearField
public V1alpha1Admissionregistration.Initializer.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Admissionregistration.Initializer.Builder>
-
clearOneof
public V1alpha1Admissionregistration.Initializer.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Admissionregistration.Initializer.Builder>
-
setRepeatedField
public V1alpha1Admissionregistration.Initializer.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Admissionregistration.Initializer.Builder>
-
addRepeatedField
public V1alpha1Admissionregistration.Initializer.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Admissionregistration.Initializer.Builder>
-
mergeFrom
public V1alpha1Admissionregistration.Initializer.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<V1alpha1Admissionregistration.Initializer.Builder>
-
mergeFrom
public V1alpha1Admissionregistration.Initializer.Builder mergeFrom(V1alpha1Admissionregistration.Initializer other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Admissionregistration.Initializer.Builder>
-
mergeFrom
public V1alpha1Admissionregistration.Initializer.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<V1alpha1Admissionregistration.Initializer.Builder>- Throws:
IOException
-
hasName
public boolean hasName()Name is the identifier of the initializer. It will be added to the object that needs to be initialized. Name should be fully qualified, e.g., alwayspullimages.kubernetes.io, where "alwayspullimages" is the name of the webhook, and kubernetes.io is the name of the organization. Required
optional string name = 1;- Specified by:
hasNamein interfaceV1alpha1Admissionregistration.InitializerOrBuilder
-
getName
Name is the identifier of the initializer. It will be added to the object that needs to be initialized. Name should be fully qualified, e.g., alwayspullimages.kubernetes.io, where "alwayspullimages" is the name of the webhook, and kubernetes.io is the name of the organization. Required
optional string name = 1;- Specified by:
getNamein interfaceV1alpha1Admissionregistration.InitializerOrBuilder
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Name is the identifier of the initializer. It will be added to the object that needs to be initialized. Name should be fully qualified, e.g., alwayspullimages.kubernetes.io, where "alwayspullimages" is the name of the webhook, and kubernetes.io is the name of the organization. Required
optional string name = 1;- Specified by:
getNameBytesin interfaceV1alpha1Admissionregistration.InitializerOrBuilder
-
setName
Name is the identifier of the initializer. It will be added to the object that needs to be initialized. Name should be fully qualified, e.g., alwayspullimages.kubernetes.io, where "alwayspullimages" is the name of the webhook, and kubernetes.io is the name of the organization. Required
optional string name = 1; -
clearName
Name is the identifier of the initializer. It will be added to the object that needs to be initialized. Name should be fully qualified, e.g., alwayspullimages.kubernetes.io, where "alwayspullimages" is the name of the webhook, and kubernetes.io is the name of the organization. Required
optional string name = 1; -
setNameBytes
public V1alpha1Admissionregistration.Initializer.Builder setNameBytes(com.google.protobuf.ByteString value) Name is the identifier of the initializer. It will be added to the object that needs to be initialized. Name should be fully qualified, e.g., alwayspullimages.kubernetes.io, where "alwayspullimages" is the name of the webhook, and kubernetes.io is the name of the organization. Required
optional string name = 1; -
getRulesList
Rules describes what resources/subresources the initializer cares about. The initializer cares about an operation if it matches _any_ Rule. Rule.Resources must not include subresources.
repeated .k8s.io.api.admissionregistration.v1alpha1.Rule rules = 2;- Specified by:
getRulesListin interfaceV1alpha1Admissionregistration.InitializerOrBuilder
-
getRulesCount
public int getRulesCount()Rules describes what resources/subresources the initializer cares about. The initializer cares about an operation if it matches _any_ Rule. Rule.Resources must not include subresources.
repeated .k8s.io.api.admissionregistration.v1alpha1.Rule rules = 2;- Specified by:
getRulesCountin interfaceV1alpha1Admissionregistration.InitializerOrBuilder
-
getRules
Rules describes what resources/subresources the initializer cares about. The initializer cares about an operation if it matches _any_ Rule. Rule.Resources must not include subresources.
repeated .k8s.io.api.admissionregistration.v1alpha1.Rule rules = 2;- Specified by:
getRulesin interfaceV1alpha1Admissionregistration.InitializerOrBuilder
-
setRules
public V1alpha1Admissionregistration.Initializer.Builder setRules(int index, V1alpha1Admissionregistration.Rule value) Rules describes what resources/subresources the initializer cares about. The initializer cares about an operation if it matches _any_ Rule. Rule.Resources must not include subresources.
repeated .k8s.io.api.admissionregistration.v1alpha1.Rule rules = 2; -
setRules
public V1alpha1Admissionregistration.Initializer.Builder setRules(int index, V1alpha1Admissionregistration.Rule.Builder builderForValue) Rules describes what resources/subresources the initializer cares about. The initializer cares about an operation if it matches _any_ Rule. Rule.Resources must not include subresources.
repeated .k8s.io.api.admissionregistration.v1alpha1.Rule rules = 2; -
addRules
public V1alpha1Admissionregistration.Initializer.Builder addRules(V1alpha1Admissionregistration.Rule value) Rules describes what resources/subresources the initializer cares about. The initializer cares about an operation if it matches _any_ Rule. Rule.Resources must not include subresources.
repeated .k8s.io.api.admissionregistration.v1alpha1.Rule rules = 2; -
addRules
public V1alpha1Admissionregistration.Initializer.Builder addRules(int index, V1alpha1Admissionregistration.Rule value) Rules describes what resources/subresources the initializer cares about. The initializer cares about an operation if it matches _any_ Rule. Rule.Resources must not include subresources.
repeated .k8s.io.api.admissionregistration.v1alpha1.Rule rules = 2; -
addRules
public V1alpha1Admissionregistration.Initializer.Builder addRules(V1alpha1Admissionregistration.Rule.Builder builderForValue) Rules describes what resources/subresources the initializer cares about. The initializer cares about an operation if it matches _any_ Rule. Rule.Resources must not include subresources.
repeated .k8s.io.api.admissionregistration.v1alpha1.Rule rules = 2; -
addRules
public V1alpha1Admissionregistration.Initializer.Builder addRules(int index, V1alpha1Admissionregistration.Rule.Builder builderForValue) Rules describes what resources/subresources the initializer cares about. The initializer cares about an operation if it matches _any_ Rule. Rule.Resources must not include subresources.
repeated .k8s.io.api.admissionregistration.v1alpha1.Rule rules = 2; -
addAllRules
public V1alpha1Admissionregistration.Initializer.Builder addAllRules(Iterable<? extends V1alpha1Admissionregistration.Rule> values) Rules describes what resources/subresources the initializer cares about. The initializer cares about an operation if it matches _any_ Rule. Rule.Resources must not include subresources.
repeated .k8s.io.api.admissionregistration.v1alpha1.Rule rules = 2; -
clearRules
Rules describes what resources/subresources the initializer cares about. The initializer cares about an operation if it matches _any_ Rule. Rule.Resources must not include subresources.
repeated .k8s.io.api.admissionregistration.v1alpha1.Rule rules = 2; -
removeRules
Rules describes what resources/subresources the initializer cares about. The initializer cares about an operation if it matches _any_ Rule. Rule.Resources must not include subresources.
repeated .k8s.io.api.admissionregistration.v1alpha1.Rule rules = 2; -
getRulesBuilder
Rules describes what resources/subresources the initializer cares about. The initializer cares about an operation if it matches _any_ Rule. Rule.Resources must not include subresources.
repeated .k8s.io.api.admissionregistration.v1alpha1.Rule rules = 2; -
getRulesOrBuilder
Rules describes what resources/subresources the initializer cares about. The initializer cares about an operation if it matches _any_ Rule. Rule.Resources must not include subresources.
repeated .k8s.io.api.admissionregistration.v1alpha1.Rule rules = 2;- Specified by:
getRulesOrBuilderin interfaceV1alpha1Admissionregistration.InitializerOrBuilder
-
getRulesOrBuilderList
Rules describes what resources/subresources the initializer cares about. The initializer cares about an operation if it matches _any_ Rule. Rule.Resources must not include subresources.
repeated .k8s.io.api.admissionregistration.v1alpha1.Rule rules = 2;- Specified by:
getRulesOrBuilderListin interfaceV1alpha1Admissionregistration.InitializerOrBuilder
-
addRulesBuilder
Rules describes what resources/subresources the initializer cares about. The initializer cares about an operation if it matches _any_ Rule. Rule.Resources must not include subresources.
repeated .k8s.io.api.admissionregistration.v1alpha1.Rule rules = 2; -
addRulesBuilder
Rules describes what resources/subresources the initializer cares about. The initializer cares about an operation if it matches _any_ Rule. Rule.Resources must not include subresources.
repeated .k8s.io.api.admissionregistration.v1alpha1.Rule rules = 2; -
getRulesBuilderList
Rules describes what resources/subresources the initializer cares about. The initializer cares about an operation if it matches _any_ Rule. Rule.Resources must not include subresources.
repeated .k8s.io.api.admissionregistration.v1alpha1.Rule rules = 2; -
setUnknownFields
public final V1alpha1Admissionregistration.Initializer.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Admissionregistration.Initializer.Builder>
-
mergeUnknownFields
public final V1alpha1Admissionregistration.Initializer.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Admissionregistration.Initializer.Builder>
-