Class TimeSeriesTable.TableDataSet.Builder (2.29.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TimeSeriesTable.TableDataSet.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
TimeSeriesTable.TableDataSet.Builder
Overrides

build()

public TimeSeriesTable.TableDataSet build()
Returns
TypeDescription
TimeSeriesTable.TableDataSet

buildPartial()

public TimeSeriesTable.TableDataSet buildPartial()
Returns
TypeDescription
TimeSeriesTable.TableDataSet

clear()

public TimeSeriesTable.TableDataSet.Builder clear()
Returns
TypeDescription
TimeSeriesTable.TableDataSet.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public TimeSeriesTable.TableDataSet.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
TimeSeriesTable.TableDataSet.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public TimeSeriesTable.TableDataSet.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
TimeSeriesTable.TableDataSet.Builder

clone()

public TimeSeriesTable.TableDataSet.Builder clone()
Returns
TypeDescription
TimeSeriesTable.TableDataSet.Builder
Overrides

getDefaultInstanceForType()

public TimeSeriesTable.TableDataSet getDefaultInstanceForType()
Returns
TypeDescription
TimeSeriesTable.TableDataSet

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the timeSeriesQuery field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(TimeSeriesTable.TableDataSet other)

public TimeSeriesTable.TableDataSet.Builder mergeFrom(TimeSeriesTable.TableDataSet other)
Parameter
NameDescription
otherTimeSeriesTable.TableDataSet
Returns
TypeDescription
TimeSeriesTable.TableDataSet.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TimeSeriesTable.TableDataSet.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TimeSeriesTable.TableDataSet.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public TimeSeriesTable.TableDataSet.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueDuration
Returns
TypeDescription
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
NameDescription
valueTableDisplayOptions
Returns
TypeDescription
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
NameDescription
valueTimeSeriesQuery
Returns
TypeDescription
TimeSeriesTable.TableDataSet.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TimeSeriesTable.TableDataSet.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TimeSeriesTable.TableDataSet.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public TimeSeriesTable.TableDataSet.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueDuration
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
TimeSeriesTable.TableDataSet.Builder

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

public TimeSeriesTable.TableDataSet.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueTableDisplayOptions
Returns
TypeDescription
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
NameDescription
builderForValueTableDisplayOptions.Builder
Returns
TypeDescription
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
NameDescription
valueString

The tableTemplate to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for tableTemplate to set.

Returns
TypeDescription
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
NameDescription
valueTimeSeriesQuery
Returns
TypeDescription
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
NameDescription
builderForValueTimeSeriesQuery.Builder
Returns
TypeDescription
TimeSeriesTable.TableDataSet.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final TimeSeriesTable.TableDataSet.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TimeSeriesTable.TableDataSet.Builder
Overrides