Class AzureServerConfig.Builder (0.44.0)

public static final class AzureServerConfig.Builder extends GeneratedMessageV3.Builder<AzureServerConfig.Builder> implements AzureServerConfigOrBuilder

AzureServerConfig contains information about a Google Cloud location, such as supported Azure regions and Kubernetes versions.

Protobuf type google.cloud.gkemulticloud.v1.AzureServerConfig

Static Methods

getDescriptor()

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

Methods

addAllSupportedAzureRegions(Iterable<String> values)

public AzureServerConfig.Builder addAllSupportedAzureRegions(Iterable<String> values)

The list of supported Azure regions.

repeated string supported_azure_regions = 3;

Parameter
Name Description
values Iterable<String>

The supportedAzureRegions to add.

Returns
Type Description
AzureServerConfig.Builder

This builder for chaining.

addAllValidVersions(Iterable<? extends AzureK8sVersionInfo> values)

public AzureServerConfig.Builder addAllValidVersions(Iterable<? extends AzureK8sVersionInfo> 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.AzureK8sVersionInfo valid_versions = 2;

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addSupportedAzureRegions(String value)

public AzureServerConfig.Builder addSupportedAzureRegions(String value)

The list of supported Azure regions.

repeated string supported_azure_regions = 3;

Parameter
Name Description
value String

The supportedAzureRegions to add.

Returns
Type Description
AzureServerConfig.Builder

This builder for chaining.

addSupportedAzureRegionsBytes(ByteString value)

public AzureServerConfig.Builder addSupportedAzureRegionsBytes(ByteString value)

The list of supported Azure regions.

repeated string supported_azure_regions = 3;

Parameter
Name Description
value ByteString

The bytes of the supportedAzureRegions to add.

Returns
Type Description
AzureServerConfig.Builder

This builder for chaining.

addValidVersions(AzureK8sVersionInfo value)

public AzureServerConfig.Builder addValidVersions(AzureK8sVersionInfo 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.AzureK8sVersionInfo valid_versions = 2;

Parameter
Name Description
value AzureK8sVersionInfo
Returns
Type Description
AzureServerConfig.Builder

addValidVersions(AzureK8sVersionInfo.Builder builderForValue)

public AzureServerConfig.Builder addValidVersions(AzureK8sVersionInfo.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.AzureK8sVersionInfo valid_versions = 2;

Parameter
Name Description
builderForValue AzureK8sVersionInfo.Builder
Returns
Type Description
AzureServerConfig.Builder

addValidVersions(int index, AzureK8sVersionInfo value)

public AzureServerConfig.Builder addValidVersions(int index, AzureK8sVersionInfo 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.AzureK8sVersionInfo valid_versions = 2;

Parameters
Name Description
index int
value AzureK8sVersionInfo
Returns
Type Description
AzureServerConfig.Builder

addValidVersions(int index, AzureK8sVersionInfo.Builder builderForValue)

public AzureServerConfig.Builder addValidVersions(int index, AzureK8sVersionInfo.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.AzureK8sVersionInfo valid_versions = 2;

Parameters
Name Description
index int
builderForValue AzureK8sVersionInfo.Builder
Returns
Type Description
AzureServerConfig.Builder

addValidVersionsBuilder()

public AzureK8sVersionInfo.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.AzureK8sVersionInfo valid_versions = 2;

Returns
Type Description
AzureK8sVersionInfo.Builder

addValidVersionsBuilder(int index)

public AzureK8sVersionInfo.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.AzureK8sVersionInfo valid_versions = 2;

Parameter
Name Description
index int
Returns
Type Description
AzureK8sVersionInfo.Builder

build()

public AzureServerConfig build()
Returns
Type Description
AzureServerConfig

buildPartial()

public AzureServerConfig buildPartial()
Returns
Type Description
AzureServerConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public AzureServerConfig.Builder clearName()

The AzureServerConfig resource name.

AzureServerConfig names are formatted as projects/<project-number>/locations/<region>/azureServerConfig.

See Resource Names for more details on Google Cloud Platform resource names.

string name = 1;

Returns
Type Description
AzureServerConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSupportedAzureRegions()

public AzureServerConfig.Builder clearSupportedAzureRegions()

The list of supported Azure regions.

repeated string supported_azure_regions = 3;

Returns
Type Description
AzureServerConfig.Builder

This builder for chaining.

clearValidVersions()

public AzureServerConfig.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.AzureK8sVersionInfo valid_versions = 2;

Returns
Type Description
AzureServerConfig.Builder

clone()

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

getDefaultInstanceForType()

public AzureServerConfig getDefaultInstanceForType()
Returns
Type Description
AzureServerConfig

getDescriptorForType()

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

getName()

public String getName()

The AzureServerConfig resource name.

AzureServerConfig names are formatted as projects/<project-number>/locations/<region>/azureServerConfig.

See Resource Names for more details on Google Cloud Platform resource names.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The AzureServerConfig resource name.

AzureServerConfig names are formatted as projects/<project-number>/locations/<region>/azureServerConfig.

See Resource Names for more details on Google Cloud Platform resource names.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getSupportedAzureRegions(int index)

public String getSupportedAzureRegions(int index)

The list of supported Azure regions.

repeated string supported_azure_regions = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The supportedAzureRegions at the given index.

getSupportedAzureRegionsBytes(int index)

public ByteString getSupportedAzureRegionsBytes(int index)

The list of supported Azure regions.

repeated string supported_azure_regions = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the supportedAzureRegions at the given index.

getSupportedAzureRegionsCount()

public int getSupportedAzureRegionsCount()

The list of supported Azure regions.

repeated string supported_azure_regions = 3;

Returns
Type Description
int

The count of supportedAzureRegions.

getSupportedAzureRegionsList()

public ProtocolStringList getSupportedAzureRegionsList()

The list of supported Azure regions.

repeated string supported_azure_regions = 3;

Returns
Type Description
ProtocolStringList

A list containing the supportedAzureRegions.

getValidVersions(int index)

public AzureK8sVersionInfo 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.AzureK8sVersionInfo valid_versions = 2;

Parameter
Name Description
index int
Returns
Type Description
AzureK8sVersionInfo

getValidVersionsBuilder(int index)

public AzureK8sVersionInfo.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.AzureK8sVersionInfo valid_versions = 2;

Parameter
Name Description
index int
Returns
Type Description
AzureK8sVersionInfo.Builder

getValidVersionsBuilderList()

public List<AzureK8sVersionInfo.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.AzureK8sVersionInfo 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.AzureK8sVersionInfo valid_versions = 2;

Returns
Type Description
int

getValidVersionsList()

public List<AzureK8sVersionInfo> 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.AzureK8sVersionInfo valid_versions = 2;

Returns
Type Description
List<AzureK8sVersionInfo>

getValidVersionsOrBuilder(int index)

public AzureK8sVersionInfoOrBuilder 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.AzureK8sVersionInfo valid_versions = 2;

Parameter
Name Description
index int
Returns
Type Description
AzureK8sVersionInfoOrBuilder

getValidVersionsOrBuilderList()

public List<? extends AzureK8sVersionInfoOrBuilder> 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.AzureK8sVersionInfo valid_versions = 2;

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AzureServerConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeValidVersions(int index)

public AzureServerConfig.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.AzureK8sVersionInfo valid_versions = 2;

Parameter
Name Description
index int
Returns
Type Description
AzureServerConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public AzureServerConfig.Builder setName(String value)

The AzureServerConfig resource name.

AzureServerConfig names are formatted as projects/<project-number>/locations/<region>/azureServerConfig.

See Resource Names for more details on Google Cloud Platform resource names.

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
AzureServerConfig.Builder

This builder for chaining.

setNameBytes(ByteString value)

public AzureServerConfig.Builder setNameBytes(ByteString value)

The AzureServerConfig resource name.

AzureServerConfig names are formatted as projects/<project-number>/locations/<region>/azureServerConfig.

See Resource Names for more details on Google Cloud Platform resource names.

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
AzureServerConfig.Builder

This builder for chaining.

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

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

setSupportedAzureRegions(int index, String value)

public AzureServerConfig.Builder setSupportedAzureRegions(int index, String value)

The list of supported Azure regions.

repeated string supported_azure_regions = 3;

Parameters
Name Description
index int

The index to set the value at.

value String

The supportedAzureRegions to set.

Returns
Type Description
AzureServerConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setValidVersions(int index, AzureK8sVersionInfo value)

public AzureServerConfig.Builder setValidVersions(int index, AzureK8sVersionInfo 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.AzureK8sVersionInfo valid_versions = 2;

Parameters
Name Description
index int
value AzureK8sVersionInfo
Returns
Type Description
AzureServerConfig.Builder

setValidVersions(int index, AzureK8sVersionInfo.Builder builderForValue)

public AzureServerConfig.Builder setValidVersions(int index, AzureK8sVersionInfo.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.AzureK8sVersionInfo valid_versions = 2;

Parameters
Name Description
index int
builderForValue AzureK8sVersionInfo.Builder
Returns
Type Description
AzureServerConfig.Builder