Package com.google.api
Interface Billing.BillingDestinationOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Billing.BillingDestination
,Billing.BillingDestination.Builder
- Enclosing class:
- Billing
public static interface Billing.BillingDestinationOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getMetrics(int index)
Names of the metrics to report to this billing destination.com.google.protobuf.ByteString
getMetricsBytes(int index)
Names of the metrics to report to this billing destination.int
getMetricsCount()
Names of the metrics to report to this billing destination.java.util.List<java.lang.String>
getMetricsList()
Names of the metrics to report to this billing destination.java.lang.String
getMonitoredResource()
The monitored resource type.com.google.protobuf.ByteString
getMonitoredResourceBytes()
The monitored resource type.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getMonitoredResource
java.lang.String getMonitoredResource()
The monitored resource type. The type must be defined in [Service.monitored_resources][google.api.Service.monitored_resources] section.
string monitored_resource = 1;
- Returns:
- The monitoredResource.
-
getMonitoredResourceBytes
com.google.protobuf.ByteString getMonitoredResourceBytes()
The monitored resource type. The type must be defined in [Service.monitored_resources][google.api.Service.monitored_resources] section.
string monitored_resource = 1;
- Returns:
- The bytes for monitoredResource.
-
getMetricsList
java.util.List<java.lang.String> getMetricsList()
Names of the metrics to report to this billing destination. Each name must be defined in [Service.metrics][google.api.Service.metrics] section.
repeated string metrics = 2;
- Returns:
- A list containing the metrics.
-
getMetricsCount
int getMetricsCount()
Names of the metrics to report to this billing destination. Each name must be defined in [Service.metrics][google.api.Service.metrics] section.
repeated string metrics = 2;
- Returns:
- The count of metrics.
-
getMetrics
java.lang.String getMetrics(int index)
Names of the metrics to report to this billing destination. Each name must be defined in [Service.metrics][google.api.Service.metrics] section.
repeated string metrics = 2;
- Parameters:
index
- The index of the element to return.- Returns:
- The metrics at the given index.
-
getMetricsBytes
com.google.protobuf.ByteString getMetricsBytes(int index)
Names of the metrics to report to this billing destination. Each name must be defined in [Service.metrics][google.api.Service.metrics] section.
repeated string metrics = 2;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the metrics at the given index.
-
-