public static final class V1beta1Policy.RunAsUserStrategyOptions.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.RunAsUserStrategyOptions.Builder> implements V1beta1Policy.RunAsUserStrategyOptionsOrBuilder
RunAsUserStrategyOptions defines the strategy type and any options used to create the strategy.Protobuf type
k8s.io.api.policy.v1beta1.RunAsUserStrategyOptions| Modifier and Type | Method and Description |
|---|---|
V1beta1Policy.RunAsUserStrategyOptions.Builder |
addAllRanges(Iterable<? extends V1beta1Policy.IDRange> values)
ranges are the allowed ranges of uids that may be used.
|
V1beta1Policy.RunAsUserStrategyOptions.Builder |
addRanges(int index,
V1beta1Policy.IDRange.Builder builderForValue)
ranges are the allowed ranges of uids that may be used.
|
V1beta1Policy.RunAsUserStrategyOptions.Builder |
addRanges(int index,
V1beta1Policy.IDRange value)
ranges are the allowed ranges of uids that may be used.
|
V1beta1Policy.RunAsUserStrategyOptions.Builder |
addRanges(V1beta1Policy.IDRange.Builder builderForValue)
ranges are the allowed ranges of uids that may be used.
|
V1beta1Policy.RunAsUserStrategyOptions.Builder |
addRanges(V1beta1Policy.IDRange value)
ranges are the allowed ranges of uids that may be used.
|
V1beta1Policy.IDRange.Builder |
addRangesBuilder()
ranges are the allowed ranges of uids that may be used.
|
V1beta1Policy.IDRange.Builder |
addRangesBuilder(int index)
ranges are the allowed ranges of uids that may be used.
|
V1beta1Policy.RunAsUserStrategyOptions.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1beta1Policy.RunAsUserStrategyOptions |
build() |
V1beta1Policy.RunAsUserStrategyOptions |
buildPartial() |
V1beta1Policy.RunAsUserStrategyOptions.Builder |
clear() |
V1beta1Policy.RunAsUserStrategyOptions.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1beta1Policy.RunAsUserStrategyOptions.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1beta1Policy.RunAsUserStrategyOptions.Builder |
clearRanges()
ranges are the allowed ranges of uids that may be used.
|
V1beta1Policy.RunAsUserStrategyOptions.Builder |
clearRule()
rule is the strategy that will dictate the allowable RunAsUser values that may be set.
|
V1beta1Policy.RunAsUserStrategyOptions.Builder |
clone() |
V1beta1Policy.RunAsUserStrategyOptions |
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 uids that may be used.
|
V1beta1Policy.IDRange.Builder |
getRangesBuilder(int index)
ranges are the allowed ranges of uids that may be used.
|
List<V1beta1Policy.IDRange.Builder> |
getRangesBuilderList()
ranges are the allowed ranges of uids that may be used.
|
int |
getRangesCount()
ranges are the allowed ranges of uids that may be used.
|
List<V1beta1Policy.IDRange> |
getRangesList()
ranges are the allowed ranges of uids that may be used.
|
V1beta1Policy.IDRangeOrBuilder |
getRangesOrBuilder(int index)
ranges are the allowed ranges of uids that may be used.
|
List<? extends V1beta1Policy.IDRangeOrBuilder> |
getRangesOrBuilderList()
ranges are the allowed ranges of uids that may be used.
|
String |
getRule()
rule is the strategy that will dictate the allowable RunAsUser values that may be set.
|
com.google.protobuf.ByteString |
getRuleBytes()
rule is the strategy that will dictate the allowable RunAsUser values that may be set.
|
boolean |
hasRule()
rule is the strategy that will dictate the allowable RunAsUser values that may be set.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
V1beta1Policy.RunAsUserStrategyOptions.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1beta1Policy.RunAsUserStrategyOptions.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1beta1Policy.RunAsUserStrategyOptions.Builder |
mergeFrom(V1beta1Policy.RunAsUserStrategyOptions other) |
V1beta1Policy.RunAsUserStrategyOptions.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1beta1Policy.RunAsUserStrategyOptions.Builder |
removeRanges(int index)
ranges are the allowed ranges of uids that may be used.
|
V1beta1Policy.RunAsUserStrategyOptions.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1beta1Policy.RunAsUserStrategyOptions.Builder |
setRanges(int index,
V1beta1Policy.IDRange.Builder builderForValue)
ranges are the allowed ranges of uids that may be used.
|
V1beta1Policy.RunAsUserStrategyOptions.Builder |
setRanges(int index,
V1beta1Policy.IDRange value)
ranges are the allowed ranges of uids that may be used.
|
V1beta1Policy.RunAsUserStrategyOptions.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1beta1Policy.RunAsUserStrategyOptions.Builder |
setRule(String value)
rule is the strategy that will dictate the allowable RunAsUser values that may be set.
|
V1beta1Policy.RunAsUserStrategyOptions.Builder |
setRuleBytes(com.google.protobuf.ByteString value)
rule is the strategy that will dictate the allowable RunAsUser values that may be set.
|
V1beta1Policy.RunAsUserStrategyOptions.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.RunAsUserStrategyOptions.Builder>public V1beta1Policy.RunAsUserStrategyOptions.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.RunAsUserStrategyOptions.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.RunAsUserStrategyOptions.Builder>public V1beta1Policy.RunAsUserStrategyOptions getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1beta1Policy.RunAsUserStrategyOptions build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1beta1Policy.RunAsUserStrategyOptions buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1beta1Policy.RunAsUserStrategyOptions.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.RunAsUserStrategyOptions.Builder>public V1beta1Policy.RunAsUserStrategyOptions.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.RunAsUserStrategyOptions.Builder>public V1beta1Policy.RunAsUserStrategyOptions.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.RunAsUserStrategyOptions.Builder>public V1beta1Policy.RunAsUserStrategyOptions.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.RunAsUserStrategyOptions.Builder>public V1beta1Policy.RunAsUserStrategyOptions.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.RunAsUserStrategyOptions.Builder>public V1beta1Policy.RunAsUserStrategyOptions.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.RunAsUserStrategyOptions.Builder>public V1beta1Policy.RunAsUserStrategyOptions.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1beta1Policy.RunAsUserStrategyOptions.Builder>public V1beta1Policy.RunAsUserStrategyOptions.Builder mergeFrom(V1beta1Policy.RunAsUserStrategyOptions other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.RunAsUserStrategyOptions.Builder>public V1beta1Policy.RunAsUserStrategyOptions.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.RunAsUserStrategyOptions.Builder>IOExceptionpublic boolean hasRule()
rule is the strategy that will dictate the allowable RunAsUser values that may be set.
optional string rule = 1;hasRule in interface V1beta1Policy.RunAsUserStrategyOptionsOrBuilderpublic String getRule()
rule is the strategy that will dictate the allowable RunAsUser values that may be set.
optional string rule = 1;getRule in interface V1beta1Policy.RunAsUserStrategyOptionsOrBuilderpublic com.google.protobuf.ByteString getRuleBytes()
rule is the strategy that will dictate the allowable RunAsUser values that may be set.
optional string rule = 1;getRuleBytes in interface V1beta1Policy.RunAsUserStrategyOptionsOrBuilderpublic V1beta1Policy.RunAsUserStrategyOptions.Builder setRule(String value)
rule is the strategy that will dictate the allowable RunAsUser values that may be set.
optional string rule = 1;public V1beta1Policy.RunAsUserStrategyOptions.Builder clearRule()
rule is the strategy that will dictate the allowable RunAsUser values that may be set.
optional string rule = 1;public V1beta1Policy.RunAsUserStrategyOptions.Builder setRuleBytes(com.google.protobuf.ByteString value)
rule is the strategy that will dictate the allowable RunAsUser values that may be set.
optional string rule = 1;public List<V1beta1Policy.IDRange> getRangesList()
ranges are the allowed ranges of uids that may be used. If you would like to force a single uid 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.RunAsUserStrategyOptionsOrBuilderpublic int getRangesCount()
ranges are the allowed ranges of uids that may be used. If you would like to force a single uid 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.RunAsUserStrategyOptionsOrBuilderpublic V1beta1Policy.IDRange getRanges(int index)
ranges are the allowed ranges of uids that may be used. If you would like to force a single uid 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.RunAsUserStrategyOptionsOrBuilderpublic V1beta1Policy.RunAsUserStrategyOptions.Builder setRanges(int index, V1beta1Policy.IDRange value)
ranges are the allowed ranges of uids that may be used. If you would like to force a single uid 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.RunAsUserStrategyOptions.Builder setRanges(int index, V1beta1Policy.IDRange.Builder builderForValue)
ranges are the allowed ranges of uids that may be used. If you would like to force a single uid 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.RunAsUserStrategyOptions.Builder addRanges(V1beta1Policy.IDRange value)
ranges are the allowed ranges of uids that may be used. If you would like to force a single uid 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.RunAsUserStrategyOptions.Builder addRanges(int index, V1beta1Policy.IDRange value)
ranges are the allowed ranges of uids that may be used. If you would like to force a single uid 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.RunAsUserStrategyOptions.Builder addRanges(V1beta1Policy.IDRange.Builder builderForValue)
ranges are the allowed ranges of uids that may be used. If you would like to force a single uid 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.RunAsUserStrategyOptions.Builder addRanges(int index, V1beta1Policy.IDRange.Builder builderForValue)
ranges are the allowed ranges of uids that may be used. If you would like to force a single uid 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.RunAsUserStrategyOptions.Builder addAllRanges(Iterable<? extends V1beta1Policy.IDRange> values)
ranges are the allowed ranges of uids that may be used. If you would like to force a single uid 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.RunAsUserStrategyOptions.Builder clearRanges()
ranges are the allowed ranges of uids that may be used. If you would like to force a single uid 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.RunAsUserStrategyOptions.Builder removeRanges(int index)
ranges are the allowed ranges of uids that may be used. If you would like to force a single uid 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 uids that may be used. If you would like to force a single uid 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 uids that may be used. If you would like to force a single uid 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.RunAsUserStrategyOptionsOrBuilderpublic List<? extends V1beta1Policy.IDRangeOrBuilder> getRangesOrBuilderList()
ranges are the allowed ranges of uids that may be used. If you would like to force a single uid 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.RunAsUserStrategyOptionsOrBuilderpublic V1beta1Policy.IDRange.Builder addRangesBuilder()
ranges are the allowed ranges of uids that may be used. If you would like to force a single uid 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 uids that may be used. If you would like to force a single uid 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 uids that may be used. If you would like to force a single uid 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.RunAsUserStrategyOptions.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.RunAsUserStrategyOptions.Builder>public final V1beta1Policy.RunAsUserStrategyOptions.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.RunAsUserStrategyOptions.Builder>Copyright © 2021. All rights reserved.