Package ai.chalk.protos.chalk.common.v1
Class OnlineQueryMetadata
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
ai.chalk.protos.chalk.common.v1.OnlineQueryMetadata
- All Implemented Interfaces:
OnlineQueryMetadataOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class OnlineQueryMetadata
extends com.google.protobuf.GeneratedMessageV3
implements OnlineQueryMetadataOrBuilder
Protobuf type
chalk.common.v1.OnlineQueryMetadata- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typechalk.common.v1.OnlineQueryMetadataNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
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.booleanDeprecated.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"];static OnlineQueryMetadatastring deployment_id = 2 [json_name = "deploymentId"];com.google.protobuf.ByteStringstring deployment_id = 2 [json_name = "deploymentId"];static final com.google.protobuf.Descriptors.Descriptorstring 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.com.google.protobuf.Parser<OnlineQueryMetadata>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"];intboolean.google.protobuf.Duration execution_duration = 1 [json_name = "executionDuration"];boolean.chalk.common.v1.QueryExplainInfo explain_output = 8 [json_name = "explainOutput"];inthashCode()boolean.google.protobuf.Timestamp query_timestamp = 6 [json_name = "queryTimestamp"];protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic OnlineQueryMetadata.Builderstatic OnlineQueryMetadata.BuildernewBuilder(OnlineQueryMetadata prototype) protected OnlineQueryMetadata.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static OnlineQueryMetadataparseDelimitedFrom(InputStream input) static OnlineQueryMetadataparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static OnlineQueryMetadataparseFrom(byte[] data) static OnlineQueryMetadataparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static OnlineQueryMetadataparseFrom(com.google.protobuf.ByteString data) static OnlineQueryMetadataparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static OnlineQueryMetadataparseFrom(com.google.protobuf.CodedInputStream input) static OnlineQueryMetadataparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static OnlineQueryMetadataparseFrom(InputStream input) static OnlineQueryMetadataparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static OnlineQueryMetadataparseFrom(ByteBuffer data) static OnlineQueryMetadataparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<OnlineQueryMetadata>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
EXECUTION_DURATION_FIELD_NUMBER
public static final int EXECUTION_DURATION_FIELD_NUMBER- See Also:
-
DEPLOYMENT_ID_FIELD_NUMBER
public static final int DEPLOYMENT_ID_FIELD_NUMBER- See Also:
-
ENVIRONMENT_ID_FIELD_NUMBER
public static final int ENVIRONMENT_ID_FIELD_NUMBER- See Also:
-
ENVIRONMENT_NAME_FIELD_NUMBER
public static final int ENVIRONMENT_NAME_FIELD_NUMBER- See Also:
-
QUERY_ID_FIELD_NUMBER
public static final int QUERY_ID_FIELD_NUMBER- See Also:
-
QUERY_TIMESTAMP_FIELD_NUMBER
public static final int QUERY_TIMESTAMP_FIELD_NUMBER- See Also:
-
QUERY_HASH_FIELD_NUMBER
public static final int QUERY_HASH_FIELD_NUMBER- See Also:
-
EXPLAIN_OUTPUT_FIELD_NUMBER
public static final int EXPLAIN_OUTPUT_FIELD_NUMBER- See Also:
-
METADATA_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER- See Also:
-
ADDITIONAL_METADATA_FIELD_NUMBER
public static final int ADDITIONAL_METADATA_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasExecutionDuration
public boolean hasExecutionDuration().google.protobuf.Duration execution_duration = 1 [json_name = "executionDuration"];- Specified by:
hasExecutionDurationin interfaceOnlineQueryMetadataOrBuilder- Returns:
- Whether the executionDuration field is set.
-
getExecutionDuration
public com.google.protobuf.Duration getExecutionDuration().google.protobuf.Duration execution_duration = 1 [json_name = "executionDuration"];- Specified by:
getExecutionDurationin interfaceOnlineQueryMetadataOrBuilder- Returns:
- The executionDuration.
-
getExecutionDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getExecutionDurationOrBuilder().google.protobuf.Duration execution_duration = 1 [json_name = "executionDuration"];- Specified by:
getExecutionDurationOrBuilderin interfaceOnlineQueryMetadataOrBuilder
-
getDeploymentId
string deployment_id = 2 [json_name = "deploymentId"];- Specified by:
getDeploymentIdin interfaceOnlineQueryMetadataOrBuilder- Returns:
- The deploymentId.
-
getDeploymentIdBytes
public com.google.protobuf.ByteString getDeploymentIdBytes()string deployment_id = 2 [json_name = "deploymentId"];- Specified by:
getDeploymentIdBytesin interfaceOnlineQueryMetadataOrBuilder- Returns:
- The bytes for deploymentId.
-
getEnvironmentId
string environment_id = 3 [json_name = "environmentId"];- Specified by:
getEnvironmentIdin interfaceOnlineQueryMetadataOrBuilder- Returns:
- The environmentId.
-
getEnvironmentIdBytes
public com.google.protobuf.ByteString getEnvironmentIdBytes()string environment_id = 3 [json_name = "environmentId"];- Specified by:
getEnvironmentIdBytesin interfaceOnlineQueryMetadataOrBuilder- Returns:
- The bytes for environmentId.
-
getEnvironmentName
string environment_name = 4 [json_name = "environmentName"];- Specified by:
getEnvironmentNamein interfaceOnlineQueryMetadataOrBuilder- Returns:
- The environmentName.
-
getEnvironmentNameBytes
public com.google.protobuf.ByteString getEnvironmentNameBytes()string environment_name = 4 [json_name = "environmentName"];- Specified by:
getEnvironmentNameBytesin interfaceOnlineQueryMetadataOrBuilder- Returns:
- The bytes for environmentName.
-
getQueryId
string query_id = 5 [json_name = "queryId"];- Specified by:
getQueryIdin interfaceOnlineQueryMetadataOrBuilder- Returns:
- The queryId.
-
getQueryIdBytes
public com.google.protobuf.ByteString getQueryIdBytes()string query_id = 5 [json_name = "queryId"];- Specified by:
getQueryIdBytesin interfaceOnlineQueryMetadataOrBuilder- Returns:
- The bytes for queryId.
-
hasQueryTimestamp
public boolean hasQueryTimestamp().google.protobuf.Timestamp query_timestamp = 6 [json_name = "queryTimestamp"];- Specified by:
hasQueryTimestampin interfaceOnlineQueryMetadataOrBuilder- Returns:
- Whether the queryTimestamp field is set.
-
getQueryTimestamp
public com.google.protobuf.Timestamp getQueryTimestamp().google.protobuf.Timestamp query_timestamp = 6 [json_name = "queryTimestamp"];- Specified by:
getQueryTimestampin interfaceOnlineQueryMetadataOrBuilder- Returns:
- The queryTimestamp.
-
getQueryTimestampOrBuilder
public com.google.protobuf.TimestampOrBuilder getQueryTimestampOrBuilder().google.protobuf.Timestamp query_timestamp = 6 [json_name = "queryTimestamp"];- Specified by:
getQueryTimestampOrBuilderin interfaceOnlineQueryMetadataOrBuilder
-
getQueryHash
string query_hash = 7 [json_name = "queryHash"];- Specified by:
getQueryHashin interfaceOnlineQueryMetadataOrBuilder- Returns:
- The queryHash.
-
getQueryHashBytes
public com.google.protobuf.ByteString getQueryHashBytes()string query_hash = 7 [json_name = "queryHash"];- Specified by:
getQueryHashBytesin interfaceOnlineQueryMetadataOrBuilder- Returns:
- The bytes for queryHash.
-
hasExplainOutput
public boolean hasExplainOutput().chalk.common.v1.QueryExplainInfo explain_output = 8 [json_name = "explainOutput"];- Specified by:
hasExplainOutputin interfaceOnlineQueryMetadataOrBuilder- Returns:
- Whether the explainOutput field is set.
-
getExplainOutput
.chalk.common.v1.QueryExplainInfo explain_output = 8 [json_name = "explainOutput"];- Specified by:
getExplainOutputin interfaceOnlineQueryMetadataOrBuilder- Returns:
- The explainOutput.
-
getExplainOutputOrBuilder
.chalk.common.v1.QueryExplainInfo explain_output = 8 [json_name = "explainOutput"];- Specified by:
getExplainOutputOrBuilderin interfaceOnlineQueryMetadataOrBuilder
-
getMetadataCount
public int getMetadataCount()Description copied from interface:OnlineQueryMetadataOrBuilderSame customer-provided metadata that was provided in the request.
map<string, string> metadata = 9 [json_name = "metadata"];- Specified by:
getMetadataCountin interfaceOnlineQueryMetadataOrBuilder
-
containsMetadata
Same customer-provided metadata that was provided in the request.
map<string, string> metadata = 9 [json_name = "metadata"];- Specified by:
containsMetadatain interfaceOnlineQueryMetadataOrBuilder
-
getMetadata
Deprecated.UsegetMetadataMap()instead.- Specified by:
getMetadatain interfaceOnlineQueryMetadataOrBuilder
-
getMetadataMap
Same customer-provided metadata that was provided in the request.
map<string, string> metadata = 9 [json_name = "metadata"];- Specified by:
getMetadataMapin interfaceOnlineQueryMetadataOrBuilder
-
getMetadataOrDefault
Same customer-provided metadata that was provided in the request.
map<string, string> metadata = 9 [json_name = "metadata"];- Specified by:
getMetadataOrDefaultin interfaceOnlineQueryMetadataOrBuilder
-
getMetadataOrThrow
Same customer-provided metadata that was provided in the request.
map<string, string> metadata = 9 [json_name = "metadata"];- Specified by:
getMetadataOrThrowin interfaceOnlineQueryMetadataOrBuilder
-
getAdditionalMetadataCount
public int getAdditionalMetadataCount()Description copied from interface:OnlineQueryMetadataOrBuildermap<string, .google.protobuf.Value> additional_metadata = 10 [json_name = "additionalMetadata"];- Specified by:
getAdditionalMetadataCountin interfaceOnlineQueryMetadataOrBuilder
-
containsAdditionalMetadata
map<string, .google.protobuf.Value> additional_metadata = 10 [json_name = "additionalMetadata"];- Specified by:
containsAdditionalMetadatain interfaceOnlineQueryMetadataOrBuilder
-
getAdditionalMetadata
Deprecated.UsegetAdditionalMetadataMap()instead.- Specified by:
getAdditionalMetadatain interfaceOnlineQueryMetadataOrBuilder
-
getAdditionalMetadataMap
map<string, .google.protobuf.Value> additional_metadata = 10 [json_name = "additionalMetadata"];- Specified by:
getAdditionalMetadataMapin interfaceOnlineQueryMetadataOrBuilder
-
getAdditionalMetadataOrDefault
public com.google.protobuf.Value getAdditionalMetadataOrDefault(String key, com.google.protobuf.Value defaultValue) map<string, .google.protobuf.Value> additional_metadata = 10 [json_name = "additionalMetadata"];- Specified by:
getAdditionalMetadataOrDefaultin interfaceOnlineQueryMetadataOrBuilder
-
getAdditionalMetadataOrThrow
map<string, .google.protobuf.Value> additional_metadata = 10 [json_name = "additionalMetadata"];- Specified by:
getAdditionalMetadataOrThrowin interfaceOnlineQueryMetadataOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static OnlineQueryMetadata parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OnlineQueryMetadata parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OnlineQueryMetadata parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OnlineQueryMetadata parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OnlineQueryMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OnlineQueryMetadata parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static OnlineQueryMetadata parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static OnlineQueryMetadata parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static OnlineQueryMetadata parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static OnlineQueryMetadata parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected OnlineQueryMetadata.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-