Class TimeSeriesFilterRatio.RatioPart.Builder (2.43.0)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version 2.43.0keyboard_arrow_down
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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TimeSeriesFilterRatio . RatioPart . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public TimeSeriesFilterRatio . RatioPart build ()
buildPartial()
public TimeSeriesFilterRatio . RatioPart buildPartial ()
clear()
public TimeSeriesFilterRatio . RatioPart . Builder clear ()
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;
clearField(Descriptors.FieldDescriptor field)
public TimeSeriesFilterRatio . RatioPart . Builder clearField ( Descriptors . FieldDescriptor field )
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public TimeSeriesFilterRatio . RatioPart . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clone()
public TimeSeriesFilterRatio . RatioPart . Builder clone ()
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;
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;
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;
getDefaultInstanceForType()
public TimeSeriesFilterRatio . RatioPart getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
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
Type
Description
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
Type
Description
boolean
Whether the aggregation field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
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;
mergeFrom(TimeSeriesFilterRatio.RatioPart other)
public TimeSeriesFilterRatio . RatioPart . Builder mergeFrom ( TimeSeriesFilterRatio . RatioPart other )
public TimeSeriesFilterRatio . RatioPart . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public TimeSeriesFilterRatio . RatioPart . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TimeSeriesFilterRatio . RatioPart . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
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;
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;
setField(Descriptors.FieldDescriptor field, Object value)
public TimeSeriesFilterRatio . RatioPart . Builder setField ( Descriptors . FieldDescriptor field , Object value )
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.
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.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TimeSeriesFilterRatio . RatioPart . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final TimeSeriesFilterRatio . RatioPart . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-03 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-03 UTC."],[],[],null,[]]