Interface MonitoringConfigOrBuilder (1.48.0)

public interface MonitoringConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCluster()

public abstract 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
Type Description
String

The cluster.

getClusterBytes()

public abstract 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
Type Description
ByteString

The bytes for cluster.

getClusterHash()

public abstract 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
Type Description
String

The clusterHash.

getClusterHashBytes()

public abstract 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
Type Description
ByteString

The bytes for clusterHash.

getKubernetesMetricsPrefix()

public abstract 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
Type Description
String

The kubernetesMetricsPrefix.

getKubernetesMetricsPrefixBytes()

public abstract 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
Type Description
ByteString

The bytes for kubernetesMetricsPrefix.

getLocation()

public abstract String getLocation()

Immutable. Location used to report Metrics

string location = 2 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
String

The location.

getLocationBytes()

public abstract ByteString getLocationBytes()

Immutable. Location used to report Metrics

string location = 2 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ByteString

The bytes for location.

getProjectId()

public abstract String getProjectId()

Immutable. Project used to report Metrics

string project_id = 1 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
String

The projectId.

getProjectIdBytes()

public abstract ByteString getProjectIdBytes()

Immutable. Project used to report Metrics

string project_id = 1 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ByteString

The bytes for projectId.