public static final class V1beta1Policy.FSGroupStrategyOptions.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.FSGroupStrategyOptions.Builder> implements V1beta1Policy.FSGroupStrategyOptionsOrBuilder
FSGroupStrategyOptions defines the strategy type and options used to create the strategy.Protobuf type
k8s.io.api.policy.v1beta1.FSGroupStrategyOptions| Modifier and Type | Method and Description |
|---|---|
V1beta1Policy.FSGroupStrategyOptions.Builder |
addAllRanges(Iterable<? extends V1beta1Policy.IDRange> values)
ranges are the allowed ranges of fs groups.
|
V1beta1Policy.FSGroupStrategyOptions.Builder |
addRanges(int index,
V1beta1Policy.IDRange.Builder builderForValue)
ranges are the allowed ranges of fs groups.
|
V1beta1Policy.FSGroupStrategyOptions.Builder |
addRanges(int index,
V1beta1Policy.IDRange value)
ranges are the allowed ranges of fs groups.
|
V1beta1Policy.FSGroupStrategyOptions.Builder |
addRanges(V1beta1Policy.IDRange.Builder builderForValue)
ranges are the allowed ranges of fs groups.
|
V1beta1Policy.FSGroupStrategyOptions.Builder |
addRanges(V1beta1Policy.IDRange value)
ranges are the allowed ranges of fs groups.
|
V1beta1Policy.IDRange.Builder |
addRangesBuilder()
ranges are the allowed ranges of fs groups.
|
V1beta1Policy.IDRange.Builder |
addRangesBuilder(int index)
ranges are the allowed ranges of fs groups.
|
V1beta1Policy.FSGroupStrategyOptions.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1beta1Policy.FSGroupStrategyOptions |
build() |
V1beta1Policy.FSGroupStrategyOptions |
buildPartial() |
V1beta1Policy.FSGroupStrategyOptions.Builder |
clear() |
V1beta1Policy.FSGroupStrategyOptions.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1beta1Policy.FSGroupStrategyOptions.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1beta1Policy.FSGroupStrategyOptions.Builder |
clearRanges()
ranges are the allowed ranges of fs groups.
|
V1beta1Policy.FSGroupStrategyOptions.Builder |
clearRule()
rule is the strategy that will dictate what FSGroup is used in the SecurityContext.
|
V1beta1Policy.FSGroupStrategyOptions.Builder |
clone() |
V1beta1Policy.FSGroupStrategyOptions |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
V1beta1Policy.IDRange |
getRanges(int index)
ranges are the allowed ranges of fs groups.
|
V1beta1Policy.IDRange.Builder |
getRangesBuilder(int index)
ranges are the allowed ranges of fs groups.
|
List<V1beta1Policy.IDRange.Builder> |
getRangesBuilderList()
ranges are the allowed ranges of fs groups.
|
int |
getRangesCount()
ranges are the allowed ranges of fs groups.
|
List<V1beta1Policy.IDRange> |
getRangesList()
ranges are the allowed ranges of fs groups.
|
V1beta1Policy.IDRangeOrBuilder |
getRangesOrBuilder(int index)
ranges are the allowed ranges of fs groups.
|
List<? extends V1beta1Policy.IDRangeOrBuilder> |
getRangesOrBuilderList()
ranges are the allowed ranges of fs groups.
|
String |
getRule()
rule is the strategy that will dictate what FSGroup is used in the SecurityContext.
|
com.google.protobuf.ByteString |
getRuleBytes()
rule is the strategy that will dictate what FSGroup is used in the SecurityContext.
|
boolean |
hasRule()
rule is the strategy that will dictate what FSGroup is used in the SecurityContext.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
V1beta1Policy.FSGroupStrategyOptions.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1beta1Policy.FSGroupStrategyOptions.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1beta1Policy.FSGroupStrategyOptions.Builder |
mergeFrom(V1beta1Policy.FSGroupStrategyOptions other) |
V1beta1Policy.FSGroupStrategyOptions.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1beta1Policy.FSGroupStrategyOptions.Builder |
removeRanges(int index)
ranges are the allowed ranges of fs groups.
|
V1beta1Policy.FSGroupStrategyOptions.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1beta1Policy.FSGroupStrategyOptions.Builder |
setRanges(int index,
V1beta1Policy.IDRange.Builder builderForValue)
ranges are the allowed ranges of fs groups.
|
V1beta1Policy.FSGroupStrategyOptions.Builder |
setRanges(int index,
V1beta1Policy.IDRange value)
ranges are the allowed ranges of fs groups.
|
V1beta1Policy.FSGroupStrategyOptions.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1beta1Policy.FSGroupStrategyOptions.Builder |
setRule(String value)
rule is the strategy that will dictate what FSGroup is used in the SecurityContext.
|
V1beta1Policy.FSGroupStrategyOptions.Builder |
setRuleBytes(com.google.protobuf.ByteString value)
rule is the strategy that will dictate what FSGroup is used in the SecurityContext.
|
V1beta1Policy.FSGroupStrategyOptions.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<V1beta1Policy.FSGroupStrategyOptions.Builder>public V1beta1Policy.FSGroupStrategyOptions.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.FSGroupStrategyOptions.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<V1beta1Policy.FSGroupStrategyOptions.Builder>public V1beta1Policy.FSGroupStrategyOptions getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1beta1Policy.FSGroupStrategyOptions build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1beta1Policy.FSGroupStrategyOptions buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1beta1Policy.FSGroupStrategyOptions.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.FSGroupStrategyOptions.Builder>public V1beta1Policy.FSGroupStrategyOptions.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<V1beta1Policy.FSGroupStrategyOptions.Builder>public V1beta1Policy.FSGroupStrategyOptions.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.FSGroupStrategyOptions.Builder>public V1beta1Policy.FSGroupStrategyOptions.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.FSGroupStrategyOptions.Builder>public V1beta1Policy.FSGroupStrategyOptions.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<V1beta1Policy.FSGroupStrategyOptions.Builder>public V1beta1Policy.FSGroupStrategyOptions.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<V1beta1Policy.FSGroupStrategyOptions.Builder>public V1beta1Policy.FSGroupStrategyOptions.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1beta1Policy.FSGroupStrategyOptions.Builder>public V1beta1Policy.FSGroupStrategyOptions.Builder mergeFrom(V1beta1Policy.FSGroupStrategyOptions other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.FSGroupStrategyOptions.Builder>public V1beta1Policy.FSGroupStrategyOptions.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<V1beta1Policy.FSGroupStrategyOptions.Builder>IOExceptionpublic boolean hasRule()
rule is the strategy that will dictate what FSGroup is used in the SecurityContext. +optional
optional string rule = 1;hasRule in interface V1beta1Policy.FSGroupStrategyOptionsOrBuilderpublic String getRule()
rule is the strategy that will dictate what FSGroup is used in the SecurityContext. +optional
optional string rule = 1;getRule in interface V1beta1Policy.FSGroupStrategyOptionsOrBuilderpublic com.google.protobuf.ByteString getRuleBytes()
rule is the strategy that will dictate what FSGroup is used in the SecurityContext. +optional
optional string rule = 1;getRuleBytes in interface V1beta1Policy.FSGroupStrategyOptionsOrBuilderpublic V1beta1Policy.FSGroupStrategyOptions.Builder setRule(String value)
rule is the strategy that will dictate what FSGroup is used in the SecurityContext. +optional
optional string rule = 1;public V1beta1Policy.FSGroupStrategyOptions.Builder clearRule()
rule is the strategy that will dictate what FSGroup is used in the SecurityContext. +optional
optional string rule = 1;public V1beta1Policy.FSGroupStrategyOptions.Builder setRuleBytes(com.google.protobuf.ByteString value)
rule is the strategy that will dictate what FSGroup is used in the SecurityContext. +optional
optional string rule = 1;public List<V1beta1Policy.IDRange> getRangesList()
ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. Required for MustRunAs. +optional
repeated .k8s.io.api.policy.v1beta1.IDRange ranges = 2;getRangesList in interface V1beta1Policy.FSGroupStrategyOptionsOrBuilderpublic int getRangesCount()
ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. Required for MustRunAs. +optional
repeated .k8s.io.api.policy.v1beta1.IDRange ranges = 2;getRangesCount in interface V1beta1Policy.FSGroupStrategyOptionsOrBuilderpublic V1beta1Policy.IDRange getRanges(int index)
ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. Required for MustRunAs. +optional
repeated .k8s.io.api.policy.v1beta1.IDRange ranges = 2;getRanges in interface V1beta1Policy.FSGroupStrategyOptionsOrBuilderpublic V1beta1Policy.FSGroupStrategyOptions.Builder setRanges(int index, V1beta1Policy.IDRange value)
ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. Required for MustRunAs. +optional
repeated .k8s.io.api.policy.v1beta1.IDRange ranges = 2;public V1beta1Policy.FSGroupStrategyOptions.Builder setRanges(int index, V1beta1Policy.IDRange.Builder builderForValue)
ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. Required for MustRunAs. +optional
repeated .k8s.io.api.policy.v1beta1.IDRange ranges = 2;public V1beta1Policy.FSGroupStrategyOptions.Builder addRanges(V1beta1Policy.IDRange value)
ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. Required for MustRunAs. +optional
repeated .k8s.io.api.policy.v1beta1.IDRange ranges = 2;public V1beta1Policy.FSGroupStrategyOptions.Builder addRanges(int index, V1beta1Policy.IDRange value)
ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. Required for MustRunAs. +optional
repeated .k8s.io.api.policy.v1beta1.IDRange ranges = 2;public V1beta1Policy.FSGroupStrategyOptions.Builder addRanges(V1beta1Policy.IDRange.Builder builderForValue)
ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. Required for MustRunAs. +optional
repeated .k8s.io.api.policy.v1beta1.IDRange ranges = 2;public V1beta1Policy.FSGroupStrategyOptions.Builder addRanges(int index, V1beta1Policy.IDRange.Builder builderForValue)
ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. Required for MustRunAs. +optional
repeated .k8s.io.api.policy.v1beta1.IDRange ranges = 2;public V1beta1Policy.FSGroupStrategyOptions.Builder addAllRanges(Iterable<? extends V1beta1Policy.IDRange> values)
ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. Required for MustRunAs. +optional
repeated .k8s.io.api.policy.v1beta1.IDRange ranges = 2;public V1beta1Policy.FSGroupStrategyOptions.Builder clearRanges()
ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. Required for MustRunAs. +optional
repeated .k8s.io.api.policy.v1beta1.IDRange ranges = 2;public V1beta1Policy.FSGroupStrategyOptions.Builder removeRanges(int index)
ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. Required for MustRunAs. +optional
repeated .k8s.io.api.policy.v1beta1.IDRange ranges = 2;public V1beta1Policy.IDRange.Builder getRangesBuilder(int index)
ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. Required for MustRunAs. +optional
repeated .k8s.io.api.policy.v1beta1.IDRange ranges = 2;public V1beta1Policy.IDRangeOrBuilder getRangesOrBuilder(int index)
ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. Required for MustRunAs. +optional
repeated .k8s.io.api.policy.v1beta1.IDRange ranges = 2;getRangesOrBuilder in interface V1beta1Policy.FSGroupStrategyOptionsOrBuilderpublic List<? extends V1beta1Policy.IDRangeOrBuilder> getRangesOrBuilderList()
ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. Required for MustRunAs. +optional
repeated .k8s.io.api.policy.v1beta1.IDRange ranges = 2;getRangesOrBuilderList in interface V1beta1Policy.FSGroupStrategyOptionsOrBuilderpublic V1beta1Policy.IDRange.Builder addRangesBuilder()
ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. Required for MustRunAs. +optional
repeated .k8s.io.api.policy.v1beta1.IDRange ranges = 2;public V1beta1Policy.IDRange.Builder addRangesBuilder(int index)
ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. Required for MustRunAs. +optional
repeated .k8s.io.api.policy.v1beta1.IDRange ranges = 2;public List<V1beta1Policy.IDRange.Builder> getRangesBuilderList()
ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. Required for MustRunAs. +optional
repeated .k8s.io.api.policy.v1beta1.IDRange ranges = 2;public final V1beta1Policy.FSGroupStrategyOptions.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.FSGroupStrategyOptions.Builder>public final V1beta1Policy.FSGroupStrategyOptions.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.FSGroupStrategyOptions.Builder>Copyright © 2019. All rights reserved.