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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TimeSeriesFilterRatio.RatioPart.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public TimeSeriesFilterRatio.RatioPart build()
Returns
buildPartial()
public TimeSeriesFilterRatio.RatioPart buildPartial()
Returns
clear()
public TimeSeriesFilterRatio.RatioPart.Builder clear()
Returns
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
clearField(Descriptors.FieldDescriptor field)
public TimeSeriesFilterRatio.RatioPart.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public TimeSeriesFilterRatio.RatioPart.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public TimeSeriesFilterRatio.RatioPart.Builder clone()
Returns
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
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
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
getDefaultInstanceForType()
public TimeSeriesFilterRatio.RatioPart getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Type | Description |
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
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
Type | Description |
boolean | Whether the aggregation field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
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
Returns
mergeFrom(TimeSeriesFilterRatio.RatioPart other)
public TimeSeriesFilterRatio.RatioPart.Builder mergeFrom(TimeSeriesFilterRatio.RatioPart other)
Parameter
Returns
public TimeSeriesFilterRatio.RatioPart.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public TimeSeriesFilterRatio.RatioPart.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TimeSeriesFilterRatio.RatioPart.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public TimeSeriesFilterRatio.RatioPart.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Name | Description |
value | String
The filter to set.
|
Returns
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
Name | Description |
value | ByteString
The bytes for filter to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TimeSeriesFilterRatio.RatioPart.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final TimeSeriesFilterRatio.RatioPart.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides