Class TimeSeriesTable.TableDataSet.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<TimeSeriesTable.TableDataSet.Builder>
com.google.monitoring.dashboard.v1.TimeSeriesTable.TableDataSet.Builder
All Implemented Interfaces:
TimeSeriesTable.TableDataSetOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
TimeSeriesTable.TableDataSet

public static final class TimeSeriesTable.TableDataSet.Builder extends com.google.protobuf.GeneratedMessage.Builder<TimeSeriesTable.TableDataSet.Builder> implements TimeSeriesTable.TableDataSetOrBuilder
 Groups a time series query definition with table options.
 
Protobuf type google.monitoring.dashboard.v1.TimeSeriesTable.TableDataSet
  • 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<TimeSeriesTable.TableDataSet.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<TimeSeriesTable.TableDataSet.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<TimeSeriesTable.TableDataSet.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

      public TimeSeriesTable.TableDataSet.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<TimeSeriesTable.TableDataSet.Builder>
      Throws:
      IOException
    • hasTimeSeriesQuery

      public boolean hasTimeSeriesQuery()
       Required. Fields for querying time series data from the
       Stackdriver metrics API.
       
      .google.monitoring.dashboard.v1.TimeSeriesQuery time_series_query = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasTimeSeriesQuery in interface TimeSeriesTable.TableDataSetOrBuilder
      Returns:
      Whether the timeSeriesQuery field is set.
    • getTimeSeriesQuery

      public TimeSeriesQuery getTimeSeriesQuery()
       Required. Fields for querying time series data from the
       Stackdriver metrics API.
       
      .google.monitoring.dashboard.v1.TimeSeriesQuery time_series_query = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getTimeSeriesQuery in interface TimeSeriesTable.TableDataSetOrBuilder
      Returns:
      The timeSeriesQuery.
    • setTimeSeriesQuery

      public TimeSeriesTable.TableDataSet.Builder setTimeSeriesQuery(TimeSeriesQuery value)
       Required. Fields for querying time series data from the
       Stackdriver metrics API.
       
      .google.monitoring.dashboard.v1.TimeSeriesQuery time_series_query = 1 [(.google.api.field_behavior) = REQUIRED];
    • setTimeSeriesQuery

      public TimeSeriesTable.TableDataSet.Builder setTimeSeriesQuery(TimeSeriesQuery.Builder builderForValue)
       Required. Fields for querying time series data from the
       Stackdriver metrics API.
       
      .google.monitoring.dashboard.v1.TimeSeriesQuery time_series_query = 1 [(.google.api.field_behavior) = REQUIRED];
    • mergeTimeSeriesQuery

      public TimeSeriesTable.TableDataSet.Builder mergeTimeSeriesQuery(TimeSeriesQuery value)
       Required. Fields for querying time series data from the
       Stackdriver metrics API.
       
      .google.monitoring.dashboard.v1.TimeSeriesQuery time_series_query = 1 [(.google.api.field_behavior) = REQUIRED];
    • clearTimeSeriesQuery

      public TimeSeriesTable.TableDataSet.Builder clearTimeSeriesQuery()
       Required. Fields for querying time series data from the
       Stackdriver metrics API.
       
      .google.monitoring.dashboard.v1.TimeSeriesQuery time_series_query = 1 [(.google.api.field_behavior) = REQUIRED];
    • getTimeSeriesQueryBuilder

      public TimeSeriesQuery.Builder getTimeSeriesQueryBuilder()
       Required. Fields for querying time series data from the
       Stackdriver metrics API.
       
      .google.monitoring.dashboard.v1.TimeSeriesQuery time_series_query = 1 [(.google.api.field_behavior) = REQUIRED];
    • getTimeSeriesQueryOrBuilder

      public TimeSeriesQueryOrBuilder getTimeSeriesQueryOrBuilder()
       Required. Fields for querying time series data from the
       Stackdriver metrics API.
       
      .google.monitoring.dashboard.v1.TimeSeriesQuery time_series_query = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getTimeSeriesQueryOrBuilder in interface TimeSeriesTable.TableDataSetOrBuilder
    • getTableTemplate

      public String getTableTemplate()
       Optional. A template string for naming `TimeSeries` in the resulting data
       set. This should be a string with interpolations of the form
       `${label_name}`, which will resolve to the label's value i.e.
       "${resource.labels.project_id}."
       
      string table_template = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTableTemplate in interface TimeSeriesTable.TableDataSetOrBuilder
      Returns:
      The tableTemplate.
    • getTableTemplateBytes

      public com.google.protobuf.ByteString getTableTemplateBytes()
       Optional. A template string for naming `TimeSeries` in the resulting data
       set. This should be a string with interpolations of the form
       `${label_name}`, which will resolve to the label's value i.e.
       "${resource.labels.project_id}."
       
      string table_template = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTableTemplateBytes in interface TimeSeriesTable.TableDataSetOrBuilder
      Returns:
      The bytes for tableTemplate.
    • setTableTemplate

      public TimeSeriesTable.TableDataSet.Builder setTableTemplate(String value)
       Optional. A template string for naming `TimeSeries` in the resulting data
       set. This should be a string with interpolations of the form
       `${label_name}`, which will resolve to the label's value i.e.
       "${resource.labels.project_id}."
       
      string table_template = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The tableTemplate to set.
      Returns:
      This builder for chaining.
    • clearTableTemplate

      public TimeSeriesTable.TableDataSet.Builder clearTableTemplate()
       Optional. A template string for naming `TimeSeries` in the resulting data
       set. This should be a string with interpolations of the form
       `${label_name}`, which will resolve to the label's value i.e.
       "${resource.labels.project_id}."
       
      string table_template = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setTableTemplateBytes

      public TimeSeriesTable.TableDataSet.Builder setTableTemplateBytes(com.google.protobuf.ByteString value)
       Optional. A template string for naming `TimeSeries` in the resulting data
       set. This should be a string with interpolations of the form
       `${label_name}`, which will resolve to the label's value i.e.
       "${resource.labels.project_id}."
       
      string table_template = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for tableTemplate to set.
      Returns:
      This builder for chaining.
    • hasMinAlignmentPeriod

      public boolean hasMinAlignmentPeriod()
       Optional. The lower bound on data point frequency for this data set,
       implemented by specifying the minimum alignment period to use in a time
       series query For example, if the data is published once every 10 minutes,
       the `min_alignment_period` should be at least 10 minutes. It would not
       make sense to fetch and align data at one minute intervals.
       
      .google.protobuf.Duration min_alignment_period = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasMinAlignmentPeriod in interface TimeSeriesTable.TableDataSetOrBuilder
      Returns:
      Whether the minAlignmentPeriod field is set.
    • getMinAlignmentPeriod

      public com.google.protobuf.Duration getMinAlignmentPeriod()
       Optional. The lower bound on data point frequency for this data set,
       implemented by specifying the minimum alignment period to use in a time
       series query For example, if the data is published once every 10 minutes,
       the `min_alignment_period` should be at least 10 minutes. It would not
       make sense to fetch and align data at one minute intervals.
       
      .google.protobuf.Duration min_alignment_period = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMinAlignmentPeriod in interface TimeSeriesTable.TableDataSetOrBuilder
      Returns:
      The minAlignmentPeriod.
    • setMinAlignmentPeriod

      public TimeSeriesTable.TableDataSet.Builder setMinAlignmentPeriod(com.google.protobuf.Duration value)
       Optional. The lower bound on data point frequency for this data set,
       implemented by specifying the minimum alignment period to use in a time
       series query For example, if the data is published once every 10 minutes,
       the `min_alignment_period` should be at least 10 minutes. It would not
       make sense to fetch and align data at one minute intervals.
       
      .google.protobuf.Duration min_alignment_period = 3 [(.google.api.field_behavior) = OPTIONAL];
    • setMinAlignmentPeriod

      public TimeSeriesTable.TableDataSet.Builder setMinAlignmentPeriod(com.google.protobuf.Duration.Builder builderForValue)
       Optional. The lower bound on data point frequency for this data set,
       implemented by specifying the minimum alignment period to use in a time
       series query For example, if the data is published once every 10 minutes,
       the `min_alignment_period` should be at least 10 minutes. It would not
       make sense to fetch and align data at one minute intervals.
       
      .google.protobuf.Duration min_alignment_period = 3 [(.google.api.field_behavior) = OPTIONAL];
    • mergeMinAlignmentPeriod

      public TimeSeriesTable.TableDataSet.Builder mergeMinAlignmentPeriod(com.google.protobuf.Duration value)
       Optional. The lower bound on data point frequency for this data set,
       implemented by specifying the minimum alignment period to use in a time
       series query For example, if the data is published once every 10 minutes,
       the `min_alignment_period` should be at least 10 minutes. It would not
       make sense to fetch and align data at one minute intervals.
       
      .google.protobuf.Duration min_alignment_period = 3 [(.google.api.field_behavior) = OPTIONAL];
    • clearMinAlignmentPeriod

      public TimeSeriesTable.TableDataSet.Builder clearMinAlignmentPeriod()
       Optional. The lower bound on data point frequency for this data set,
       implemented by specifying the minimum alignment period to use in a time
       series query For example, if the data is published once every 10 minutes,
       the `min_alignment_period` should be at least 10 minutes. It would not
       make sense to fetch and align data at one minute intervals.
       
      .google.protobuf.Duration min_alignment_period = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getMinAlignmentPeriodBuilder

      public com.google.protobuf.Duration.Builder getMinAlignmentPeriodBuilder()
       Optional. The lower bound on data point frequency for this data set,
       implemented by specifying the minimum alignment period to use in a time
       series query For example, if the data is published once every 10 minutes,
       the `min_alignment_period` should be at least 10 minutes. It would not
       make sense to fetch and align data at one minute intervals.
       
      .google.protobuf.Duration min_alignment_period = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getMinAlignmentPeriodOrBuilder

      public com.google.protobuf.DurationOrBuilder getMinAlignmentPeriodOrBuilder()
       Optional. The lower bound on data point frequency for this data set,
       implemented by specifying the minimum alignment period to use in a time
       series query For example, if the data is published once every 10 minutes,
       the `min_alignment_period` should be at least 10 minutes. It would not
       make sense to fetch and align data at one minute intervals.
       
      .google.protobuf.Duration min_alignment_period = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMinAlignmentPeriodOrBuilder in interface TimeSeriesTable.TableDataSetOrBuilder
    • hasTableDisplayOptions

      public boolean hasTableDisplayOptions()
       Optional. Table display options for configuring how the table is
       rendered.
       
      .google.monitoring.dashboard.v1.TableDisplayOptions table_display_options = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasTableDisplayOptions in interface TimeSeriesTable.TableDataSetOrBuilder
      Returns:
      Whether the tableDisplayOptions field is set.
    • getTableDisplayOptions

      public TableDisplayOptions getTableDisplayOptions()
       Optional. Table display options for configuring how the table is
       rendered.
       
      .google.monitoring.dashboard.v1.TableDisplayOptions table_display_options = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTableDisplayOptions in interface TimeSeriesTable.TableDataSetOrBuilder
      Returns:
      The tableDisplayOptions.
    • setTableDisplayOptions

      public TimeSeriesTable.TableDataSet.Builder setTableDisplayOptions(TableDisplayOptions value)
       Optional. Table display options for configuring how the table is
       rendered.
       
      .google.monitoring.dashboard.v1.TableDisplayOptions table_display_options = 4 [(.google.api.field_behavior) = OPTIONAL];
    • setTableDisplayOptions

      public TimeSeriesTable.TableDataSet.Builder setTableDisplayOptions(TableDisplayOptions.Builder builderForValue)
       Optional. Table display options for configuring how the table is
       rendered.
       
      .google.monitoring.dashboard.v1.TableDisplayOptions table_display_options = 4 [(.google.api.field_behavior) = OPTIONAL];
    • mergeTableDisplayOptions

      public TimeSeriesTable.TableDataSet.Builder mergeTableDisplayOptions(TableDisplayOptions value)
       Optional. Table display options for configuring how the table is
       rendered.
       
      .google.monitoring.dashboard.v1.TableDisplayOptions table_display_options = 4 [(.google.api.field_behavior) = OPTIONAL];
    • clearTableDisplayOptions

      public TimeSeriesTable.TableDataSet.Builder clearTableDisplayOptions()
       Optional. Table display options for configuring how the table is
       rendered.
       
      .google.monitoring.dashboard.v1.TableDisplayOptions table_display_options = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getTableDisplayOptionsBuilder

      public TableDisplayOptions.Builder getTableDisplayOptionsBuilder()
       Optional. Table display options for configuring how the table is
       rendered.
       
      .google.monitoring.dashboard.v1.TableDisplayOptions table_display_options = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getTableDisplayOptionsOrBuilder

      public TableDisplayOptionsOrBuilder getTableDisplayOptionsOrBuilder()
       Optional. Table display options for configuring how the table is
       rendered.
       
      .google.monitoring.dashboard.v1.TableDisplayOptions table_display_options = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTableDisplayOptionsOrBuilder in interface TimeSeriesTable.TableDataSetOrBuilder