Class K8sBetaAPIConfig.Builder (2.31.0)

public static final class K8sBetaAPIConfig.Builder extends GeneratedMessageV3.Builder<K8sBetaAPIConfig.Builder> implements K8sBetaAPIConfigOrBuilder

Kubernetes open source beta apis enabled on the cluster.

Protobuf type google.container.v1beta1.K8sBetaAPIConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllEnabledApis(Iterable<String> values)

public K8sBetaAPIConfig.Builder addAllEnabledApis(Iterable<String> values)

api name, e.g. storage.k8s.io/v1beta1/csistoragecapacities.

repeated string enabled_apis = 1;

Parameter
NameDescription
valuesIterable<String>

The enabledApis to add.

Returns
TypeDescription
K8sBetaAPIConfig.Builder

This builder for chaining.

addEnabledApis(String value)

public K8sBetaAPIConfig.Builder addEnabledApis(String value)

api name, e.g. storage.k8s.io/v1beta1/csistoragecapacities.

repeated string enabled_apis = 1;

Parameter
NameDescription
valueString

The enabledApis to add.

Returns
TypeDescription
K8sBetaAPIConfig.Builder

This builder for chaining.

addEnabledApisBytes(ByteString value)

public K8sBetaAPIConfig.Builder addEnabledApisBytes(ByteString value)

api name, e.g. storage.k8s.io/v1beta1/csistoragecapacities.

repeated string enabled_apis = 1;

Parameter
NameDescription
valueByteString

The bytes of the enabledApis to add.

Returns
TypeDescription
K8sBetaAPIConfig.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public K8sBetaAPIConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
K8sBetaAPIConfig.Builder
Overrides

build()

public K8sBetaAPIConfig build()
Returns
TypeDescription
K8sBetaAPIConfig

buildPartial()

public K8sBetaAPIConfig buildPartial()
Returns
TypeDescription
K8sBetaAPIConfig

clear()

public K8sBetaAPIConfig.Builder clear()
Returns
TypeDescription
K8sBetaAPIConfig.Builder
Overrides

clearEnabledApis()

public K8sBetaAPIConfig.Builder clearEnabledApis()

api name, e.g. storage.k8s.io/v1beta1/csistoragecapacities.

repeated string enabled_apis = 1;

Returns
TypeDescription
K8sBetaAPIConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public K8sBetaAPIConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
K8sBetaAPIConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public K8sBetaAPIConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
K8sBetaAPIConfig.Builder
Overrides

clone()

public K8sBetaAPIConfig.Builder clone()
Returns
TypeDescription
K8sBetaAPIConfig.Builder
Overrides

getDefaultInstanceForType()

public K8sBetaAPIConfig getDefaultInstanceForType()
Returns
TypeDescription
K8sBetaAPIConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEnabledApis(int index)

public String getEnabledApis(int index)

api name, e.g. storage.k8s.io/v1beta1/csistoragecapacities.

repeated string enabled_apis = 1;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The enabledApis at the given index.

getEnabledApisBytes(int index)

public ByteString getEnabledApisBytes(int index)

api name, e.g. storage.k8s.io/v1beta1/csistoragecapacities.

repeated string enabled_apis = 1;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the enabledApis at the given index.

getEnabledApisCount()

public int getEnabledApisCount()

api name, e.g. storage.k8s.io/v1beta1/csistoragecapacities.

repeated string enabled_apis = 1;

Returns
TypeDescription
int

The count of enabledApis.

getEnabledApisList()

public ProtocolStringList getEnabledApisList()

api name, e.g. storage.k8s.io/v1beta1/csistoragecapacities.

repeated string enabled_apis = 1;

Returns
TypeDescription
ProtocolStringList

A list containing the enabledApis.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(K8sBetaAPIConfig other)

public K8sBetaAPIConfig.Builder mergeFrom(K8sBetaAPIConfig other)
Parameter
NameDescription
otherK8sBetaAPIConfig
Returns
TypeDescription
K8sBetaAPIConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public K8sBetaAPIConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
K8sBetaAPIConfig.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public K8sBetaAPIConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
K8sBetaAPIConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final K8sBetaAPIConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
K8sBetaAPIConfig.Builder
Overrides

setEnabledApis(int index, String value)

public K8sBetaAPIConfig.Builder setEnabledApis(int index, String value)

api name, e.g. storage.k8s.io/v1beta1/csistoragecapacities.

repeated string enabled_apis = 1;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The enabledApis to set.

Returns
TypeDescription
K8sBetaAPIConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public K8sBetaAPIConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
K8sBetaAPIConfig.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public K8sBetaAPIConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
K8sBetaAPIConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final K8sBetaAPIConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
K8sBetaAPIConfig.Builder
Overrides