Class AzureServerConfig

  • All Implemented Interfaces:
    AzureServerConfigOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class AzureServerConfig
    extends com.google.protobuf.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
    See Also:
    Serialized Form
    • Field Detail

      • VALID_VERSIONS_FIELD_NUMBER

        public static final int VALID_VERSIONS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SUPPORTED_AZURE_REGIONS_FIELD_NUMBER

        public static final int SUPPORTED_AZURE_REGIONS_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • getName

        public String getName()
         The `AzureServerConfig` resource name.
        
         `AzureServerConfig` names are formatted as
         `projects/<project-number>/locations/<region>/azureServerConfig`.
        
         See [Resource Names](https://cloud.google.com/apis/design/resource_names)
         for more details on Google Cloud Platform resource names.
         
        string name = 1;
        Specified by:
        getName in interface AzureServerConfigOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         The `AzureServerConfig` resource name.
        
         `AzureServerConfig` names are formatted as
         `projects/<project-number>/locations/<region>/azureServerConfig`.
        
         See [Resource Names](https://cloud.google.com/apis/design/resource_names)
         for more details on Google Cloud Platform resource names.
         
        string name = 1;
        Specified by:
        getNameBytes in interface AzureServerConfigOrBuilder
        Returns:
        The bytes for name.
      • getValidVersionsCount

        public int getValidVersionsCount()
         List of valid Kubernetes versions.
         
        repeated .google.cloud.gkemulticloud.v1.AzureK8sVersionInfo valid_versions = 2;
        Specified by:
        getValidVersionsCount in interface AzureServerConfigOrBuilder
      • getSupportedAzureRegionsList

        public com.google.protobuf.ProtocolStringList getSupportedAzureRegionsList()
         The list of supported Azure regions.
         
        repeated string supported_azure_regions = 3;
        Specified by:
        getSupportedAzureRegionsList in interface AzureServerConfigOrBuilder
        Returns:
        A list containing the supportedAzureRegions.
      • getSupportedAzureRegionsCount

        public int getSupportedAzureRegionsCount()
         The list of supported Azure regions.
         
        repeated string supported_azure_regions = 3;
        Specified by:
        getSupportedAzureRegionsCount in interface AzureServerConfigOrBuilder
        Returns:
        The count of supportedAzureRegions.
      • getSupportedAzureRegions

        public String getSupportedAzureRegions​(int index)
         The list of supported Azure regions.
         
        repeated string supported_azure_regions = 3;
        Specified by:
        getSupportedAzureRegions in interface AzureServerConfigOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The supportedAzureRegions at the given index.
      • getSupportedAzureRegionsBytes

        public com.google.protobuf.ByteString getSupportedAzureRegionsBytes​(int index)
         The list of supported Azure regions.
         
        repeated string supported_azure_regions = 3;
        Specified by:
        getSupportedAzureRegionsBytes in interface AzureServerConfigOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the supportedAzureRegions at the given index.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static AzureServerConfig parseFrom​(ByteBuffer data)
                                           throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AzureServerConfig parseFrom​(ByteBuffer data,
                                                  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                           throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AzureServerConfig parseFrom​(com.google.protobuf.ByteString data)
                                           throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AzureServerConfig parseFrom​(com.google.protobuf.ByteString data,
                                                  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                           throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AzureServerConfig parseFrom​(byte[] data)
                                           throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AzureServerConfig parseFrom​(byte[] data,
                                                  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                           throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AzureServerConfig parseFrom​(com.google.protobuf.CodedInputStream input,
                                                  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                           throws IOException
        Throws:
        IOException
      • newBuilderForType

        public AzureServerConfig.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public AzureServerConfig.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected AzureServerConfig.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<AzureServerConfig> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public AzureServerConfig getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder