Class TimeSeriesData.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<TimeSeriesData.Builder>
com.google.monitoring.v3.TimeSeriesData.Builder
All Implemented Interfaces:
TimeSeriesDataOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
TimeSeriesData

public static final class TimeSeriesData.Builder extends com.google.protobuf.GeneratedMessage.Builder<TimeSeriesData.Builder> implements TimeSeriesDataOrBuilder
 Represents the values of a time series associated with a
 TimeSeriesDescriptor.
 
Protobuf type google.monitoring.v3.TimeSeriesData
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<TimeSeriesData.Builder>
    • clear

      public TimeSeriesData.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<TimeSeriesData.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<TimeSeriesData.Builder>
    • getDefaultInstanceForType

      public TimeSeriesData getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public TimeSeriesData build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public TimeSeriesData buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public TimeSeriesData.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<TimeSeriesData.Builder>
    • mergeFrom

      public TimeSeriesData.Builder mergeFrom(TimeSeriesData other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<TimeSeriesData.Builder>
    • mergeFrom

      public TimeSeriesData.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<TimeSeriesData.Builder>
      Throws:
      IOException
    • getLabelValuesList

      public List<LabelValue> getLabelValuesList()
       The values of the labels in the time series identifier, given in the same
       order as the `label_descriptors` field of the TimeSeriesDescriptor
       associated with this object. Each value must have a value of the type
       given in the corresponding entry of `label_descriptors`.
       
      repeated .google.monitoring.v3.LabelValue label_values = 1;
      Specified by:
      getLabelValuesList in interface TimeSeriesDataOrBuilder
    • getLabelValuesCount

      public int getLabelValuesCount()
       The values of the labels in the time series identifier, given in the same
       order as the `label_descriptors` field of the TimeSeriesDescriptor
       associated with this object. Each value must have a value of the type
       given in the corresponding entry of `label_descriptors`.
       
      repeated .google.monitoring.v3.LabelValue label_values = 1;
      Specified by:
      getLabelValuesCount in interface TimeSeriesDataOrBuilder
    • getLabelValues

      public LabelValue getLabelValues(int index)
       The values of the labels in the time series identifier, given in the same
       order as the `label_descriptors` field of the TimeSeriesDescriptor
       associated with this object. Each value must have a value of the type
       given in the corresponding entry of `label_descriptors`.
       
      repeated .google.monitoring.v3.LabelValue label_values = 1;
      Specified by:
      getLabelValues in interface TimeSeriesDataOrBuilder
    • setLabelValues

      public TimeSeriesData.Builder setLabelValues(int index, LabelValue value)
       The values of the labels in the time series identifier, given in the same
       order as the `label_descriptors` field of the TimeSeriesDescriptor
       associated with this object. Each value must have a value of the type
       given in the corresponding entry of `label_descriptors`.
       
      repeated .google.monitoring.v3.LabelValue label_values = 1;
    • setLabelValues

      public TimeSeriesData.Builder setLabelValues(int index, LabelValue.Builder builderForValue)
       The values of the labels in the time series identifier, given in the same
       order as the `label_descriptors` field of the TimeSeriesDescriptor
       associated with this object. Each value must have a value of the type
       given in the corresponding entry of `label_descriptors`.
       
      repeated .google.monitoring.v3.LabelValue label_values = 1;
    • addLabelValues

      public TimeSeriesData.Builder addLabelValues(LabelValue value)
       The values of the labels in the time series identifier, given in the same
       order as the `label_descriptors` field of the TimeSeriesDescriptor
       associated with this object. Each value must have a value of the type
       given in the corresponding entry of `label_descriptors`.
       
      repeated .google.monitoring.v3.LabelValue label_values = 1;
    • addLabelValues

      public TimeSeriesData.Builder addLabelValues(int index, LabelValue value)
       The values of the labels in the time series identifier, given in the same
       order as the `label_descriptors` field of the TimeSeriesDescriptor
       associated with this object. Each value must have a value of the type
       given in the corresponding entry of `label_descriptors`.
       
      repeated .google.monitoring.v3.LabelValue label_values = 1;
    • addLabelValues

      public TimeSeriesData.Builder addLabelValues(LabelValue.Builder builderForValue)
       The values of the labels in the time series identifier, given in the same
       order as the `label_descriptors` field of the TimeSeriesDescriptor
       associated with this object. Each value must have a value of the type
       given in the corresponding entry of `label_descriptors`.
       
      repeated .google.monitoring.v3.LabelValue label_values = 1;
    • addLabelValues

      public TimeSeriesData.Builder addLabelValues(int index, LabelValue.Builder builderForValue)
       The values of the labels in the time series identifier, given in the same
       order as the `label_descriptors` field of the TimeSeriesDescriptor
       associated with this object. Each value must have a value of the type
       given in the corresponding entry of `label_descriptors`.
       
      repeated .google.monitoring.v3.LabelValue label_values = 1;
    • addAllLabelValues

      public TimeSeriesData.Builder addAllLabelValues(Iterable<? extends LabelValue> values)
       The values of the labels in the time series identifier, given in the same
       order as the `label_descriptors` field of the TimeSeriesDescriptor
       associated with this object. Each value must have a value of the type
       given in the corresponding entry of `label_descriptors`.
       
      repeated .google.monitoring.v3.LabelValue label_values = 1;
    • clearLabelValues

      public TimeSeriesData.Builder clearLabelValues()
       The values of the labels in the time series identifier, given in the same
       order as the `label_descriptors` field of the TimeSeriesDescriptor
       associated with this object. Each value must have a value of the type
       given in the corresponding entry of `label_descriptors`.
       
      repeated .google.monitoring.v3.LabelValue label_values = 1;
    • removeLabelValues

      public TimeSeriesData.Builder removeLabelValues(int index)
       The values of the labels in the time series identifier, given in the same
       order as the `label_descriptors` field of the TimeSeriesDescriptor
       associated with this object. Each value must have a value of the type
       given in the corresponding entry of `label_descriptors`.
       
      repeated .google.monitoring.v3.LabelValue label_values = 1;
    • getLabelValuesBuilder

      public LabelValue.Builder getLabelValuesBuilder(int index)
       The values of the labels in the time series identifier, given in the same
       order as the `label_descriptors` field of the TimeSeriesDescriptor
       associated with this object. Each value must have a value of the type
       given in the corresponding entry of `label_descriptors`.
       
      repeated .google.monitoring.v3.LabelValue label_values = 1;
    • getLabelValuesOrBuilder

      public LabelValueOrBuilder getLabelValuesOrBuilder(int index)
       The values of the labels in the time series identifier, given in the same
       order as the `label_descriptors` field of the TimeSeriesDescriptor
       associated with this object. Each value must have a value of the type
       given in the corresponding entry of `label_descriptors`.
       
      repeated .google.monitoring.v3.LabelValue label_values = 1;
      Specified by:
      getLabelValuesOrBuilder in interface TimeSeriesDataOrBuilder
    • getLabelValuesOrBuilderList

      public List<? extends LabelValueOrBuilder> getLabelValuesOrBuilderList()
       The values of the labels in the time series identifier, given in the same
       order as the `label_descriptors` field of the TimeSeriesDescriptor
       associated with this object. Each value must have a value of the type
       given in the corresponding entry of `label_descriptors`.
       
      repeated .google.monitoring.v3.LabelValue label_values = 1;
      Specified by:
      getLabelValuesOrBuilderList in interface TimeSeriesDataOrBuilder
    • addLabelValuesBuilder

      public LabelValue.Builder addLabelValuesBuilder()
       The values of the labels in the time series identifier, given in the same
       order as the `label_descriptors` field of the TimeSeriesDescriptor
       associated with this object. Each value must have a value of the type
       given in the corresponding entry of `label_descriptors`.
       
      repeated .google.monitoring.v3.LabelValue label_values = 1;
    • addLabelValuesBuilder

      public LabelValue.Builder addLabelValuesBuilder(int index)
       The values of the labels in the time series identifier, given in the same
       order as the `label_descriptors` field of the TimeSeriesDescriptor
       associated with this object. Each value must have a value of the type
       given in the corresponding entry of `label_descriptors`.
       
      repeated .google.monitoring.v3.LabelValue label_values = 1;
    • getLabelValuesBuilderList

      public List<LabelValue.Builder> getLabelValuesBuilderList()
       The values of the labels in the time series identifier, given in the same
       order as the `label_descriptors` field of the TimeSeriesDescriptor
       associated with this object. Each value must have a value of the type
       given in the corresponding entry of `label_descriptors`.
       
      repeated .google.monitoring.v3.LabelValue label_values = 1;
    • getPointDataList

      public List<TimeSeriesData.PointData> getPointDataList()
       The points in the time series.
       
      repeated .google.monitoring.v3.TimeSeriesData.PointData point_data = 2;
      Specified by:
      getPointDataList in interface TimeSeriesDataOrBuilder
    • getPointDataCount

      public int getPointDataCount()
       The points in the time series.
       
      repeated .google.monitoring.v3.TimeSeriesData.PointData point_data = 2;
      Specified by:
      getPointDataCount in interface TimeSeriesDataOrBuilder
    • getPointData

      public TimeSeriesData.PointData getPointData(int index)
       The points in the time series.
       
      repeated .google.monitoring.v3.TimeSeriesData.PointData point_data = 2;
      Specified by:
      getPointData in interface TimeSeriesDataOrBuilder
    • setPointData

      public TimeSeriesData.Builder setPointData(int index, TimeSeriesData.PointData value)
       The points in the time series.
       
      repeated .google.monitoring.v3.TimeSeriesData.PointData point_data = 2;
    • setPointData

      public TimeSeriesData.Builder setPointData(int index, TimeSeriesData.PointData.Builder builderForValue)
       The points in the time series.
       
      repeated .google.monitoring.v3.TimeSeriesData.PointData point_data = 2;
    • addPointData

      public TimeSeriesData.Builder addPointData(TimeSeriesData.PointData value)
       The points in the time series.
       
      repeated .google.monitoring.v3.TimeSeriesData.PointData point_data = 2;
    • addPointData

      public TimeSeriesData.Builder addPointData(int index, TimeSeriesData.PointData value)
       The points in the time series.
       
      repeated .google.monitoring.v3.TimeSeriesData.PointData point_data = 2;
    • addPointData

      public TimeSeriesData.Builder addPointData(TimeSeriesData.PointData.Builder builderForValue)
       The points in the time series.
       
      repeated .google.monitoring.v3.TimeSeriesData.PointData point_data = 2;
    • addPointData

      public TimeSeriesData.Builder addPointData(int index, TimeSeriesData.PointData.Builder builderForValue)
       The points in the time series.
       
      repeated .google.monitoring.v3.TimeSeriesData.PointData point_data = 2;
    • addAllPointData

      public TimeSeriesData.Builder addAllPointData(Iterable<? extends TimeSeriesData.PointData> values)
       The points in the time series.
       
      repeated .google.monitoring.v3.TimeSeriesData.PointData point_data = 2;
    • clearPointData

      public TimeSeriesData.Builder clearPointData()
       The points in the time series.
       
      repeated .google.monitoring.v3.TimeSeriesData.PointData point_data = 2;
    • removePointData

      public TimeSeriesData.Builder removePointData(int index)
       The points in the time series.
       
      repeated .google.monitoring.v3.TimeSeriesData.PointData point_data = 2;
    • getPointDataBuilder

      public TimeSeriesData.PointData.Builder getPointDataBuilder(int index)
       The points in the time series.
       
      repeated .google.monitoring.v3.TimeSeriesData.PointData point_data = 2;
    • getPointDataOrBuilder

      public TimeSeriesData.PointDataOrBuilder getPointDataOrBuilder(int index)
       The points in the time series.
       
      repeated .google.monitoring.v3.TimeSeriesData.PointData point_data = 2;
      Specified by:
      getPointDataOrBuilder in interface TimeSeriesDataOrBuilder
    • getPointDataOrBuilderList

      public List<? extends TimeSeriesData.PointDataOrBuilder> getPointDataOrBuilderList()
       The points in the time series.
       
      repeated .google.monitoring.v3.TimeSeriesData.PointData point_data = 2;
      Specified by:
      getPointDataOrBuilderList in interface TimeSeriesDataOrBuilder
    • addPointDataBuilder

      public TimeSeriesData.PointData.Builder addPointDataBuilder()
       The points in the time series.
       
      repeated .google.monitoring.v3.TimeSeriesData.PointData point_data = 2;
    • addPointDataBuilder

      public TimeSeriesData.PointData.Builder addPointDataBuilder(int index)
       The points in the time series.
       
      repeated .google.monitoring.v3.TimeSeriesData.PointData point_data = 2;
    • getPointDataBuilderList

      public List<TimeSeriesData.PointData.Builder> getPointDataBuilderList()
       The points in the time series.
       
      repeated .google.monitoring.v3.TimeSeriesData.PointData point_data = 2;