Package io.kubernetes.client.proto
Class V1beta1Policy.RuntimeClassStrategyOptions.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.RuntimeClassStrategyOptions.Builder>
io.kubernetes.client.proto.V1beta1Policy.RuntimeClassStrategyOptions.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,V1beta1Policy.RuntimeClassStrategyOptionsOrBuilder
,Cloneable
- Enclosing class:
- V1beta1Policy.RuntimeClassStrategyOptions
public static final class V1beta1Policy.RuntimeClassStrategyOptions.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.RuntimeClassStrategyOptions.Builder>
implements V1beta1Policy.RuntimeClassStrategyOptionsOrBuilder
RuntimeClassStrategyOptions define the strategy that will dictate the allowable RuntimeClasses for a pod.Protobuf type
k8s.io.api.policy.v1beta1.RuntimeClassStrategyOptions
-
Method Summary
Modifier and TypeMethodDescriptionaddAllAllowedRuntimeClassNames
(Iterable<String> values) allowedRuntimeClassNames is an allowlist of RuntimeClass names that may be specified on a pod.allowedRuntimeClassNames is an allowlist of RuntimeClass names that may be specified on a pod.addAllowedRuntimeClassNamesBytes
(com.google.protobuf.ByteString value) allowedRuntimeClassNames is an allowlist of RuntimeClass names that may be specified on a pod.addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
allowedRuntimeClassNames is an allowlist of RuntimeClass names that may be specified on a pod.defaultRuntimeClassName is the default RuntimeClassName to set on the pod.clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()
getAllowedRuntimeClassNames
(int index) allowedRuntimeClassNames is an allowlist of RuntimeClass names that may be specified on a pod.com.google.protobuf.ByteString
getAllowedRuntimeClassNamesBytes
(int index) allowedRuntimeClassNames is an allowlist of RuntimeClass names that may be specified on a pod.int
allowedRuntimeClassNames is an allowlist of RuntimeClass names that may be specified on a pod.com.google.protobuf.ProtocolStringList
allowedRuntimeClassNames is an allowlist of RuntimeClass names that may be specified on a pod.defaultRuntimeClassName is the default RuntimeClassName to set on the pod.com.google.protobuf.ByteString
defaultRuntimeClassName is the default RuntimeClassName to set on the pod.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
boolean
defaultRuntimeClassName is the default RuntimeClassName to set on the pod.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) setAllowedRuntimeClassNames
(int index, String value) allowedRuntimeClassNames is an allowlist of RuntimeClass names that may be specified on a pod.setDefaultRuntimeClassName
(String value) defaultRuntimeClassName is the default RuntimeClassName to set on the pod.setDefaultRuntimeClassNameBytes
(com.google.protobuf.ByteString value) defaultRuntimeClassName is the default RuntimeClassName to set on the pod.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) 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<V1beta1Policy.RuntimeClassStrategyOptions.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<V1beta1Policy.RuntimeClassStrategyOptions.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<V1beta1Policy.RuntimeClassStrategyOptions.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<V1beta1Policy.RuntimeClassStrategyOptions.Builder>
-
setField
public V1beta1Policy.RuntimeClassStrategyOptions.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<V1beta1Policy.RuntimeClassStrategyOptions.Builder>
-
clearField
public V1beta1Policy.RuntimeClassStrategyOptions.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<V1beta1Policy.RuntimeClassStrategyOptions.Builder>
-
clearOneof
public V1beta1Policy.RuntimeClassStrategyOptions.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<V1beta1Policy.RuntimeClassStrategyOptions.Builder>
-
setRepeatedField
public V1beta1Policy.RuntimeClassStrategyOptions.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<V1beta1Policy.RuntimeClassStrategyOptions.Builder>
-
addRepeatedField
public V1beta1Policy.RuntimeClassStrategyOptions.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<V1beta1Policy.RuntimeClassStrategyOptions.Builder>
-
mergeFrom
public V1beta1Policy.RuntimeClassStrategyOptions.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<V1beta1Policy.RuntimeClassStrategyOptions.Builder>
-
mergeFrom
public V1beta1Policy.RuntimeClassStrategyOptions.Builder mergeFrom(V1beta1Policy.RuntimeClassStrategyOptions other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.RuntimeClassStrategyOptions.Builder>
-
mergeFrom
public V1beta1Policy.RuntimeClassStrategyOptions.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<V1beta1Policy.RuntimeClassStrategyOptions.Builder>
- Throws:
IOException
-
getAllowedRuntimeClassNamesList
public com.google.protobuf.ProtocolStringList getAllowedRuntimeClassNamesList()allowedRuntimeClassNames is an allowlist of RuntimeClass names that may be specified on a pod. A value of "*" means that any RuntimeClass name is allowed, and must be the only item in the list. An empty list requires the RuntimeClassName field to be unset.
repeated string allowedRuntimeClassNames = 1;
- Specified by:
getAllowedRuntimeClassNamesList
in interfaceV1beta1Policy.RuntimeClassStrategyOptionsOrBuilder
-
getAllowedRuntimeClassNamesCount
public int getAllowedRuntimeClassNamesCount()allowedRuntimeClassNames is an allowlist of RuntimeClass names that may be specified on a pod. A value of "*" means that any RuntimeClass name is allowed, and must be the only item in the list. An empty list requires the RuntimeClassName field to be unset.
repeated string allowedRuntimeClassNames = 1;
- Specified by:
getAllowedRuntimeClassNamesCount
in interfaceV1beta1Policy.RuntimeClassStrategyOptionsOrBuilder
-
getAllowedRuntimeClassNames
allowedRuntimeClassNames is an allowlist of RuntimeClass names that may be specified on a pod. A value of "*" means that any RuntimeClass name is allowed, and must be the only item in the list. An empty list requires the RuntimeClassName field to be unset.
repeated string allowedRuntimeClassNames = 1;
- Specified by:
getAllowedRuntimeClassNames
in interfaceV1beta1Policy.RuntimeClassStrategyOptionsOrBuilder
-
getAllowedRuntimeClassNamesBytes
public com.google.protobuf.ByteString getAllowedRuntimeClassNamesBytes(int index) allowedRuntimeClassNames is an allowlist of RuntimeClass names that may be specified on a pod. A value of "*" means that any RuntimeClass name is allowed, and must be the only item in the list. An empty list requires the RuntimeClassName field to be unset.
repeated string allowedRuntimeClassNames = 1;
- Specified by:
getAllowedRuntimeClassNamesBytes
in interfaceV1beta1Policy.RuntimeClassStrategyOptionsOrBuilder
-
setAllowedRuntimeClassNames
public V1beta1Policy.RuntimeClassStrategyOptions.Builder setAllowedRuntimeClassNames(int index, String value) allowedRuntimeClassNames is an allowlist of RuntimeClass names that may be specified on a pod. A value of "*" means that any RuntimeClass name is allowed, and must be the only item in the list. An empty list requires the RuntimeClassName field to be unset.
repeated string allowedRuntimeClassNames = 1;
-
addAllowedRuntimeClassNames
allowedRuntimeClassNames is an allowlist of RuntimeClass names that may be specified on a pod. A value of "*" means that any RuntimeClass name is allowed, and must be the only item in the list. An empty list requires the RuntimeClassName field to be unset.
repeated string allowedRuntimeClassNames = 1;
-
addAllAllowedRuntimeClassNames
public V1beta1Policy.RuntimeClassStrategyOptions.Builder addAllAllowedRuntimeClassNames(Iterable<String> values) allowedRuntimeClassNames is an allowlist of RuntimeClass names that may be specified on a pod. A value of "*" means that any RuntimeClass name is allowed, and must be the only item in the list. An empty list requires the RuntimeClassName field to be unset.
repeated string allowedRuntimeClassNames = 1;
-
clearAllowedRuntimeClassNames
allowedRuntimeClassNames is an allowlist of RuntimeClass names that may be specified on a pod. A value of "*" means that any RuntimeClass name is allowed, and must be the only item in the list. An empty list requires the RuntimeClassName field to be unset.
repeated string allowedRuntimeClassNames = 1;
-
addAllowedRuntimeClassNamesBytes
public V1beta1Policy.RuntimeClassStrategyOptions.Builder addAllowedRuntimeClassNamesBytes(com.google.protobuf.ByteString value) allowedRuntimeClassNames is an allowlist of RuntimeClass names that may be specified on a pod. A value of "*" means that any RuntimeClass name is allowed, and must be the only item in the list. An empty list requires the RuntimeClassName field to be unset.
repeated string allowedRuntimeClassNames = 1;
-
hasDefaultRuntimeClassName
public boolean hasDefaultRuntimeClassName()defaultRuntimeClassName is the default RuntimeClassName to set on the pod. The default MUST be allowed by the allowedRuntimeClassNames list. A value of nil does not mutate the Pod. +optional
optional string defaultRuntimeClassName = 2;
- Specified by:
hasDefaultRuntimeClassName
in interfaceV1beta1Policy.RuntimeClassStrategyOptionsOrBuilder
-
getDefaultRuntimeClassName
defaultRuntimeClassName is the default RuntimeClassName to set on the pod. The default MUST be allowed by the allowedRuntimeClassNames list. A value of nil does not mutate the Pod. +optional
optional string defaultRuntimeClassName = 2;
- Specified by:
getDefaultRuntimeClassName
in interfaceV1beta1Policy.RuntimeClassStrategyOptionsOrBuilder
-
getDefaultRuntimeClassNameBytes
public com.google.protobuf.ByteString getDefaultRuntimeClassNameBytes()defaultRuntimeClassName is the default RuntimeClassName to set on the pod. The default MUST be allowed by the allowedRuntimeClassNames list. A value of nil does not mutate the Pod. +optional
optional string defaultRuntimeClassName = 2;
- Specified by:
getDefaultRuntimeClassNameBytes
in interfaceV1beta1Policy.RuntimeClassStrategyOptionsOrBuilder
-
setDefaultRuntimeClassName
defaultRuntimeClassName is the default RuntimeClassName to set on the pod. The default MUST be allowed by the allowedRuntimeClassNames list. A value of nil does not mutate the Pod. +optional
optional string defaultRuntimeClassName = 2;
-
clearDefaultRuntimeClassName
defaultRuntimeClassName is the default RuntimeClassName to set on the pod. The default MUST be allowed by the allowedRuntimeClassNames list. A value of nil does not mutate the Pod. +optional
optional string defaultRuntimeClassName = 2;
-
setDefaultRuntimeClassNameBytes
public V1beta1Policy.RuntimeClassStrategyOptions.Builder setDefaultRuntimeClassNameBytes(com.google.protobuf.ByteString value) defaultRuntimeClassName is the default RuntimeClassName to set on the pod. The default MUST be allowed by the allowedRuntimeClassNames list. A value of nil does not mutate the Pod. +optional
optional string defaultRuntimeClassName = 2;
-
setUnknownFields
public final V1beta1Policy.RuntimeClassStrategyOptions.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.RuntimeClassStrategyOptions.Builder>
-
mergeUnknownFields
public final V1beta1Policy.RuntimeClassStrategyOptions.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.RuntimeClassStrategyOptions.Builder>
-