Package io.kubernetes.client.proto
Class V1beta1Extensions.RunAsGroupStrategyOptions.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.RunAsGroupStrategyOptions.Builder>
io.kubernetes.client.proto.V1beta1Extensions.RunAsGroupStrategyOptions.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,V1beta1Extensions.RunAsGroupStrategyOptionsOrBuilder
,Cloneable
- Enclosing class:
- V1beta1Extensions.RunAsGroupStrategyOptions
public static final class V1beta1Extensions.RunAsGroupStrategyOptions.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.RunAsGroupStrategyOptions.Builder>
implements V1beta1Extensions.RunAsGroupStrategyOptionsOrBuilder
RunAsGroupStrategyOptions defines the strategy type and any options used to create the strategy. Deprecated: use RunAsGroupStrategyOptions from policy API Group instead.Protobuf type
k8s.io.api.extensions.v1beta1.RunAsGroupStrategyOptions
-
Method Summary
Modifier and TypeMethodDescriptionaddAllRanges
(Iterable<? extends V1beta1Extensions.IDRange> values) ranges are the allowed ranges of gids that may be used.addRanges
(int index, V1beta1Extensions.IDRange value) ranges are the allowed ranges of gids that may be used.addRanges
(int index, V1beta1Extensions.IDRange.Builder builderForValue) ranges are the allowed ranges of gids that may be used.ranges are the allowed ranges of gids that may be used.addRanges
(V1beta1Extensions.IDRange.Builder builderForValue) ranges are the allowed ranges of gids that may be used.ranges are the allowed ranges of gids that may be used.addRangesBuilder
(int index) ranges are the allowed ranges of gids that may be used.addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) ranges are the allowed ranges of gids that may be used.rule is the strategy that will dictate the allowable RunAsGroup values that may be set.clone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getRanges
(int index) ranges are the allowed ranges of gids that may be used.getRangesBuilder
(int index) ranges are the allowed ranges of gids that may be used.ranges are the allowed ranges of gids that may be used.int
ranges are the allowed ranges of gids that may be used.ranges are the allowed ranges of gids that may be used.getRangesOrBuilder
(int index) ranges are the allowed ranges of gids that may be used.List<? extends V1beta1Extensions.IDRangeOrBuilder>
ranges are the allowed ranges of gids that may be used.getRule()
rule is the strategy that will dictate the allowable RunAsGroup values that may be set.com.google.protobuf.ByteString
rule is the strategy that will dictate the allowable RunAsGroup values that may be set.boolean
hasRule()
rule is the strategy that will dictate the allowable RunAsGroup values that may be set.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) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) removeRanges
(int index) ranges are the allowed ranges of gids that may be used.setRanges
(int index, V1beta1Extensions.IDRange value) ranges are the allowed ranges of gids that may be used.setRanges
(int index, V1beta1Extensions.IDRange.Builder builderForValue) ranges are the allowed ranges of gids that may be used.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) rule is the strategy that will dictate the allowable RunAsGroup values that may be set.setRuleBytes
(com.google.protobuf.ByteString value) rule is the strategy that will dictate the allowable RunAsGroup values that may be set.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, 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<V1beta1Extensions.RunAsGroupStrategyOptions.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<V1beta1Extensions.RunAsGroupStrategyOptions.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<V1beta1Extensions.RunAsGroupStrategyOptions.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<V1beta1Extensions.RunAsGroupStrategyOptions.Builder>
-
setField
public V1beta1Extensions.RunAsGroupStrategyOptions.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<V1beta1Extensions.RunAsGroupStrategyOptions.Builder>
-
clearField
public V1beta1Extensions.RunAsGroupStrategyOptions.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<V1beta1Extensions.RunAsGroupStrategyOptions.Builder>
-
clearOneof
public V1beta1Extensions.RunAsGroupStrategyOptions.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<V1beta1Extensions.RunAsGroupStrategyOptions.Builder>
-
setRepeatedField
public V1beta1Extensions.RunAsGroupStrategyOptions.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<V1beta1Extensions.RunAsGroupStrategyOptions.Builder>
-
addRepeatedField
public V1beta1Extensions.RunAsGroupStrategyOptions.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<V1beta1Extensions.RunAsGroupStrategyOptions.Builder>
-
mergeFrom
public V1beta1Extensions.RunAsGroupStrategyOptions.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<V1beta1Extensions.RunAsGroupStrategyOptions.Builder>
-
mergeFrom
public V1beta1Extensions.RunAsGroupStrategyOptions.Builder mergeFrom(V1beta1Extensions.RunAsGroupStrategyOptions other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.RunAsGroupStrategyOptions.Builder>
-
mergeFrom
public V1beta1Extensions.RunAsGroupStrategyOptions.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<V1beta1Extensions.RunAsGroupStrategyOptions.Builder>
- Throws:
IOException
-
hasRule
public boolean hasRule()rule is the strategy that will dictate the allowable RunAsGroup values that may be set.
optional string rule = 1;
- Specified by:
hasRule
in interfaceV1beta1Extensions.RunAsGroupStrategyOptionsOrBuilder
-
getRule
rule is the strategy that will dictate the allowable RunAsGroup values that may be set.
optional string rule = 1;
- Specified by:
getRule
in interfaceV1beta1Extensions.RunAsGroupStrategyOptionsOrBuilder
-
getRuleBytes
public com.google.protobuf.ByteString getRuleBytes()rule is the strategy that will dictate the allowable RunAsGroup values that may be set.
optional string rule = 1;
- Specified by:
getRuleBytes
in interfaceV1beta1Extensions.RunAsGroupStrategyOptionsOrBuilder
-
setRule
rule is the strategy that will dictate the allowable RunAsGroup values that may be set.
optional string rule = 1;
-
clearRule
rule is the strategy that will dictate the allowable RunAsGroup values that may be set.
optional string rule = 1;
-
setRuleBytes
public V1beta1Extensions.RunAsGroupStrategyOptions.Builder setRuleBytes(com.google.protobuf.ByteString value) rule is the strategy that will dictate the allowable RunAsGroup values that may be set.
optional string rule = 1;
-
getRangesList
ranges are the allowed ranges of gids that may be used. If you would like to force a single gid then supply a single range with the same start and end. Required for MustRunAs. +optional
repeated .k8s.io.api.extensions.v1beta1.IDRange ranges = 2;
- Specified by:
getRangesList
in interfaceV1beta1Extensions.RunAsGroupStrategyOptionsOrBuilder
-
getRangesCount
public int getRangesCount()ranges are the allowed ranges of gids that may be used. If you would like to force a single gid then supply a single range with the same start and end. Required for MustRunAs. +optional
repeated .k8s.io.api.extensions.v1beta1.IDRange ranges = 2;
- Specified by:
getRangesCount
in interfaceV1beta1Extensions.RunAsGroupStrategyOptionsOrBuilder
-
getRanges
ranges are the allowed ranges of gids that may be used. If you would like to force a single gid then supply a single range with the same start and end. Required for MustRunAs. +optional
repeated .k8s.io.api.extensions.v1beta1.IDRange ranges = 2;
- Specified by:
getRanges
in interfaceV1beta1Extensions.RunAsGroupStrategyOptionsOrBuilder
-
setRanges
public V1beta1Extensions.RunAsGroupStrategyOptions.Builder setRanges(int index, V1beta1Extensions.IDRange value) ranges are the allowed ranges of gids that may be used. If you would like to force a single gid then supply a single range with the same start and end. Required for MustRunAs. +optional
repeated .k8s.io.api.extensions.v1beta1.IDRange ranges = 2;
-
setRanges
public V1beta1Extensions.RunAsGroupStrategyOptions.Builder setRanges(int index, V1beta1Extensions.IDRange.Builder builderForValue) ranges are the allowed ranges of gids that may be used. If you would like to force a single gid then supply a single range with the same start and end. Required for MustRunAs. +optional
repeated .k8s.io.api.extensions.v1beta1.IDRange ranges = 2;
-
addRanges
public V1beta1Extensions.RunAsGroupStrategyOptions.Builder addRanges(V1beta1Extensions.IDRange value) ranges are the allowed ranges of gids that may be used. If you would like to force a single gid then supply a single range with the same start and end. Required for MustRunAs. +optional
repeated .k8s.io.api.extensions.v1beta1.IDRange ranges = 2;
-
addRanges
public V1beta1Extensions.RunAsGroupStrategyOptions.Builder addRanges(int index, V1beta1Extensions.IDRange value) ranges are the allowed ranges of gids that may be used. If you would like to force a single gid then supply a single range with the same start and end. Required for MustRunAs. +optional
repeated .k8s.io.api.extensions.v1beta1.IDRange ranges = 2;
-
addRanges
public V1beta1Extensions.RunAsGroupStrategyOptions.Builder addRanges(V1beta1Extensions.IDRange.Builder builderForValue) ranges are the allowed ranges of gids that may be used. If you would like to force a single gid then supply a single range with the same start and end. Required for MustRunAs. +optional
repeated .k8s.io.api.extensions.v1beta1.IDRange ranges = 2;
-
addRanges
public V1beta1Extensions.RunAsGroupStrategyOptions.Builder addRanges(int index, V1beta1Extensions.IDRange.Builder builderForValue) ranges are the allowed ranges of gids that may be used. If you would like to force a single gid then supply a single range with the same start and end. Required for MustRunAs. +optional
repeated .k8s.io.api.extensions.v1beta1.IDRange ranges = 2;
-
addAllRanges
public V1beta1Extensions.RunAsGroupStrategyOptions.Builder addAllRanges(Iterable<? extends V1beta1Extensions.IDRange> values) ranges are the allowed ranges of gids that may be used. If you would like to force a single gid then supply a single range with the same start and end. Required for MustRunAs. +optional
repeated .k8s.io.api.extensions.v1beta1.IDRange ranges = 2;
-
clearRanges
ranges are the allowed ranges of gids that may be used. If you would like to force a single gid then supply a single range with the same start and end. Required for MustRunAs. +optional
repeated .k8s.io.api.extensions.v1beta1.IDRange ranges = 2;
-
removeRanges
ranges are the allowed ranges of gids that may be used. If you would like to force a single gid then supply a single range with the same start and end. Required for MustRunAs. +optional
repeated .k8s.io.api.extensions.v1beta1.IDRange ranges = 2;
-
getRangesBuilder
ranges are the allowed ranges of gids that may be used. If you would like to force a single gid then supply a single range with the same start and end. Required for MustRunAs. +optional
repeated .k8s.io.api.extensions.v1beta1.IDRange ranges = 2;
-
getRangesOrBuilder
ranges are the allowed ranges of gids that may be used. If you would like to force a single gid then supply a single range with the same start and end. Required for MustRunAs. +optional
repeated .k8s.io.api.extensions.v1beta1.IDRange ranges = 2;
- Specified by:
getRangesOrBuilder
in interfaceV1beta1Extensions.RunAsGroupStrategyOptionsOrBuilder
-
getRangesOrBuilderList
ranges are the allowed ranges of gids that may be used. If you would like to force a single gid then supply a single range with the same start and end. Required for MustRunAs. +optional
repeated .k8s.io.api.extensions.v1beta1.IDRange ranges = 2;
- Specified by:
getRangesOrBuilderList
in interfaceV1beta1Extensions.RunAsGroupStrategyOptionsOrBuilder
-
addRangesBuilder
ranges are the allowed ranges of gids that may be used. If you would like to force a single gid then supply a single range with the same start and end. Required for MustRunAs. +optional
repeated .k8s.io.api.extensions.v1beta1.IDRange ranges = 2;
-
addRangesBuilder
ranges are the allowed ranges of gids that may be used. If you would like to force a single gid then supply a single range with the same start and end. Required for MustRunAs. +optional
repeated .k8s.io.api.extensions.v1beta1.IDRange ranges = 2;
-
getRangesBuilderList
ranges are the allowed ranges of gids that may be used. If you would like to force a single gid then supply a single range with the same start and end. Required for MustRunAs. +optional
repeated .k8s.io.api.extensions.v1beta1.IDRange ranges = 2;
-
setUnknownFields
public final V1beta1Extensions.RunAsGroupStrategyOptions.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.RunAsGroupStrategyOptions.Builder>
-
mergeUnknownFields
public final V1beta1Extensions.RunAsGroupStrategyOptions.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.RunAsGroupStrategyOptions.Builder>
-