public static final class TimeSeriesFilterRatio.RatioPart.Builder extends GeneratedMessage.Builder<TimeSeriesFilterRatio.RatioPart.Builder> implements TimeSeriesFilterRatio.RatioPartOrBuilderDescribes a query to build the numerator or denominator of a TimeSeriesFilterRatio.
Protobuf type google.monitoring.dashboard.v1.TimeSeriesFilterRatio.RatioPart
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > TimeSeriesFilterRatio.RatioPart.BuilderImplements
TimeSeriesFilterRatio.RatioPartOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public TimeSeriesFilterRatio.RatioPart build()| Returns | |
|---|---|
| Type | Description |
TimeSeriesFilterRatio.RatioPart |
|
buildPartial()
public TimeSeriesFilterRatio.RatioPart buildPartial()| Returns | |
|---|---|
| Type | Description |
TimeSeriesFilterRatio.RatioPart |
|
clear()
public TimeSeriesFilterRatio.RatioPart.Builder clear()| Returns | |
|---|---|
| Type | Description |
TimeSeriesFilterRatio.RatioPart.Builder |
|
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 | |
|---|---|
| Type | Description |
TimeSeriesFilterRatio.RatioPart.Builder |
|
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 | |
|---|---|
| Type | Description |
TimeSeriesFilterRatio.RatioPart.Builder |
This builder for chaining. |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
AggregationOrBuilder |
|
getDefaultInstanceForType()
public TimeSeriesFilterRatio.RatioPart getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
TimeSeriesFilterRatio.RatioPart |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 | |
|---|---|
| Name | Description |
value |
Aggregation |
| Returns | |
|---|---|
| Type | Description |
TimeSeriesFilterRatio.RatioPart.Builder |
|
mergeFrom(TimeSeriesFilterRatio.RatioPart other)
public TimeSeriesFilterRatio.RatioPart.Builder mergeFrom(TimeSeriesFilterRatio.RatioPart other)| Parameter | |
|---|---|
| Name | Description |
other |
TimeSeriesFilterRatio.RatioPart |
| Returns | |
|---|---|
| Type | Description |
TimeSeriesFilterRatio.RatioPart.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TimeSeriesFilterRatio.RatioPart.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
TimeSeriesFilterRatio.RatioPart.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public TimeSeriesFilterRatio.RatioPart.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
TimeSeriesFilterRatio.RatioPart.Builder |
|
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 | |
|---|---|
| Name | Description |
value |
Aggregation |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
builderForValue |
Aggregation.Builder |
| Returns | |
|---|---|
| Type | Description |
TimeSeriesFilterRatio.RatioPart.Builder |
|
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 |
StringThe filter to set. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for filter to set. |
| Returns | |
|---|---|
| Type | Description |
TimeSeriesFilterRatio.RatioPart.Builder |
This builder for chaining. |