Class TimeSeriesData.PointData.Builder

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

public static final class TimeSeriesData.PointData.Builder extends com.google.protobuf.GeneratedMessage.Builder<TimeSeriesData.PointData.Builder> implements TimeSeriesData.PointDataOrBuilder
 A point's value columns and time interval. Each point has one or more
 point values corresponding to the entries in `point_descriptors` field in
 the TimeSeriesDescriptor associated with this object.
 
Protobuf type google.monitoring.v3.TimeSeriesData.PointData
  • 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.PointData.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.PointData.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.PointData.Builder>
    • getDefaultInstanceForType

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

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

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

      public TimeSeriesData.PointData.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.PointData.Builder>
    • mergeFrom

    • isInitialized

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

      public TimeSeriesData.PointData.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.PointData.Builder>
      Throws:
      IOException
    • getValuesList

      public List<TypedValue> getValuesList()
       The values that make up the point.
       
      repeated .google.monitoring.v3.TypedValue values = 1;
      Specified by:
      getValuesList in interface TimeSeriesData.PointDataOrBuilder
    • getValuesCount

      public int getValuesCount()
       The values that make up the point.
       
      repeated .google.monitoring.v3.TypedValue values = 1;
      Specified by:
      getValuesCount in interface TimeSeriesData.PointDataOrBuilder
    • getValues

      public TypedValue getValues(int index)
       The values that make up the point.
       
      repeated .google.monitoring.v3.TypedValue values = 1;
      Specified by:
      getValues in interface TimeSeriesData.PointDataOrBuilder
    • setValues

      public TimeSeriesData.PointData.Builder setValues(int index, TypedValue value)
       The values that make up the point.
       
      repeated .google.monitoring.v3.TypedValue values = 1;
    • setValues

      public TimeSeriesData.PointData.Builder setValues(int index, TypedValue.Builder builderForValue)
       The values that make up the point.
       
      repeated .google.monitoring.v3.TypedValue values = 1;
    • addValues

      public TimeSeriesData.PointData.Builder addValues(TypedValue value)
       The values that make up the point.
       
      repeated .google.monitoring.v3.TypedValue values = 1;
    • addValues

      public TimeSeriesData.PointData.Builder addValues(int index, TypedValue value)
       The values that make up the point.
       
      repeated .google.monitoring.v3.TypedValue values = 1;
    • addValues

      public TimeSeriesData.PointData.Builder addValues(TypedValue.Builder builderForValue)
       The values that make up the point.
       
      repeated .google.monitoring.v3.TypedValue values = 1;
    • addValues

      public TimeSeriesData.PointData.Builder addValues(int index, TypedValue.Builder builderForValue)
       The values that make up the point.
       
      repeated .google.monitoring.v3.TypedValue values = 1;
    • addAllValues

      public TimeSeriesData.PointData.Builder addAllValues(Iterable<? extends TypedValue> values)
       The values that make up the point.
       
      repeated .google.monitoring.v3.TypedValue values = 1;
    • clearValues

      public TimeSeriesData.PointData.Builder clearValues()
       The values that make up the point.
       
      repeated .google.monitoring.v3.TypedValue values = 1;
    • removeValues

      public TimeSeriesData.PointData.Builder removeValues(int index)
       The values that make up the point.
       
      repeated .google.monitoring.v3.TypedValue values = 1;
    • getValuesBuilder

      public TypedValue.Builder getValuesBuilder(int index)
       The values that make up the point.
       
      repeated .google.monitoring.v3.TypedValue values = 1;
    • getValuesOrBuilder

      public TypedValueOrBuilder getValuesOrBuilder(int index)
       The values that make up the point.
       
      repeated .google.monitoring.v3.TypedValue values = 1;
      Specified by:
      getValuesOrBuilder in interface TimeSeriesData.PointDataOrBuilder
    • getValuesOrBuilderList

      public List<? extends TypedValueOrBuilder> getValuesOrBuilderList()
       The values that make up the point.
       
      repeated .google.monitoring.v3.TypedValue values = 1;
      Specified by:
      getValuesOrBuilderList in interface TimeSeriesData.PointDataOrBuilder
    • addValuesBuilder

      public TypedValue.Builder addValuesBuilder()
       The values that make up the point.
       
      repeated .google.monitoring.v3.TypedValue values = 1;
    • addValuesBuilder

      public TypedValue.Builder addValuesBuilder(int index)
       The values that make up the point.
       
      repeated .google.monitoring.v3.TypedValue values = 1;
    • getValuesBuilderList

      public List<TypedValue.Builder> getValuesBuilderList()
       The values that make up the point.
       
      repeated .google.monitoring.v3.TypedValue values = 1;
    • hasTimeInterval

      public boolean hasTimeInterval()
       The time interval associated with the point.
       
      .google.monitoring.v3.TimeInterval time_interval = 2;
      Specified by:
      hasTimeInterval in interface TimeSeriesData.PointDataOrBuilder
      Returns:
      Whether the timeInterval field is set.
    • getTimeInterval

      public TimeInterval getTimeInterval()
       The time interval associated with the point.
       
      .google.monitoring.v3.TimeInterval time_interval = 2;
      Specified by:
      getTimeInterval in interface TimeSeriesData.PointDataOrBuilder
      Returns:
      The timeInterval.
    • setTimeInterval

      public TimeSeriesData.PointData.Builder setTimeInterval(TimeInterval value)
       The time interval associated with the point.
       
      .google.monitoring.v3.TimeInterval time_interval = 2;
    • setTimeInterval

      public TimeSeriesData.PointData.Builder setTimeInterval(TimeInterval.Builder builderForValue)
       The time interval associated with the point.
       
      .google.monitoring.v3.TimeInterval time_interval = 2;
    • mergeTimeInterval

      public TimeSeriesData.PointData.Builder mergeTimeInterval(TimeInterval value)
       The time interval associated with the point.
       
      .google.monitoring.v3.TimeInterval time_interval = 2;
    • clearTimeInterval

      public TimeSeriesData.PointData.Builder clearTimeInterval()
       The time interval associated with the point.
       
      .google.monitoring.v3.TimeInterval time_interval = 2;
    • getTimeIntervalBuilder

      public TimeInterval.Builder getTimeIntervalBuilder()
       The time interval associated with the point.
       
      .google.monitoring.v3.TimeInterval time_interval = 2;
    • getTimeIntervalOrBuilder

      public TimeIntervalOrBuilder getTimeIntervalOrBuilder()
       The time interval associated with the point.
       
      .google.monitoring.v3.TimeInterval time_interval = 2;
      Specified by:
      getTimeIntervalOrBuilder in interface TimeSeriesData.PointDataOrBuilder