Class AwsServerConfig.Builder (0.40.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
TypeDescription
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
NameDescription
valuesIterable<String>

The supportedAwsRegions to add.

Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfo>
Returns
TypeDescription
AwsServerConfig.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AwsServerConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The supportedAwsRegions to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the supportedAwsRegions to add.

Returns
TypeDescription
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
NameDescription
valueAwsK8sVersionInfo
Returns
TypeDescription
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
NameDescription
builderForValueAwsK8sVersionInfo.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueAwsK8sVersionInfo
Returns
TypeDescription
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
NameDescription
indexint
builderForValueAwsK8sVersionInfo.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
AwsK8sVersionInfo.Builder

build()

public AwsServerConfig build()
Returns
TypeDescription
AwsServerConfig

buildPartial()

public AwsServerConfig buildPartial()
Returns
TypeDescription
AwsServerConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public AwsServerConfig.Builder clearName()

The resource name of the config.

string name = 1;

Returns
TypeDescription
AwsServerConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSupportedAwsRegions()

public AwsServerConfig.Builder clearSupportedAwsRegions()

The list of supported AWS regions.

repeated string supported_aws_regions = 3;

Returns
TypeDescription
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
TypeDescription
AwsServerConfig.Builder

clone()

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

getDefaultInstanceForType()

public AwsServerConfig getDefaultInstanceForType()
Returns
TypeDescription
AwsServerConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

The resource name of the config.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

The resource name of the config.

string name = 1;

Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
int

The count of supportedAwsRegions.

getSupportedAwsRegionsList()

public ProtocolStringList getSupportedAwsRegionsList()

The list of supported AWS regions.

repeated string supported_aws_regions = 3;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfoOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AwsServerConfig other)

public AwsServerConfig.Builder mergeFrom(AwsServerConfig other)
Parameter
NameDescription
otherAwsServerConfig
Returns
TypeDescription
AwsServerConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AwsServerConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
AwsServerConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public AwsServerConfig.Builder setName(String value)

The resource name of the config.

string name = 1;

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The supportedAwsRegions to set.

Returns
TypeDescription
AwsServerConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final AwsServerConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
valueAwsK8sVersionInfo
Returns
TypeDescription
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
NameDescription
indexint
builderForValueAwsK8sVersionInfo.Builder
Returns
TypeDescription
AwsServerConfig.Builder