Interface Billing.BillingDestinationOrBuilder (2.46.0)

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
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)

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

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

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