Class TimeSeriesFilterRatio.RatioPart (2.26.0)

public static final class TimeSeriesFilterRatio.RatioPart extends GeneratedMessageV3 implements TimeSeriesFilterRatio.RatioPartOrBuilder

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

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > TimeSeriesFilterRatio.RatioPart

Static Fields

AGGREGATION_FIELD_NUMBER

public static final int AGGREGATION_FIELD_NUMBER
Field Value
TypeDescription
int

FILTER_FIELD_NUMBER

public static final int FILTER_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static TimeSeriesFilterRatio.RatioPart getDefaultInstance()
Returns
TypeDescription
TimeSeriesFilterRatio.RatioPart

getDescriptor()

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

newBuilder()

public static TimeSeriesFilterRatio.RatioPart.Builder newBuilder()
Returns
TypeDescription
TimeSeriesFilterRatio.RatioPart.Builder

newBuilder(TimeSeriesFilterRatio.RatioPart prototype)

public static TimeSeriesFilterRatio.RatioPart.Builder newBuilder(TimeSeriesFilterRatio.RatioPart prototype)
Parameter
NameDescription
prototypeTimeSeriesFilterRatio.RatioPart
Returns
TypeDescription
TimeSeriesFilterRatio.RatioPart.Builder

parseDelimitedFrom(InputStream input)

public static TimeSeriesFilterRatio.RatioPart parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TimeSeriesFilterRatio.RatioPart
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TimeSeriesFilterRatio.RatioPart parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TimeSeriesFilterRatio.RatioPart
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static TimeSeriesFilterRatio.RatioPart parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
TimeSeriesFilterRatio.RatioPart
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TimeSeriesFilterRatio.RatioPart parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TimeSeriesFilterRatio.RatioPart
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TimeSeriesFilterRatio.RatioPart parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
TimeSeriesFilterRatio.RatioPart
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TimeSeriesFilterRatio.RatioPart parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TimeSeriesFilterRatio.RatioPart
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TimeSeriesFilterRatio.RatioPart parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
TimeSeriesFilterRatio.RatioPart
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TimeSeriesFilterRatio.RatioPart parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TimeSeriesFilterRatio.RatioPart
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static TimeSeriesFilterRatio.RatioPart parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TimeSeriesFilterRatio.RatioPart
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TimeSeriesFilterRatio.RatioPart parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TimeSeriesFilterRatio.RatioPart
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static TimeSeriesFilterRatio.RatioPart parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
TimeSeriesFilterRatio.RatioPart
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TimeSeriesFilterRatio.RatioPart parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TimeSeriesFilterRatio.RatioPart
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<TimeSeriesFilterRatio.RatioPart> parser()
Returns
TypeDescription
Parser<RatioPart>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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.

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

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.

getParserForType()

public Parser<TimeSeriesFilterRatio.RatioPart> getParserForType()
Returns
TypeDescription
Parser<RatioPart>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public TimeSeriesFilterRatio.RatioPart.Builder newBuilderForType()
Returns
TypeDescription
TimeSeriesFilterRatio.RatioPart.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TimeSeriesFilterRatio.RatioPart.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
TimeSeriesFilterRatio.RatioPart.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public TimeSeriesFilterRatio.RatioPart.Builder toBuilder()
Returns
TypeDescription
TimeSeriesFilterRatio.RatioPart.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException