Class AwsServerConfig (0.21.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
TypeDescription
int

SUPPORTED_AWS_REGIONS_FIELD_NUMBER

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

getDescriptor()

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

newBuilder()

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

newBuilder(AwsServerConfig prototype)

public static AwsServerConfig.Builder newBuilder(AwsServerConfig prototype)
Parameter
NameDescription
prototypeAwsServerConfig
Returns
TypeDescription
AwsServerConfig.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public AwsServerConfig getDefaultInstanceForType()
Returns
TypeDescription
AwsServerConfig

getName()

public String getName()

The resource name of the config.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

The resource name of the config.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSupportedAwsRegions(int index)

public String getSupportedAwsRegions(int index)

The list of supported AWS regions.

repeated string supported_aws_regions = 3;

Parameter
NameDescription
indexint

The index of the element to return.

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

The index of the value to return.

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

The count of supportedAwsRegions.

getSupportedAwsRegionsList()

public ProtocolStringList getSupportedAwsRegionsList()

The list of supported AWS regions.

repeated string supported_aws_regions = 3;

Returns
TypeDescription
ProtocolStringList

A list containing the supportedAwsRegions.

getValidVersions(int index)

public AwsK8sVersionInfo getValidVersions(int index)

List of valid Kubernetes versions.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
AwsK8sVersionInfo

getValidVersionsCount()

public int getValidVersionsCount()

List of valid Kubernetes versions.

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

Returns
TypeDescription
int

getValidVersionsList()

public List<AwsK8sVersionInfo> getValidVersionsList()

List of valid Kubernetes versions.

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

Returns
TypeDescription
List<AwsK8sVersionInfo>

getValidVersionsOrBuilder(int index)

public AwsK8sVersionInfoOrBuilder getValidVersionsOrBuilder(int index)

List of valid Kubernetes versions.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
AwsK8sVersionInfoOrBuilder

getValidVersionsOrBuilderList()

public List<? extends AwsK8sVersionInfoOrBuilder> getValidVersionsOrBuilderList()

List of valid Kubernetes versions.

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

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

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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