public static final class V1beta1Extensions.RuntimeClassStrategyOptions.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.RuntimeClassStrategyOptions.Builder> implements V1beta1Extensions.RuntimeClassStrategyOptionsOrBuilder
RuntimeClassStrategyOptions define the strategy that will dictate the allowable RuntimeClasses for a pod.Protobuf type
k8s.io.api.extensions.v1beta1.RuntimeClassStrategyOptions| Modifier and Type | Method and Description |
|---|---|
V1beta1Extensions.RuntimeClassStrategyOptions.Builder |
addAllAllowedRuntimeClassNames(Iterable<String> values)
allowedRuntimeClassNames is an allowlist of RuntimeClass names that may be specified on a pod.
|
V1beta1Extensions.RuntimeClassStrategyOptions.Builder |
addAllowedRuntimeClassNames(String value)
allowedRuntimeClassNames is an allowlist of RuntimeClass names that may be specified on a pod.
|
V1beta1Extensions.RuntimeClassStrategyOptions.Builder |
addAllowedRuntimeClassNamesBytes(com.google.protobuf.ByteString value)
allowedRuntimeClassNames is an allowlist of RuntimeClass names that may be specified on a pod.
|
V1beta1Extensions.RuntimeClassStrategyOptions.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1beta1Extensions.RuntimeClassStrategyOptions |
build() |
V1beta1Extensions.RuntimeClassStrategyOptions |
buildPartial() |
V1beta1Extensions.RuntimeClassStrategyOptions.Builder |
clear() |
V1beta1Extensions.RuntimeClassStrategyOptions.Builder |
clearAllowedRuntimeClassNames()
allowedRuntimeClassNames is an allowlist of RuntimeClass names that may be specified on a pod.
|
V1beta1Extensions.RuntimeClassStrategyOptions.Builder |
clearDefaultRuntimeClassName()
defaultRuntimeClassName is the default RuntimeClassName to set on the pod.
|
V1beta1Extensions.RuntimeClassStrategyOptions.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1beta1Extensions.RuntimeClassStrategyOptions.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1beta1Extensions.RuntimeClassStrategyOptions.Builder |
clone() |
String |
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 |
getAllowedRuntimeClassNamesCount()
allowedRuntimeClassNames is an allowlist of RuntimeClass names that may be specified on a pod.
|
com.google.protobuf.ProtocolStringList |
getAllowedRuntimeClassNamesList()
allowedRuntimeClassNames is an allowlist of RuntimeClass names that may be specified on a pod.
|
V1beta1Extensions.RuntimeClassStrategyOptions |
getDefaultInstanceForType() |
String |
getDefaultRuntimeClassName()
defaultRuntimeClassName is the default RuntimeClassName to set on the pod.
|
com.google.protobuf.ByteString |
getDefaultRuntimeClassNameBytes()
defaultRuntimeClassName is the default RuntimeClassName to set on the pod.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
hasDefaultRuntimeClassName()
defaultRuntimeClassName is the default RuntimeClassName to set on the pod.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
V1beta1Extensions.RuntimeClassStrategyOptions.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1beta1Extensions.RuntimeClassStrategyOptions.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1beta1Extensions.RuntimeClassStrategyOptions.Builder |
mergeFrom(V1beta1Extensions.RuntimeClassStrategyOptions other) |
V1beta1Extensions.RuntimeClassStrategyOptions.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1beta1Extensions.RuntimeClassStrategyOptions.Builder |
setAllowedRuntimeClassNames(int index,
String value)
allowedRuntimeClassNames is an allowlist of RuntimeClass names that may be specified on a pod.
|
V1beta1Extensions.RuntimeClassStrategyOptions.Builder |
setDefaultRuntimeClassName(String value)
defaultRuntimeClassName is the default RuntimeClassName to set on the pod.
|
V1beta1Extensions.RuntimeClassStrategyOptions.Builder |
setDefaultRuntimeClassNameBytes(com.google.protobuf.ByteString value)
defaultRuntimeClassName is the default RuntimeClassName to set on the pod.
|
V1beta1Extensions.RuntimeClassStrategyOptions.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1beta1Extensions.RuntimeClassStrategyOptions.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1beta1Extensions.RuntimeClassStrategyOptions.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.RuntimeClassStrategyOptions.Builder>public V1beta1Extensions.RuntimeClassStrategyOptions.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.RuntimeClassStrategyOptions.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<V1beta1Extensions.RuntimeClassStrategyOptions.Builder>public V1beta1Extensions.RuntimeClassStrategyOptions getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1beta1Extensions.RuntimeClassStrategyOptions build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1beta1Extensions.RuntimeClassStrategyOptions buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1beta1Extensions.RuntimeClassStrategyOptions.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.RuntimeClassStrategyOptions.Builder>public V1beta1Extensions.RuntimeClassStrategyOptions.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<V1beta1Extensions.RuntimeClassStrategyOptions.Builder>public V1beta1Extensions.RuntimeClassStrategyOptions.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.RuntimeClassStrategyOptions.Builder>public V1beta1Extensions.RuntimeClassStrategyOptions.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.RuntimeClassStrategyOptions.Builder>public V1beta1Extensions.RuntimeClassStrategyOptions.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<V1beta1Extensions.RuntimeClassStrategyOptions.Builder>public V1beta1Extensions.RuntimeClassStrategyOptions.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<V1beta1Extensions.RuntimeClassStrategyOptions.Builder>public V1beta1Extensions.RuntimeClassStrategyOptions.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1beta1Extensions.RuntimeClassStrategyOptions.Builder>public V1beta1Extensions.RuntimeClassStrategyOptions.Builder mergeFrom(V1beta1Extensions.RuntimeClassStrategyOptions other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.RuntimeClassStrategyOptions.Builder>public V1beta1Extensions.RuntimeClassStrategyOptions.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<V1beta1Extensions.RuntimeClassStrategyOptions.Builder>IOExceptionpublic 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;getAllowedRuntimeClassNamesList in interface V1beta1Extensions.RuntimeClassStrategyOptionsOrBuilderpublic 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;getAllowedRuntimeClassNamesCount in interface V1beta1Extensions.RuntimeClassStrategyOptionsOrBuilderpublic String getAllowedRuntimeClassNames(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;getAllowedRuntimeClassNames in interface V1beta1Extensions.RuntimeClassStrategyOptionsOrBuilderpublic 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;getAllowedRuntimeClassNamesBytes in interface V1beta1Extensions.RuntimeClassStrategyOptionsOrBuilderpublic V1beta1Extensions.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;public V1beta1Extensions.RuntimeClassStrategyOptions.Builder addAllowedRuntimeClassNames(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;public V1beta1Extensions.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;public V1beta1Extensions.RuntimeClassStrategyOptions.Builder 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;public V1beta1Extensions.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;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;hasDefaultRuntimeClassName in interface V1beta1Extensions.RuntimeClassStrategyOptionsOrBuilderpublic String 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;getDefaultRuntimeClassName in interface V1beta1Extensions.RuntimeClassStrategyOptionsOrBuilderpublic 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;getDefaultRuntimeClassNameBytes in interface V1beta1Extensions.RuntimeClassStrategyOptionsOrBuilderpublic V1beta1Extensions.RuntimeClassStrategyOptions.Builder setDefaultRuntimeClassName(String 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;public V1beta1Extensions.RuntimeClassStrategyOptions.Builder 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;public V1beta1Extensions.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;public final V1beta1Extensions.RuntimeClassStrategyOptions.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.RuntimeClassStrategyOptions.Builder>public final V1beta1Extensions.RuntimeClassStrategyOptions.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.RuntimeClassStrategyOptions.Builder>Copyright © 2023. All rights reserved.