Class TimeSeriesDescriptor (3.10.0)

public final class TimeSeriesDescriptor extends GeneratedMessageV3 implements TimeSeriesDescriptorOrBuilder

A descriptor for the labels and points in a time series.

Protobuf type google.monitoring.v3.TimeSeriesDescriptor

Static Fields

LABEL_DESCRIPTORS_FIELD_NUMBER

public static final int LABEL_DESCRIPTORS_FIELD_NUMBER
Field Value
TypeDescription
int

POINT_DESCRIPTORS_FIELD_NUMBER

public static final int POINT_DESCRIPTORS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static TimeSeriesDescriptor getDefaultInstance()
Returns
TypeDescription
TimeSeriesDescriptor

getDescriptor()

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

newBuilder()

public static TimeSeriesDescriptor.Builder newBuilder()
Returns
TypeDescription
TimeSeriesDescriptor.Builder

newBuilder(TimeSeriesDescriptor prototype)

public static TimeSeriesDescriptor.Builder newBuilder(TimeSeriesDescriptor prototype)
Parameter
NameDescription
prototypeTimeSeriesDescriptor
Returns
TypeDescription
TimeSeriesDescriptor.Builder

parseDelimitedFrom(InputStream input)

public static TimeSeriesDescriptor parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TimeSeriesDescriptor
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static TimeSeriesDescriptor parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
TimeSeriesDescriptor
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static TimeSeriesDescriptor parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
TimeSeriesDescriptor
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static TimeSeriesDescriptor parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TimeSeriesDescriptor
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static TimeSeriesDescriptor parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
TimeSeriesDescriptor
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<TimeSeriesDescriptor> parser()
Returns
TypeDescription
Parser<TimeSeriesDescriptor>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public TimeSeriesDescriptor getDefaultInstanceForType()
Returns
TypeDescription
TimeSeriesDescriptor

getLabelDescriptors(int index)

public LabelDescriptor getLabelDescriptors(int index)

Descriptors for the labels.

repeated .google.api.LabelDescriptor label_descriptors = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
com.google.api.LabelDescriptor

getLabelDescriptorsCount()

public int getLabelDescriptorsCount()

Descriptors for the labels.

repeated .google.api.LabelDescriptor label_descriptors = 1;

Returns
TypeDescription
int

getLabelDescriptorsList()

public List<LabelDescriptor> getLabelDescriptorsList()

Descriptors for the labels.

repeated .google.api.LabelDescriptor label_descriptors = 1;

Returns
TypeDescription
List<com.google.api.LabelDescriptor>

getLabelDescriptorsOrBuilder(int index)

public LabelDescriptorOrBuilder getLabelDescriptorsOrBuilder(int index)

Descriptors for the labels.

repeated .google.api.LabelDescriptor label_descriptors = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
com.google.api.LabelDescriptorOrBuilder

getLabelDescriptorsOrBuilderList()

public List<? extends LabelDescriptorOrBuilder> getLabelDescriptorsOrBuilderList()

Descriptors for the labels.

repeated .google.api.LabelDescriptor label_descriptors = 1;

Returns
TypeDescription
List<? extends com.google.api.LabelDescriptorOrBuilder>

getParserForType()

public Parser<TimeSeriesDescriptor> getParserForType()
Returns
TypeDescription
Parser<TimeSeriesDescriptor>
Overrides

getPointDescriptors(int index)

public TimeSeriesDescriptor.ValueDescriptor getPointDescriptors(int index)

Descriptors for the point data value columns.

repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5;

Parameter
NameDescription
indexint
Returns
TypeDescription
TimeSeriesDescriptor.ValueDescriptor

getPointDescriptorsCount()

public int getPointDescriptorsCount()

Descriptors for the point data value columns.

repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5;

Returns
TypeDescription
int

getPointDescriptorsList()

public List<TimeSeriesDescriptor.ValueDescriptor> getPointDescriptorsList()

Descriptors for the point data value columns.

repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5;

Returns
TypeDescription
List<ValueDescriptor>

getPointDescriptorsOrBuilder(int index)

public TimeSeriesDescriptor.ValueDescriptorOrBuilder getPointDescriptorsOrBuilder(int index)

Descriptors for the point data value columns.

repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5;

Parameter
NameDescription
indexint
Returns
TypeDescription
TimeSeriesDescriptor.ValueDescriptorOrBuilder

getPointDescriptorsOrBuilderList()

public List<? extends TimeSeriesDescriptor.ValueDescriptorOrBuilder> getPointDescriptorsOrBuilderList()

Descriptors for the point data value columns.

repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5;

Returns
TypeDescription
List<? extends com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptorOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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 TimeSeriesDescriptor.Builder newBuilderForType()
Returns
TypeDescription
TimeSeriesDescriptor.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public TimeSeriesDescriptor.Builder toBuilder()
Returns
TypeDescription
TimeSeriesDescriptor.Builder

writeTo(CodedOutputStream output)

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