public static final class Monitoring.Builder extends GeneratedMessageV3.Builder<Monitoring.Builder> implements MonitoringOrBuilder
Monitoring configuration of the service. The example below shows how to configure monitored resources and metrics for monitoring. In the example, a monitored resource and two metrics are defined. The `library.googleapis.com/book/returned_count` metric is sent to both producer and consumer projects, whereas the `library.googleapis.com/book/overdue_count` metric is only sent to the consumer project. monitored_resources: - type: library.googleapis.com/branch labels: - key: /city description: The city where the library branch is located in. - key: /name description: The name of the branch. metrics: - name: library.googleapis.com/book/returned_count metric_kind: DELTA value_type: INT64 labels: - key: /customer_id - name: library.googleapis.com/book/overdue_count metric_kind: GAUGE value_type: INT64 labels: - key: /customer_id monitoring: producer_destinations: - monitored_resource: library.googleapis.com/branch metrics: - library.googleapis.com/book/returned_count consumer_destinations: - monitored_resource: library.googleapis.com/branch metrics: - library.googleapis.com/book/returned_count - library.googleapis.com/book/overdue_countProtobuf type
google.api.Monitoring
Modifier and Type | Method and Description |
---|---|
Monitoring.Builder |
addAllConsumerDestinations(java.lang.Iterable<? extends Monitoring.MonitoringDestination> values)
Monitoring configurations for sending metrics to the consumer project.
|
Monitoring.Builder |
addAllProducerDestinations(java.lang.Iterable<? extends Monitoring.MonitoringDestination> values)
Monitoring configurations for sending metrics to the producer project.
|
Monitoring.Builder |
addConsumerDestinations(int index,
Monitoring.MonitoringDestination.Builder builderForValue)
Monitoring configurations for sending metrics to the consumer project.
|
Monitoring.Builder |
addConsumerDestinations(int index,
Monitoring.MonitoringDestination value)
Monitoring configurations for sending metrics to the consumer project.
|
Monitoring.Builder |
addConsumerDestinations(Monitoring.MonitoringDestination.Builder builderForValue)
Monitoring configurations for sending metrics to the consumer project.
|
Monitoring.Builder |
addConsumerDestinations(Monitoring.MonitoringDestination value)
Monitoring configurations for sending metrics to the consumer project.
|
Monitoring.MonitoringDestination.Builder |
addConsumerDestinationsBuilder()
Monitoring configurations for sending metrics to the consumer project.
|
Monitoring.MonitoringDestination.Builder |
addConsumerDestinationsBuilder(int index)
Monitoring configurations for sending metrics to the consumer project.
|
Monitoring.Builder |
addProducerDestinations(int index,
Monitoring.MonitoringDestination.Builder builderForValue)
Monitoring configurations for sending metrics to the producer project.
|
Monitoring.Builder |
addProducerDestinations(int index,
Monitoring.MonitoringDestination value)
Monitoring configurations for sending metrics to the producer project.
|
Monitoring.Builder |
addProducerDestinations(Monitoring.MonitoringDestination.Builder builderForValue)
Monitoring configurations for sending metrics to the producer project.
|
Monitoring.Builder |
addProducerDestinations(Monitoring.MonitoringDestination value)
Monitoring configurations for sending metrics to the producer project.
|
Monitoring.MonitoringDestination.Builder |
addProducerDestinationsBuilder()
Monitoring configurations for sending metrics to the producer project.
|
Monitoring.MonitoringDestination.Builder |
addProducerDestinationsBuilder(int index)
Monitoring configurations for sending metrics to the producer project.
|
Monitoring.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
Monitoring |
build() |
Monitoring |
buildPartial() |
Monitoring.Builder |
clear() |
Monitoring.Builder |
clearConsumerDestinations()
Monitoring configurations for sending metrics to the consumer project.
|
Monitoring.Builder |
clearField(Descriptors.FieldDescriptor field) |
Monitoring.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
Monitoring.Builder |
clearProducerDestinations()
Monitoring configurations for sending metrics to the producer project.
|
Monitoring.Builder |
clone() |
Monitoring.MonitoringDestination |
getConsumerDestinations(int index)
Monitoring configurations for sending metrics to the consumer project.
|
Monitoring.MonitoringDestination.Builder |
getConsumerDestinationsBuilder(int index)
Monitoring configurations for sending metrics to the consumer project.
|
java.util.List<Monitoring.MonitoringDestination.Builder> |
getConsumerDestinationsBuilderList()
Monitoring configurations for sending metrics to the consumer project.
|
int |
getConsumerDestinationsCount()
Monitoring configurations for sending metrics to the consumer project.
|
java.util.List<Monitoring.MonitoringDestination> |
getConsumerDestinationsList()
Monitoring configurations for sending metrics to the consumer project.
|
Monitoring.MonitoringDestinationOrBuilder |
getConsumerDestinationsOrBuilder(int index)
Monitoring configurations for sending metrics to the consumer project.
|
java.util.List<? extends Monitoring.MonitoringDestinationOrBuilder> |
getConsumerDestinationsOrBuilderList()
Monitoring configurations for sending metrics to the consumer project.
|
Monitoring |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
Monitoring.MonitoringDestination |
getProducerDestinations(int index)
Monitoring configurations for sending metrics to the producer project.
|
Monitoring.MonitoringDestination.Builder |
getProducerDestinationsBuilder(int index)
Monitoring configurations for sending metrics to the producer project.
|
java.util.List<Monitoring.MonitoringDestination.Builder> |
getProducerDestinationsBuilderList()
Monitoring configurations for sending metrics to the producer project.
|
int |
getProducerDestinationsCount()
Monitoring configurations for sending metrics to the producer project.
|
java.util.List<Monitoring.MonitoringDestination> |
getProducerDestinationsList()
Monitoring configurations for sending metrics to the producer project.
|
Monitoring.MonitoringDestinationOrBuilder |
getProducerDestinationsOrBuilder(int index)
Monitoring configurations for sending metrics to the producer project.
|
java.util.List<? extends Monitoring.MonitoringDestinationOrBuilder> |
getProducerDestinationsOrBuilderList()
Monitoring configurations for sending metrics to the producer project.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Monitoring.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
Monitoring.Builder |
mergeFrom(Message other) |
Monitoring.Builder |
mergeFrom(Monitoring other) |
Monitoring.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
Monitoring.Builder |
removeConsumerDestinations(int index)
Monitoring configurations for sending metrics to the consumer project.
|
Monitoring.Builder |
removeProducerDestinations(int index)
Monitoring configurations for sending metrics to the producer project.
|
Monitoring.Builder |
setConsumerDestinations(int index,
Monitoring.MonitoringDestination.Builder builderForValue)
Monitoring configurations for sending metrics to the consumer project.
|
Monitoring.Builder |
setConsumerDestinations(int index,
Monitoring.MonitoringDestination value)
Monitoring configurations for sending metrics to the consumer project.
|
Monitoring.Builder |
setField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
Monitoring.Builder |
setProducerDestinations(int index,
Monitoring.MonitoringDestination.Builder builderForValue)
Monitoring configurations for sending metrics to the producer project.
|
Monitoring.Builder |
setProducerDestinations(int index,
Monitoring.MonitoringDestination value)
Monitoring configurations for sending metrics to the producer project.
|
Monitoring.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Monitoring.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<Monitoring.Builder>
public Monitoring.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<Monitoring.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<Monitoring.Builder>
public Monitoring getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public Monitoring build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public Monitoring buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public Monitoring.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<Monitoring.Builder>
public Monitoring.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<Monitoring.Builder>
public Monitoring.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<Monitoring.Builder>
public Monitoring.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<Monitoring.Builder>
public Monitoring.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<Monitoring.Builder>
public Monitoring.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<Monitoring.Builder>
public Monitoring.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<Monitoring.Builder>
public Monitoring.Builder mergeFrom(Monitoring other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<Monitoring.Builder>
public Monitoring.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<Monitoring.Builder>
java.io.IOException
public java.util.List<Monitoring.MonitoringDestination> getProducerDestinationsList()
Monitoring configurations for sending metrics to the producer project. There can be multiple producer destinations. A monitored resouce type may appear in multiple monitoring destinations if different aggregations are needed for different sets of metrics associated with that monitored resource type. A monitored resource and metric pair may only be used once in the Monitoring configuration.
repeated .google.api.Monitoring.MonitoringDestination producer_destinations = 1;
getProducerDestinationsList
in interface MonitoringOrBuilder
public int getProducerDestinationsCount()
Monitoring configurations for sending metrics to the producer project. There can be multiple producer destinations. A monitored resouce type may appear in multiple monitoring destinations if different aggregations are needed for different sets of metrics associated with that monitored resource type. A monitored resource and metric pair may only be used once in the Monitoring configuration.
repeated .google.api.Monitoring.MonitoringDestination producer_destinations = 1;
getProducerDestinationsCount
in interface MonitoringOrBuilder
public Monitoring.MonitoringDestination getProducerDestinations(int index)
Monitoring configurations for sending metrics to the producer project. There can be multiple producer destinations. A monitored resouce type may appear in multiple monitoring destinations if different aggregations are needed for different sets of metrics associated with that monitored resource type. A monitored resource and metric pair may only be used once in the Monitoring configuration.
repeated .google.api.Monitoring.MonitoringDestination producer_destinations = 1;
getProducerDestinations
in interface MonitoringOrBuilder
public Monitoring.Builder setProducerDestinations(int index, Monitoring.MonitoringDestination value)
Monitoring configurations for sending metrics to the producer project. There can be multiple producer destinations. A monitored resouce type may appear in multiple monitoring destinations if different aggregations are needed for different sets of metrics associated with that monitored resource type. A monitored resource and metric pair may only be used once in the Monitoring configuration.
repeated .google.api.Monitoring.MonitoringDestination producer_destinations = 1;
public Monitoring.Builder setProducerDestinations(int index, Monitoring.MonitoringDestination.Builder builderForValue)
Monitoring configurations for sending metrics to the producer project. There can be multiple producer destinations. A monitored resouce type may appear in multiple monitoring destinations if different aggregations are needed for different sets of metrics associated with that monitored resource type. A monitored resource and metric pair may only be used once in the Monitoring configuration.
repeated .google.api.Monitoring.MonitoringDestination producer_destinations = 1;
public Monitoring.Builder addProducerDestinations(Monitoring.MonitoringDestination value)
Monitoring configurations for sending metrics to the producer project. There can be multiple producer destinations. A monitored resouce type may appear in multiple monitoring destinations if different aggregations are needed for different sets of metrics associated with that monitored resource type. A monitored resource and metric pair may only be used once in the Monitoring configuration.
repeated .google.api.Monitoring.MonitoringDestination producer_destinations = 1;
public Monitoring.Builder addProducerDestinations(int index, Monitoring.MonitoringDestination value)
Monitoring configurations for sending metrics to the producer project. There can be multiple producer destinations. A monitored resouce type may appear in multiple monitoring destinations if different aggregations are needed for different sets of metrics associated with that monitored resource type. A monitored resource and metric pair may only be used once in the Monitoring configuration.
repeated .google.api.Monitoring.MonitoringDestination producer_destinations = 1;
public Monitoring.Builder addProducerDestinations(Monitoring.MonitoringDestination.Builder builderForValue)
Monitoring configurations for sending metrics to the producer project. There can be multiple producer destinations. A monitored resouce type may appear in multiple monitoring destinations if different aggregations are needed for different sets of metrics associated with that monitored resource type. A monitored resource and metric pair may only be used once in the Monitoring configuration.
repeated .google.api.Monitoring.MonitoringDestination producer_destinations = 1;
public Monitoring.Builder addProducerDestinations(int index, Monitoring.MonitoringDestination.Builder builderForValue)
Monitoring configurations for sending metrics to the producer project. There can be multiple producer destinations. A monitored resouce type may appear in multiple monitoring destinations if different aggregations are needed for different sets of metrics associated with that monitored resource type. A monitored resource and metric pair may only be used once in the Monitoring configuration.
repeated .google.api.Monitoring.MonitoringDestination producer_destinations = 1;
public Monitoring.Builder addAllProducerDestinations(java.lang.Iterable<? extends Monitoring.MonitoringDestination> values)
Monitoring configurations for sending metrics to the producer project. There can be multiple producer destinations. A monitored resouce type may appear in multiple monitoring destinations if different aggregations are needed for different sets of metrics associated with that monitored resource type. A monitored resource and metric pair may only be used once in the Monitoring configuration.
repeated .google.api.Monitoring.MonitoringDestination producer_destinations = 1;
public Monitoring.Builder clearProducerDestinations()
Monitoring configurations for sending metrics to the producer project. There can be multiple producer destinations. A monitored resouce type may appear in multiple monitoring destinations if different aggregations are needed for different sets of metrics associated with that monitored resource type. A monitored resource and metric pair may only be used once in the Monitoring configuration.
repeated .google.api.Monitoring.MonitoringDestination producer_destinations = 1;
public Monitoring.Builder removeProducerDestinations(int index)
Monitoring configurations for sending metrics to the producer project. There can be multiple producer destinations. A monitored resouce type may appear in multiple monitoring destinations if different aggregations are needed for different sets of metrics associated with that monitored resource type. A monitored resource and metric pair may only be used once in the Monitoring configuration.
repeated .google.api.Monitoring.MonitoringDestination producer_destinations = 1;
public Monitoring.MonitoringDestination.Builder getProducerDestinationsBuilder(int index)
Monitoring configurations for sending metrics to the producer project. There can be multiple producer destinations. A monitored resouce type may appear in multiple monitoring destinations if different aggregations are needed for different sets of metrics associated with that monitored resource type. A monitored resource and metric pair may only be used once in the Monitoring configuration.
repeated .google.api.Monitoring.MonitoringDestination producer_destinations = 1;
public Monitoring.MonitoringDestinationOrBuilder getProducerDestinationsOrBuilder(int index)
Monitoring configurations for sending metrics to the producer project. There can be multiple producer destinations. A monitored resouce type may appear in multiple monitoring destinations if different aggregations are needed for different sets of metrics associated with that monitored resource type. A monitored resource and metric pair may only be used once in the Monitoring configuration.
repeated .google.api.Monitoring.MonitoringDestination producer_destinations = 1;
getProducerDestinationsOrBuilder
in interface MonitoringOrBuilder
public java.util.List<? extends Monitoring.MonitoringDestinationOrBuilder> getProducerDestinationsOrBuilderList()
Monitoring configurations for sending metrics to the producer project. There can be multiple producer destinations. A monitored resouce type may appear in multiple monitoring destinations if different aggregations are needed for different sets of metrics associated with that monitored resource type. A monitored resource and metric pair may only be used once in the Monitoring configuration.
repeated .google.api.Monitoring.MonitoringDestination producer_destinations = 1;
getProducerDestinationsOrBuilderList
in interface MonitoringOrBuilder
public Monitoring.MonitoringDestination.Builder addProducerDestinationsBuilder()
Monitoring configurations for sending metrics to the producer project. There can be multiple producer destinations. A monitored resouce type may appear in multiple monitoring destinations if different aggregations are needed for different sets of metrics associated with that monitored resource type. A monitored resource and metric pair may only be used once in the Monitoring configuration.
repeated .google.api.Monitoring.MonitoringDestination producer_destinations = 1;
public Monitoring.MonitoringDestination.Builder addProducerDestinationsBuilder(int index)
Monitoring configurations for sending metrics to the producer project. There can be multiple producer destinations. A monitored resouce type may appear in multiple monitoring destinations if different aggregations are needed for different sets of metrics associated with that monitored resource type. A monitored resource and metric pair may only be used once in the Monitoring configuration.
repeated .google.api.Monitoring.MonitoringDestination producer_destinations = 1;
public java.util.List<Monitoring.MonitoringDestination.Builder> getProducerDestinationsBuilderList()
Monitoring configurations for sending metrics to the producer project. There can be multiple producer destinations. A monitored resouce type may appear in multiple monitoring destinations if different aggregations are needed for different sets of metrics associated with that monitored resource type. A monitored resource and metric pair may only be used once in the Monitoring configuration.
repeated .google.api.Monitoring.MonitoringDestination producer_destinations = 1;
public java.util.List<Monitoring.MonitoringDestination> getConsumerDestinationsList()
Monitoring configurations for sending metrics to the consumer project. There can be multiple consumer destinations. A monitored resouce type may appear in multiple monitoring destinations if different aggregations are needed for different sets of metrics associated with that monitored resource type. A monitored resource and metric pair may only be used once in the Monitoring configuration.
repeated .google.api.Monitoring.MonitoringDestination consumer_destinations = 2;
getConsumerDestinationsList
in interface MonitoringOrBuilder
public int getConsumerDestinationsCount()
Monitoring configurations for sending metrics to the consumer project. There can be multiple consumer destinations. A monitored resouce type may appear in multiple monitoring destinations if different aggregations are needed for different sets of metrics associated with that monitored resource type. A monitored resource and metric pair may only be used once in the Monitoring configuration.
repeated .google.api.Monitoring.MonitoringDestination consumer_destinations = 2;
getConsumerDestinationsCount
in interface MonitoringOrBuilder
public Monitoring.MonitoringDestination getConsumerDestinations(int index)
Monitoring configurations for sending metrics to the consumer project. There can be multiple consumer destinations. A monitored resouce type may appear in multiple monitoring destinations if different aggregations are needed for different sets of metrics associated with that monitored resource type. A monitored resource and metric pair may only be used once in the Monitoring configuration.
repeated .google.api.Monitoring.MonitoringDestination consumer_destinations = 2;
getConsumerDestinations
in interface MonitoringOrBuilder
public Monitoring.Builder setConsumerDestinations(int index, Monitoring.MonitoringDestination value)
Monitoring configurations for sending metrics to the consumer project. There can be multiple consumer destinations. A monitored resouce type may appear in multiple monitoring destinations if different aggregations are needed for different sets of metrics associated with that monitored resource type. A monitored resource and metric pair may only be used once in the Monitoring configuration.
repeated .google.api.Monitoring.MonitoringDestination consumer_destinations = 2;
public Monitoring.Builder setConsumerDestinations(int index, Monitoring.MonitoringDestination.Builder builderForValue)
Monitoring configurations for sending metrics to the consumer project. There can be multiple consumer destinations. A monitored resouce type may appear in multiple monitoring destinations if different aggregations are needed for different sets of metrics associated with that monitored resource type. A monitored resource and metric pair may only be used once in the Monitoring configuration.
repeated .google.api.Monitoring.MonitoringDestination consumer_destinations = 2;
public Monitoring.Builder addConsumerDestinations(Monitoring.MonitoringDestination value)
Monitoring configurations for sending metrics to the consumer project. There can be multiple consumer destinations. A monitored resouce type may appear in multiple monitoring destinations if different aggregations are needed for different sets of metrics associated with that monitored resource type. A monitored resource and metric pair may only be used once in the Monitoring configuration.
repeated .google.api.Monitoring.MonitoringDestination consumer_destinations = 2;
public Monitoring.Builder addConsumerDestinations(int index, Monitoring.MonitoringDestination value)
Monitoring configurations for sending metrics to the consumer project. There can be multiple consumer destinations. A monitored resouce type may appear in multiple monitoring destinations if different aggregations are needed for different sets of metrics associated with that monitored resource type. A monitored resource and metric pair may only be used once in the Monitoring configuration.
repeated .google.api.Monitoring.MonitoringDestination consumer_destinations = 2;
public Monitoring.Builder addConsumerDestinations(Monitoring.MonitoringDestination.Builder builderForValue)
Monitoring configurations for sending metrics to the consumer project. There can be multiple consumer destinations. A monitored resouce type may appear in multiple monitoring destinations if different aggregations are needed for different sets of metrics associated with that monitored resource type. A monitored resource and metric pair may only be used once in the Monitoring configuration.
repeated .google.api.Monitoring.MonitoringDestination consumer_destinations = 2;
public Monitoring.Builder addConsumerDestinations(int index, Monitoring.MonitoringDestination.Builder builderForValue)
Monitoring configurations for sending metrics to the consumer project. There can be multiple consumer destinations. A monitored resouce type may appear in multiple monitoring destinations if different aggregations are needed for different sets of metrics associated with that monitored resource type. A monitored resource and metric pair may only be used once in the Monitoring configuration.
repeated .google.api.Monitoring.MonitoringDestination consumer_destinations = 2;
public Monitoring.Builder addAllConsumerDestinations(java.lang.Iterable<? extends Monitoring.MonitoringDestination> values)
Monitoring configurations for sending metrics to the consumer project. There can be multiple consumer destinations. A monitored resouce type may appear in multiple monitoring destinations if different aggregations are needed for different sets of metrics associated with that monitored resource type. A monitored resource and metric pair may only be used once in the Monitoring configuration.
repeated .google.api.Monitoring.MonitoringDestination consumer_destinations = 2;
public Monitoring.Builder clearConsumerDestinations()
Monitoring configurations for sending metrics to the consumer project. There can be multiple consumer destinations. A monitored resouce type may appear in multiple monitoring destinations if different aggregations are needed for different sets of metrics associated with that monitored resource type. A monitored resource and metric pair may only be used once in the Monitoring configuration.
repeated .google.api.Monitoring.MonitoringDestination consumer_destinations = 2;
public Monitoring.Builder removeConsumerDestinations(int index)
Monitoring configurations for sending metrics to the consumer project. There can be multiple consumer destinations. A monitored resouce type may appear in multiple monitoring destinations if different aggregations are needed for different sets of metrics associated with that monitored resource type. A monitored resource and metric pair may only be used once in the Monitoring configuration.
repeated .google.api.Monitoring.MonitoringDestination consumer_destinations = 2;
public Monitoring.MonitoringDestination.Builder getConsumerDestinationsBuilder(int index)
Monitoring configurations for sending metrics to the consumer project. There can be multiple consumer destinations. A monitored resouce type may appear in multiple monitoring destinations if different aggregations are needed for different sets of metrics associated with that monitored resource type. A monitored resource and metric pair may only be used once in the Monitoring configuration.
repeated .google.api.Monitoring.MonitoringDestination consumer_destinations = 2;
public Monitoring.MonitoringDestinationOrBuilder getConsumerDestinationsOrBuilder(int index)
Monitoring configurations for sending metrics to the consumer project. There can be multiple consumer destinations. A monitored resouce type may appear in multiple monitoring destinations if different aggregations are needed for different sets of metrics associated with that monitored resource type. A monitored resource and metric pair may only be used once in the Monitoring configuration.
repeated .google.api.Monitoring.MonitoringDestination consumer_destinations = 2;
getConsumerDestinationsOrBuilder
in interface MonitoringOrBuilder
public java.util.List<? extends Monitoring.MonitoringDestinationOrBuilder> getConsumerDestinationsOrBuilderList()
Monitoring configurations for sending metrics to the consumer project. There can be multiple consumer destinations. A monitored resouce type may appear in multiple monitoring destinations if different aggregations are needed for different sets of metrics associated with that monitored resource type. A monitored resource and metric pair may only be used once in the Monitoring configuration.
repeated .google.api.Monitoring.MonitoringDestination consumer_destinations = 2;
getConsumerDestinationsOrBuilderList
in interface MonitoringOrBuilder
public Monitoring.MonitoringDestination.Builder addConsumerDestinationsBuilder()
Monitoring configurations for sending metrics to the consumer project. There can be multiple consumer destinations. A monitored resouce type may appear in multiple monitoring destinations if different aggregations are needed for different sets of metrics associated with that monitored resource type. A monitored resource and metric pair may only be used once in the Monitoring configuration.
repeated .google.api.Monitoring.MonitoringDestination consumer_destinations = 2;
public Monitoring.MonitoringDestination.Builder addConsumerDestinationsBuilder(int index)
Monitoring configurations for sending metrics to the consumer project. There can be multiple consumer destinations. A monitored resouce type may appear in multiple monitoring destinations if different aggregations are needed for different sets of metrics associated with that monitored resource type. A monitored resource and metric pair may only be used once in the Monitoring configuration.
repeated .google.api.Monitoring.MonitoringDestination consumer_destinations = 2;
public java.util.List<Monitoring.MonitoringDestination.Builder> getConsumerDestinationsBuilderList()
Monitoring configurations for sending metrics to the consumer project. There can be multiple consumer destinations. A monitored resouce type may appear in multiple monitoring destinations if different aggregations are needed for different sets of metrics associated with that monitored resource type. A monitored resource and metric pair may only be used once in the Monitoring configuration.
repeated .google.api.Monitoring.MonitoringDestination consumer_destinations = 2;
public final Monitoring.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<Monitoring.Builder>
public final Monitoring.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<Monitoring.Builder>