Class TimeSeriesFilterRatio.RatioPart.Builder (2.16.0)

public static final class TimeSeriesFilterRatio.RatioPart.Builder extends GeneratedMessageV3.Builder<TimeSeriesFilterRatio.RatioPart.Builder> implements TimeSeriesFilterRatio.RatioPartOrBuilder

Describes a query to build the numerator or denominator of a TimeSeriesFilterRatio.

Protobuf type google.monitoring.dashboard.v1.TimeSeriesFilterRatio.RatioPart

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TimeSeriesFilterRatio.RatioPart.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
TimeSeriesFilterRatio.RatioPart.Builder
Overrides

build()

public TimeSeriesFilterRatio.RatioPart build()
Returns
TypeDescription
TimeSeriesFilterRatio.RatioPart

buildPartial()

public TimeSeriesFilterRatio.RatioPart buildPartial()
Returns
TypeDescription
TimeSeriesFilterRatio.RatioPart

clear()

public TimeSeriesFilterRatio.RatioPart.Builder clear()
Returns
TypeDescription
TimeSeriesFilterRatio.RatioPart.Builder
Overrides

clearAggregation()

public TimeSeriesFilterRatio.RatioPart.Builder clearAggregation()

By default, the raw time series data is returned. Use this field to combine multiple time series for different views of the data.

.google.monitoring.dashboard.v1.Aggregation aggregation = 2;

Returns
TypeDescription
TimeSeriesFilterRatio.RatioPart.Builder

clearField(Descriptors.FieldDescriptor field)

public TimeSeriesFilterRatio.RatioPart.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
TimeSeriesFilterRatio.RatioPart.Builder
Overrides

clearFilter()

public TimeSeriesFilterRatio.RatioPart.Builder clearFilter()

Required. The monitoring filter that identifies the metric types, resources, and projects to query.

string filter = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
TimeSeriesFilterRatio.RatioPart.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public TimeSeriesFilterRatio.RatioPart.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
TimeSeriesFilterRatio.RatioPart.Builder
Overrides

clone()

public TimeSeriesFilterRatio.RatioPart.Builder clone()
Returns
TypeDescription
TimeSeriesFilterRatio.RatioPart.Builder
Overrides

getAggregation()

public Aggregation getAggregation()

By default, the raw time series data is returned. Use this field to combine multiple time series for different views of the data.

.google.monitoring.dashboard.v1.Aggregation aggregation = 2;

Returns
TypeDescription
Aggregation

The aggregation.

getAggregationBuilder()

public Aggregation.Builder getAggregationBuilder()

By default, the raw time series data is returned. Use this field to combine multiple time series for different views of the data.

.google.monitoring.dashboard.v1.Aggregation aggregation = 2;

Returns
TypeDescription
Aggregation.Builder

getAggregationOrBuilder()

public AggregationOrBuilder getAggregationOrBuilder()

By default, the raw time series data is returned. Use this field to combine multiple time series for different views of the data.

.google.monitoring.dashboard.v1.Aggregation aggregation = 2;

Returns
TypeDescription
AggregationOrBuilder

getDefaultInstanceForType()

public TimeSeriesFilterRatio.RatioPart getDefaultInstanceForType()
Returns
TypeDescription
TimeSeriesFilterRatio.RatioPart

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFilter()

public String getFilter()

Required. The monitoring filter that identifies the metric types, resources, and projects to query.

string filter = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The filter.

getFilterBytes()

public ByteString getFilterBytes()

Required. The monitoring filter that identifies the metric types, resources, and projects to query.

string filter = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for filter.

hasAggregation()

public boolean hasAggregation()

By default, the raw time series data is returned. Use this field to combine multiple time series for different views of the data.

.google.monitoring.dashboard.v1.Aggregation aggregation = 2;

Returns
TypeDescription
boolean

Whether the aggregation field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeAggregation(Aggregation value)

public TimeSeriesFilterRatio.RatioPart.Builder mergeAggregation(Aggregation value)

By default, the raw time series data is returned. Use this field to combine multiple time series for different views of the data.

.google.monitoring.dashboard.v1.Aggregation aggregation = 2;

Parameter
NameDescription
valueAggregation
Returns
TypeDescription
TimeSeriesFilterRatio.RatioPart.Builder

mergeFrom(TimeSeriesFilterRatio.RatioPart other)

public TimeSeriesFilterRatio.RatioPart.Builder mergeFrom(TimeSeriesFilterRatio.RatioPart other)
Parameter
NameDescription
otherTimeSeriesFilterRatio.RatioPart
Returns
TypeDescription
TimeSeriesFilterRatio.RatioPart.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TimeSeriesFilterRatio.RatioPart.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TimeSeriesFilterRatio.RatioPart.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public TimeSeriesFilterRatio.RatioPart.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
TimeSeriesFilterRatio.RatioPart.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TimeSeriesFilterRatio.RatioPart.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TimeSeriesFilterRatio.RatioPart.Builder
Overrides

setAggregation(Aggregation value)

public TimeSeriesFilterRatio.RatioPart.Builder setAggregation(Aggregation value)

By default, the raw time series data is returned. Use this field to combine multiple time series for different views of the data.

.google.monitoring.dashboard.v1.Aggregation aggregation = 2;

Parameter
NameDescription
valueAggregation
Returns
TypeDescription
TimeSeriesFilterRatio.RatioPart.Builder

setAggregation(Aggregation.Builder builderForValue)

public TimeSeriesFilterRatio.RatioPart.Builder setAggregation(Aggregation.Builder builderForValue)

By default, the raw time series data is returned. Use this field to combine multiple time series for different views of the data.

.google.monitoring.dashboard.v1.Aggregation aggregation = 2;

Parameter
NameDescription
builderForValueAggregation.Builder
Returns
TypeDescription
TimeSeriesFilterRatio.RatioPart.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public TimeSeriesFilterRatio.RatioPart.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
TimeSeriesFilterRatio.RatioPart.Builder
Overrides

setFilter(String value)

public TimeSeriesFilterRatio.RatioPart.Builder setFilter(String value)

Required. The monitoring filter that identifies the metric types, resources, and projects to query.

string filter = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The filter to set.

Returns
TypeDescription
TimeSeriesFilterRatio.RatioPart.Builder

This builder for chaining.

setFilterBytes(ByteString value)

public TimeSeriesFilterRatio.RatioPart.Builder setFilterBytes(ByteString value)

Required. The monitoring filter that identifies the metric types, resources, and projects to query.

string filter = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for filter to set.

Returns
TypeDescription
TimeSeriesFilterRatio.RatioPart.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public TimeSeriesFilterRatio.RatioPart.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
TimeSeriesFilterRatio.RatioPart.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final TimeSeriesFilterRatio.RatioPart.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TimeSeriesFilterRatio.RatioPart.Builder
Overrides