Class Point.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Point.Builder>
com.google.cloud.bigquery.migration.v2.Point.Builder
All Implemented Interfaces:
PointOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Point

public static final class Point.Builder extends com.google.protobuf.GeneratedMessage.Builder<Point.Builder> implements PointOrBuilder
 A single data point in a time series.
 
Protobuf type google.cloud.bigquery.migration.v2.Point
  • 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<Point.Builder>
    • clear

      public Point.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<Point.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<Point.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public Point.Builder mergeFrom(Point other)
    • isInitialized

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

      public Point.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<Point.Builder>
      Throws:
      IOException
    • hasInterval

      public boolean hasInterval()
       The time interval to which the data point applies.  For `GAUGE` metrics,
       the start time does not need to be supplied, but if it is supplied, it must
       equal the end time.  For `DELTA` metrics, the start and end time should
       specify a non-zero interval, with subsequent points specifying contiguous
       and non-overlapping intervals.  For `CUMULATIVE` metrics, the start and end
       time should specify a non-zero interval, with subsequent points specifying
       the same start time and increasing end times, until an event resets the
       cumulative value to zero and sets a new start time for the following
       points.
       
      .google.cloud.bigquery.migration.v2.TimeInterval interval = 1;
      Specified by:
      hasInterval in interface PointOrBuilder
      Returns:
      Whether the interval field is set.
    • getInterval

      public TimeInterval getInterval()
       The time interval to which the data point applies.  For `GAUGE` metrics,
       the start time does not need to be supplied, but if it is supplied, it must
       equal the end time.  For `DELTA` metrics, the start and end time should
       specify a non-zero interval, with subsequent points specifying contiguous
       and non-overlapping intervals.  For `CUMULATIVE` metrics, the start and end
       time should specify a non-zero interval, with subsequent points specifying
       the same start time and increasing end times, until an event resets the
       cumulative value to zero and sets a new start time for the following
       points.
       
      .google.cloud.bigquery.migration.v2.TimeInterval interval = 1;
      Specified by:
      getInterval in interface PointOrBuilder
      Returns:
      The interval.
    • setInterval

      public Point.Builder setInterval(TimeInterval value)
       The time interval to which the data point applies.  For `GAUGE` metrics,
       the start time does not need to be supplied, but if it is supplied, it must
       equal the end time.  For `DELTA` metrics, the start and end time should
       specify a non-zero interval, with subsequent points specifying contiguous
       and non-overlapping intervals.  For `CUMULATIVE` metrics, the start and end
       time should specify a non-zero interval, with subsequent points specifying
       the same start time and increasing end times, until an event resets the
       cumulative value to zero and sets a new start time for the following
       points.
       
      .google.cloud.bigquery.migration.v2.TimeInterval interval = 1;
    • setInterval

      public Point.Builder setInterval(TimeInterval.Builder builderForValue)
       The time interval to which the data point applies.  For `GAUGE` metrics,
       the start time does not need to be supplied, but if it is supplied, it must
       equal the end time.  For `DELTA` metrics, the start and end time should
       specify a non-zero interval, with subsequent points specifying contiguous
       and non-overlapping intervals.  For `CUMULATIVE` metrics, the start and end
       time should specify a non-zero interval, with subsequent points specifying
       the same start time and increasing end times, until an event resets the
       cumulative value to zero and sets a new start time for the following
       points.
       
      .google.cloud.bigquery.migration.v2.TimeInterval interval = 1;
    • mergeInterval

      public Point.Builder mergeInterval(TimeInterval value)
       The time interval to which the data point applies.  For `GAUGE` metrics,
       the start time does not need to be supplied, but if it is supplied, it must
       equal the end time.  For `DELTA` metrics, the start and end time should
       specify a non-zero interval, with subsequent points specifying contiguous
       and non-overlapping intervals.  For `CUMULATIVE` metrics, the start and end
       time should specify a non-zero interval, with subsequent points specifying
       the same start time and increasing end times, until an event resets the
       cumulative value to zero and sets a new start time for the following
       points.
       
      .google.cloud.bigquery.migration.v2.TimeInterval interval = 1;
    • clearInterval

      public Point.Builder clearInterval()
       The time interval to which the data point applies.  For `GAUGE` metrics,
       the start time does not need to be supplied, but if it is supplied, it must
       equal the end time.  For `DELTA` metrics, the start and end time should
       specify a non-zero interval, with subsequent points specifying contiguous
       and non-overlapping intervals.  For `CUMULATIVE` metrics, the start and end
       time should specify a non-zero interval, with subsequent points specifying
       the same start time and increasing end times, until an event resets the
       cumulative value to zero and sets a new start time for the following
       points.
       
      .google.cloud.bigquery.migration.v2.TimeInterval interval = 1;
    • getIntervalBuilder

      public TimeInterval.Builder getIntervalBuilder()
       The time interval to which the data point applies.  For `GAUGE` metrics,
       the start time does not need to be supplied, but if it is supplied, it must
       equal the end time.  For `DELTA` metrics, the start and end time should
       specify a non-zero interval, with subsequent points specifying contiguous
       and non-overlapping intervals.  For `CUMULATIVE` metrics, the start and end
       time should specify a non-zero interval, with subsequent points specifying
       the same start time and increasing end times, until an event resets the
       cumulative value to zero and sets a new start time for the following
       points.
       
      .google.cloud.bigquery.migration.v2.TimeInterval interval = 1;
    • getIntervalOrBuilder

      public TimeIntervalOrBuilder getIntervalOrBuilder()
       The time interval to which the data point applies.  For `GAUGE` metrics,
       the start time does not need to be supplied, but if it is supplied, it must
       equal the end time.  For `DELTA` metrics, the start and end time should
       specify a non-zero interval, with subsequent points specifying contiguous
       and non-overlapping intervals.  For `CUMULATIVE` metrics, the start and end
       time should specify a non-zero interval, with subsequent points specifying
       the same start time and increasing end times, until an event resets the
       cumulative value to zero and sets a new start time for the following
       points.
       
      .google.cloud.bigquery.migration.v2.TimeInterval interval = 1;
      Specified by:
      getIntervalOrBuilder in interface PointOrBuilder
    • hasValue

      public boolean hasValue()
       The value of the data point.
       
      .google.cloud.bigquery.migration.v2.TypedValue value = 2;
      Specified by:
      hasValue in interface PointOrBuilder
      Returns:
      Whether the value field is set.
    • getValue

      public TypedValue getValue()
       The value of the data point.
       
      .google.cloud.bigquery.migration.v2.TypedValue value = 2;
      Specified by:
      getValue in interface PointOrBuilder
      Returns:
      The value.
    • setValue

      public Point.Builder setValue(TypedValue value)
       The value of the data point.
       
      .google.cloud.bigquery.migration.v2.TypedValue value = 2;
    • setValue

      public Point.Builder setValue(TypedValue.Builder builderForValue)
       The value of the data point.
       
      .google.cloud.bigquery.migration.v2.TypedValue value = 2;
    • mergeValue

      public Point.Builder mergeValue(TypedValue value)
       The value of the data point.
       
      .google.cloud.bigquery.migration.v2.TypedValue value = 2;
    • clearValue

      public Point.Builder clearValue()
       The value of the data point.
       
      .google.cloud.bigquery.migration.v2.TypedValue value = 2;
    • getValueBuilder

      public TypedValue.Builder getValueBuilder()
       The value of the data point.
       
      .google.cloud.bigquery.migration.v2.TypedValue value = 2;
    • getValueOrBuilder

      public TypedValueOrBuilder getValueOrBuilder()
       The value of the data point.
       
      .google.cloud.bigquery.migration.v2.TypedValue value = 2;
      Specified by:
      getValueOrBuilder in interface PointOrBuilder