Class AzureServerConfig (0.12.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
TypeDescription
int

SUPPORTED_AZURE_REGIONS_FIELD_NUMBER

public static final int SUPPORTED_AZURE_REGIONS_FIELD_NUMBER
Field Value
TypeDescription
int

VALID_VERSIONS_FIELD_NUMBER

public static final int VALID_VERSIONS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AzureServerConfig getDefaultInstance()
Returns
TypeDescription
AzureServerConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static AzureServerConfig.Builder newBuilder()
Returns
TypeDescription
AzureServerConfig.Builder

newBuilder(AzureServerConfig prototype)

public static AzureServerConfig.Builder newBuilder(AzureServerConfig prototype)
Parameter
NameDescription
prototypeAzureServerConfig
Returns
TypeDescription
AzureServerConfig.Builder

parseDelimitedFrom(InputStream input)

public static AzureServerConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AzureServerConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AzureServerConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AzureServerConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AzureServerConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AzureServerConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AzureServerConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AzureServerConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AzureServerConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AzureServerConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AzureServerConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AzureServerConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AzureServerConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AzureServerConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AzureServerConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AzureServerConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static AzureServerConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AzureServerConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AzureServerConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AzureServerConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AzureServerConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AzureServerConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AzureServerConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AzureServerConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<AzureServerConfig> parser()
Returns
TypeDescription
Parser<AzureServerConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public AzureServerConfig getDefaultInstanceForType()
Returns
TypeDescription
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
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.

getParserForType()

public Parser<AzureServerConfig> getParserForType()
Returns
TypeDescription
Parser<AzureServerConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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

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>

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public AzureServerConfig.Builder newBuilderForType()
Returns
TypeDescription
AzureServerConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AzureServerConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AzureServerConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public AzureServerConfig.Builder toBuilder()
Returns
TypeDescription
AzureServerConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException