Class ExecuteDashboardQueryResponse (0.31.0)

public final class ExecuteDashboardQueryResponse extends GeneratedMessage implements ExecuteDashboardQueryResponseOrBuilder

Response message for executing a dashboard query.

Protobuf type google.cloud.chronicle.v1.ExecuteDashboardQueryResponse

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > ExecuteDashboardQueryResponse

Static Fields

DATA_SOURCES_FIELD_NUMBER

public static final int DATA_SOURCES_FIELD_NUMBER
Field Value
Type Description
int

LANGUAGE_FEATURES_FIELD_NUMBER

public static final int LANGUAGE_FEATURES_FIELD_NUMBER
Field Value
Type Description
int

LAST_BACKEND_CACHE_REFRESHED_TIME_FIELD_NUMBER

public static final int LAST_BACKEND_CACHE_REFRESHED_TIME_FIELD_NUMBER
Field Value
Type Description
int

QUERY_RUNTIME_ERRORS_FIELD_NUMBER

public static final int QUERY_RUNTIME_ERRORS_FIELD_NUMBER
Field Value
Type Description
int

RESULTS_FIELD_NUMBER

public static final int RESULTS_FIELD_NUMBER
Field Value
Type Description
int

TIME_WINDOW_FIELD_NUMBER

public static final int TIME_WINDOW_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ExecuteDashboardQueryResponse getDefaultInstance()
Returns
Type Description
ExecuteDashboardQueryResponse

getDescriptor()

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

newBuilder()

public static ExecuteDashboardQueryResponse.Builder newBuilder()
Returns
Type Description
ExecuteDashboardQueryResponse.Builder

newBuilder(ExecuteDashboardQueryResponse prototype)

public static ExecuteDashboardQueryResponse.Builder newBuilder(ExecuteDashboardQueryResponse prototype)
Parameter
Name Description
prototype ExecuteDashboardQueryResponse
Returns
Type Description
ExecuteDashboardQueryResponse.Builder

parseDelimitedFrom(InputStream input)

public static ExecuteDashboardQueryResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ExecuteDashboardQueryResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExecuteDashboardQueryResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExecuteDashboardQueryResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ExecuteDashboardQueryResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ExecuteDashboardQueryResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ExecuteDashboardQueryResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExecuteDashboardQueryResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ExecuteDashboardQueryResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ExecuteDashboardQueryResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ExecuteDashboardQueryResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExecuteDashboardQueryResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ExecuteDashboardQueryResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ExecuteDashboardQueryResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ExecuteDashboardQueryResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExecuteDashboardQueryResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ExecuteDashboardQueryResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ExecuteDashboardQueryResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExecuteDashboardQueryResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExecuteDashboardQueryResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ExecuteDashboardQueryResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ExecuteDashboardQueryResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ExecuteDashboardQueryResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExecuteDashboardQueryResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ExecuteDashboardQueryResponse> parser()
Returns
Type Description
Parser<ExecuteDashboardQueryResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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

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.

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

getParserForType()

public Parser<ExecuteDashboardQueryResponse> getParserForType()
Returns
Type Description
Parser<ExecuteDashboardQueryResponse>
Overrides

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

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

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>

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ExecuteDashboardQueryResponse.Builder newBuilderForType()
Returns
Type Description
ExecuteDashboardQueryResponse.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected ExecuteDashboardQueryResponse.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ExecuteDashboardQueryResponse.Builder
Overrides

toBuilder()

public ExecuteDashboardQueryResponse.Builder toBuilder()
Returns
Type Description
ExecuteDashboardQueryResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException