Package io.kubernetes.client.proto
Class V1beta1Extensions.FSGroupStrategyOptions.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.FSGroupStrategyOptions.Builder>
io.kubernetes.client.proto.V1beta1Extensions.FSGroupStrategyOptions.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,V1beta1Extensions.FSGroupStrategyOptionsOrBuilder
,Cloneable
- Enclosing class:
- V1beta1Extensions.FSGroupStrategyOptions
public static final class V1beta1Extensions.FSGroupStrategyOptions.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.FSGroupStrategyOptions.Builder>
implements V1beta1Extensions.FSGroupStrategyOptionsOrBuilder
FSGroupStrategyOptions defines the strategy type and options used to create the strategy. Deprecated: use FSGroupStrategyOptions from policy API Group instead.Protobuf type
k8s.io.api.extensions.v1beta1.FSGroupStrategyOptions
-
Method Summary
Modifier and TypeMethodDescriptionaddAllRanges
(Iterable<? extends V1beta1Extensions.IDRange> values) ranges are the allowed ranges of fs groups.addRanges
(int index, V1beta1Extensions.IDRange value) ranges are the allowed ranges of fs groups.addRanges
(int index, V1beta1Extensions.IDRange.Builder builderForValue) ranges are the allowed ranges of fs groups.ranges are the allowed ranges of fs groups.addRanges
(V1beta1Extensions.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.Descriptor
com.google.protobuf.Descriptors.Descriptor
getRanges
(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.int
ranges 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 V1beta1Extensions.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.ByteString
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
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 fs groups.setRanges
(int index, V1beta1Extensions.IDRange value) ranges are the allowed ranges of fs groups.setRanges
(int index, V1beta1Extensions.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, 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.FSGroupStrategyOptions.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.FSGroupStrategyOptions.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.FSGroupStrategyOptions.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.FSGroupStrategyOptions.Builder>
-
setField
public V1beta1Extensions.FSGroupStrategyOptions.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.FSGroupStrategyOptions.Builder>
-
clearField
public V1beta1Extensions.FSGroupStrategyOptions.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.FSGroupStrategyOptions.Builder>
-
clearOneof
public V1beta1Extensions.FSGroupStrategyOptions.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.FSGroupStrategyOptions.Builder>
-
setRepeatedField
public V1beta1Extensions.FSGroupStrategyOptions.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.FSGroupStrategyOptions.Builder>
-
addRepeatedField
public V1beta1Extensions.FSGroupStrategyOptions.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.FSGroupStrategyOptions.Builder>
-
mergeFrom
public V1beta1Extensions.FSGroupStrategyOptions.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.FSGroupStrategyOptions.Builder>
-
mergeFrom
public V1beta1Extensions.FSGroupStrategyOptions.Builder mergeFrom(V1beta1Extensions.FSGroupStrategyOptions other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.FSGroupStrategyOptions.Builder>
-
mergeFrom
public V1beta1Extensions.FSGroupStrategyOptions.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.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:
hasRule
in interfaceV1beta1Extensions.FSGroupStrategyOptionsOrBuilder
-
getRule
rule is the strategy that will dictate what FSGroup is used in the SecurityContext. +optional
optional string rule = 1;
- Specified by:
getRule
in interfaceV1beta1Extensions.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:
getRuleBytes
in interfaceV1beta1Extensions.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 V1beta1Extensions.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.extensions.v1beta1.IDRange ranges = 2;
- Specified by:
getRangesList
in interfaceV1beta1Extensions.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.extensions.v1beta1.IDRange ranges = 2;
- Specified by:
getRangesCount
in interfaceV1beta1Extensions.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.extensions.v1beta1.IDRange ranges = 2;
- Specified by:
getRanges
in interfaceV1beta1Extensions.FSGroupStrategyOptionsOrBuilder
-
setRanges
public V1beta1Extensions.FSGroupStrategyOptions.Builder setRanges(int index, V1beta1Extensions.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.extensions.v1beta1.IDRange ranges = 2;
-
setRanges
public V1beta1Extensions.FSGroupStrategyOptions.Builder setRanges(int index, V1beta1Extensions.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.extensions.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.extensions.v1beta1.IDRange ranges = 2;
-
addRanges
public V1beta1Extensions.FSGroupStrategyOptions.Builder addRanges(int index, V1beta1Extensions.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.extensions.v1beta1.IDRange ranges = 2;
-
addRanges
public V1beta1Extensions.FSGroupStrategyOptions.Builder addRanges(V1beta1Extensions.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.extensions.v1beta1.IDRange ranges = 2;
-
addRanges
public V1beta1Extensions.FSGroupStrategyOptions.Builder addRanges(int index, V1beta1Extensions.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.extensions.v1beta1.IDRange ranges = 2;
-
addAllRanges
public V1beta1Extensions.FSGroupStrategyOptions.Builder addAllRanges(Iterable<? extends V1beta1Extensions.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.extensions.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.extensions.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.extensions.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.extensions.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.extensions.v1beta1.IDRange ranges = 2;
- Specified by:
getRangesOrBuilder
in interfaceV1beta1Extensions.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.extensions.v1beta1.IDRange ranges = 2;
- Specified by:
getRangesOrBuilderList
in interfaceV1beta1Extensions.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.extensions.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.extensions.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.extensions.v1beta1.IDRange ranges = 2;
-
setUnknownFields
public final V1beta1Extensions.FSGroupStrategyOptions.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.FSGroupStrategyOptions.Builder>
-
mergeUnknownFields
public final V1beta1Extensions.FSGroupStrategyOptions.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.FSGroupStrategyOptions.Builder>
-