Class TimeSeriesTable.TableDataSet.Builder (2.57.0)

public static final class TimeSeriesTable.TableDataSet.Builder extends GeneratedMessageV3.Builder<TimeSeriesTable.TableDataSet.Builder> implements TimeSeriesTable.TableDataSetOrBuilder

Groups a time series query definition with table options.

Protobuf type google.monitoring.dashboard.v1.TimeSeriesTable.TableDataSet

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TimeSeriesTable.TableDataSet.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TimeSeriesTable.TableDataSet.Builder
Overrides

build()

public TimeSeriesTable.TableDataSet build()
Returns
Type Description
TimeSeriesTable.TableDataSet

buildPartial()

public TimeSeriesTable.TableDataSet buildPartial()
Returns
Type Description
TimeSeriesTable.TableDataSet

clear()

public TimeSeriesTable.TableDataSet.Builder clear()
Returns
Type Description
TimeSeriesTable.TableDataSet.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public TimeSeriesTable.TableDataSet.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
TimeSeriesTable.TableDataSet.Builder
Overrides

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];

Returns
Type Description
TimeSeriesTable.TableDataSet.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public TimeSeriesTable.TableDataSet.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
TimeSeriesTable.TableDataSet.Builder
Overrides

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];

Returns
Type Description
TimeSeriesTable.TableDataSet.Builder

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
Type Description
TimeSeriesTable.TableDataSet.Builder

This builder for chaining.

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];

Returns
Type Description
TimeSeriesTable.TableDataSet.Builder

clone()

public TimeSeriesTable.TableDataSet.Builder clone()
Returns
Type Description
TimeSeriesTable.TableDataSet.Builder
Overrides

getDefaultInstanceForType()

public TimeSeriesTable.TableDataSet getDefaultInstanceForType()
Returns
Type Description
TimeSeriesTable.TableDataSet

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getMinAlignmentPeriod()

public 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];

Returns
Type Description
Duration

The minAlignmentPeriod.

getMinAlignmentPeriodBuilder()

public 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];

Returns
Type Description
Builder

getMinAlignmentPeriodOrBuilder()

public 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];

Returns
Type Description
DurationOrBuilder

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];

Returns
Type Description
TableDisplayOptions

The tableDisplayOptions.

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];

Returns
Type Description
TableDisplayOptions.Builder

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];

Returns
Type Description
TableDisplayOptionsOrBuilder

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];

Returns
Type Description
String

The tableTemplate.

getTableTemplateBytes()

public 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];

Returns
Type Description
ByteString

The bytes for tableTemplate.

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];

Returns
Type Description
TimeSeriesQuery

The timeSeriesQuery.

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];

Returns
Type Description
TimeSeriesQuery.Builder

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];

Returns
Type Description
TimeSeriesQueryOrBuilder

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];

Returns
Type Description
boolean

Whether the minAlignmentPeriod field is set.

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];

Returns
Type Description
boolean

Whether the tableDisplayOptions field is set.

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];

Returns
Type Description
boolean

Whether the timeSeriesQuery field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TimeSeriesTable.TableDataSet other)

public TimeSeriesTable.TableDataSet.Builder mergeFrom(TimeSeriesTable.TableDataSet other)
Parameter
Name Description
other TimeSeriesTable.TableDataSet
Returns
Type Description
TimeSeriesTable.TableDataSet.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TimeSeriesTable.TableDataSet.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TimeSeriesTable.TableDataSet.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public TimeSeriesTable.TableDataSet.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
TimeSeriesTable.TableDataSet.Builder
Overrides

mergeMinAlignmentPeriod(Duration value)

public TimeSeriesTable.TableDataSet.Builder mergeMinAlignmentPeriod(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];

Parameter
Name Description
value Duration
Returns
Type Description
TimeSeriesTable.TableDataSet.Builder

mergeTableDisplayOptions(TableDisplayOptions value)

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];

Parameter
Name Description
value TableDisplayOptions
Returns
Type Description
TimeSeriesTable.TableDataSet.Builder

mergeTimeSeriesQuery(TimeSeriesQuery value)

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];

Parameter
Name Description
value TimeSeriesQuery
Returns
Type Description
TimeSeriesTable.TableDataSet.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TimeSeriesTable.TableDataSet.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TimeSeriesTable.TableDataSet.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public TimeSeriesTable.TableDataSet.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TimeSeriesTable.TableDataSet.Builder
Overrides

setMinAlignmentPeriod(Duration value)

public TimeSeriesTable.TableDataSet.Builder setMinAlignmentPeriod(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];

Parameter
Name Description
value Duration
Returns
Type Description
TimeSeriesTable.TableDataSet.Builder

setMinAlignmentPeriod(Duration.Builder builderForValue)

public TimeSeriesTable.TableDataSet.Builder setMinAlignmentPeriod(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];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
TimeSeriesTable.TableDataSet.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public TimeSeriesTable.TableDataSet.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
TimeSeriesTable.TableDataSet.Builder
Overrides

setTableDisplayOptions(TableDisplayOptions value)

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];

Parameter
Name Description
value TableDisplayOptions
Returns
Type Description
TimeSeriesTable.TableDataSet.Builder

setTableDisplayOptions(TableDisplayOptions.Builder builderForValue)

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];

Parameter
Name Description
builderForValue TableDisplayOptions.Builder
Returns
Type Description
TimeSeriesTable.TableDataSet.Builder

setTableTemplate(String value)

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];

Parameter
Name Description
value String

The tableTemplate to set.

Returns
Type Description
TimeSeriesTable.TableDataSet.Builder

This builder for chaining.

setTableTemplateBytes(ByteString value)

public TimeSeriesTable.TableDataSet.Builder setTableTemplateBytes(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];

Parameter
Name Description
value ByteString

The bytes for tableTemplate to set.

Returns
Type Description
TimeSeriesTable.TableDataSet.Builder

This builder for chaining.

setTimeSeriesQuery(TimeSeriesQuery value)

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];

Parameter
Name Description
value TimeSeriesQuery
Returns
Type Description
TimeSeriesTable.TableDataSet.Builder

setTimeSeriesQuery(TimeSeriesQuery.Builder builderForValue)

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];

Parameter
Name Description
builderForValue TimeSeriesQuery.Builder
Returns
Type Description
TimeSeriesTable.TableDataSet.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final TimeSeriesTable.TableDataSet.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TimeSeriesTable.TableDataSet.Builder
Overrides