Class AzureServerConfig (0.42.0)

public final class AzureServerConfig extends GeneratedMessageV3 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 Fields

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

SUPPORTED_AZURE_REGIONS_FIELD_NUMBER

public static final int SUPPORTED_AZURE_REGIONS_FIELD_NUMBER
Field Value
Type Description
int

VALID_VERSIONS_FIELD_NUMBER

public static final int VALID_VERSIONS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AzureServerConfig getDefaultInstance()
Returns
Type Description
AzureServerConfig

getDescriptor()

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

newBuilder()

public static AzureServerConfig.Builder newBuilder()
Returns
Type Description
AzureServerConfig.Builder

newBuilder(AzureServerConfig prototype)

public static AzureServerConfig.Builder newBuilder(AzureServerConfig prototype)
Parameter
Name Description
prototype AzureServerConfig
Returns
Type Description
AzureServerConfig.Builder

parseDelimitedFrom(InputStream input)

public static AzureServerConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AzureServerConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AzureServerConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AzureServerConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AzureServerConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AzureServerConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AzureServerConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AzureServerConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AzureServerConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AzureServerConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AzureServerConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AzureServerConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AzureServerConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AzureServerConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AzureServerConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AzureServerConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AzureServerConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AzureServerConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AzureServerConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AzureServerConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AzureServerConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AzureServerConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AzureServerConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AzureServerConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AzureServerConfig> parser()
Returns
Type Description
Parser<AzureServerConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public AzureServerConfig getDefaultInstanceForType()
Returns
Type Description
AzureServerConfig

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.

getParserForType()

public Parser<AzureServerConfig> getParserForType()
Returns
Type Description
Parser<AzureServerConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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

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>

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AzureServerConfig.Builder newBuilderForType()
Returns
Type Description
AzureServerConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AzureServerConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AzureServerConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public AzureServerConfig.Builder toBuilder()
Returns
Type Description
AzureServerConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException