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
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
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
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
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
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
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
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
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
Returns
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
Returns
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
Returns
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
Returns
addPointDescriptorsBuilder()
public TimeSeriesDescriptor.ValueDescriptor.Builder addPointDescriptorsBuilder()
Descriptors for the point data value columns.
repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5;
Returns
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
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TimeSeriesDescriptor.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public TimeSeriesDescriptor build()
Returns
buildPartial()
public TimeSeriesDescriptor buildPartial()
Returns
clear()
public TimeSeriesDescriptor.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public TimeSeriesDescriptor.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearLabelDescriptors()
public TimeSeriesDescriptor.Builder clearLabelDescriptors()
Descriptors for the labels.
repeated .google.api.LabelDescriptor label_descriptors = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public TimeSeriesDescriptor.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearPointDescriptors()
public TimeSeriesDescriptor.Builder clearPointDescriptors()
Descriptors for the point data value columns.
repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5;
Returns
clone()
public TimeSeriesDescriptor.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public TimeSeriesDescriptor getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getLabelDescriptors(int index)
public LabelDescriptor getLabelDescriptors(int index)
Descriptors for the labels.
repeated .google.api.LabelDescriptor label_descriptors = 1;
Parameter
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
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
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
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
Returns
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
Returns
getPointDescriptorsBuilderList()
public List<TimeSeriesDescriptor.ValueDescriptor.Builder> getPointDescriptorsBuilderList()
Descriptors for the point data value columns.
repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5;
Returns
getPointDescriptorsCount()
public int getPointDescriptorsCount()
Descriptors for the point data value columns.
repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5;
Returns
getPointDescriptorsList()
public List<TimeSeriesDescriptor.ValueDescriptor> getPointDescriptorsList()
Descriptors for the point data value columns.
repeated .google.monitoring.v3.TimeSeriesDescriptor.ValueDescriptor point_descriptors = 5;
Returns
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
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(TimeSeriesDescriptor other)
public TimeSeriesDescriptor.Builder mergeFrom(TimeSeriesDescriptor other)
Parameter
Returns
public TimeSeriesDescriptor.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public TimeSeriesDescriptor.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TimeSeriesDescriptor.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeLabelDescriptors(int index)
public TimeSeriesDescriptor.Builder removeLabelDescriptors(int index)
Descriptors for the labels.
repeated .google.api.LabelDescriptor label_descriptors = 1;
Parameter
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public TimeSeriesDescriptor.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
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
Returns
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
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TimeSeriesDescriptor.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final TimeSeriesDescriptor.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides