Class AwsServerConfig.Builder (0.47.0)

public static final class AwsServerConfig.Builder extends GeneratedMessageV3.Builder<AwsServerConfig.Builder> implements AwsServerConfigOrBuilder

AwsServerConfig is the configuration of GKE cluster on AWS.

Protobuf type google.cloud.gkemulticloud.v1.AwsServerConfig

Static Methods

getDescriptor()

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

Methods

addAllSupportedAwsRegions(Iterable<String> values)

public AwsServerConfig.Builder addAllSupportedAwsRegions(Iterable<String> values)

The list of supported AWS regions.

repeated string supported_aws_regions = 3;

Parameter
Name Description
values Iterable<String>

The supportedAwsRegions to add.

Returns
Type Description
AwsServerConfig.Builder

This builder for chaining.

addAllValidVersions(Iterable<? extends AwsK8sVersionInfo> values)

public AwsServerConfig.Builder addAllValidVersions(Iterable<? extends AwsK8sVersionInfo> values)

List of all released Kubernetes versions, including ones which are end of life and can no longer be used. Filter by the enabled property to limit to currently available versions. Valid versions supported for both create and update operations

repeated .google.cloud.gkemulticloud.v1.AwsK8sVersionInfo valid_versions = 2;

Parameter
Name Description
values Iterable<? extends com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo>
Returns
Type Description
AwsServerConfig.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addSupportedAwsRegions(String value)

public AwsServerConfig.Builder addSupportedAwsRegions(String value)

The list of supported AWS regions.

repeated string supported_aws_regions = 3;

Parameter
Name Description
value String

The supportedAwsRegions to add.

Returns
Type Description
AwsServerConfig.Builder

This builder for chaining.

addSupportedAwsRegionsBytes(ByteString value)

public AwsServerConfig.Builder addSupportedAwsRegionsBytes(ByteString value)

The list of supported AWS regions.

repeated string supported_aws_regions = 3;

Parameter
Name Description
value ByteString

The bytes of the supportedAwsRegions to add.

Returns
Type Description
AwsServerConfig.Builder

This builder for chaining.

addValidVersions(AwsK8sVersionInfo value)

public AwsServerConfig.Builder addValidVersions(AwsK8sVersionInfo value)

List of all released Kubernetes versions, including ones which are end of life and can no longer be used. Filter by the enabled property to limit to currently available versions. Valid versions supported for both create and update operations

repeated .google.cloud.gkemulticloud.v1.AwsK8sVersionInfo valid_versions = 2;

Parameter
Name Description
value AwsK8sVersionInfo
Returns
Type Description
AwsServerConfig.Builder

addValidVersions(AwsK8sVersionInfo.Builder builderForValue)

public AwsServerConfig.Builder addValidVersions(AwsK8sVersionInfo.Builder builderForValue)

List of all released Kubernetes versions, including ones which are end of life and can no longer be used. Filter by the enabled property to limit to currently available versions. Valid versions supported for both create and update operations

repeated .google.cloud.gkemulticloud.v1.AwsK8sVersionInfo valid_versions = 2;

Parameter
Name Description
builderForValue AwsK8sVersionInfo.Builder
Returns
Type Description
AwsServerConfig.Builder

addValidVersions(int index, AwsK8sVersionInfo value)

public AwsServerConfig.Builder addValidVersions(int index, AwsK8sVersionInfo value)

List of all released Kubernetes versions, including ones which are end of life and can no longer be used. Filter by the enabled property to limit to currently available versions. Valid versions supported for both create and update operations

repeated .google.cloud.gkemulticloud.v1.AwsK8sVersionInfo valid_versions = 2;

Parameters
Name Description
index int
value AwsK8sVersionInfo
Returns
Type Description
AwsServerConfig.Builder

addValidVersions(int index, AwsK8sVersionInfo.Builder builderForValue)

public AwsServerConfig.Builder addValidVersions(int index, AwsK8sVersionInfo.Builder builderForValue)

List of all released Kubernetes versions, including ones which are end of life and can no longer be used. Filter by the enabled property to limit to currently available versions. Valid versions supported for both create and update operations

repeated .google.cloud.gkemulticloud.v1.AwsK8sVersionInfo valid_versions = 2;

Parameters
Name Description
index int
builderForValue AwsK8sVersionInfo.Builder
Returns
Type Description
AwsServerConfig.Builder

addValidVersionsBuilder()

public AwsK8sVersionInfo.Builder addValidVersionsBuilder()

List of all released Kubernetes versions, including ones which are end of life and can no longer be used. Filter by the enabled property to limit to currently available versions. Valid versions supported for both create and update operations

repeated .google.cloud.gkemulticloud.v1.AwsK8sVersionInfo valid_versions = 2;

Returns
Type Description
AwsK8sVersionInfo.Builder

addValidVersionsBuilder(int index)

public AwsK8sVersionInfo.Builder addValidVersionsBuilder(int index)

List of all released Kubernetes versions, including ones which are end of life and can no longer be used. Filter by the enabled property to limit to currently available versions. Valid versions supported for both create and update operations

repeated .google.cloud.gkemulticloud.v1.AwsK8sVersionInfo valid_versions = 2;

Parameter
Name Description
index int
Returns
Type Description
AwsK8sVersionInfo.Builder

build()

public AwsServerConfig build()
Returns
Type Description
AwsServerConfig

buildPartial()

public AwsServerConfig buildPartial()
Returns
Type Description
AwsServerConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public AwsServerConfig.Builder clearName()

The resource name of the config.

string name = 1;

Returns
Type Description
AwsServerConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSupportedAwsRegions()

public AwsServerConfig.Builder clearSupportedAwsRegions()

The list of supported AWS regions.

repeated string supported_aws_regions = 3;

Returns
Type Description
AwsServerConfig.Builder

This builder for chaining.

clearValidVersions()

public AwsServerConfig.Builder clearValidVersions()

List of all released Kubernetes versions, including ones which are end of life and can no longer be used. Filter by the enabled property to limit to currently available versions. Valid versions supported for both create and update operations

repeated .google.cloud.gkemulticloud.v1.AwsK8sVersionInfo valid_versions = 2;

Returns
Type Description
AwsServerConfig.Builder

clone()

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

getDefaultInstanceForType()

public AwsServerConfig getDefaultInstanceForType()
Returns
Type Description
AwsServerConfig

getDescriptorForType()

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

getName()

public String getName()

The resource name of the config.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The resource name of the config.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getSupportedAwsRegions(int index)

public String getSupportedAwsRegions(int index)

The list of supported AWS regions.

repeated string supported_aws_regions = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The supportedAwsRegions at the given index.

getSupportedAwsRegionsBytes(int index)

public ByteString getSupportedAwsRegionsBytes(int index)

The list of supported AWS regions.

repeated string supported_aws_regions = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the supportedAwsRegions at the given index.

getSupportedAwsRegionsCount()

public int getSupportedAwsRegionsCount()

The list of supported AWS regions.

repeated string supported_aws_regions = 3;

Returns
Type Description
int

The count of supportedAwsRegions.

getSupportedAwsRegionsList()

public ProtocolStringList getSupportedAwsRegionsList()

The list of supported AWS regions.

repeated string supported_aws_regions = 3;

Returns
Type Description
ProtocolStringList

A list containing the supportedAwsRegions.

getValidVersions(int index)

public AwsK8sVersionInfo getValidVersions(int index)

List of all released Kubernetes versions, including ones which are end of life and can no longer be used. Filter by the enabled property to limit to currently available versions. Valid versions supported for both create and update operations

repeated .google.cloud.gkemulticloud.v1.AwsK8sVersionInfo valid_versions = 2;

Parameter
Name Description
index int
Returns
Type Description
AwsK8sVersionInfo

getValidVersionsBuilder(int index)

public AwsK8sVersionInfo.Builder getValidVersionsBuilder(int index)

List of all released Kubernetes versions, including ones which are end of life and can no longer be used. Filter by the enabled property to limit to currently available versions. Valid versions supported for both create and update operations

repeated .google.cloud.gkemulticloud.v1.AwsK8sVersionInfo valid_versions = 2;

Parameter
Name Description
index int
Returns
Type Description
AwsK8sVersionInfo.Builder

getValidVersionsBuilderList()

public List<AwsK8sVersionInfo.Builder> getValidVersionsBuilderList()

List of all released Kubernetes versions, including ones which are end of life and can no longer be used. Filter by the enabled property to limit to currently available versions. Valid versions supported for both create and update operations

repeated .google.cloud.gkemulticloud.v1.AwsK8sVersionInfo valid_versions = 2;

Returns
Type Description
List<Builder>

getValidVersionsCount()

public int getValidVersionsCount()

List of all released Kubernetes versions, including ones which are end of life and can no longer be used. Filter by the enabled property to limit to currently available versions. Valid versions supported for both create and update operations

repeated .google.cloud.gkemulticloud.v1.AwsK8sVersionInfo valid_versions = 2;

Returns
Type Description
int

getValidVersionsList()

public List<AwsK8sVersionInfo> getValidVersionsList()

List of all released Kubernetes versions, including ones which are end of life and can no longer be used. Filter by the enabled property to limit to currently available versions. Valid versions supported for both create and update operations

repeated .google.cloud.gkemulticloud.v1.AwsK8sVersionInfo valid_versions = 2;

Returns
Type Description
List<AwsK8sVersionInfo>

getValidVersionsOrBuilder(int index)

public AwsK8sVersionInfoOrBuilder getValidVersionsOrBuilder(int index)

List of all released Kubernetes versions, including ones which are end of life and can no longer be used. Filter by the enabled property to limit to currently available versions. Valid versions supported for both create and update operations

repeated .google.cloud.gkemulticloud.v1.AwsK8sVersionInfo valid_versions = 2;

Parameter
Name Description
index int
Returns
Type Description
AwsK8sVersionInfoOrBuilder

getValidVersionsOrBuilderList()

public List<? extends AwsK8sVersionInfoOrBuilder> getValidVersionsOrBuilderList()

List of all released Kubernetes versions, including ones which are end of life and can no longer be used. Filter by the enabled property to limit to currently available versions. Valid versions supported for both create and update operations

repeated .google.cloud.gkemulticloud.v1.AwsK8sVersionInfo valid_versions = 2;

Returns
Type Description
List<? extends com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfoOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AwsServerConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeValidVersions(int index)

public AwsServerConfig.Builder removeValidVersions(int index)

List of all released Kubernetes versions, including ones which are end of life and can no longer be used. Filter by the enabled property to limit to currently available versions. Valid versions supported for both create and update operations

repeated .google.cloud.gkemulticloud.v1.AwsK8sVersionInfo valid_versions = 2;

Parameter
Name Description
index int
Returns
Type Description
AwsServerConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public AwsServerConfig.Builder setName(String value)

The resource name of the config.

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
AwsServerConfig.Builder

This builder for chaining.

setNameBytes(ByteString value)

public AwsServerConfig.Builder setNameBytes(ByteString value)

The resource name of the config.

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
AwsServerConfig.Builder

This builder for chaining.

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

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

setSupportedAwsRegions(int index, String value)

public AwsServerConfig.Builder setSupportedAwsRegions(int index, String value)

The list of supported AWS regions.

repeated string supported_aws_regions = 3;

Parameters
Name Description
index int

The index to set the value at.

value String

The supportedAwsRegions to set.

Returns
Type Description
AwsServerConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setValidVersions(int index, AwsK8sVersionInfo value)

public AwsServerConfig.Builder setValidVersions(int index, AwsK8sVersionInfo value)

List of all released Kubernetes versions, including ones which are end of life and can no longer be used. Filter by the enabled property to limit to currently available versions. Valid versions supported for both create and update operations

repeated .google.cloud.gkemulticloud.v1.AwsK8sVersionInfo valid_versions = 2;

Parameters
Name Description
index int
value AwsK8sVersionInfo
Returns
Type Description
AwsServerConfig.Builder

setValidVersions(int index, AwsK8sVersionInfo.Builder builderForValue)

public AwsServerConfig.Builder setValidVersions(int index, AwsK8sVersionInfo.Builder builderForValue)

List of all released Kubernetes versions, including ones which are end of life and can no longer be used. Filter by the enabled property to limit to currently available versions. Valid versions supported for both create and update operations

repeated .google.cloud.gkemulticloud.v1.AwsK8sVersionInfo valid_versions = 2;

Parameters
Name Description
index int
builderForValue AwsK8sVersionInfo.Builder
Returns
Type Description
AwsServerConfig.Builder