Class ExecuteDashboardQueryResponse.Builder (0.31.0)

public static final class ExecuteDashboardQueryResponse.Builder extends GeneratedMessage.Builder<ExecuteDashboardQueryResponse.Builder> implements ExecuteDashboardQueryResponseOrBuilder

Response message for executing a dashboard query.

Protobuf type google.cloud.chronicle.v1.ExecuteDashboardQueryResponse

Static Methods

getDescriptor()

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

Methods

addAllDataSources(Iterable<? extends DataSource> values)

public ExecuteDashboardQueryResponse.Builder addAllDataSources(Iterable<? extends DataSource> values)

Datasource of the query and results.

repeated .google.cloud.chronicle.v1.DataSource data_sources = 3;

Parameter
Name Description
values Iterable<? extends com.google.cloud.chronicle.v1.DataSource>

The dataSources to add.

Returns
Type Description
ExecuteDashboardQueryResponse.Builder

This builder for chaining.

addAllDataSourcesValue(Iterable<Integer> values)

public ExecuteDashboardQueryResponse.Builder addAllDataSourcesValue(Iterable<Integer> values)

Datasource of the query and results.

repeated .google.cloud.chronicle.v1.DataSource data_sources = 3;

Parameter
Name Description
values Iterable<Integer>

The enum numeric values on the wire for dataSources to add.

Returns
Type Description
ExecuteDashboardQueryResponse.Builder

This builder for chaining.

addAllLanguageFeatures(Iterable<? extends LanguageFeature> values)

public ExecuteDashboardQueryResponse.Builder addAllLanguageFeatures(Iterable<? extends LanguageFeature> values)

Optional. Language features found in the query.

repeated .google.cloud.chronicle.v1.LanguageFeature language_features = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<? extends com.google.cloud.chronicle.v1.LanguageFeature>

The languageFeatures to add.

Returns
Type Description
ExecuteDashboardQueryResponse.Builder

This builder for chaining.

addAllLanguageFeaturesValue(Iterable<Integer> values)

public ExecuteDashboardQueryResponse.Builder addAllLanguageFeaturesValue(Iterable<Integer> values)

Optional. Language features found in the query.

repeated .google.cloud.chronicle.v1.LanguageFeature language_features = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<Integer>

The enum numeric values on the wire for languageFeatures to add.

Returns
Type Description
ExecuteDashboardQueryResponse.Builder

This builder for chaining.

addAllQueryRuntimeErrors(Iterable<? extends QueryRuntimeError> values)

public ExecuteDashboardQueryResponse.Builder addAllQueryRuntimeErrors(Iterable<? extends QueryRuntimeError> values)

Runtime errors

repeated .google.cloud.chronicle.v1.QueryRuntimeError query_runtime_errors = 6;

Parameter
Name Description
values Iterable<? extends com.google.cloud.chronicle.v1.QueryRuntimeError>
Returns
Type Description
ExecuteDashboardQueryResponse.Builder

addAllResults(Iterable<? extends ExecuteDashboardQueryResponse.ColumnData> values)

public ExecuteDashboardQueryResponse.Builder addAllResults(Iterable<? extends ExecuteDashboardQueryResponse.ColumnData> values)

Result rows that are queried.

repeated .google.cloud.chronicle.v1.ExecuteDashboardQueryResponse.ColumnData results = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.chronicle.v1.ExecuteDashboardQueryResponse.ColumnData>
Returns
Type Description
ExecuteDashboardQueryResponse.Builder

addDataSources(DataSource value)

public ExecuteDashboardQueryResponse.Builder addDataSources(DataSource value)

Datasource of the query and results.

repeated .google.cloud.chronicle.v1.DataSource data_sources = 3;

Parameter
Name Description
value DataSource

The dataSources to add.

Returns
Type Description
ExecuteDashboardQueryResponse.Builder

This builder for chaining.

addDataSourcesValue(int value)

public ExecuteDashboardQueryResponse.Builder addDataSourcesValue(int value)

Datasource of the query and results.

repeated .google.cloud.chronicle.v1.DataSource data_sources = 3;

Parameter
Name Description
value int

The enum numeric value on the wire for dataSources to add.

Returns
Type Description
ExecuteDashboardQueryResponse.Builder

This builder for chaining.

addLanguageFeatures(LanguageFeature value)

public ExecuteDashboardQueryResponse.Builder addLanguageFeatures(LanguageFeature value)

Optional. Language features found in the query.

repeated .google.cloud.chronicle.v1.LanguageFeature language_features = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value LanguageFeature

The languageFeatures to add.

Returns
Type Description
ExecuteDashboardQueryResponse.Builder

This builder for chaining.

addLanguageFeaturesValue(int value)

public ExecuteDashboardQueryResponse.Builder addLanguageFeaturesValue(int value)

Optional. Language features found in the query.

repeated .google.cloud.chronicle.v1.LanguageFeature language_features = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The enum numeric value on the wire for languageFeatures to add.

Returns
Type Description
ExecuteDashboardQueryResponse.Builder

This builder for chaining.

addQueryRuntimeErrors(QueryRuntimeError value)

public ExecuteDashboardQueryResponse.Builder addQueryRuntimeErrors(QueryRuntimeError value)

Runtime errors

repeated .google.cloud.chronicle.v1.QueryRuntimeError query_runtime_errors = 6;

Parameter
Name Description
value QueryRuntimeError
Returns
Type Description
ExecuteDashboardQueryResponse.Builder

addQueryRuntimeErrors(QueryRuntimeError.Builder builderForValue)

public ExecuteDashboardQueryResponse.Builder addQueryRuntimeErrors(QueryRuntimeError.Builder builderForValue)

Runtime errors

repeated .google.cloud.chronicle.v1.QueryRuntimeError query_runtime_errors = 6;

Parameter
Name Description
builderForValue QueryRuntimeError.Builder
Returns
Type Description
ExecuteDashboardQueryResponse.Builder

addQueryRuntimeErrors(int index, QueryRuntimeError value)

public ExecuteDashboardQueryResponse.Builder addQueryRuntimeErrors(int index, QueryRuntimeError value)

Runtime errors

repeated .google.cloud.chronicle.v1.QueryRuntimeError query_runtime_errors = 6;

Parameters
Name Description
index int
value QueryRuntimeError
Returns
Type Description
ExecuteDashboardQueryResponse.Builder

addQueryRuntimeErrors(int index, QueryRuntimeError.Builder builderForValue)

public ExecuteDashboardQueryResponse.Builder addQueryRuntimeErrors(int index, QueryRuntimeError.Builder builderForValue)

Runtime errors

repeated .google.cloud.chronicle.v1.QueryRuntimeError query_runtime_errors = 6;

Parameters
Name Description
index int
builderForValue QueryRuntimeError.Builder
Returns
Type Description
ExecuteDashboardQueryResponse.Builder

addQueryRuntimeErrorsBuilder()

public QueryRuntimeError.Builder addQueryRuntimeErrorsBuilder()

Runtime errors

repeated .google.cloud.chronicle.v1.QueryRuntimeError query_runtime_errors = 6;

Returns
Type Description
QueryRuntimeError.Builder

addQueryRuntimeErrorsBuilder(int index)

public QueryRuntimeError.Builder addQueryRuntimeErrorsBuilder(int index)

Runtime errors

repeated .google.cloud.chronicle.v1.QueryRuntimeError query_runtime_errors = 6;

Parameter
Name Description
index int
Returns
Type Description
QueryRuntimeError.Builder

addResults(ExecuteDashboardQueryResponse.ColumnData value)

public ExecuteDashboardQueryResponse.Builder addResults(ExecuteDashboardQueryResponse.ColumnData value)

Result rows that are queried.

repeated .google.cloud.chronicle.v1.ExecuteDashboardQueryResponse.ColumnData results = 1;

Parameter
Name Description
value ExecuteDashboardQueryResponse.ColumnData
Returns
Type Description
ExecuteDashboardQueryResponse.Builder

addResults(ExecuteDashboardQueryResponse.ColumnData.Builder builderForValue)

public ExecuteDashboardQueryResponse.Builder addResults(ExecuteDashboardQueryResponse.ColumnData.Builder builderForValue)

Result rows that are queried.

repeated .google.cloud.chronicle.v1.ExecuteDashboardQueryResponse.ColumnData results = 1;

Parameter
Name Description
builderForValue ExecuteDashboardQueryResponse.ColumnData.Builder
Returns
Type Description
ExecuteDashboardQueryResponse.Builder

addResults(int index, ExecuteDashboardQueryResponse.ColumnData value)

public ExecuteDashboardQueryResponse.Builder addResults(int index, ExecuteDashboardQueryResponse.ColumnData value)

Result rows that are queried.

repeated .google.cloud.chronicle.v1.ExecuteDashboardQueryResponse.ColumnData results = 1;

Parameters
Name Description
index int
value ExecuteDashboardQueryResponse.ColumnData
Returns
Type Description
ExecuteDashboardQueryResponse.Builder

addResults(int index, ExecuteDashboardQueryResponse.ColumnData.Builder builderForValue)

public ExecuteDashboardQueryResponse.Builder addResults(int index, ExecuteDashboardQueryResponse.ColumnData.Builder builderForValue)

Result rows that are queried.

repeated .google.cloud.chronicle.v1.ExecuteDashboardQueryResponse.ColumnData results = 1;

Parameters
Name Description
index int
builderForValue ExecuteDashboardQueryResponse.ColumnData.Builder
Returns
Type Description
ExecuteDashboardQueryResponse.Builder

addResultsBuilder()

public ExecuteDashboardQueryResponse.ColumnData.Builder addResultsBuilder()

Result rows that are queried.

repeated .google.cloud.chronicle.v1.ExecuteDashboardQueryResponse.ColumnData results = 1;

Returns
Type Description
ExecuteDashboardQueryResponse.ColumnData.Builder

addResultsBuilder(int index)

public ExecuteDashboardQueryResponse.ColumnData.Builder addResultsBuilder(int index)

Result rows that are queried.

repeated .google.cloud.chronicle.v1.ExecuteDashboardQueryResponse.ColumnData results = 1;

Parameter
Name Description
index int
Returns
Type Description
ExecuteDashboardQueryResponse.ColumnData.Builder

build()

public ExecuteDashboardQueryResponse build()
Returns
Type Description
ExecuteDashboardQueryResponse

buildPartial()

public ExecuteDashboardQueryResponse buildPartial()
Returns
Type Description
ExecuteDashboardQueryResponse

clear()

public ExecuteDashboardQueryResponse.Builder clear()
Returns
Type Description
ExecuteDashboardQueryResponse.Builder
Overrides

clearDataSources()

public ExecuteDashboardQueryResponse.Builder clearDataSources()

Datasource of the query and results.

repeated .google.cloud.chronicle.v1.DataSource data_sources = 3;

Returns
Type Description
ExecuteDashboardQueryResponse.Builder

This builder for chaining.

clearLanguageFeatures()

public ExecuteDashboardQueryResponse.Builder clearLanguageFeatures()

Optional. Language features found in the query.

repeated .google.cloud.chronicle.v1.LanguageFeature language_features = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ExecuteDashboardQueryResponse.Builder

This builder for chaining.

clearLastBackendCacheRefreshedTime()

public ExecuteDashboardQueryResponse.Builder clearLastBackendCacheRefreshedTime()

Optional. Last time the cache was refreshed. This would be used by the UI to show the last updated time.

.google.protobuf.Timestamp last_backend_cache_refreshed_time = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ExecuteDashboardQueryResponse.Builder

clearQueryRuntimeErrors()

public ExecuteDashboardQueryResponse.Builder clearQueryRuntimeErrors()

Runtime errors

repeated .google.cloud.chronicle.v1.QueryRuntimeError query_runtime_errors = 6;

Returns
Type Description
ExecuteDashboardQueryResponse.Builder

clearResults()

public ExecuteDashboardQueryResponse.Builder clearResults()

Result rows that are queried.

repeated .google.cloud.chronicle.v1.ExecuteDashboardQueryResponse.ColumnData results = 1;

Returns
Type Description
ExecuteDashboardQueryResponse.Builder

clearTimeWindow()

public ExecuteDashboardQueryResponse.Builder clearTimeWindow()

Time window against which query was executed.

.google.type.Interval time_window = 5;

Returns
Type Description
ExecuteDashboardQueryResponse.Builder

getDataSources(int index)

public DataSource getDataSources(int index)

Datasource of the query and results.

repeated .google.cloud.chronicle.v1.DataSource data_sources = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
DataSource

The dataSources at the given index.

getDataSourcesCount()

public int getDataSourcesCount()

Datasource of the query and results.

repeated .google.cloud.chronicle.v1.DataSource data_sources = 3;

Returns
Type Description
int

The count of dataSources.

getDataSourcesList()

public List<DataSource> getDataSourcesList()

Datasource of the query and results.

repeated .google.cloud.chronicle.v1.DataSource data_sources = 3;

Returns
Type Description
List<DataSource>

A list containing the dataSources.

getDataSourcesValue(int index)

public int getDataSourcesValue(int index)

Datasource of the query and results.

repeated .google.cloud.chronicle.v1.DataSource data_sources = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

The enum numeric value on the wire of dataSources at the given index.

getDataSourcesValueList()

public List<Integer> getDataSourcesValueList()

Datasource of the query and results.

repeated .google.cloud.chronicle.v1.DataSource data_sources = 3;

Returns
Type Description
List<Integer>

A list containing the enum numeric values on the wire for dataSources.

getDefaultInstanceForType()

public ExecuteDashboardQueryResponse getDefaultInstanceForType()
Returns
Type Description
ExecuteDashboardQueryResponse

getDescriptorForType()

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

getLanguageFeatures(int index)

public LanguageFeature getLanguageFeatures(int index)

Optional. Language features found in the query.

repeated .google.cloud.chronicle.v1.LanguageFeature language_features = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
LanguageFeature

The languageFeatures at the given index.

getLanguageFeaturesCount()

public int getLanguageFeaturesCount()

Optional. Language features found in the query.

repeated .google.cloud.chronicle.v1.LanguageFeature language_features = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of languageFeatures.

getLanguageFeaturesList()

public List<LanguageFeature> getLanguageFeaturesList()

Optional. Language features found in the query.

repeated .google.cloud.chronicle.v1.LanguageFeature language_features = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<LanguageFeature>

A list containing the languageFeatures.

getLanguageFeaturesValue(int index)

public int getLanguageFeaturesValue(int index)

Optional. Language features found in the query.

repeated .google.cloud.chronicle.v1.LanguageFeature language_features = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

The enum numeric value on the wire of languageFeatures at the given index.

getLanguageFeaturesValueList()

public List<Integer> getLanguageFeaturesValueList()

Optional. Language features found in the query.

repeated .google.cloud.chronicle.v1.LanguageFeature language_features = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Integer>

A list containing the enum numeric values on the wire for languageFeatures.

getLastBackendCacheRefreshedTime()

public Timestamp getLastBackendCacheRefreshedTime()

Optional. Last time the cache was refreshed. This would be used by the UI to show the last updated time.

.google.protobuf.Timestamp last_backend_cache_refreshed_time = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Timestamp

The lastBackendCacheRefreshedTime.

getLastBackendCacheRefreshedTimeBuilder()

public Timestamp.Builder getLastBackendCacheRefreshedTimeBuilder()

Optional. Last time the cache was refreshed. This would be used by the UI to show the last updated time.

.google.protobuf.Timestamp last_backend_cache_refreshed_time = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Builder

getLastBackendCacheRefreshedTimeOrBuilder()

public TimestampOrBuilder getLastBackendCacheRefreshedTimeOrBuilder()

Optional. Last time the cache was refreshed. This would be used by the UI to show the last updated time.

.google.protobuf.Timestamp last_backend_cache_refreshed_time = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TimestampOrBuilder

getQueryRuntimeErrors(int index)

public QueryRuntimeError getQueryRuntimeErrors(int index)

Runtime errors

repeated .google.cloud.chronicle.v1.QueryRuntimeError query_runtime_errors = 6;

Parameter
Name Description
index int
Returns
Type Description
QueryRuntimeError

getQueryRuntimeErrorsBuilder(int index)

public QueryRuntimeError.Builder getQueryRuntimeErrorsBuilder(int index)

Runtime errors

repeated .google.cloud.chronicle.v1.QueryRuntimeError query_runtime_errors = 6;

Parameter
Name Description
index int
Returns
Type Description
QueryRuntimeError.Builder

getQueryRuntimeErrorsBuilderList()

public List<QueryRuntimeError.Builder> getQueryRuntimeErrorsBuilderList()

Runtime errors

repeated .google.cloud.chronicle.v1.QueryRuntimeError query_runtime_errors = 6;

Returns
Type Description
List<Builder>

getQueryRuntimeErrorsCount()

public int getQueryRuntimeErrorsCount()

Runtime errors

repeated .google.cloud.chronicle.v1.QueryRuntimeError query_runtime_errors = 6;

Returns
Type Description
int

getQueryRuntimeErrorsList()

public List<QueryRuntimeError> getQueryRuntimeErrorsList()

Runtime errors

repeated .google.cloud.chronicle.v1.QueryRuntimeError query_runtime_errors = 6;

Returns
Type Description
List<QueryRuntimeError>

getQueryRuntimeErrorsOrBuilder(int index)

public QueryRuntimeErrorOrBuilder getQueryRuntimeErrorsOrBuilder(int index)

Runtime errors

repeated .google.cloud.chronicle.v1.QueryRuntimeError query_runtime_errors = 6;

Parameter
Name Description
index int
Returns
Type Description
QueryRuntimeErrorOrBuilder

getQueryRuntimeErrorsOrBuilderList()

public List<? extends QueryRuntimeErrorOrBuilder> getQueryRuntimeErrorsOrBuilderList()

Runtime errors

repeated .google.cloud.chronicle.v1.QueryRuntimeError query_runtime_errors = 6;

Returns
Type Description
List<? extends com.google.cloud.chronicle.v1.QueryRuntimeErrorOrBuilder>

getResults(int index)

public ExecuteDashboardQueryResponse.ColumnData getResults(int index)

Result rows that are queried.

repeated .google.cloud.chronicle.v1.ExecuteDashboardQueryResponse.ColumnData results = 1;

Parameter
Name Description
index int
Returns
Type Description
ExecuteDashboardQueryResponse.ColumnData

getResultsBuilder(int index)

public ExecuteDashboardQueryResponse.ColumnData.Builder getResultsBuilder(int index)

Result rows that are queried.

repeated .google.cloud.chronicle.v1.ExecuteDashboardQueryResponse.ColumnData results = 1;

Parameter
Name Description
index int
Returns
Type Description
ExecuteDashboardQueryResponse.ColumnData.Builder

getResultsBuilderList()

public List<ExecuteDashboardQueryResponse.ColumnData.Builder> getResultsBuilderList()

Result rows that are queried.

repeated .google.cloud.chronicle.v1.ExecuteDashboardQueryResponse.ColumnData results = 1;

Returns
Type Description
List<Builder>

getResultsCount()

public int getResultsCount()

Result rows that are queried.

repeated .google.cloud.chronicle.v1.ExecuteDashboardQueryResponse.ColumnData results = 1;

Returns
Type Description
int

getResultsList()

public List<ExecuteDashboardQueryResponse.ColumnData> getResultsList()

Result rows that are queried.

repeated .google.cloud.chronicle.v1.ExecuteDashboardQueryResponse.ColumnData results = 1;

Returns
Type Description
List<ColumnData>

getResultsOrBuilder(int index)

public ExecuteDashboardQueryResponse.ColumnDataOrBuilder getResultsOrBuilder(int index)

Result rows that are queried.

repeated .google.cloud.chronicle.v1.ExecuteDashboardQueryResponse.ColumnData results = 1;

Parameter
Name Description
index int
Returns
Type Description
ExecuteDashboardQueryResponse.ColumnDataOrBuilder

getResultsOrBuilderList()

public List<? extends ExecuteDashboardQueryResponse.ColumnDataOrBuilder> getResultsOrBuilderList()

Result rows that are queried.

repeated .google.cloud.chronicle.v1.ExecuteDashboardQueryResponse.ColumnData results = 1;

Returns
Type Description
List<? extends com.google.cloud.chronicle.v1.ExecuteDashboardQueryResponse.ColumnDataOrBuilder>

getTimeWindow()

public Interval getTimeWindow()

Time window against which query was executed.

.google.type.Interval time_window = 5;

Returns
Type Description
com.google.type.Interval

The timeWindow.

getTimeWindowBuilder()

public Interval.Builder getTimeWindowBuilder()

Time window against which query was executed.

.google.type.Interval time_window = 5;

Returns
Type Description
com.google.type.Interval.Builder

getTimeWindowOrBuilder()

public IntervalOrBuilder getTimeWindowOrBuilder()

Time window against which query was executed.

.google.type.Interval time_window = 5;

Returns
Type Description
com.google.type.IntervalOrBuilder

hasLastBackendCacheRefreshedTime()

public boolean hasLastBackendCacheRefreshedTime()

Optional. Last time the cache was refreshed. This would be used by the UI to show the last updated time.

.google.protobuf.Timestamp last_backend_cache_refreshed_time = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the lastBackendCacheRefreshedTime field is set.

hasTimeWindow()

public boolean hasTimeWindow()

Time window against which query was executed.

.google.type.Interval time_window = 5;

Returns
Type Description
boolean

Whether the timeWindow field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ExecuteDashboardQueryResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeLastBackendCacheRefreshedTime(Timestamp value)

public ExecuteDashboardQueryResponse.Builder mergeLastBackendCacheRefreshedTime(Timestamp value)

Optional. Last time the cache was refreshed. This would be used by the UI to show the last updated time.

.google.protobuf.Timestamp last_backend_cache_refreshed_time = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Timestamp
Returns
Type Description
ExecuteDashboardQueryResponse.Builder

mergeTimeWindow(Interval value)

public ExecuteDashboardQueryResponse.Builder mergeTimeWindow(Interval value)

Time window against which query was executed.

.google.type.Interval time_window = 5;

Parameter
Name Description
value com.google.type.Interval
Returns
Type Description
ExecuteDashboardQueryResponse.Builder

removeQueryRuntimeErrors(int index)

public ExecuteDashboardQueryResponse.Builder removeQueryRuntimeErrors(int index)

Runtime errors

repeated .google.cloud.chronicle.v1.QueryRuntimeError query_runtime_errors = 6;

Parameter
Name Description
index int
Returns
Type Description
ExecuteDashboardQueryResponse.Builder

removeResults(int index)

public ExecuteDashboardQueryResponse.Builder removeResults(int index)

Result rows that are queried.

repeated .google.cloud.chronicle.v1.ExecuteDashboardQueryResponse.ColumnData results = 1;

Parameter
Name Description
index int
Returns
Type Description
ExecuteDashboardQueryResponse.Builder

setDataSources(int index, DataSource value)

public ExecuteDashboardQueryResponse.Builder setDataSources(int index, DataSource value)

Datasource of the query and results.

repeated .google.cloud.chronicle.v1.DataSource data_sources = 3;

Parameters
Name Description
index int

The index to set the value at.

value DataSource

The dataSources to set.

Returns
Type Description
ExecuteDashboardQueryResponse.Builder

This builder for chaining.

setDataSourcesValue(int index, int value)

public ExecuteDashboardQueryResponse.Builder setDataSourcesValue(int index, int value)

Datasource of the query and results.

repeated .google.cloud.chronicle.v1.DataSource data_sources = 3;

Parameters
Name Description
index int

The index to set the value at.

value int

The enum numeric value on the wire for dataSources to set.

Returns
Type Description
ExecuteDashboardQueryResponse.Builder

This builder for chaining.

setLanguageFeatures(int index, LanguageFeature value)

public ExecuteDashboardQueryResponse.Builder setLanguageFeatures(int index, LanguageFeature value)

Optional. Language features found in the query.

repeated .google.cloud.chronicle.v1.LanguageFeature language_features = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int

The index to set the value at.

value LanguageFeature

The languageFeatures to set.

Returns
Type Description
ExecuteDashboardQueryResponse.Builder

This builder for chaining.

setLanguageFeaturesValue(int index, int value)

public ExecuteDashboardQueryResponse.Builder setLanguageFeaturesValue(int index, int value)

Optional. Language features found in the query.

repeated .google.cloud.chronicle.v1.LanguageFeature language_features = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int

The index to set the value at.

value int

The enum numeric value on the wire for languageFeatures to set.

Returns
Type Description
ExecuteDashboardQueryResponse.Builder

This builder for chaining.

setLastBackendCacheRefreshedTime(Timestamp value)

public ExecuteDashboardQueryResponse.Builder setLastBackendCacheRefreshedTime(Timestamp value)

Optional. Last time the cache was refreshed. This would be used by the UI to show the last updated time.

.google.protobuf.Timestamp last_backend_cache_refreshed_time = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Timestamp
Returns
Type Description
ExecuteDashboardQueryResponse.Builder

setLastBackendCacheRefreshedTime(Timestamp.Builder builderForValue)

public ExecuteDashboardQueryResponse.Builder setLastBackendCacheRefreshedTime(Timestamp.Builder builderForValue)

Optional. Last time the cache was refreshed. This would be used by the UI to show the last updated time.

.google.protobuf.Timestamp last_backend_cache_refreshed_time = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ExecuteDashboardQueryResponse.Builder

setQueryRuntimeErrors(int index, QueryRuntimeError value)

public ExecuteDashboardQueryResponse.Builder setQueryRuntimeErrors(int index, QueryRuntimeError value)

Runtime errors

repeated .google.cloud.chronicle.v1.QueryRuntimeError query_runtime_errors = 6;

Parameters
Name Description
index int
value QueryRuntimeError
Returns
Type Description
ExecuteDashboardQueryResponse.Builder

setQueryRuntimeErrors(int index, QueryRuntimeError.Builder builderForValue)

public ExecuteDashboardQueryResponse.Builder setQueryRuntimeErrors(int index, QueryRuntimeError.Builder builderForValue)

Runtime errors

repeated .google.cloud.chronicle.v1.QueryRuntimeError query_runtime_errors = 6;

Parameters
Name Description
index int
builderForValue QueryRuntimeError.Builder
Returns
Type Description
ExecuteDashboardQueryResponse.Builder

setResults(int index, ExecuteDashboardQueryResponse.ColumnData value)

public ExecuteDashboardQueryResponse.Builder setResults(int index, ExecuteDashboardQueryResponse.ColumnData value)

Result rows that are queried.

repeated .google.cloud.chronicle.v1.ExecuteDashboardQueryResponse.ColumnData results = 1;

Parameters
Name Description
index int
value ExecuteDashboardQueryResponse.ColumnData
Returns
Type Description
ExecuteDashboardQueryResponse.Builder

setResults(int index, ExecuteDashboardQueryResponse.ColumnData.Builder builderForValue)

public ExecuteDashboardQueryResponse.Builder setResults(int index, ExecuteDashboardQueryResponse.ColumnData.Builder builderForValue)

Result rows that are queried.

repeated .google.cloud.chronicle.v1.ExecuteDashboardQueryResponse.ColumnData results = 1;

Parameters
Name Description
index int
builderForValue ExecuteDashboardQueryResponse.ColumnData.Builder
Returns
Type Description
ExecuteDashboardQueryResponse.Builder

setTimeWindow(Interval value)

public ExecuteDashboardQueryResponse.Builder setTimeWindow(Interval value)

Time window against which query was executed.

.google.type.Interval time_window = 5;

Parameter
Name Description
value com.google.type.Interval
Returns
Type Description
ExecuteDashboardQueryResponse.Builder

setTimeWindow(Interval.Builder builderForValue)

public ExecuteDashboardQueryResponse.Builder setTimeWindow(Interval.Builder builderForValue)

Time window against which query was executed.

.google.type.Interval time_window = 5;

Parameter
Name Description
builderForValue com.google.type.Interval.Builder
Returns
Type Description
ExecuteDashboardQueryResponse.Builder