public static final class Monitoring.MonitoringDestination.Builder extends GeneratedMessageV3.Builder<Monitoring.MonitoringDestination.Builder> implements Monitoring.MonitoringDestinationOrBuilder
Configuration of a specific monitoring destination (the producer project or the consumer project).Protobuf type
google.api.Monitoring.MonitoringDestination
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.MonitoringDestination.Builder>
public Monitoring.MonitoringDestination.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<Monitoring.MonitoringDestination.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<Monitoring.MonitoringDestination.Builder>
public Monitoring.MonitoringDestination getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public Monitoring.MonitoringDestination build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public Monitoring.MonitoringDestination buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public Monitoring.MonitoringDestination.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<Monitoring.MonitoringDestination.Builder>
public Monitoring.MonitoringDestination.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<Monitoring.MonitoringDestination.Builder>
public Monitoring.MonitoringDestination.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<Monitoring.MonitoringDestination.Builder>
public Monitoring.MonitoringDestination.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<Monitoring.MonitoringDestination.Builder>
public Monitoring.MonitoringDestination.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<Monitoring.MonitoringDestination.Builder>
public Monitoring.MonitoringDestination.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<Monitoring.MonitoringDestination.Builder>
public Monitoring.MonitoringDestination.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<Monitoring.MonitoringDestination.Builder>
public Monitoring.MonitoringDestination.Builder mergeFrom(Monitoring.MonitoringDestination other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<Monitoring.MonitoringDestination.Builder>
public Monitoring.MonitoringDestination.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.MonitoringDestination.Builder>
java.io.IOException
public 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;
getMonitoredResource
in interface Monitoring.MonitoringDestinationOrBuilder
public 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;
getMonitoredResourceBytes
in interface Monitoring.MonitoringDestinationOrBuilder
public Monitoring.MonitoringDestination.Builder setMonitoredResource(java.lang.String value)
The monitored resource type. The type must be defined in [Service.monitored_resources][google.api.Service.monitored_resources] section.
string monitored_resource = 1;
public Monitoring.MonitoringDestination.Builder clearMonitoredResource()
The monitored resource type. The type must be defined in [Service.monitored_resources][google.api.Service.monitored_resources] section.
string monitored_resource = 1;
public Monitoring.MonitoringDestination.Builder setMonitoredResourceBytes(ByteString value)
The monitored resource type. The type must be defined in [Service.monitored_resources][google.api.Service.monitored_resources] section.
string monitored_resource = 1;
public ProtocolStringList getMetricsList()
Types of the metrics to report to this monitoring destination. Each type must be defined in [Service.metrics][google.api.Service.metrics] section.
repeated string metrics = 2;
getMetricsList
in interface Monitoring.MonitoringDestinationOrBuilder
public int getMetricsCount()
Types of the metrics to report to this monitoring destination. Each type must be defined in [Service.metrics][google.api.Service.metrics] section.
repeated string metrics = 2;
getMetricsCount
in interface Monitoring.MonitoringDestinationOrBuilder
public java.lang.String getMetrics(int index)
Types of the metrics to report to this monitoring destination. Each type must be defined in [Service.metrics][google.api.Service.metrics] section.
repeated string metrics = 2;
getMetrics
in interface Monitoring.MonitoringDestinationOrBuilder
public ByteString getMetricsBytes(int index)
Types of the metrics to report to this monitoring destination. Each type must be defined in [Service.metrics][google.api.Service.metrics] section.
repeated string metrics = 2;
getMetricsBytes
in interface Monitoring.MonitoringDestinationOrBuilder
public Monitoring.MonitoringDestination.Builder setMetrics(int index, java.lang.String value)
Types of the metrics to report to this monitoring destination. Each type must be defined in [Service.metrics][google.api.Service.metrics] section.
repeated string metrics = 2;
public Monitoring.MonitoringDestination.Builder addMetrics(java.lang.String value)
Types of the metrics to report to this monitoring destination. Each type must be defined in [Service.metrics][google.api.Service.metrics] section.
repeated string metrics = 2;
public Monitoring.MonitoringDestination.Builder addAllMetrics(java.lang.Iterable<java.lang.String> values)
Types of the metrics to report to this monitoring destination. Each type must be defined in [Service.metrics][google.api.Service.metrics] section.
repeated string metrics = 2;
public Monitoring.MonitoringDestination.Builder clearMetrics()
Types of the metrics to report to this monitoring destination. Each type must be defined in [Service.metrics][google.api.Service.metrics] section.
repeated string metrics = 2;
public Monitoring.MonitoringDestination.Builder addMetricsBytes(ByteString value)
Types of the metrics to report to this monitoring destination. Each type must be defined in [Service.metrics][google.api.Service.metrics] section.
repeated string metrics = 2;
public final Monitoring.MonitoringDestination.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<Monitoring.MonitoringDestination.Builder>
public final Monitoring.MonitoringDestination.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<Monitoring.MonitoringDestination.Builder>