Class K8sBetaAPIConfig.Builder (2.45.0)

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

K8sBetaAPIConfig , configuration for beta APIs

Protobuf type google.container.v1.K8sBetaAPIConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllEnabledApis(Iterable<String> values)

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

Enabled k8s beta APIs.

repeated string enabled_apis = 1;

Parameter
Name Description
values Iterable<String>

The enabledApis to add.

Returns
Type Description
K8sBetaAPIConfig.Builder

This builder for chaining.

addEnabledApis(String value)

public K8sBetaAPIConfig.Builder addEnabledApis(String value)

Enabled k8s beta APIs.

repeated string enabled_apis = 1;

Parameter
Name Description
value String

The enabledApis to add.

Returns
Type Description
K8sBetaAPIConfig.Builder

This builder for chaining.

addEnabledApisBytes(ByteString value)

public K8sBetaAPIConfig.Builder addEnabledApisBytes(ByteString value)

Enabled k8s beta APIs.

repeated string enabled_apis = 1;

Parameter
Name Description
value ByteString

The bytes of the enabledApis to add.

Returns
Type Description
K8sBetaAPIConfig.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public K8sBetaAPIConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
K8sBetaAPIConfig.Builder
Overrides

build()

public K8sBetaAPIConfig build()
Returns
Type Description
K8sBetaAPIConfig

buildPartial()

public K8sBetaAPIConfig buildPartial()
Returns
Type Description
K8sBetaAPIConfig

clear()

public K8sBetaAPIConfig.Builder clear()
Returns
Type Description
K8sBetaAPIConfig.Builder
Overrides

clearEnabledApis()

public K8sBetaAPIConfig.Builder clearEnabledApis()

Enabled k8s beta APIs.

repeated string enabled_apis = 1;

Returns
Type Description
K8sBetaAPIConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public K8sBetaAPIConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
K8sBetaAPIConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public K8sBetaAPIConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
K8sBetaAPIConfig.Builder
Overrides

clone()

public K8sBetaAPIConfig.Builder clone()
Returns
Type Description
K8sBetaAPIConfig.Builder
Overrides

getDefaultInstanceForType()

public K8sBetaAPIConfig getDefaultInstanceForType()
Returns
Type Description
K8sBetaAPIConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEnabledApis(int index)

public String getEnabledApis(int index)

Enabled k8s beta APIs.

repeated string enabled_apis = 1;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The enabledApis at the given index.

getEnabledApisBytes(int index)

public ByteString getEnabledApisBytes(int index)

Enabled k8s beta APIs.

repeated string enabled_apis = 1;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the enabledApis at the given index.

getEnabledApisCount()

public int getEnabledApisCount()

Enabled k8s beta APIs.

repeated string enabled_apis = 1;

Returns
Type Description
int

The count of enabledApis.

getEnabledApisList()

public ProtocolStringList getEnabledApisList()

Enabled k8s beta APIs.

repeated string enabled_apis = 1;

Returns
Type Description
ProtocolStringList

A list containing the enabledApis.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(K8sBetaAPIConfig other)

public K8sBetaAPIConfig.Builder mergeFrom(K8sBetaAPIConfig other)
Parameter
Name Description
other K8sBetaAPIConfig
Returns
Type Description
K8sBetaAPIConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public K8sBetaAPIConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
K8sBetaAPIConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public K8sBetaAPIConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
K8sBetaAPIConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final K8sBetaAPIConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
K8sBetaAPIConfig.Builder
Overrides

setEnabledApis(int index, String value)

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

Enabled k8s beta APIs.

repeated string enabled_apis = 1;

Parameters
Name Description
index int

The index to set the value at.

value String

The enabledApis to set.

Returns
Type Description
K8sBetaAPIConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public K8sBetaAPIConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
K8sBetaAPIConfig.Builder
Overrides

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

public K8sBetaAPIConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
K8sBetaAPIConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final K8sBetaAPIConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
K8sBetaAPIConfig.Builder
Overrides