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| Modifier and Type | Method and Description |
|---|---|
V1alpha1Admissionregistration.Initializer.Builder |
addAllRules(Iterable<? extends V1alpha1Admissionregistration.Rule> values)
Rules describes what resources/subresources the initializer cares about.
|
V1alpha1Admissionregistration.Initializer.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1alpha1Admissionregistration.Initializer.Builder |
addRules(int index,
V1alpha1Admissionregistration.Rule.Builder builderForValue)
Rules describes what resources/subresources the initializer cares about.
|
V1alpha1Admissionregistration.Initializer.Builder |
addRules(int index,
V1alpha1Admissionregistration.Rule value)
Rules describes what resources/subresources the initializer cares about.
|
V1alpha1Admissionregistration.Initializer.Builder |
addRules(V1alpha1Admissionregistration.Rule.Builder builderForValue)
Rules describes what resources/subresources the initializer cares about.
|
V1alpha1Admissionregistration.Initializer.Builder |
addRules(V1alpha1Admissionregistration.Rule value)
Rules describes what resources/subresources the initializer cares about.
|
V1alpha1Admissionregistration.Rule.Builder |
addRulesBuilder()
Rules describes what resources/subresources the initializer cares about.
|
V1alpha1Admissionregistration.Rule.Builder |
addRulesBuilder(int index)
Rules describes what resources/subresources the initializer cares about.
|
V1alpha1Admissionregistration.Initializer |
build() |
V1alpha1Admissionregistration.Initializer |
buildPartial() |
V1alpha1Admissionregistration.Initializer.Builder |
clear() |
V1alpha1Admissionregistration.Initializer.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1alpha1Admissionregistration.Initializer.Builder |
clearName()
Name is the identifier of the initializer.
|
V1alpha1Admissionregistration.Initializer.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1alpha1Admissionregistration.Initializer.Builder |
clearRules()
Rules describes what resources/subresources the initializer cares about.
|
V1alpha1Admissionregistration.Initializer.Builder |
clone() |
V1alpha1Admissionregistration.Initializer |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getName()
Name is the identifier of the initializer.
|
com.google.protobuf.ByteString |
getNameBytes()
Name is the identifier of the initializer.
|
V1alpha1Admissionregistration.Rule |
getRules(int index)
Rules describes what resources/subresources the initializer cares about.
|
V1alpha1Admissionregistration.Rule.Builder |
getRulesBuilder(int index)
Rules describes what resources/subresources the initializer cares about.
|
List<V1alpha1Admissionregistration.Rule.Builder> |
getRulesBuilderList()
Rules describes what resources/subresources the initializer cares about.
|
int |
getRulesCount()
Rules describes what resources/subresources the initializer cares about.
|
List<V1alpha1Admissionregistration.Rule> |
getRulesList()
Rules describes what resources/subresources the initializer cares about.
|
V1alpha1Admissionregistration.RuleOrBuilder |
getRulesOrBuilder(int index)
Rules describes what resources/subresources the initializer cares about.
|
List<? extends V1alpha1Admissionregistration.RuleOrBuilder> |
getRulesOrBuilderList()
Rules describes what resources/subresources the initializer cares about.
|
boolean |
hasName()
Name is the identifier of the initializer.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
V1alpha1Admissionregistration.Initializer.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1alpha1Admissionregistration.Initializer.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1alpha1Admissionregistration.Initializer.Builder |
mergeFrom(V1alpha1Admissionregistration.Initializer other) |
V1alpha1Admissionregistration.Initializer.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1alpha1Admissionregistration.Initializer.Builder |
removeRules(int index)
Rules describes what resources/subresources the initializer cares about.
|
V1alpha1Admissionregistration.Initializer.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1alpha1Admissionregistration.Initializer.Builder |
setName(String value)
Name is the identifier of the initializer.
|
V1alpha1Admissionregistration.Initializer.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Name is the identifier of the initializer.
|
V1alpha1Admissionregistration.Initializer.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1alpha1Admissionregistration.Initializer.Builder |
setRules(int index,
V1alpha1Admissionregistration.Rule.Builder builderForValue)
Rules describes what resources/subresources the initializer cares about.
|
V1alpha1Admissionregistration.Initializer.Builder |
setRules(int index,
V1alpha1Admissionregistration.Rule value)
Rules describes what resources/subresources the initializer cares about.
|
V1alpha1Admissionregistration.Initializer.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Admissionregistration.Initializer.Builder>public V1alpha1Admissionregistration.Initializer.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.Initializer.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.Initializer.Builder>public V1alpha1Admissionregistration.Initializer getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1alpha1Admissionregistration.Initializer build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1alpha1Admissionregistration.Initializer buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1alpha1Admissionregistration.Initializer.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.Initializer.Builder>public V1alpha1Admissionregistration.Initializer.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.Initializer.Builder>public V1alpha1Admissionregistration.Initializer.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Admissionregistration.Initializer.Builder>public V1alpha1Admissionregistration.Initializer.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Admissionregistration.Initializer.Builder>public V1alpha1Admissionregistration.Initializer.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.Initializer.Builder>public V1alpha1Admissionregistration.Initializer.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.Initializer.Builder>public V1alpha1Admissionregistration.Initializer.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1alpha1Admissionregistration.Initializer.Builder>public V1alpha1Admissionregistration.Initializer.Builder mergeFrom(V1alpha1Admissionregistration.Initializer other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Admissionregistration.Initializer.Builder>public V1alpha1Admissionregistration.Initializer.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.Initializer.Builder>IOExceptionpublic 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;hasName in interface V1alpha1Admissionregistration.InitializerOrBuilderpublic String 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;getName in interface V1alpha1Admissionregistration.InitializerOrBuilderpublic 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;getNameBytes in interface V1alpha1Admissionregistration.InitializerOrBuilderpublic V1alpha1Admissionregistration.Initializer.Builder setName(String 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;public V1alpha1Admissionregistration.Initializer.Builder 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;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;public List<V1alpha1Admissionregistration.Rule> 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;getRulesList in interface V1alpha1Admissionregistration.InitializerOrBuilderpublic 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;getRulesCount in interface V1alpha1Admissionregistration.InitializerOrBuilderpublic V1alpha1Admissionregistration.Rule getRules(int index)
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;getRules in interface V1alpha1Admissionregistration.InitializerOrBuilderpublic 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;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;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;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;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;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;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;public V1alpha1Admissionregistration.Initializer.Builder 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;public V1alpha1Admissionregistration.Initializer.Builder removeRules(int index)
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;public V1alpha1Admissionregistration.Rule.Builder getRulesBuilder(int index)
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;public V1alpha1Admissionregistration.RuleOrBuilder getRulesOrBuilder(int index)
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 in interface V1alpha1Admissionregistration.InitializerOrBuilderpublic List<? extends V1alpha1Admissionregistration.RuleOrBuilder> 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;getRulesOrBuilderList in interface V1alpha1Admissionregistration.InitializerOrBuilderpublic V1alpha1Admissionregistration.Rule.Builder 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;public V1alpha1Admissionregistration.Rule.Builder addRulesBuilder(int index)
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;public List<V1alpha1Admissionregistration.Rule.Builder> 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;public final V1alpha1Admissionregistration.Initializer.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Admissionregistration.Initializer.Builder>public final V1alpha1Admissionregistration.Initializer.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Admissionregistration.Initializer.Builder>Copyright © 2018. All rights reserved.