Interface Monitoring.MonitoringDestinationOrBuilder (2.37.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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for monitoredResource.