Package com.google.api
Class Monitoring.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Monitoring.Builder>
com.google.api.Monitoring.Builder
- All Implemented Interfaces:
MonitoringOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- Monitoring
public static final class Monitoring.Builder
extends com.google.protobuf.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/num_overdue` metric is only sent to the consumer project. monitored_resources: - type: library.googleapis.com/Branch display_name: "Library Branch" description: "A branch of a library." launch_stage: GA labels: - key: resource_container description: "The Cloud container (ie. project id) for the Branch." - key: location description: "The location of the library branch." - key: branch_id description: "The id of the branch." metrics: - name: library.googleapis.com/book/returned_count display_name: "Books Returned" description: "The count of books that have been returned." launch_stage: GA metric_kind: DELTA value_type: INT64 unit: "1" labels: - key: customer_id description: "The id of the customer." - name: library.googleapis.com/book/num_overdue display_name: "Books Overdue" description: "The current number of overdue books." launch_stage: GA metric_kind: GAUGE value_type: INT64 unit: "1" labels: - key: customer_id description: "The id of the customer." 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/num_overdueProtobuf type
google.api.Monitoring
-
Method Summary
Modifier and TypeMethodDescriptionaddAllConsumerDestinations
(Iterable<? extends Monitoring.MonitoringDestination> values) Monitoring configurations for sending metrics to the consumer project.addAllProducerDestinations
(Iterable<? extends Monitoring.MonitoringDestination> values) Monitoring configurations for sending metrics to the producer project.addConsumerDestinations
(int index, Monitoring.MonitoringDestination value) Monitoring configurations for sending metrics to the consumer project.addConsumerDestinations
(int index, Monitoring.MonitoringDestination.Builder builderForValue) Monitoring configurations for sending metrics to the consumer project.Monitoring configurations for sending metrics to the consumer project.addConsumerDestinations
(Monitoring.MonitoringDestination.Builder builderForValue) Monitoring configurations for sending metrics to the consumer project.Monitoring configurations for sending metrics to the consumer project.addConsumerDestinationsBuilder
(int index) Monitoring configurations for sending metrics to the consumer project.addProducerDestinations
(int index, Monitoring.MonitoringDestination value) Monitoring configurations for sending metrics to the producer project.addProducerDestinations
(int index, Monitoring.MonitoringDestination.Builder builderForValue) Monitoring configurations for sending metrics to the producer project.Monitoring configurations for sending metrics to the producer project.addProducerDestinations
(Monitoring.MonitoringDestination.Builder builderForValue) Monitoring configurations for sending metrics to the producer project.Monitoring configurations for sending metrics to the producer project.addProducerDestinationsBuilder
(int index) Monitoring configurations for sending metrics to the producer project.addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
Monitoring configurations for sending metrics to the consumer project.clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Monitoring configurations for sending metrics to the producer project.clone()
getConsumerDestinations
(int index) Monitoring configurations for sending metrics to the consumer project.getConsumerDestinationsBuilder
(int index) Monitoring configurations for sending metrics to the consumer project.Monitoring configurations for sending metrics to the consumer project.int
Monitoring configurations for sending metrics to the consumer project.Monitoring configurations for sending metrics to the consumer project.getConsumerDestinationsOrBuilder
(int index) Monitoring configurations for sending metrics to the consumer project.List<? extends Monitoring.MonitoringDestinationOrBuilder>
Monitoring configurations for sending metrics to the consumer project.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getProducerDestinations
(int index) Monitoring configurations for sending metrics to the producer project.getProducerDestinationsBuilder
(int index) Monitoring configurations for sending metrics to the producer project.Monitoring configurations for sending metrics to the producer project.int
Monitoring configurations for sending metrics to the producer project.Monitoring configurations for sending metrics to the producer project.getProducerDestinationsOrBuilder
(int index) Monitoring configurations for sending metrics to the producer project.List<? extends Monitoring.MonitoringDestinationOrBuilder>
Monitoring configurations for sending metrics to the producer project.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(Monitoring other) mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) final Monitoring.Builder
mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) removeConsumerDestinations
(int index) Monitoring configurations for sending metrics to the consumer project.removeProducerDestinations
(int index) Monitoring configurations for sending metrics to the producer project.setConsumerDestinations
(int index, Monitoring.MonitoringDestination value) Monitoring configurations for sending metrics to the consumer project.setConsumerDestinations
(int index, Monitoring.MonitoringDestination.Builder builderForValue) Monitoring configurations for sending metrics to the consumer project.setProducerDestinations
(int index, Monitoring.MonitoringDestination value) Monitoring configurations for sending metrics to the producer project.setProducerDestinations
(int index, Monitoring.MonitoringDestination.Builder builderForValue) Monitoring configurations for sending metrics to the producer project.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) final Monitoring.Builder
setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Monitoring.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Monitoring.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Monitoring.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Monitoring.Builder>
-
setField
public Monitoring.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Monitoring.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Monitoring.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Monitoring.Builder>
-
setRepeatedField
public Monitoring.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Monitoring.Builder>
-
addRepeatedField
public Monitoring.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Monitoring.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Monitoring.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Monitoring.Builder>
-
mergeFrom
public Monitoring.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Monitoring.Builder>
- Throws:
IOException
-
getProducerDestinationsList
Monitoring configurations for sending metrics to the producer project. There can be multiple producer destinations. A monitored resource 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;
- Specified by:
getProducerDestinationsList
in interfaceMonitoringOrBuilder
-
getProducerDestinationsCount
public int getProducerDestinationsCount()Monitoring configurations for sending metrics to the producer project. There can be multiple producer destinations. A monitored resource 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;
- Specified by:
getProducerDestinationsCount
in interfaceMonitoringOrBuilder
-
getProducerDestinations
Monitoring configurations for sending metrics to the producer project. There can be multiple producer destinations. A monitored resource 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;
- Specified by:
getProducerDestinations
in interfaceMonitoringOrBuilder
-
setProducerDestinations
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 resource 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;
-
setProducerDestinations
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 resource 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;
-
addProducerDestinations
Monitoring configurations for sending metrics to the producer project. There can be multiple producer destinations. A monitored resource 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;
-
addProducerDestinations
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 resource 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;
-
addProducerDestinations
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 resource 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;
-
addProducerDestinations
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 resource 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;
-
addAllProducerDestinations
public Monitoring.Builder addAllProducerDestinations(Iterable<? extends Monitoring.MonitoringDestination> values) Monitoring configurations for sending metrics to the producer project. There can be multiple producer destinations. A monitored resource 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;
-
clearProducerDestinations
Monitoring configurations for sending metrics to the producer project. There can be multiple producer destinations. A monitored resource 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;
-
removeProducerDestinations
Monitoring configurations for sending metrics to the producer project. There can be multiple producer destinations. A monitored resource 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;
-
getProducerDestinationsBuilder
Monitoring configurations for sending metrics to the producer project. There can be multiple producer destinations. A monitored resource 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
Monitoring configurations for sending metrics to the producer project. There can be multiple producer destinations. A monitored resource 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;
- Specified by:
getProducerDestinationsOrBuilder
in interfaceMonitoringOrBuilder
-
getProducerDestinationsOrBuilderList
public List<? extends Monitoring.MonitoringDestinationOrBuilder> getProducerDestinationsOrBuilderList()Monitoring configurations for sending metrics to the producer project. There can be multiple producer destinations. A monitored resource 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;
- Specified by:
getProducerDestinationsOrBuilderList
in interfaceMonitoringOrBuilder
-
addProducerDestinationsBuilder
Monitoring configurations for sending metrics to the producer project. There can be multiple producer destinations. A monitored resource 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;
-
addProducerDestinationsBuilder
Monitoring configurations for sending metrics to the producer project. There can be multiple producer destinations. A monitored resource 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;
-
getProducerDestinationsBuilderList
Monitoring configurations for sending metrics to the producer project. There can be multiple producer destinations. A monitored resource 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;
-
getConsumerDestinationsList
Monitoring configurations for sending metrics to the consumer project. There can be multiple consumer destinations. A monitored resource 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;
- Specified by:
getConsumerDestinationsList
in interfaceMonitoringOrBuilder
-
getConsumerDestinationsCount
public int getConsumerDestinationsCount()Monitoring configurations for sending metrics to the consumer project. There can be multiple consumer destinations. A monitored resource 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;
- Specified by:
getConsumerDestinationsCount
in interfaceMonitoringOrBuilder
-
getConsumerDestinations
Monitoring configurations for sending metrics to the consumer project. There can be multiple consumer destinations. A monitored resource 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;
- Specified by:
getConsumerDestinations
in interfaceMonitoringOrBuilder
-
setConsumerDestinations
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 resource 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;
-
setConsumerDestinations
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 resource 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;
-
addConsumerDestinations
Monitoring configurations for sending metrics to the consumer project. There can be multiple consumer destinations. A monitored resource 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;
-
addConsumerDestinations
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 resource 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;
-
addConsumerDestinations
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 resource 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;
-
addConsumerDestinations
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 resource 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;
-
addAllConsumerDestinations
public Monitoring.Builder addAllConsumerDestinations(Iterable<? extends Monitoring.MonitoringDestination> values) Monitoring configurations for sending metrics to the consumer project. There can be multiple consumer destinations. A monitored resource 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;
-
clearConsumerDestinations
Monitoring configurations for sending metrics to the consumer project. There can be multiple consumer destinations. A monitored resource 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;
-
removeConsumerDestinations
Monitoring configurations for sending metrics to the consumer project. There can be multiple consumer destinations. A monitored resource 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;
-
getConsumerDestinationsBuilder
Monitoring configurations for sending metrics to the consumer project. There can be multiple consumer destinations. A monitored resource 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
Monitoring configurations for sending metrics to the consumer project. There can be multiple consumer destinations. A monitored resource 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;
- Specified by:
getConsumerDestinationsOrBuilder
in interfaceMonitoringOrBuilder
-
getConsumerDestinationsOrBuilderList
public List<? extends Monitoring.MonitoringDestinationOrBuilder> getConsumerDestinationsOrBuilderList()Monitoring configurations for sending metrics to the consumer project. There can be multiple consumer destinations. A monitored resource 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;
- Specified by:
getConsumerDestinationsOrBuilderList
in interfaceMonitoringOrBuilder
-
addConsumerDestinationsBuilder
Monitoring configurations for sending metrics to the consumer project. There can be multiple consumer destinations. A monitored resource 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;
-
addConsumerDestinationsBuilder
Monitoring configurations for sending metrics to the consumer project. There can be multiple consumer destinations. A monitored resource 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;
-
getConsumerDestinationsBuilderList
Monitoring configurations for sending metrics to the consumer project. There can be multiple consumer destinations. A monitored resource 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;
-
setUnknownFields
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Monitoring.Builder>
-
mergeUnknownFields
public final Monitoring.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Monitoring.Builder>
-