Class TimeSeriesDescriptor (3.47.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
Type Description
int

POINT_DESCRIPTORS_FIELD_NUMBER

public static final int POINT_DESCRIPTORS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static TimeSeriesDescriptor getDefaultInstance()
Returns
Type Description
TimeSeriesDescriptor

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static TimeSeriesDescriptor.Builder newBuilder()
Returns
Type Description
TimeSeriesDescriptor.Builder

newBuilder(TimeSeriesDescriptor prototype)

public static TimeSeriesDescriptor.Builder newBuilder(TimeSeriesDescriptor prototype)
Parameter
Name Description
prototype TimeSeriesDescriptor
Returns
Type Description
TimeSeriesDescriptor.Builder

parseDelimitedFrom(InputStream input)

public static TimeSeriesDescriptor parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TimeSeriesDescriptor
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TimeSeriesDescriptor parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TimeSeriesDescriptor
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static TimeSeriesDescriptor parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
TimeSeriesDescriptor
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TimeSeriesDescriptor parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TimeSeriesDescriptor
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TimeSeriesDescriptor parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
TimeSeriesDescriptor
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TimeSeriesDescriptor parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TimeSeriesDescriptor
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TimeSeriesDescriptor parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
TimeSeriesDescriptor
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TimeSeriesDescriptor parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TimeSeriesDescriptor
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static TimeSeriesDescriptor parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TimeSeriesDescriptor
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TimeSeriesDescriptor parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TimeSeriesDescriptor
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static TimeSeriesDescriptor parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
TimeSeriesDescriptor
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TimeSeriesDescriptor parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TimeSeriesDescriptor
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<TimeSeriesDescriptor> parser()
Returns
Type Description
Parser<TimeSeriesDescriptor>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public TimeSeriesDescriptor getDefaultInstanceForType()
Returns
Type Description
TimeSeriesDescriptor

getLabelDescriptors(int index)

public LabelDescriptor getLabelDescriptors(int index)

Descriptors for the labels.

repeated .google.api.LabelDescriptor label_descriptors = 1;

Parameter
Name Description
index int
Returns
Type Description
com.google.api.LabelDescriptor

getLabelDescriptorsCount()

public int getLabelDescriptorsCount()

Descriptors for the labels.

repeated .google.api.LabelDescriptor label_descriptors = 1;

Returns
Type Description
int

getLabelDescriptorsList()

public List<LabelDescriptor> getLabelDescriptorsList()

Descriptors for the labels.

repeated .google.api.LabelDescriptor label_descriptors = 1;

Returns
Type Description
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
Name Description
index int
Returns
Type Description
com.google.api.LabelDescriptorOrBuilder

getLabelDescriptorsOrBuilderList()

public List<? extends LabelDescriptorOrBuilder> getLabelDescriptorsOrBuilderList()

Descriptors for the labels.

repeated .google.api.LabelDescriptor label_descriptors = 1;

Returns
Type Description
List<? extends com.google.api.LabelDescriptorOrBuilder>

getParserForType()

public Parser<TimeSeriesDescriptor> getParserForType()
Returns
Type Description
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
Name Description
index int
Returns
Type Description
TimeSeriesDescriptor.ValueDescriptor

getPointDescriptorsCount()

public int getPointDescriptorsCount()

Descriptors for the point data value columns.

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

Returns
Type Description
int

getPointDescriptorsList()

public List<TimeSeriesDescriptor.ValueDescriptor> getPointDescriptorsList()

Descriptors for the point data value columns.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
List<? extends com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptorOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public TimeSeriesDescriptor.Builder newBuilderForType()
Returns
Type Description
TimeSeriesDescriptor.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TimeSeriesDescriptor.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
TimeSeriesDescriptor.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public TimeSeriesDescriptor.Builder toBuilder()
Returns
Type Description
TimeSeriesDescriptor.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException