public final class TimeSeries extends GeneratedMessageV3 implements TimeSeriesOrBuilder
   
   The metrics object for a SubTask.
 Protobuf type google.cloud.bigquery.migration.v2.TimeSeries
    Inherited Members
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Fields
  
  METRIC_FIELD_NUMBER
  
    public static final int METRIC_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  METRIC_KIND_FIELD_NUMBER
  
    public static final int METRIC_KIND_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  POINTS_FIELD_NUMBER
  
    public static final int POINTS_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  VALUE_TYPE_FIELD_NUMBER
  
    public static final int VALUE_TYPE_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  Static Methods
  
  
  getDefaultInstance()
  
    public static TimeSeries getDefaultInstance()
   
  
  
  getDescriptor()
  
    public static final Descriptors.Descriptor getDescriptor()
   
  
  
  newBuilder()
  
    public static TimeSeries.Builder newBuilder()
   
  
  
  newBuilder(TimeSeries prototype)
  
    public static TimeSeries.Builder newBuilder(TimeSeries prototype)
   
  
  
  
  
  
    public static TimeSeries parseDelimitedFrom(InputStream input)
   
  
  
  
  
  
  
    public static TimeSeries parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
   
  
  
  
  
  parseFrom(byte[] data)
  
    public static TimeSeries parseFrom(byte[] data)
   
  
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | data | byte[]
 | 
    
  
  
  
  
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
  
    public static TimeSeries parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
   
  
  
  
  
  parseFrom(ByteString data)
  
    public static TimeSeries parseFrom(ByteString data)
   
  
  
  
  
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
  
    public static TimeSeries parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
   
  
  
  
  
  
  
    public static TimeSeries parseFrom(CodedInputStream input)
   
  
  
  
  
  
  
    public static TimeSeries parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
   
  
  
  
  
  
  
    public static TimeSeries parseFrom(InputStream input)
   
  
  
  
  
  
  
    public static TimeSeries parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
   
  
  
  
  
  parseFrom(ByteBuffer data)
  
    public static TimeSeries parseFrom(ByteBuffer data)
   
  
  
  
  
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
  
    public static TimeSeries parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
   
  
  
  
  
  parser()
  
    public static Parser<TimeSeries> parser()
   
  
  Methods
  
  
  equals(Object obj)
  
    public boolean equals(Object obj)
   
  
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | obj | Object
 | 
    
  
  
  Overrides
  
  
  getDefaultInstanceForType()
  
    public TimeSeries getDefaultInstanceForType()
   
  
  
  getMetric()
  
    public String getMetric()
   
   Required. The name of the metric.
 If the metric is not known by the service yet, it will be auto-created.
 string metric = 1 [(.google.api.field_behavior) = REQUIRED];
    
      
        | Returns | 
      
        | Type | Description | 
      
        | String | The metric. | 
    
  
  
  getMetricBytes()
  
    public ByteString getMetricBytes()
   
   Required. The name of the metric.
 If the metric is not known by the service yet, it will be auto-created.
 string metric = 1 [(.google.api.field_behavior) = REQUIRED];
    
      
        | Returns | 
      
        | Type | Description | 
      
        | ByteString | The bytes for metric. | 
    
  
  
  getMetricKind()
  
    public MetricDescriptor.MetricKind getMetricKind()
   
   Optional. The metric kind of the time series.
 If present, it must be the same as the metric kind of the associated
 metric. If the associated metric's descriptor must be auto-created, then
 this field specifies the metric kind of the new descriptor and must be
 either GAUGE (the default) or CUMULATIVE.
 
 .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL];
 
    
      
        | Returns | 
      
        | Type | Description | 
      
        | com.google.api.MetricDescriptor.MetricKind | The metricKind. | 
    
  
  
  getMetricKindValue()
  
    public int getMetricKindValue()
   
   Optional. The metric kind of the time series.
 If present, it must be the same as the metric kind of the associated
 metric. If the associated metric's descriptor must be auto-created, then
 this field specifies the metric kind of the new descriptor and must be
 either GAUGE (the default) or CUMULATIVE.
 
 .google.api.MetricDescriptor.MetricKind metric_kind = 3 [(.google.api.field_behavior) = OPTIONAL];
 
    
      
        | Returns | 
      
        | Type | Description | 
      
        | int | The enum numeric value on the wire for metricKind. | 
    
  
  
  getParserForType()
  
    public Parser<TimeSeries> getParserForType()
   
  
  Overrides
  
  
  getPoints(int index)
  
    public Point getPoints(int index)
   
   Required. The data points of this time series. When listing time series,
 points are returned in reverse time order.
 When creating a time series, this field must contain exactly one point and
 the point's type must be the same as the value type of the associated
 metric. If the associated metric's descriptor must be auto-created, then
 the value type of the descriptor is determined by the point's type, which
 must be BOOL, INT64, DOUBLE, or DISTRIBUTION.
 
 repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED];
 
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | index | int
 | 
    
  
  
    
      
        | Returns | 
      
        | Type | Description | 
      
        | Point |  | 
    
  
  
  getPointsCount()
  
    public int getPointsCount()
   
   Required. The data points of this time series. When listing time series,
 points are returned in reverse time order.
 When creating a time series, this field must contain exactly one point and
 the point's type must be the same as the value type of the associated
 metric. If the associated metric's descriptor must be auto-created, then
 the value type of the descriptor is determined by the point's type, which
 must be BOOL, INT64, DOUBLE, or DISTRIBUTION.
 
 repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED];
 
    
      
        | Returns | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  
  getPointsList()
  
    public List<Point> getPointsList()
   
   Required. The data points of this time series. When listing time series,
 points are returned in reverse time order.
 When creating a time series, this field must contain exactly one point and
 the point's type must be the same as the value type of the associated
 metric. If the associated metric's descriptor must be auto-created, then
 the value type of the descriptor is determined by the point's type, which
 must be BOOL, INT64, DOUBLE, or DISTRIBUTION.
 
 repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED];
 
getPointsOrBuilder(int index)
  
    public PointOrBuilder getPointsOrBuilder(int index)
   
   Required. The data points of this time series. When listing time series,
 points are returned in reverse time order.
 When creating a time series, this field must contain exactly one point and
 the point's type must be the same as the value type of the associated
 metric. If the associated metric's descriptor must be auto-created, then
 the value type of the descriptor is determined by the point's type, which
 must be BOOL, INT64, DOUBLE, or DISTRIBUTION.
 
 repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED];
 
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | index | int
 | 
    
  
  
  
  getPointsOrBuilderList()
  
    public List<? extends PointOrBuilder> getPointsOrBuilderList()
   
   Required. The data points of this time series. When listing time series,
 points are returned in reverse time order.
 When creating a time series, this field must contain exactly one point and
 the point's type must be the same as the value type of the associated
 metric. If the associated metric's descriptor must be auto-created, then
 the value type of the descriptor is determined by the point's type, which
 must be BOOL, INT64, DOUBLE, or DISTRIBUTION.
 
 repeated .google.cloud.bigquery.migration.v2.Point points = 4 [(.google.api.field_behavior) = REQUIRED];
 
    
      
        | Returns | 
      
        | Type | Description | 
      
        | List<? extends com.google.cloud.bigquery.migration.v2.PointOrBuilder> |  | 
    
  
  
  getSerializedSize()
  
    public int getSerializedSize()
   
  
    
      
        | Returns | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  Overrides
  
  
  getValueType()
  
    public MetricDescriptor.ValueType getValueType()
   
   Required. The value type of the time series.
 
 .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED];
 
    
      
        | Returns | 
      
        | Type | Description | 
      
        | com.google.api.MetricDescriptor.ValueType | The valueType. | 
    
  
  
  getValueTypeValue()
  
    public int getValueTypeValue()
   
   Required. The value type of the time series.
 
 .google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED];
 
    
      
        | Returns | 
      
        | Type | Description | 
      
        | int | The enum numeric value on the wire for valueType. | 
    
  
  
  hashCode()
  
  
    
      
        | Returns | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  Overrides
  
  
  internalGetFieldAccessorTable()
  
    protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
   
  
  Overrides
  
  
  isInitialized()
  
    public final boolean isInitialized()
   
  
  Overrides
  
  
  newBuilderForType()
  
    public TimeSeries.Builder newBuilderForType()
   
  
  
  newBuilderForType(GeneratedMessageV3.BuilderParent parent)
  
    protected TimeSeries.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
   
  
  
  Overrides
  
  
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
  
    protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
   
  
  
    
      
        | Returns | 
      
        | Type | Description | 
      
        | Object |  | 
    
  
  Overrides
  
  
  toBuilder()
  
    public TimeSeries.Builder toBuilder()
   
  
  
  writeTo(CodedOutputStream output)
  
    public void writeTo(CodedOutputStream output)
   
  
  Overrides