Class AwsCluster

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

    public final class AwsCluster
    extends com.google.protobuf.GeneratedMessageV3
    implements AwsClusterOrBuilder
     An Anthos cluster running on AWS.
     
    Protobuf type google.cloud.gkemulticloud.v1.AwsCluster
    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
      • getName

        public String getName()
         The name of this resource.
        
         Cluster names are formatted as
         `projects/<project-number>/locations/<region>/awsClusters/<cluster-id>`.
        
         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 AwsClusterOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         The name of this resource.
        
         Cluster names are formatted as
         `projects/<project-number>/locations/<region>/awsClusters/<cluster-id>`.
        
         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 AwsClusterOrBuilder
        Returns:
        The bytes for name.
      • getDescription

        public String getDescription()
         Optional. A human readable description of this cluster.
         Cannot be longer than 255 UTF-8 encoded bytes.
         
        string description = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getDescription in interface AwsClusterOrBuilder
        Returns:
        The description.
      • getDescriptionBytes

        public com.google.protobuf.ByteString getDescriptionBytes()
         Optional. A human readable description of this cluster.
         Cannot be longer than 255 UTF-8 encoded bytes.
         
        string description = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getDescriptionBytes in interface AwsClusterOrBuilder
        Returns:
        The bytes for description.
      • hasNetworking

        public boolean hasNetworking()
         Required. Cluster-wide networking configuration.
         
        .google.cloud.gkemulticloud.v1.AwsClusterNetworking networking = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasNetworking in interface AwsClusterOrBuilder
        Returns:
        Whether the networking field is set.
      • getNetworking

        public AwsClusterNetworking getNetworking()
         Required. Cluster-wide networking configuration.
         
        .google.cloud.gkemulticloud.v1.AwsClusterNetworking networking = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getNetworking in interface AwsClusterOrBuilder
        Returns:
        The networking.
      • getAwsRegion

        public String getAwsRegion()
         Required. The AWS region where the cluster runs.
        
         Each Google Cloud region supports a subset of nearby AWS regions.
         You can call
         [GetAwsServerConfig][google.cloud.gkemulticloud.v1.AwsClusters.GetAwsServerConfig]
         to list all supported AWS regions within a given Google Cloud region.
         
        string aws_region = 4 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getAwsRegion in interface AwsClusterOrBuilder
        Returns:
        The awsRegion.
      • getAwsRegionBytes

        public com.google.protobuf.ByteString getAwsRegionBytes()
         Required. The AWS region where the cluster runs.
        
         Each Google Cloud region supports a subset of nearby AWS regions.
         You can call
         [GetAwsServerConfig][google.cloud.gkemulticloud.v1.AwsClusters.GetAwsServerConfig]
         to list all supported AWS regions within a given Google Cloud region.
         
        string aws_region = 4 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getAwsRegionBytes in interface AwsClusterOrBuilder
        Returns:
        The bytes for awsRegion.
      • hasControlPlane

        public boolean hasControlPlane()
         Required. Configuration related to the cluster control plane.
         
        .google.cloud.gkemulticloud.v1.AwsControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasControlPlane in interface AwsClusterOrBuilder
        Returns:
        Whether the controlPlane field is set.
      • getControlPlane

        public AwsControlPlane getControlPlane()
         Required. Configuration related to the cluster control plane.
         
        .google.cloud.gkemulticloud.v1.AwsControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getControlPlane in interface AwsClusterOrBuilder
        Returns:
        The controlPlane.
      • hasAuthorization

        public boolean hasAuthorization()
         Required. Configuration related to the cluster RBAC settings.
         
        .google.cloud.gkemulticloud.v1.AwsAuthorization authorization = 15 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasAuthorization in interface AwsClusterOrBuilder
        Returns:
        Whether the authorization field is set.
      • getAuthorization

        public AwsAuthorization getAuthorization()
         Required. Configuration related to the cluster RBAC settings.
         
        .google.cloud.gkemulticloud.v1.AwsAuthorization authorization = 15 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getAuthorization in interface AwsClusterOrBuilder
        Returns:
        The authorization.
      • getStateValue

        public int getStateValue()
         Output only. The current state of the cluster.
         
        .google.cloud.gkemulticloud.v1.AwsCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getStateValue in interface AwsClusterOrBuilder
        Returns:
        The enum numeric value on the wire for state.
      • getState

        public AwsCluster.State getState()
         Output only. The current state of the cluster.
         
        .google.cloud.gkemulticloud.v1.AwsCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getState in interface AwsClusterOrBuilder
        Returns:
        The state.
      • getEndpoint

        public String getEndpoint()
         Output only. The endpoint of the cluster's API server.
         
        string endpoint = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getEndpoint in interface AwsClusterOrBuilder
        Returns:
        The endpoint.
      • getEndpointBytes

        public com.google.protobuf.ByteString getEndpointBytes()
         Output only. The endpoint of the cluster's API server.
         
        string endpoint = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getEndpointBytes in interface AwsClusterOrBuilder
        Returns:
        The bytes for endpoint.
      • getUid

        public String getUid()
         Output only. A globally unique identifier for the cluster.
         
        string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUid in interface AwsClusterOrBuilder
        Returns:
        The uid.
      • getUidBytes

        public com.google.protobuf.ByteString getUidBytes()
         Output only. A globally unique identifier for the cluster.
         
        string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUidBytes in interface AwsClusterOrBuilder
        Returns:
        The bytes for uid.
      • getReconciling

        public boolean getReconciling()
         Output only. If set, there are currently changes in flight to the cluster.
         
        bool reconciling = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getReconciling in interface AwsClusterOrBuilder
        Returns:
        The reconciling.
      • hasCreateTime

        public boolean hasCreateTime()
         Output only. The time at which this cluster was created.
         
        .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasCreateTime in interface AwsClusterOrBuilder
        Returns:
        Whether the createTime field is set.
      • getCreateTime

        public com.google.protobuf.Timestamp getCreateTime()
         Output only. The time at which this cluster was created.
         
        .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCreateTime in interface AwsClusterOrBuilder
        Returns:
        The createTime.
      • getCreateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
         Output only. The time at which this cluster was created.
         
        .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCreateTimeOrBuilder in interface AwsClusterOrBuilder
      • hasUpdateTime

        public boolean hasUpdateTime()
         Output only. The time at which this cluster was last updated.
         
        .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasUpdateTime in interface AwsClusterOrBuilder
        Returns:
        Whether the updateTime field is set.
      • getUpdateTime

        public com.google.protobuf.Timestamp getUpdateTime()
         Output only. The time at which this cluster was last updated.
         
        .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUpdateTime in interface AwsClusterOrBuilder
        Returns:
        The updateTime.
      • getUpdateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
         Output only. The time at which this cluster was last updated.
         
        .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUpdateTimeOrBuilder in interface AwsClusterOrBuilder
      • getEtag

        public String getEtag()
         Allows clients to perform consistent read-modify-writes
         through optimistic concurrency control.
        
         Can be sent on update and delete requests to ensure the
         client has an up-to-date value before proceeding.
         
        string etag = 13;
        Specified by:
        getEtag in interface AwsClusterOrBuilder
        Returns:
        The etag.
      • getEtagBytes

        public com.google.protobuf.ByteString getEtagBytes()
         Allows clients to perform consistent read-modify-writes
         through optimistic concurrency control.
        
         Can be sent on update and delete requests to ensure the
         client has an up-to-date value before proceeding.
         
        string etag = 13;
        Specified by:
        getEtagBytes in interface AwsClusterOrBuilder
        Returns:
        The bytes for etag.
      • getAnnotationsCount

        public int getAnnotationsCount()
        Description copied from interface: AwsClusterOrBuilder
         Optional. Annotations on the cluster.
        
         This field has the same restrictions as Kubernetes annotations.
         The total size of all keys and values combined is limited to 256k.
         Key can have 2 segments: prefix (optional) and name (required),
         separated by a slash (/).
         Prefix must be a DNS subdomain.
         Name must be 63 characters or less, begin and end with alphanumerics,
         with dashes (-), underscores (_), dots (.), and alphanumerics between.
         
        map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getAnnotationsCount in interface AwsClusterOrBuilder
      • containsAnnotations

        public boolean containsAnnotations​(String key)
         Optional. Annotations on the cluster.
        
         This field has the same restrictions as Kubernetes annotations.
         The total size of all keys and values combined is limited to 256k.
         Key can have 2 segments: prefix (optional) and name (required),
         separated by a slash (/).
         Prefix must be a DNS subdomain.
         Name must be 63 characters or less, begin and end with alphanumerics,
         with dashes (-), underscores (_), dots (.), and alphanumerics between.
         
        map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        containsAnnotations in interface AwsClusterOrBuilder
      • getAnnotationsMap

        public Map<String,​String> getAnnotationsMap()
         Optional. Annotations on the cluster.
        
         This field has the same restrictions as Kubernetes annotations.
         The total size of all keys and values combined is limited to 256k.
         Key can have 2 segments: prefix (optional) and name (required),
         separated by a slash (/).
         Prefix must be a DNS subdomain.
         Name must be 63 characters or less, begin and end with alphanumerics,
         with dashes (-), underscores (_), dots (.), and alphanumerics between.
         
        map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getAnnotationsMap in interface AwsClusterOrBuilder
      • getAnnotationsOrDefault

        public String getAnnotationsOrDefault​(String key,
                                              String defaultValue)
         Optional. Annotations on the cluster.
        
         This field has the same restrictions as Kubernetes annotations.
         The total size of all keys and values combined is limited to 256k.
         Key can have 2 segments: prefix (optional) and name (required),
         separated by a slash (/).
         Prefix must be a DNS subdomain.
         Name must be 63 characters or less, begin and end with alphanumerics,
         with dashes (-), underscores (_), dots (.), and alphanumerics between.
         
        map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getAnnotationsOrDefault in interface AwsClusterOrBuilder
      • getAnnotationsOrThrow

        public String getAnnotationsOrThrow​(String key)
         Optional. Annotations on the cluster.
        
         This field has the same restrictions as Kubernetes annotations.
         The total size of all keys and values combined is limited to 256k.
         Key can have 2 segments: prefix (optional) and name (required),
         separated by a slash (/).
         Prefix must be a DNS subdomain.
         Name must be 63 characters or less, begin and end with alphanumerics,
         with dashes (-), underscores (_), dots (.), and alphanumerics between.
         
        map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getAnnotationsOrThrow in interface AwsClusterOrBuilder
      • hasWorkloadIdentityConfig

        public boolean hasWorkloadIdentityConfig()
         Output only. Workload Identity settings.
         
        .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasWorkloadIdentityConfig in interface AwsClusterOrBuilder
        Returns:
        Whether the workloadIdentityConfig field is set.
      • getWorkloadIdentityConfig

        public WorkloadIdentityConfig getWorkloadIdentityConfig()
         Output only. Workload Identity settings.
         
        .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getWorkloadIdentityConfig in interface AwsClusterOrBuilder
        Returns:
        The workloadIdentityConfig.
      • getClusterCaCertificate

        public String getClusterCaCertificate()
         Output only. PEM encoded x509 certificate of the cluster root of trust.
         
        string cluster_ca_certificate = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getClusterCaCertificate in interface AwsClusterOrBuilder
        Returns:
        The clusterCaCertificate.
      • getClusterCaCertificateBytes

        public com.google.protobuf.ByteString getClusterCaCertificateBytes()
         Output only. PEM encoded x509 certificate of the cluster root of trust.
         
        string cluster_ca_certificate = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getClusterCaCertificateBytes in interface AwsClusterOrBuilder
        Returns:
        The bytes for clusterCaCertificate.
      • hasFleet

        public boolean hasFleet()
         Required. Fleet configuration.
         
        .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasFleet in interface AwsClusterOrBuilder
        Returns:
        Whether the fleet field is set.
      • getFleet

        public Fleet getFleet()
         Required. Fleet configuration.
         
        .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getFleet in interface AwsClusterOrBuilder
        Returns:
        The fleet.
      • getFleetOrBuilder

        public FleetOrBuilder getFleetOrBuilder()
         Required. Fleet configuration.
         
        .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getFleetOrBuilder in interface AwsClusterOrBuilder
      • hasLoggingConfig

        public boolean hasLoggingConfig()
         Optional. Logging configuration for this cluster.
         
        .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 19 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasLoggingConfig in interface AwsClusterOrBuilder
        Returns:
        Whether the loggingConfig field is set.
      • getLoggingConfig

        public LoggingConfig getLoggingConfig()
         Optional. Logging configuration for this cluster.
         
        .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 19 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getLoggingConfig in interface AwsClusterOrBuilder
        Returns:
        The loggingConfig.
      • getErrorsList

        public List<AwsClusterError> getErrorsList()
         Output only. A set of errors found in the cluster.
         
        repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getErrorsList in interface AwsClusterOrBuilder
      • getErrorsCount

        public int getErrorsCount()
         Output only. A set of errors found in the cluster.
         
        repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getErrorsCount in interface AwsClusterOrBuilder
      • getErrors

        public AwsClusterError getErrors​(int index)
         Output only. A set of errors found in the cluster.
         
        repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getErrors in interface AwsClusterOrBuilder
      • getErrorsOrBuilder

        public AwsClusterErrorOrBuilder getErrorsOrBuilder​(int index)
         Output only. A set of errors found in the cluster.
         
        repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getErrorsOrBuilder in interface AwsClusterOrBuilder
      • hasMonitoringConfig

        public boolean hasMonitoringConfig()
         Optional. Monitoring configuration for this cluster.
         
        .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 21 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasMonitoringConfig in interface AwsClusterOrBuilder
        Returns:
        Whether the monitoringConfig field is set.
      • getMonitoringConfig

        public MonitoringConfig getMonitoringConfig()
         Optional. Monitoring configuration for this cluster.
         
        .google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 21 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getMonitoringConfig in interface AwsClusterOrBuilder
        Returns:
        The monitoringConfig.
      • 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 AwsCluster parseFrom​(ByteBuffer data)
                                    throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

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

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

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

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

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

        public static AwsCluster getDefaultInstance()
      • parser

        public static com.google.protobuf.Parser<AwsCluster> parser()
      • getParserForType

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