Class TimeSeriesDescriptor.Builder (3.30.0)

public static final class TimeSeriesDescriptor.Builder extends GeneratedMessageV3.Builder<TimeSeriesDescriptor.Builder> implements TimeSeriesDescriptorOrBuilder

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

Protobuf type google.monitoring.v3.TimeSeriesDescriptor

Static Methods

getDescriptor()

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

Methods

addAllLabelDescriptors(Iterable<? extends LabelDescriptor> values)

public TimeSeriesDescriptor.Builder addAllLabelDescriptors(Iterable<? extends LabelDescriptor> values)

Descriptors for the labels.

repeated .google.api.LabelDescriptor label_descriptors = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.api.LabelDescriptor>
Returns
TypeDescription
TimeSeriesDescriptor.Builder

addAllPointDescriptors(Iterable<? extends TimeSeriesDescriptor.ValueDescriptor> values)

public TimeSeriesDescriptor.Builder addAllPointDescriptors(Iterable<? extends TimeSeriesDescriptor.ValueDescriptor> values)

Descriptors for the point data value columns.

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

Parameter
NameDescription
valuesIterable<? extends com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor>
Returns
TypeDescription
TimeSeriesDescriptor.Builder

addLabelDescriptors(LabelDescriptor value)

public TimeSeriesDescriptor.Builder addLabelDescriptors(LabelDescriptor value)

Descriptors for the labels.

repeated .google.api.LabelDescriptor label_descriptors = 1;

Parameter
NameDescription
valuecom.google.api.LabelDescriptor
Returns
TypeDescription
TimeSeriesDescriptor.Builder

addLabelDescriptors(LabelDescriptor.Builder builderForValue)

public TimeSeriesDescriptor.Builder addLabelDescriptors(LabelDescriptor.Builder builderForValue)

Descriptors for the labels.

repeated .google.api.LabelDescriptor label_descriptors = 1;

Parameter
NameDescription
builderForValuecom.google.api.LabelDescriptor.Builder
Returns
TypeDescription
TimeSeriesDescriptor.Builder

addLabelDescriptors(int index, LabelDescriptor value)

public TimeSeriesDescriptor.Builder addLabelDescriptors(int index, LabelDescriptor value)

Descriptors for the labels.

repeated .google.api.LabelDescriptor label_descriptors = 1;

Parameters
NameDescription
indexint
valuecom.google.api.LabelDescriptor
Returns
TypeDescription
TimeSeriesDescriptor.Builder

addLabelDescriptors(int index, LabelDescriptor.Builder builderForValue)

public TimeSeriesDescriptor.Builder addLabelDescriptors(int index, LabelDescriptor.Builder builderForValue)

Descriptors for the labels.

repeated .google.api.LabelDescriptor label_descriptors = 1;

Parameters
NameDescription
indexint
builderForValuecom.google.api.LabelDescriptor.Builder
Returns
TypeDescription
TimeSeriesDescriptor.Builder

addLabelDescriptorsBuilder()

public LabelDescriptor.Builder addLabelDescriptorsBuilder()

Descriptors for the labels.

repeated .google.api.LabelDescriptor label_descriptors = 1;

Returns
TypeDescription
com.google.api.LabelDescriptor.Builder

addLabelDescriptorsBuilder(int index)

public LabelDescriptor.Builder addLabelDescriptorsBuilder(int index)

Descriptors for the labels.

repeated .google.api.LabelDescriptor label_descriptors = 1;

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

addPointDescriptors(TimeSeriesDescriptor.ValueDescriptor value)

public TimeSeriesDescriptor.Builder addPointDescriptors(TimeSeriesDescriptor.ValueDescriptor value)

Descriptors for the point data value columns.

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

Parameter
NameDescription
valueTimeSeriesDescriptor.ValueDescriptor
Returns
TypeDescription
TimeSeriesDescriptor.Builder

addPointDescriptors(TimeSeriesDescriptor.ValueDescriptor.Builder builderForValue)

public TimeSeriesDescriptor.Builder addPointDescriptors(TimeSeriesDescriptor.ValueDescriptor.Builder builderForValue)

Descriptors for the point data value columns.

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

Parameter
NameDescription
builderForValueTimeSeriesDescriptor.ValueDescriptor.Builder
Returns
TypeDescription
TimeSeriesDescriptor.Builder

addPointDescriptors(int index, TimeSeriesDescriptor.ValueDescriptor value)

public TimeSeriesDescriptor.Builder addPointDescriptors(int index, TimeSeriesDescriptor.ValueDescriptor value)

Descriptors for the point data value columns.

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

Parameters
NameDescription
indexint
valueTimeSeriesDescriptor.ValueDescriptor
Returns
TypeDescription
TimeSeriesDescriptor.Builder

addPointDescriptors(int index, TimeSeriesDescriptor.ValueDescriptor.Builder builderForValue)

public TimeSeriesDescriptor.Builder addPointDescriptors(int index, TimeSeriesDescriptor.ValueDescriptor.Builder builderForValue)

Descriptors for the point data value columns.

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

Parameters
NameDescription
indexint
builderForValueTimeSeriesDescriptor.ValueDescriptor.Builder
Returns
TypeDescription
TimeSeriesDescriptor.Builder

addPointDescriptorsBuilder()

public TimeSeriesDescriptor.ValueDescriptor.Builder addPointDescriptorsBuilder()

Descriptors for the point data value columns.

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

Returns
TypeDescription
TimeSeriesDescriptor.ValueDescriptor.Builder

addPointDescriptorsBuilder(int index)

public TimeSeriesDescriptor.ValueDescriptor.Builder addPointDescriptorsBuilder(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.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TimeSeriesDescriptor.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
TimeSeriesDescriptor.Builder
Overrides

build()

public TimeSeriesDescriptor build()
Returns
TypeDescription
TimeSeriesDescriptor

buildPartial()

public TimeSeriesDescriptor buildPartial()
Returns
TypeDescription
TimeSeriesDescriptor

clear()

public TimeSeriesDescriptor.Builder clear()
Returns
TypeDescription
TimeSeriesDescriptor.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public TimeSeriesDescriptor.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
TimeSeriesDescriptor.Builder
Overrides

clearLabelDescriptors()

public TimeSeriesDescriptor.Builder clearLabelDescriptors()

Descriptors for the labels.

repeated .google.api.LabelDescriptor label_descriptors = 1;

Returns
TypeDescription
TimeSeriesDescriptor.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public TimeSeriesDescriptor.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
TimeSeriesDescriptor.Builder
Overrides

clearPointDescriptors()

public TimeSeriesDescriptor.Builder clearPointDescriptors()

Descriptors for the point data value columns.

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

Returns
TypeDescription
TimeSeriesDescriptor.Builder

clone()

public TimeSeriesDescriptor.Builder clone()
Returns
TypeDescription
TimeSeriesDescriptor.Builder
Overrides

getDefaultInstanceForType()

public TimeSeriesDescriptor getDefaultInstanceForType()
Returns
TypeDescription
TimeSeriesDescriptor

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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

getLabelDescriptorsBuilder(int index)

public LabelDescriptor.Builder getLabelDescriptorsBuilder(int index)

Descriptors for the labels.

repeated .google.api.LabelDescriptor label_descriptors = 1;

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

getLabelDescriptorsBuilderList()

public List<LabelDescriptor.Builder> getLabelDescriptorsBuilderList()

Descriptors for the labels.

repeated .google.api.LabelDescriptor label_descriptors = 1;

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

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>

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

getPointDescriptorsBuilder(int index)

public TimeSeriesDescriptor.ValueDescriptor.Builder getPointDescriptorsBuilder(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.Builder

getPointDescriptorsBuilderList()

public List<TimeSeriesDescriptor.ValueDescriptor.Builder> getPointDescriptorsBuilderList()

Descriptors for the point data value columns.

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

Returns
TypeDescription
List<Builder>

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>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(TimeSeriesDescriptor other)

public TimeSeriesDescriptor.Builder mergeFrom(TimeSeriesDescriptor other)
Parameter
NameDescription
otherTimeSeriesDescriptor
Returns
TypeDescription
TimeSeriesDescriptor.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TimeSeriesDescriptor.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TimeSeriesDescriptor.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public TimeSeriesDescriptor.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
TimeSeriesDescriptor.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TimeSeriesDescriptor.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TimeSeriesDescriptor.Builder
Overrides

removeLabelDescriptors(int index)

public TimeSeriesDescriptor.Builder removeLabelDescriptors(int index)

Descriptors for the labels.

repeated .google.api.LabelDescriptor label_descriptors = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
TimeSeriesDescriptor.Builder

removePointDescriptors(int index)

public TimeSeriesDescriptor.Builder removePointDescriptors(int index)

Descriptors for the point data value columns.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
TimeSeriesDescriptor.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public TimeSeriesDescriptor.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
TimeSeriesDescriptor.Builder
Overrides

setLabelDescriptors(int index, LabelDescriptor value)

public TimeSeriesDescriptor.Builder setLabelDescriptors(int index, LabelDescriptor value)

Descriptors for the labels.

repeated .google.api.LabelDescriptor label_descriptors = 1;

Parameters
NameDescription
indexint
valuecom.google.api.LabelDescriptor
Returns
TypeDescription
TimeSeriesDescriptor.Builder

setLabelDescriptors(int index, LabelDescriptor.Builder builderForValue)

public TimeSeriesDescriptor.Builder setLabelDescriptors(int index, LabelDescriptor.Builder builderForValue)

Descriptors for the labels.

repeated .google.api.LabelDescriptor label_descriptors = 1;

Parameters
NameDescription
indexint
builderForValuecom.google.api.LabelDescriptor.Builder
Returns
TypeDescription
TimeSeriesDescriptor.Builder

setPointDescriptors(int index, TimeSeriesDescriptor.ValueDescriptor value)

public TimeSeriesDescriptor.Builder setPointDescriptors(int index, TimeSeriesDescriptor.ValueDescriptor value)

Descriptors for the point data value columns.

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

Parameters
NameDescription
indexint
valueTimeSeriesDescriptor.ValueDescriptor
Returns
TypeDescription
TimeSeriesDescriptor.Builder

setPointDescriptors(int index, TimeSeriesDescriptor.ValueDescriptor.Builder builderForValue)

public TimeSeriesDescriptor.Builder setPointDescriptors(int index, TimeSeriesDescriptor.ValueDescriptor.Builder builderForValue)

Descriptors for the point data value columns.

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

Parameters
NameDescription
indexint
builderForValueTimeSeriesDescriptor.ValueDescriptor.Builder
Returns
TypeDescription
TimeSeriesDescriptor.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public TimeSeriesDescriptor.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
TimeSeriesDescriptor.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final TimeSeriesDescriptor.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TimeSeriesDescriptor.Builder
Overrides