Package ai.chalk.protos.chalk.common.v1
Interface OnlineQueryMetadataOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
OnlineQueryMetadata,OnlineQueryMetadata.Builder
public interface OnlineQueryMetadataOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanmap<string, .google.protobuf.Value> additional_metadata = 10 [json_name = "additionalMetadata"];booleancontainsMetadata(String key) Same customer-provided metadata that was provided in the request.Deprecated.intmap<string, .google.protobuf.Value> additional_metadata = 10 [json_name = "additionalMetadata"];map<string, .google.protobuf.Value> additional_metadata = 10 [json_name = "additionalMetadata"];com.google.protobuf.ValuegetAdditionalMetadataOrDefault(String key, com.google.protobuf.Value defaultValue) map<string, .google.protobuf.Value> additional_metadata = 10 [json_name = "additionalMetadata"];com.google.protobuf.Valuemap<string, .google.protobuf.Value> additional_metadata = 10 [json_name = "additionalMetadata"];string deployment_id = 2 [json_name = "deploymentId"];com.google.protobuf.ByteStringstring deployment_id = 2 [json_name = "deploymentId"];string environment_id = 3 [json_name = "environmentId"];com.google.protobuf.ByteStringstring environment_id = 3 [json_name = "environmentId"];string environment_name = 4 [json_name = "environmentName"];com.google.protobuf.ByteStringstring environment_name = 4 [json_name = "environmentName"];com.google.protobuf.Duration.google.protobuf.Duration execution_duration = 1 [json_name = "executionDuration"];com.google.protobuf.DurationOrBuilder.google.protobuf.Duration execution_duration = 1 [json_name = "executionDuration"];.chalk.common.v1.QueryExplainInfo explain_output = 8 [json_name = "explainOutput"];.chalk.common.v1.QueryExplainInfo explain_output = 8 [json_name = "explainOutput"];Deprecated.intSame customer-provided metadata that was provided in the request.Same customer-provided metadata that was provided in the request.getMetadataOrDefault(String key, String defaultValue) Same customer-provided metadata that was provided in the request.getMetadataOrThrow(String key) Same customer-provided metadata that was provided in the request.string query_hash = 7 [json_name = "queryHash"];com.google.protobuf.ByteStringstring query_hash = 7 [json_name = "queryHash"];string query_id = 5 [json_name = "queryId"];com.google.protobuf.ByteStringstring query_id = 5 [json_name = "queryId"];com.google.protobuf.Timestamp.google.protobuf.Timestamp query_timestamp = 6 [json_name = "queryTimestamp"];com.google.protobuf.TimestampOrBuilder.google.protobuf.Timestamp query_timestamp = 6 [json_name = "queryTimestamp"];boolean.google.protobuf.Duration execution_duration = 1 [json_name = "executionDuration"];boolean.chalk.common.v1.QueryExplainInfo explain_output = 8 [json_name = "explainOutput"];boolean.google.protobuf.Timestamp query_timestamp = 6 [json_name = "queryTimestamp"];Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasExecutionDuration
boolean hasExecutionDuration().google.protobuf.Duration execution_duration = 1 [json_name = "executionDuration"];- Returns:
- Whether the executionDuration field is set.
-
getExecutionDuration
com.google.protobuf.Duration getExecutionDuration().google.protobuf.Duration execution_duration = 1 [json_name = "executionDuration"];- Returns:
- The executionDuration.
-
getExecutionDurationOrBuilder
com.google.protobuf.DurationOrBuilder getExecutionDurationOrBuilder().google.protobuf.Duration execution_duration = 1 [json_name = "executionDuration"]; -
getDeploymentId
String getDeploymentId()string deployment_id = 2 [json_name = "deploymentId"];- Returns:
- The deploymentId.
-
getDeploymentIdBytes
com.google.protobuf.ByteString getDeploymentIdBytes()string deployment_id = 2 [json_name = "deploymentId"];- Returns:
- The bytes for deploymentId.
-
getEnvironmentId
String getEnvironmentId()string environment_id = 3 [json_name = "environmentId"];- Returns:
- The environmentId.
-
getEnvironmentIdBytes
com.google.protobuf.ByteString getEnvironmentIdBytes()string environment_id = 3 [json_name = "environmentId"];- Returns:
- The bytes for environmentId.
-
getEnvironmentName
String getEnvironmentName()string environment_name = 4 [json_name = "environmentName"];- Returns:
- The environmentName.
-
getEnvironmentNameBytes
com.google.protobuf.ByteString getEnvironmentNameBytes()string environment_name = 4 [json_name = "environmentName"];- Returns:
- The bytes for environmentName.
-
getQueryId
String getQueryId()string query_id = 5 [json_name = "queryId"];- Returns:
- The queryId.
-
getQueryIdBytes
com.google.protobuf.ByteString getQueryIdBytes()string query_id = 5 [json_name = "queryId"];- Returns:
- The bytes for queryId.
-
hasQueryTimestamp
boolean hasQueryTimestamp().google.protobuf.Timestamp query_timestamp = 6 [json_name = "queryTimestamp"];- Returns:
- Whether the queryTimestamp field is set.
-
getQueryTimestamp
com.google.protobuf.Timestamp getQueryTimestamp().google.protobuf.Timestamp query_timestamp = 6 [json_name = "queryTimestamp"];- Returns:
- The queryTimestamp.
-
getQueryTimestampOrBuilder
com.google.protobuf.TimestampOrBuilder getQueryTimestampOrBuilder().google.protobuf.Timestamp query_timestamp = 6 [json_name = "queryTimestamp"]; -
getQueryHash
String getQueryHash()string query_hash = 7 [json_name = "queryHash"];- Returns:
- The queryHash.
-
getQueryHashBytes
com.google.protobuf.ByteString getQueryHashBytes()string query_hash = 7 [json_name = "queryHash"];- Returns:
- The bytes for queryHash.
-
hasExplainOutput
boolean hasExplainOutput().chalk.common.v1.QueryExplainInfo explain_output = 8 [json_name = "explainOutput"];- Returns:
- Whether the explainOutput field is set.
-
getExplainOutput
QueryExplainInfo getExplainOutput().chalk.common.v1.QueryExplainInfo explain_output = 8 [json_name = "explainOutput"];- Returns:
- The explainOutput.
-
getExplainOutputOrBuilder
QueryExplainInfoOrBuilder getExplainOutputOrBuilder().chalk.common.v1.QueryExplainInfo explain_output = 8 [json_name = "explainOutput"]; -
getMetadataCount
int getMetadataCount()Same customer-provided metadata that was provided in the request.
map<string, string> metadata = 9 [json_name = "metadata"]; -
containsMetadata
Same customer-provided metadata that was provided in the request.
map<string, string> metadata = 9 [json_name = "metadata"]; -
getMetadata
Deprecated.UsegetMetadataMap()instead. -
getMetadataMap
Same customer-provided metadata that was provided in the request.
map<string, string> metadata = 9 [json_name = "metadata"]; -
getMetadataOrDefault
Same customer-provided metadata that was provided in the request.
map<string, string> metadata = 9 [json_name = "metadata"]; -
getMetadataOrThrow
Same customer-provided metadata that was provided in the request.
map<string, string> metadata = 9 [json_name = "metadata"]; -
getAdditionalMetadataCount
int getAdditionalMetadataCount()map<string, .google.protobuf.Value> additional_metadata = 10 [json_name = "additionalMetadata"]; -
containsAdditionalMetadata
map<string, .google.protobuf.Value> additional_metadata = 10 [json_name = "additionalMetadata"]; -
getAdditionalMetadata
Deprecated.UsegetAdditionalMetadataMap()instead. -
getAdditionalMetadataMap
map<string, .google.protobuf.Value> additional_metadata = 10 [json_name = "additionalMetadata"]; -
getAdditionalMetadataOrDefault
com.google.protobuf.Value getAdditionalMetadataOrDefault(String key, com.google.protobuf.Value defaultValue) map<string, .google.protobuf.Value> additional_metadata = 10 [json_name = "additionalMetadata"]; -
getAdditionalMetadataOrThrow
map<string, .google.protobuf.Value> additional_metadata = 10 [json_name = "additionalMetadata"];
-