Package io.kubernetes.client.proto
Class V1beta1Policy.FSGroupStrategyOptions.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.FSGroupStrategyOptions.Builder>
io.kubernetes.client.proto.V1beta1Policy.FSGroupStrategyOptions.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,V1beta1Policy.FSGroupStrategyOptionsOrBuilder,Cloneable
- Enclosing class:
- V1beta1Policy.FSGroupStrategyOptions
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-
Method Summary
Modifier and TypeMethodDescriptionaddAllRanges(Iterable<? extends V1beta1Policy.IDRange> values) ranges are the allowed ranges of fs groups.addRanges(int index, V1beta1Policy.IDRange value) ranges are the allowed ranges of fs groups.addRanges(int index, V1beta1Policy.IDRange.Builder builderForValue) ranges are the allowed ranges of fs groups.addRanges(V1beta1Policy.IDRange value) ranges are the allowed ranges of fs groups.addRanges(V1beta1Policy.IDRange.Builder builderForValue) ranges are the allowed ranges of fs groups.ranges are the allowed ranges of fs groups.addRangesBuilder(int index) ranges are the allowed ranges of fs groups.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 fs groups.rule is the strategy that will dictate what FSGroup is used in the SecurityContext.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetRanges(int index) ranges are the allowed ranges of fs groups.getRangesBuilder(int index) ranges are the allowed ranges of fs groups.ranges are the allowed ranges of fs groups.intranges are the allowed ranges of fs groups.ranges are the allowed ranges of fs groups.getRangesOrBuilder(int index) ranges are the allowed ranges of fs groups.List<? extends V1beta1Policy.IDRangeOrBuilder>ranges are the allowed ranges of fs groups.getRule()rule is the strategy that will dictate what FSGroup is used in the SecurityContext.com.google.protobuf.ByteStringrule is the strategy that will dictate what FSGroup is used in the SecurityContext.booleanhasRule()rule is the strategy that will dictate what FSGroup is used in the SecurityContext.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(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 fs groups.setRanges(int index, V1beta1Policy.IDRange value) ranges are the allowed ranges of fs groups.setRanges(int index, V1beta1Policy.IDRange.Builder builderForValue) ranges are the allowed ranges of fs groups.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) rule is the strategy that will dictate what FSGroup is used in the SecurityContext.setRuleBytes(com.google.protobuf.ByteString value) rule is the strategy that will dictate what FSGroup is used in the SecurityContext.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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.FSGroupStrategyOptions.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.FSGroupStrategyOptions.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.FSGroupStrategyOptions.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.FSGroupStrategyOptions.Builder>
-
setField
public V1beta1Policy.FSGroupStrategyOptions.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.FSGroupStrategyOptions.Builder>
-
clearField
public V1beta1Policy.FSGroupStrategyOptions.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.FSGroupStrategyOptions.Builder>
-
clearOneof
public V1beta1Policy.FSGroupStrategyOptions.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.FSGroupStrategyOptions.Builder>
-
setRepeatedField
public V1beta1Policy.FSGroupStrategyOptions.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.FSGroupStrategyOptions.Builder>
-
addRepeatedField
public V1beta1Policy.FSGroupStrategyOptions.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.FSGroupStrategyOptions.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<V1beta1Policy.FSGroupStrategyOptions.Builder>
-
mergeFrom
public V1beta1Policy.FSGroupStrategyOptions.Builder mergeFrom(V1beta1Policy.FSGroupStrategyOptions other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.FSGroupStrategyOptions.Builder>
-
mergeFrom
public V1beta1Policy.FSGroupStrategyOptions.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<V1beta1Policy.FSGroupStrategyOptions.Builder>- Throws:
IOException
-
hasRule
public boolean hasRule()rule is the strategy that will dictate what FSGroup is used in the SecurityContext. +optional
optional string rule = 1;- Specified by:
hasRulein interfaceV1beta1Policy.FSGroupStrategyOptionsOrBuilder
-
getRule
rule is the strategy that will dictate what FSGroup is used in the SecurityContext. +optional
optional string rule = 1;- Specified by:
getRulein interfaceV1beta1Policy.FSGroupStrategyOptionsOrBuilder
-
getRuleBytes
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;- Specified by:
getRuleBytesin interfaceV1beta1Policy.FSGroupStrategyOptionsOrBuilder
-
setRule
rule is the strategy that will dictate what FSGroup is used in the SecurityContext. +optional
optional string rule = 1; -
clearRule
rule is the strategy that will dictate what FSGroup is used in the SecurityContext. +optional
optional string rule = 1; -
setRuleBytes
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; -
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;- Specified by:
getRangesListin interfaceV1beta1Policy.FSGroupStrategyOptionsOrBuilder
-
getRangesCount
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;- Specified by:
getRangesCountin interfaceV1beta1Policy.FSGroupStrategyOptionsOrBuilder
-
getRanges
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;- Specified by:
getRangesin interfaceV1beta1Policy.FSGroupStrategyOptionsOrBuilder
-
setRanges
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; -
setRanges
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; -
addRanges
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; -
addRanges
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; -
addRanges
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; -
addRanges
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; -
addAllRanges
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; -
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; -
removeRanges
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; -
getRangesBuilder
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
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;- Specified by:
getRangesOrBuilderin interfaceV1beta1Policy.FSGroupStrategyOptionsOrBuilder
-
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;- Specified by:
getRangesOrBuilderListin interfaceV1beta1Policy.FSGroupStrategyOptionsOrBuilder
-
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; -
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; -
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; -
setUnknownFields
public final V1beta1Policy.FSGroupStrategyOptions.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.FSGroupStrategyOptions.Builder>
-
mergeUnknownFields
public final V1beta1Policy.FSGroupStrategyOptions.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.FSGroupStrategyOptions.Builder>
-