Class AwsServerConfig (0.52.0)

public final class AwsServerConfig extends GeneratedMessageV3 implements AwsServerConfigOrBuilder

AwsServerConfig is the configuration of GKE cluster on AWS.

Protobuf type google.cloud.gkemulticloud.v1.AwsServerConfig

Static Fields

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

SUPPORTED_AWS_REGIONS_FIELD_NUMBER

public static final int SUPPORTED_AWS_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 AwsServerConfig getDefaultInstance()
Returns
Type Description
AwsServerConfig

getDescriptor()

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

newBuilder()

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

newBuilder(AwsServerConfig prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public AwsServerConfig getDefaultInstanceForType()
Returns
Type Description
AwsServerConfig

getName()

public String getName()

The resource name of the config.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The resource name of the config.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSupportedAwsRegions(int index)

public String getSupportedAwsRegions(int index)

The list of supported AWS regions.

repeated string supported_aws_regions = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
int

The count of supportedAwsRegions.

getSupportedAwsRegionsList()

public ProtocolStringList getSupportedAwsRegionsList()

The list of supported AWS regions.

repeated string supported_aws_regions = 3;

Returns
Type Description
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
Name Description
index int
Returns
Type Description
AwsK8sVersionInfo

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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
List<? extends com.google.cloud.gkemulticloud.v1.AwsK8sVersionInfoOrBuilder>

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 AwsServerConfig.Builder newBuilderForType()
Returns
Type Description
AwsServerConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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