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
SUPPORTED_AZURE_REGIONS_FIELD_NUMBER
public static final int SUPPORTED_AZURE_REGIONS_FIELD_NUMBER
Field Value
VALID_VERSIONS_FIELD_NUMBER
public static final int VALID_VERSIONS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static AzureServerConfig getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static AzureServerConfig.Builder newBuilder()
Returns
newBuilder(AzureServerConfig prototype)
public static AzureServerConfig.Builder newBuilder(AzureServerConfig prototype)
Parameter
Returns
public static AzureServerConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static AzureServerConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static AzureServerConfig parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AzureServerConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static AzureServerConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AzureServerConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AzureServerConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static AzureServerConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AzureServerConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static AzureServerConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static AzureServerConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AzureServerConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<AzureServerConfig> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public AzureServerConfig getDefaultInstanceForType()
Returns
getName()
The AzureServerConfig
resource name.
AzureServerConfig
names are formatted as
projects/<project-number>/locations/<region>/azureServerConfig
.
See Resource Names
for more details on GCP 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 GCP resource names.
string name = 1;
Returns
getParserForType()
public Parser<AzureServerConfig> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
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
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getValidVersions(int index)
public AzureK8sVersionInfo getValidVersions(int index)
List of valid Kubernetes versions.
repeated .google.cloud.gkemulticloud.v1.AzureK8sVersionInfo valid_versions = 2;
Parameter
Returns
getValidVersionsCount()
public int getValidVersionsCount()
List of valid Kubernetes versions.
repeated .google.cloud.gkemulticloud.v1.AzureK8sVersionInfo valid_versions = 2;
Returns
getValidVersionsList()
public List<AzureK8sVersionInfo> getValidVersionsList()
List of valid Kubernetes versions.
repeated .google.cloud.gkemulticloud.v1.AzureK8sVersionInfo valid_versions = 2;
Returns
getValidVersionsOrBuilder(int index)
public AzureK8sVersionInfoOrBuilder getValidVersionsOrBuilder(int index)
List of valid Kubernetes versions.
repeated .google.cloud.gkemulticloud.v1.AzureK8sVersionInfo valid_versions = 2;
Parameter
Returns
getValidVersionsOrBuilderList()
public List<? extends AzureK8sVersionInfoOrBuilder> getValidVersionsOrBuilderList()
List of valid Kubernetes versions.
repeated .google.cloud.gkemulticloud.v1.AzureK8sVersionInfo valid_versions = 2;
Returns
Type | Description |
List<? extends com.google.cloud.gkemulticloud.v1.AzureK8sVersionInfoOrBuilder> | |
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public AzureServerConfig.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AzureServerConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public AzureServerConfig.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions