Interface Billing.BillingDestinationOrBuilder (2.9.6)

public static interface Billing.BillingDestinationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMetrics(int index)

public abstract String getMetrics(int index)

Names of the metrics to report to this billing destination. Each name 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)

Names of the metrics to report to this billing destination. Each name 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()

Names of the metrics to report to this billing destination. Each name must be defined in Service.metrics section.

repeated string metrics = 2;

Returns
TypeDescription
int

The count of metrics.

getMetricsList()

public abstract List<String> getMetricsList()

Names of the metrics to report to this billing destination. Each name 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.