Class TimeSeriesDescriptor.Builder (3.53.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
Type Description
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
Name Description
values Iterable<? extends com.google.api.LabelDescriptor>
Returns
Type Description
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
Name Description
values Iterable<? extends com.google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor>
Returns
Type Description
TimeSeriesDescriptor.Builder

addLabelDescriptors(LabelDescriptor value)

public TimeSeriesDescriptor.Builder addLabelDescriptors(LabelDescriptor value)

Descriptors for the labels.

repeated .google.api.LabelDescriptor label_descriptors = 1;

Parameter
Name Description
value com.google.api.LabelDescriptor
Returns
Type Description
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
Name Description
builderForValue com.google.api.LabelDescriptor.Builder
Returns
Type Description
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
Name Description
index int
value com.google.api.LabelDescriptor
Returns
Type Description
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
Name Description
index int
builderForValue com.google.api.LabelDescriptor.Builder
Returns
Type Description
TimeSeriesDescriptor.Builder

addLabelDescriptorsBuilder()

public LabelDescriptor.Builder addLabelDescriptorsBuilder()

Descriptors for the labels.

repeated .google.api.LabelDescriptor label_descriptors = 1;

Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
value TimeSeriesDescriptor.ValueDescriptor
Returns
Type Description
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
Name Description
builderForValue TimeSeriesDescriptor.ValueDescriptor.Builder
Returns
Type Description
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
Name Description
index int
value TimeSeriesDescriptor.ValueDescriptor
Returns
Type Description
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
Name Description
index int
builderForValue TimeSeriesDescriptor.ValueDescriptor.Builder
Returns
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
TimeSeriesDescriptor.ValueDescriptor.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TimeSeriesDescriptor.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TimeSeriesDescriptor.Builder
Overrides

build()

public TimeSeriesDescriptor build()
Returns
Type Description
TimeSeriesDescriptor

buildPartial()

public TimeSeriesDescriptor buildPartial()
Returns
Type Description
TimeSeriesDescriptor

clear()

public TimeSeriesDescriptor.Builder clear()
Returns
Type Description
TimeSeriesDescriptor.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public TimeSeriesDescriptor.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
TimeSeriesDescriptor.Builder
Overrides

clearLabelDescriptors()

public TimeSeriesDescriptor.Builder clearLabelDescriptors()

Descriptors for the labels.

repeated .google.api.LabelDescriptor label_descriptors = 1;

Returns
Type Description
TimeSeriesDescriptor.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public TimeSeriesDescriptor.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
Type Description
TimeSeriesDescriptor.Builder

clone()

public TimeSeriesDescriptor.Builder clone()
Returns
Type Description
TimeSeriesDescriptor.Builder
Overrides

getDefaultInstanceForType()

public TimeSeriesDescriptor getDefaultInstanceForType()
Returns
Type Description
TimeSeriesDescriptor

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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

getLabelDescriptorsBuilder(int index)

public LabelDescriptor.Builder getLabelDescriptorsBuilder(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.Builder

getLabelDescriptorsBuilderList()

public List<LabelDescriptor.Builder> getLabelDescriptorsBuilderList()

Descriptors for the labels.

repeated .google.api.LabelDescriptor label_descriptors = 1;

Returns
Type Description
List<com.google.api.LabelDescriptor.Builder>

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>

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

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
Name Description
index int
Returns
Type Description
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
Type Description
List<Builder>

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>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TimeSeriesDescriptor other)

public TimeSeriesDescriptor.Builder mergeFrom(TimeSeriesDescriptor other)
Parameter
Name Description
other TimeSeriesDescriptor
Returns
Type Description
TimeSeriesDescriptor.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TimeSeriesDescriptor.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TimeSeriesDescriptor.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public TimeSeriesDescriptor.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
TimeSeriesDescriptor.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TimeSeriesDescriptor.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TimeSeriesDescriptor.Builder
Overrides

removeLabelDescriptors(int index)

public TimeSeriesDescriptor.Builder removeLabelDescriptors(int index)

Descriptors for the labels.

repeated .google.api.LabelDescriptor label_descriptors = 1;

Parameter
Name Description
index int
Returns
Type Description
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
Name Description
index int
Returns
Type Description
TimeSeriesDescriptor.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public TimeSeriesDescriptor.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
index int
value com.google.api.LabelDescriptor
Returns
Type Description
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
Name Description
index int
builderForValue com.google.api.LabelDescriptor.Builder
Returns
Type Description
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
Name Description
index int
value TimeSeriesDescriptor.ValueDescriptor
Returns
Type Description
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
Name Description
index int
builderForValue TimeSeriesDescriptor.ValueDescriptor.Builder
Returns
Type Description
TimeSeriesDescriptor.Builder

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

public TimeSeriesDescriptor.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
TimeSeriesDescriptor.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final TimeSeriesDescriptor.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TimeSeriesDescriptor.Builder
Overrides