Class AzureControlPlane

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

    public final class AzureControlPlane
    extends com.google.protobuf.GeneratedMessageV3
    implements AzureControlPlaneOrBuilder
     AzureControlPlane represents the control plane configurations.
     
    Protobuf type google.cloud.gkemulticloud.v1.AzureControlPlane
    See Also:
    Serialized Form
    • 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()
      • internalGetMapField

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3
      • internalGetFieldAccessorTable

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

        public String getVersion()
         Required. The Kubernetes version to run on control plane replicas
         (e.g. `1.19.10-gke.1000`).
        
         You can list all supported versions on a given Google Cloud region by
         calling
         [GetAzureServerConfig][google.cloud.gkemulticloud.v1.AzureClusters.GetAzureServerConfig].
         
        string version = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getVersion in interface AzureControlPlaneOrBuilder
        Returns:
        The version.
      • getVersionBytes

        public com.google.protobuf.ByteString getVersionBytes()
         Required. The Kubernetes version to run on control plane replicas
         (e.g. `1.19.10-gke.1000`).
        
         You can list all supported versions on a given Google Cloud region by
         calling
         [GetAzureServerConfig][google.cloud.gkemulticloud.v1.AzureClusters.GetAzureServerConfig].
         
        string version = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getVersionBytes in interface AzureControlPlaneOrBuilder
        Returns:
        The bytes for version.
      • getSubnetId

        public String getSubnetId()
         Optional. The ARM ID of the default subnet for the control plane. The
         control plane VMs are deployed in this subnet, unless
         `AzureControlPlane.replica_placements` is specified. This subnet will also
         be used as default for `AzureControlPlane.endpoint_subnet_id` if
         `AzureControlPlane.endpoint_subnet_id` is not specified. Similarly it will
         be used as default for
         `AzureClusterNetworking.service_load_balancer_subnet_id`.
        
         Example:
         `/subscriptions/<subscription-id>/resourceGroups/<resource-group-id>/providers/Microsoft.Network/virtualNetworks/<vnet-id>/subnets/default`.
         
        string subnet_id = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getSubnetId in interface AzureControlPlaneOrBuilder
        Returns:
        The subnetId.
      • getSubnetIdBytes

        public com.google.protobuf.ByteString getSubnetIdBytes()
         Optional. The ARM ID of the default subnet for the control plane. The
         control plane VMs are deployed in this subnet, unless
         `AzureControlPlane.replica_placements` is specified. This subnet will also
         be used as default for `AzureControlPlane.endpoint_subnet_id` if
         `AzureControlPlane.endpoint_subnet_id` is not specified. Similarly it will
         be used as default for
         `AzureClusterNetworking.service_load_balancer_subnet_id`.
        
         Example:
         `/subscriptions/<subscription-id>/resourceGroups/<resource-group-id>/providers/Microsoft.Network/virtualNetworks/<vnet-id>/subnets/default`.
         
        string subnet_id = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getSubnetIdBytes in interface AzureControlPlaneOrBuilder
        Returns:
        The bytes for subnetId.
      • getVmSize

        public String getVmSize()
         Optional. The Azure VM size name. Example: `Standard_DS2_v2`.
        
         For available VM sizes, see
         https://docs.microsoft.com/en-us/azure/virtual-machines/vm-naming-conventions.
        
         When unspecified, it defaults to `Standard_DS2_v2`.
         
        string vm_size = 3 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getVmSize in interface AzureControlPlaneOrBuilder
        Returns:
        The vmSize.
      • getVmSizeBytes

        public com.google.protobuf.ByteString getVmSizeBytes()
         Optional. The Azure VM size name. Example: `Standard_DS2_v2`.
        
         For available VM sizes, see
         https://docs.microsoft.com/en-us/azure/virtual-machines/vm-naming-conventions.
        
         When unspecified, it defaults to `Standard_DS2_v2`.
         
        string vm_size = 3 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getVmSizeBytes in interface AzureControlPlaneOrBuilder
        Returns:
        The bytes for vmSize.
      • hasSshConfig

        public boolean hasSshConfig()
         Required. SSH configuration for how to access the underlying control plane
         machines.
         
        .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 11 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasSshConfig in interface AzureControlPlaneOrBuilder
        Returns:
        Whether the sshConfig field is set.
      • getSshConfig

        public AzureSshConfig getSshConfig()
         Required. SSH configuration for how to access the underlying control plane
         machines.
         
        .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 11 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getSshConfig in interface AzureControlPlaneOrBuilder
        Returns:
        The sshConfig.
      • hasRootVolume

        public boolean hasRootVolume()
         Optional. Configuration related to the root volume provisioned for each
         control plane replica.
        
         When unspecified, it defaults to 32-GiB Azure Disk.
         
        .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 4 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasRootVolume in interface AzureControlPlaneOrBuilder
        Returns:
        Whether the rootVolume field is set.
      • getRootVolume

        public AzureDiskTemplate getRootVolume()
         Optional. Configuration related to the root volume provisioned for each
         control plane replica.
        
         When unspecified, it defaults to 32-GiB Azure Disk.
         
        .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 4 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getRootVolume in interface AzureControlPlaneOrBuilder
        Returns:
        The rootVolume.
      • getRootVolumeOrBuilder

        public AzureDiskTemplateOrBuilder getRootVolumeOrBuilder()
         Optional. Configuration related to the root volume provisioned for each
         control plane replica.
        
         When unspecified, it defaults to 32-GiB Azure Disk.
         
        .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 4 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getRootVolumeOrBuilder in interface AzureControlPlaneOrBuilder
      • hasMainVolume

        public boolean hasMainVolume()
         Optional. Configuration related to the main volume provisioned for each
         control plane replica.
         The main volume is in charge of storing all of the cluster's etcd state.
        
         When unspecified, it defaults to a 8-GiB Azure Disk.
         
        .google.cloud.gkemulticloud.v1.AzureDiskTemplate main_volume = 5 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasMainVolume in interface AzureControlPlaneOrBuilder
        Returns:
        Whether the mainVolume field is set.
      • getMainVolume

        public AzureDiskTemplate getMainVolume()
         Optional. Configuration related to the main volume provisioned for each
         control plane replica.
         The main volume is in charge of storing all of the cluster's etcd state.
        
         When unspecified, it defaults to a 8-GiB Azure Disk.
         
        .google.cloud.gkemulticloud.v1.AzureDiskTemplate main_volume = 5 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getMainVolume in interface AzureControlPlaneOrBuilder
        Returns:
        The mainVolume.
      • getMainVolumeOrBuilder

        public AzureDiskTemplateOrBuilder getMainVolumeOrBuilder()
         Optional. Configuration related to the main volume provisioned for each
         control plane replica.
         The main volume is in charge of storing all of the cluster's etcd state.
        
         When unspecified, it defaults to a 8-GiB Azure Disk.
         
        .google.cloud.gkemulticloud.v1.AzureDiskTemplate main_volume = 5 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getMainVolumeOrBuilder in interface AzureControlPlaneOrBuilder
      • hasDatabaseEncryption

        public boolean hasDatabaseEncryption()
         Optional. Configuration related to application-layer secrets encryption.
         
        .google.cloud.gkemulticloud.v1.AzureDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasDatabaseEncryption in interface AzureControlPlaneOrBuilder
        Returns:
        Whether the databaseEncryption field is set.
      • getDatabaseEncryption

        public AzureDatabaseEncryption getDatabaseEncryption()
         Optional. Configuration related to application-layer secrets encryption.
         
        .google.cloud.gkemulticloud.v1.AzureDatabaseEncryption database_encryption = 10 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getDatabaseEncryption in interface AzureControlPlaneOrBuilder
        Returns:
        The databaseEncryption.
      • hasProxyConfig

        public boolean hasProxyConfig()
         Optional. Proxy configuration for outbound HTTP(S) traffic.
         
        .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasProxyConfig in interface AzureControlPlaneOrBuilder
        Returns:
        Whether the proxyConfig field is set.
      • getProxyConfig

        public AzureProxyConfig getProxyConfig()
         Optional. Proxy configuration for outbound HTTP(S) traffic.
         
        .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 12 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getProxyConfig in interface AzureControlPlaneOrBuilder
        Returns:
        The proxyConfig.
      • hasConfigEncryption

        public boolean hasConfigEncryption()
         Optional. Configuration related to vm config encryption.
         
        .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 14 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasConfigEncryption in interface AzureControlPlaneOrBuilder
        Returns:
        Whether the configEncryption field is set.
      • getConfigEncryption

        public AzureConfigEncryption getConfigEncryption()
         Optional. Configuration related to vm config encryption.
         
        .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 14 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getConfigEncryption in interface AzureControlPlaneOrBuilder
        Returns:
        The configEncryption.
      • getTagsCount

        public int getTagsCount()
        Description copied from interface: AzureControlPlaneOrBuilder
         Optional. A set of tags to apply to all underlying control plane Azure
         resources.
         
        map<string, string> tags = 7 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getTagsCount in interface AzureControlPlaneOrBuilder
      • containsTags

        public boolean containsTags​(String key)
         Optional. A set of tags to apply to all underlying control plane Azure
         resources.
         
        map<string, string> tags = 7 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        containsTags in interface AzureControlPlaneOrBuilder
      • getTagsMap

        public Map<String,​String> getTagsMap()
         Optional. A set of tags to apply to all underlying control plane Azure
         resources.
         
        map<string, string> tags = 7 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getTagsMap in interface AzureControlPlaneOrBuilder
      • getTagsOrDefault

        public String getTagsOrDefault​(String key,
                                       String defaultValue)
         Optional. A set of tags to apply to all underlying control plane Azure
         resources.
         
        map<string, string> tags = 7 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getTagsOrDefault in interface AzureControlPlaneOrBuilder
      • getTagsOrThrow

        public String getTagsOrThrow​(String key)
         Optional. A set of tags to apply to all underlying control plane Azure
         resources.
         
        map<string, string> tags = 7 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getTagsOrThrow in interface AzureControlPlaneOrBuilder
      • getReplicaPlacementsList

        public List<ReplicaPlacement> getReplicaPlacementsList()
         Optional. Configuration for where to place the control plane replicas.
        
         Up to three replica placement instances can be specified. If
         replica_placements is set, the replica placement instances will be applied
         to the three control plane replicas as evenly as possible.
         
        repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getReplicaPlacementsList in interface AzureControlPlaneOrBuilder
      • getReplicaPlacementsOrBuilderList

        public List<? extends ReplicaPlacementOrBuilder> getReplicaPlacementsOrBuilderList()
         Optional. Configuration for where to place the control plane replicas.
        
         Up to three replica placement instances can be specified. If
         replica_placements is set, the replica placement instances will be applied
         to the three control plane replicas as evenly as possible.
         
        repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getReplicaPlacementsOrBuilderList in interface AzureControlPlaneOrBuilder
      • getReplicaPlacementsCount

        public int getReplicaPlacementsCount()
         Optional. Configuration for where to place the control plane replicas.
        
         Up to three replica placement instances can be specified. If
         replica_placements is set, the replica placement instances will be applied
         to the three control plane replicas as evenly as possible.
         
        repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getReplicaPlacementsCount in interface AzureControlPlaneOrBuilder
      • getReplicaPlacements

        public ReplicaPlacement getReplicaPlacements​(int index)
         Optional. Configuration for where to place the control plane replicas.
        
         Up to three replica placement instances can be specified. If
         replica_placements is set, the replica placement instances will be applied
         to the three control plane replicas as evenly as possible.
         
        repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getReplicaPlacements in interface AzureControlPlaneOrBuilder
      • getReplicaPlacementsOrBuilder

        public ReplicaPlacementOrBuilder getReplicaPlacementsOrBuilder​(int index)
         Optional. Configuration for where to place the control plane replicas.
        
         Up to three replica placement instances can be specified. If
         replica_placements is set, the replica placement instances will be applied
         to the three control plane replicas as evenly as possible.
         
        repeated .google.cloud.gkemulticloud.v1.ReplicaPlacement replica_placements = 13 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getReplicaPlacementsOrBuilder in interface AzureControlPlaneOrBuilder
      • getEndpointSubnetId

        public String getEndpointSubnetId()
         Optional. The ARM ID of the subnet where the control plane load balancer is
         deployed. When unspecified, it defaults to AzureControlPlane.subnet_id.
        
         Example:
         "/subscriptions/d00494d6-6f3c-4280-bbb2-899e163d1d30/resourceGroups/anthos_cluster_gkeust4/providers/Microsoft.Network/virtualNetworks/gke-vnet-gkeust4/subnets/subnetid123"
         
        string endpoint_subnet_id = 15 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getEndpointSubnetId in interface AzureControlPlaneOrBuilder
        Returns:
        The endpointSubnetId.
      • getEndpointSubnetIdBytes

        public com.google.protobuf.ByteString getEndpointSubnetIdBytes()
         Optional. The ARM ID of the subnet where the control plane load balancer is
         deployed. When unspecified, it defaults to AzureControlPlane.subnet_id.
        
         Example:
         "/subscriptions/d00494d6-6f3c-4280-bbb2-899e163d1d30/resourceGroups/anthos_cluster_gkeust4/providers/Microsoft.Network/virtualNetworks/gke-vnet-gkeust4/subnets/subnetid123"
         
        string endpoint_subnet_id = 15 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getEndpointSubnetIdBytes in interface AzureControlPlaneOrBuilder
        Returns:
        The bytes for endpointSubnetId.
      • 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 AzureControlPlane parseFrom​(ByteBuffer data)
                                           throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

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

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

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

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

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

        public com.google.protobuf.Parser<AzureControlPlane> 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 AzureControlPlane getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder