Interface Monitoring.MonitoringDestinationOrBuilder (2.45.1)

public static interface Monitoring.MonitoringDestinationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMetrics(int index)

public abstract String getMetrics(int index)

Types of the metrics to report to this monitoring destination. Each type must be defined in Service.metrics section.

repeated string metrics = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The metrics at the given index.

getMetricsBytes(int index)

public abstract ByteString getMetricsBytes(int index)

Types of the metrics to report to this monitoring destination. Each type must be defined in Service.metrics section.

repeated string metrics = 2;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the metrics at the given index.

getMetricsCount()

public abstract int getMetricsCount()

Types of the metrics to report to this monitoring destination. Each type must be defined in Service.metrics section.

repeated string metrics = 2;

Returns
Type Description
int

The count of metrics.

getMetricsList()

public abstract List<String> getMetricsList()

Types of the metrics to report to this monitoring destination. Each type must be defined in Service.metrics section.

repeated string metrics = 2;

Returns
Type Description
List<String>

A list containing the metrics.

getMonitoredResource()

public abstract String getMonitoredResource()

The monitored resource type. The type must be defined in Service.monitored_resources section.

string monitored_resource = 1;

Returns
Type Description
String

The monitoredResource.

getMonitoredResourceBytes()

public abstract ByteString getMonitoredResourceBytes()

The monitored resource type. The type must be defined in Service.monitored_resources section.

string monitored_resource = 1;

Returns
Type Description
ByteString

The bytes for monitoredResource.