- 2.62.0 (latest)
- 2.61.3
- 2.60.0
- 2.59.2
- 2.58.0
- 2.57.0
- 2.56.0
- 2.54.1
- 2.53.0
- 2.52.0
- 2.51.0
- 2.50.1
- 2.49.0
- 2.48.0
- 2.46.0
- 2.45.1
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.1
- 2.38.0
- 2.37.1
- 2.36.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.25.1
- 2.24.0
- 2.23.1
- 2.22.1
- 2.21.1
- 2.15.0
- 2.14.3
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.6
- 2.8.4
- 2.7.4
public static final class Monitoring.MonitoringDestination.Builder extends GeneratedMessageV3.Builder<Monitoring.MonitoringDestination.Builder> implements Monitoring.MonitoringDestinationOrBuilderConfiguration of a specific monitoring destination (the producer project or the consumer project).
Protobuf type google.api.Monitoring.MonitoringDestination
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Monitoring.MonitoringDestination.BuilderImplements
Monitoring.MonitoringDestinationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description |
| Descriptor |
Methods
addAllMetrics(Iterable<String> values)
public Monitoring.MonitoringDestination.Builder addAllMetrics(Iterable<String> values)Types of the metrics to report to this monitoring destination. Each type must be defined in Service.metrics section.
repeated string metrics = 2;
| Name | Description |
| values | Iterable<String>The metrics to add. |
| Type | Description |
| Monitoring.MonitoringDestination.Builder | This builder for chaining. |
addMetrics(String value)
public Monitoring.MonitoringDestination.Builder addMetrics(String value)Types of the metrics to report to this monitoring destination. Each type must be defined in Service.metrics section.
repeated string metrics = 2;
| Name | Description |
| value | StringThe metrics to add. |
| Type | Description |
| Monitoring.MonitoringDestination.Builder | This builder for chaining. |
addMetricsBytes(ByteString value)
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 section.
repeated string metrics = 2;
| Name | Description |
| value | ByteStringThe bytes of the metrics to add. |
| Type | Description |
| Monitoring.MonitoringDestination.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Monitoring.MonitoringDestination.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| Monitoring.MonitoringDestination.Builder |
build()
public Monitoring.MonitoringDestination build()| Type | Description |
| Monitoring.MonitoringDestination |
buildPartial()
public Monitoring.MonitoringDestination buildPartial()| Type | Description |
| Monitoring.MonitoringDestination |
clear()
public Monitoring.MonitoringDestination.Builder clear()| Type | Description |
| Monitoring.MonitoringDestination.Builder |
clearField(Descriptors.FieldDescriptor field)
public Monitoring.MonitoringDestination.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
| field | FieldDescriptor |
| Type | Description |
| Monitoring.MonitoringDestination.Builder |
clearMetrics()
public Monitoring.MonitoringDestination.Builder clearMetrics()Types of the metrics to report to this monitoring destination. Each type must be defined in Service.metrics section.
repeated string metrics = 2;
| Type | Description |
| Monitoring.MonitoringDestination.Builder | This builder for chaining. |
clearMonitoredResource()
public Monitoring.MonitoringDestination.Builder clearMonitoredResource()The monitored resource type. The type must be defined in Service.monitored_resources section.
string monitored_resource = 1;
| Type | Description |
| Monitoring.MonitoringDestination.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Monitoring.MonitoringDestination.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
| oneof | OneofDescriptor |
| Type | Description |
| Monitoring.MonitoringDestination.Builder |
clone()
public Monitoring.MonitoringDestination.Builder clone()| Type | Description |
| Monitoring.MonitoringDestination.Builder |
getDefaultInstanceForType()
public Monitoring.MonitoringDestination getDefaultInstanceForType()| Type | Description |
| Monitoring.MonitoringDestination |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
| Descriptor |
getMetrics(int index)
public String getMetrics(int index)Types of the metrics to report to this monitoring destination. Each type must be defined in Service.metrics section.
repeated string metrics = 2;
| Name | Description |
| index | intThe index of the element to return. |
| Type | Description |
| String | The metrics at the given index. |
getMetricsBytes(int index)
public ByteString getMetricsBytes(int index)Types of the metrics to report to this monitoring destination. Each type must be defined in Service.metrics section.
repeated string metrics = 2;
| Name | Description |
| index | intThe index of the value to return. |
| Type | Description |
| ByteString | The bytes of the metrics at the given index. |
getMetricsCount()
public int getMetricsCount()Types of the metrics to report to this monitoring destination. Each type must be defined in Service.metrics section.
repeated string metrics = 2;
| Type | Description |
| int | The count of metrics. |
getMetricsList()
public ProtocolStringList getMetricsList()Types of the metrics to report to this monitoring destination. Each type must be defined in Service.metrics section.
repeated string metrics = 2;
| Type | Description |
| ProtocolStringList | A list containing the metrics. |
getMonitoredResource()
public String getMonitoredResource()The monitored resource type. The type must be defined in Service.monitored_resources section.
string monitored_resource = 1;
| Type | Description |
| String | The monitoredResource. |
getMonitoredResourceBytes()
public ByteString getMonitoredResourceBytes()The monitored resource type. The type must be defined in Service.monitored_resources section.
string monitored_resource = 1;
| Type | Description |
| ByteString | The bytes for monitoredResource. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
| FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| Type | Description |
| boolean |
mergeFrom(Monitoring.MonitoringDestination other)
public Monitoring.MonitoringDestination.Builder mergeFrom(Monitoring.MonitoringDestination other)| Name | Description |
| other | Monitoring.MonitoringDestination |
| Type | Description |
| Monitoring.MonitoringDestination.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Monitoring.MonitoringDestination.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
| input | CodedInputStream |
| extensionRegistry | ExtensionRegistryLite |
| Type | Description |
| Monitoring.MonitoringDestination.Builder |
| Type | Description |
| IOException |
mergeFrom(Message other)
public Monitoring.MonitoringDestination.Builder mergeFrom(Message other)| Name | Description |
| other | Message |
| Type | Description |
| Monitoring.MonitoringDestination.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Monitoring.MonitoringDestination.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| Monitoring.MonitoringDestination.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Monitoring.MonitoringDestination.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| Monitoring.MonitoringDestination.Builder |
setMetrics(int index, String value)
public Monitoring.MonitoringDestination.Builder setMetrics(int index, String value)Types of the metrics to report to this monitoring destination. Each type must be defined in Service.metrics section.
repeated string metrics = 2;
| Name | Description |
| index | intThe index to set the value at. |
| value | StringThe metrics to set. |
| Type | Description |
| Monitoring.MonitoringDestination.Builder | This builder for chaining. |
setMonitoredResource(String value)
public Monitoring.MonitoringDestination.Builder setMonitoredResource(String value)The monitored resource type. The type must be defined in Service.monitored_resources section.
string monitored_resource = 1;
| Name | Description |
| value | StringThe monitoredResource to set. |
| Type | Description |
| Monitoring.MonitoringDestination.Builder | This builder for chaining. |
setMonitoredResourceBytes(ByteString value)
public Monitoring.MonitoringDestination.Builder setMonitoredResourceBytes(ByteString value)The monitored resource type. The type must be defined in Service.monitored_resources section.
string monitored_resource = 1;
| Name | Description |
| value | ByteStringThe bytes for monitoredResource to set. |
| Type | Description |
| Monitoring.MonitoringDestination.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Monitoring.MonitoringDestination.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
| field | FieldDescriptor |
| index | int |
| value | Object |
| Type | Description |
| Monitoring.MonitoringDestination.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Monitoring.MonitoringDestination.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| Monitoring.MonitoringDestination.Builder |