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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public 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.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.FSGroupStrategyOptions.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.FSGroupStrategyOptions.Builder>
public V1beta1Policy.FSGroupStrategyOptions getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public V1beta1Policy.FSGroupStrategyOptions build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public V1beta1Policy.FSGroupStrategyOptions buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public V1beta1Policy.FSGroupStrategyOptions.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
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.Builder
setField
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.Builder
clearField
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.Builder
clearOneof
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.Builder
setRepeatedField
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.Builder
addRepeatedField
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.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<V1beta1Policy.FSGroupStrategyOptions.Builder>
IOException
public 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.FSGroupStrategyOptionsOrBuilder
public 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.FSGroupStrategyOptionsOrBuilder
public 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.FSGroupStrategyOptionsOrBuilder
public 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.FSGroupStrategyOptionsOrBuilder
public 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.FSGroupStrategyOptionsOrBuilder
public 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.FSGroupStrategyOptionsOrBuilder
public 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.FSGroupStrategyOptionsOrBuilder
public 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.FSGroupStrategyOptionsOrBuilder
public 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.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.FSGroupStrategyOptions.Builder>
Copyright © 2022. All rights reserved.