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

The supportedAzureRegions to add.

Returns
TypeDescription
AzureServerConfig.Builder

This builder for chaining.

addAllValidVersions(Iterable<? extends AzureK8sVersionInfo> values)

public AzureServerConfig.Builder addAllValidVersions(Iterable<? extends AzureK8sVersionInfo> values)

List of valid Kubernetes versions.

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

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfo>
Returns
TypeDescription
AzureServerConfig.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

The supportedAzureRegions to add.

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

The bytes of the supportedAzureRegions to add.

Returns
TypeDescription
AzureServerConfig.Builder

This builder for chaining.

addValidVersions(AzureK8sVersionInfo value)

public AzureServerConfig.Builder addValidVersions(AzureK8sVersionInfo value)

List of valid Kubernetes versions.

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

Parameter
NameDescription
valueAzureK8sVersionInfo
Returns
TypeDescription
AzureServerConfig.Builder

addValidVersions(AzureK8sVersionInfo.Builder builderForValue)

public AzureServerConfig.Builder addValidVersions(AzureK8sVersionInfo.Builder builderForValue)

List of valid Kubernetes versions.

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

Parameter
NameDescription
builderForValueAzureK8sVersionInfo.Builder
Returns
TypeDescription
AzureServerConfig.Builder

addValidVersions(int index, AzureK8sVersionInfo value)

public AzureServerConfig.Builder addValidVersions(int index, AzureK8sVersionInfo value)

List of valid Kubernetes versions.

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

Parameters
NameDescription
indexint
valueAzureK8sVersionInfo
Returns
TypeDescription
AzureServerConfig.Builder

addValidVersions(int index, AzureK8sVersionInfo.Builder builderForValue)

public AzureServerConfig.Builder addValidVersions(int index, AzureK8sVersionInfo.Builder builderForValue)

List of valid Kubernetes versions.

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

Parameters
NameDescription
indexint
builderForValueAzureK8sVersionInfo.Builder
Returns
TypeDescription
AzureServerConfig.Builder

addValidVersionsBuilder()

public AzureK8sVersionInfo.Builder addValidVersionsBuilder()

List of valid Kubernetes versions.

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

Returns
TypeDescription
AzureK8sVersionInfo.Builder

addValidVersionsBuilder(int index)

public AzureK8sVersionInfo.Builder addValidVersionsBuilder(int index)

List of valid Kubernetes versions.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
AzureK8sVersionInfo.Builder

build()

public AzureServerConfig build()
Returns
TypeDescription
AzureServerConfig

buildPartial()

public AzureServerConfig buildPartial()
Returns
TypeDescription
AzureServerConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

public AzureServerConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
AzureServerConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSupportedAzureRegions()

public AzureServerConfig.Builder clearSupportedAzureRegions()

The list of supported Azure regions.

repeated string supported_azure_regions = 3;

Returns
TypeDescription
AzureServerConfig.Builder

This builder for chaining.

clearValidVersions()

public AzureServerConfig.Builder clearValidVersions()

List of valid Kubernetes versions.

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

Returns
TypeDescription
AzureServerConfig.Builder

clone()

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

getDefaultInstanceForType()

public AzureServerConfig getDefaultInstanceForType()
Returns
TypeDescription
AzureServerConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the element to return.

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

The index of the value to return.

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

The count of supportedAzureRegions.

getSupportedAzureRegionsList()

public ProtocolStringList getSupportedAzureRegionsList()

The list of supported Azure regions.

repeated string supported_azure_regions = 3;

Returns
TypeDescription
ProtocolStringList

A list containing the supportedAzureRegions.

getValidVersions(int index)

public AzureK8sVersionInfo getValidVersions(int index)

List of valid Kubernetes versions.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
AzureK8sVersionInfo

getValidVersionsBuilder(int index)

public AzureK8sVersionInfo.Builder getValidVersionsBuilder(int index)

List of valid Kubernetes versions.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
AzureK8sVersionInfo.Builder

getValidVersionsBuilderList()

public List<AzureK8sVersionInfo.Builder> getValidVersionsBuilderList()

List of valid Kubernetes versions.

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

Returns
TypeDescription
List<Builder>

getValidVersionsCount()

public int getValidVersionsCount()

List of valid Kubernetes versions.

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

Returns
TypeDescription
int

getValidVersionsList()

public List<AzureK8sVersionInfo> getValidVersionsList()

List of valid Kubernetes versions.

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

Returns
TypeDescription
List<AzureK8sVersionInfo>

getValidVersionsOrBuilder(int index)

public AzureK8sVersionInfoOrBuilder getValidVersionsOrBuilder(int index)

List of valid Kubernetes versions.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
AzureK8sVersionInfoOrBuilder

getValidVersionsOrBuilderList()

public List<? extends AzureK8sVersionInfoOrBuilder> getValidVersionsOrBuilderList()

List of valid Kubernetes versions.

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AzureServerConfig other)

public AzureServerConfig.Builder mergeFrom(AzureServerConfig other)
Parameter
NameDescription
otherAzureServerConfig
Returns
TypeDescription
AzureServerConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeValidVersions(int index)

public AzureServerConfig.Builder removeValidVersions(int index)

List of valid Kubernetes versions.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
AzureServerConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

The name to set.

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

The bytes for name to set.

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

The index to set the value at.

valueString

The supportedAzureRegions to set.

Returns
TypeDescription
AzureServerConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setValidVersions(int index, AzureK8sVersionInfo value)

public AzureServerConfig.Builder setValidVersions(int index, AzureK8sVersionInfo value)

List of valid Kubernetes versions.

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

Parameters
NameDescription
indexint
valueAzureK8sVersionInfo
Returns
TypeDescription
AzureServerConfig.Builder

setValidVersions(int index, AzureK8sVersionInfo.Builder builderForValue)

public AzureServerConfig.Builder setValidVersions(int index, AzureK8sVersionInfo.Builder builderForValue)

List of valid Kubernetes versions.

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

Parameters
NameDescription
indexint
builderForValueAzureK8sVersionInfo.Builder
Returns
TypeDescription
AzureServerConfig.Builder