Interface MonitoringConfigOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    MonitoringConfig, MonitoringConfig.Builder

    public interface MonitoringConfigOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getProjectId

        String getProjectId()
         Immutable. Project used to report Metrics
         
        string project_id = 1 [(.google.api.field_behavior) = IMMUTABLE];
        Returns:
        The projectId.
      • getProjectIdBytes

        com.google.protobuf.ByteString getProjectIdBytes()
         Immutable. Project used to report Metrics
         
        string project_id = 1 [(.google.api.field_behavior) = IMMUTABLE];
        Returns:
        The bytes for projectId.
      • getLocation

        String getLocation()
         Immutable. Location used to report Metrics
         
        string location = 2 [(.google.api.field_behavior) = IMMUTABLE];
        Returns:
        The location.
      • getLocationBytes

        com.google.protobuf.ByteString getLocationBytes()
         Immutable. Location used to report Metrics
         
        string location = 2 [(.google.api.field_behavior) = IMMUTABLE];
        Returns:
        The bytes for location.
      • getCluster

        String getCluster()
         Immutable. Cluster name used to report metrics.
         For Anthos on VMWare/Baremetal, it would be in format
         `memberClusters/cluster_name`; And for Anthos on MultiCloud, it would be in
         format
         `{azureClusters, awsClusters}/cluster_name`.
         
        string cluster = 3 [(.google.api.field_behavior) = IMMUTABLE];
        Returns:
        The cluster.
      • getClusterBytes

        com.google.protobuf.ByteString getClusterBytes()
         Immutable. Cluster name used to report metrics.
         For Anthos on VMWare/Baremetal, it would be in format
         `memberClusters/cluster_name`; And for Anthos on MultiCloud, it would be in
         format
         `{azureClusters, awsClusters}/cluster_name`.
         
        string cluster = 3 [(.google.api.field_behavior) = IMMUTABLE];
        Returns:
        The bytes for cluster.
      • getKubernetesMetricsPrefix

        String getKubernetesMetricsPrefix()
         Kubernetes system metrics, if available, are written to this prefix.
         This defaults to kubernetes.io for GKE, and kubernetes.io/anthos for Anthos
         eventually. Noted: Anthos MultiCloud will have kubernetes.io prefix today
         but will migration to be under kubernetes.io/anthos
         
        string kubernetes_metrics_prefix = 4;
        Returns:
        The kubernetesMetricsPrefix.
      • getKubernetesMetricsPrefixBytes

        com.google.protobuf.ByteString getKubernetesMetricsPrefixBytes()
         Kubernetes system metrics, if available, are written to this prefix.
         This defaults to kubernetes.io for GKE, and kubernetes.io/anthos for Anthos
         eventually. Noted: Anthos MultiCloud will have kubernetes.io prefix today
         but will migration to be under kubernetes.io/anthos
         
        string kubernetes_metrics_prefix = 4;
        Returns:
        The bytes for kubernetesMetricsPrefix.
      • getClusterHash

        String getClusterHash()
         Immutable. Cluster hash, this is a unique string generated by google code,
         which does not contain any PII, which we can use to reference the cluster.
         This is expected to be created by the monitoring stack and persisted into
         the Cluster object as well as to GKE-Hub.
         
        string cluster_hash = 5 [(.google.api.field_behavior) = IMMUTABLE];
        Returns:
        The clusterHash.
      • getClusterHashBytes

        com.google.protobuf.ByteString getClusterHashBytes()
         Immutable. Cluster hash, this is a unique string generated by google code,
         which does not contain any PII, which we can use to reference the cluster.
         This is expected to be created by the monitoring stack and persisted into
         the Cluster object as well as to GKE-Hub.
         
        string cluster_hash = 5 [(.google.api.field_behavior) = IMMUTABLE];
        Returns:
        The bytes for clusterHash.