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:
  • 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

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • hasExecutionDuration

      public boolean hasExecutionDuration()
      .google.protobuf.Duration execution_duration = 1 [json_name = "executionDuration"];
      Specified by:
      hasExecutionDuration in interface OnlineQueryMetadataOrBuilder
      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:
      getExecutionDuration in interface OnlineQueryMetadataOrBuilder
      Returns:
      The executionDuration.
    • getExecutionDurationOrBuilder

      public com.google.protobuf.DurationOrBuilder getExecutionDurationOrBuilder()
      .google.protobuf.Duration execution_duration = 1 [json_name = "executionDuration"];
      Specified by:
      getExecutionDurationOrBuilder in interface OnlineQueryMetadataOrBuilder
    • getDeploymentId

      public String getDeploymentId()
      string deployment_id = 2 [json_name = "deploymentId"];
      Specified by:
      getDeploymentId in interface OnlineQueryMetadataOrBuilder
      Returns:
      The deploymentId.
    • getDeploymentIdBytes

      public com.google.protobuf.ByteString getDeploymentIdBytes()
      string deployment_id = 2 [json_name = "deploymentId"];
      Specified by:
      getDeploymentIdBytes in interface OnlineQueryMetadataOrBuilder
      Returns:
      The bytes for deploymentId.
    • getEnvironmentId

      public String getEnvironmentId()
      string environment_id = 3 [json_name = "environmentId"];
      Specified by:
      getEnvironmentId in interface OnlineQueryMetadataOrBuilder
      Returns:
      The environmentId.
    • getEnvironmentIdBytes

      public com.google.protobuf.ByteString getEnvironmentIdBytes()
      string environment_id = 3 [json_name = "environmentId"];
      Specified by:
      getEnvironmentIdBytes in interface OnlineQueryMetadataOrBuilder
      Returns:
      The bytes for environmentId.
    • getEnvironmentName

      public String getEnvironmentName()
      string environment_name = 4 [json_name = "environmentName"];
      Specified by:
      getEnvironmentName in interface OnlineQueryMetadataOrBuilder
      Returns:
      The environmentName.
    • getEnvironmentNameBytes

      public com.google.protobuf.ByteString getEnvironmentNameBytes()
      string environment_name = 4 [json_name = "environmentName"];
      Specified by:
      getEnvironmentNameBytes in interface OnlineQueryMetadataOrBuilder
      Returns:
      The bytes for environmentName.
    • getQueryId

      public String getQueryId()
      string query_id = 5 [json_name = "queryId"];
      Specified by:
      getQueryId in interface OnlineQueryMetadataOrBuilder
      Returns:
      The queryId.
    • getQueryIdBytes

      public com.google.protobuf.ByteString getQueryIdBytes()
      string query_id = 5 [json_name = "queryId"];
      Specified by:
      getQueryIdBytes in interface OnlineQueryMetadataOrBuilder
      Returns:
      The bytes for queryId.
    • hasQueryTimestamp

      public boolean hasQueryTimestamp()
      .google.protobuf.Timestamp query_timestamp = 6 [json_name = "queryTimestamp"];
      Specified by:
      hasQueryTimestamp in interface OnlineQueryMetadataOrBuilder
      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:
      getQueryTimestamp in interface OnlineQueryMetadataOrBuilder
      Returns:
      The queryTimestamp.
    • getQueryTimestampOrBuilder

      public com.google.protobuf.TimestampOrBuilder getQueryTimestampOrBuilder()
      .google.protobuf.Timestamp query_timestamp = 6 [json_name = "queryTimestamp"];
      Specified by:
      getQueryTimestampOrBuilder in interface OnlineQueryMetadataOrBuilder
    • getQueryHash

      public String getQueryHash()
      string query_hash = 7 [json_name = "queryHash"];
      Specified by:
      getQueryHash in interface OnlineQueryMetadataOrBuilder
      Returns:
      The queryHash.
    • getQueryHashBytes

      public com.google.protobuf.ByteString getQueryHashBytes()
      string query_hash = 7 [json_name = "queryHash"];
      Specified by:
      getQueryHashBytes in interface OnlineQueryMetadataOrBuilder
      Returns:
      The bytes for queryHash.
    • hasExplainOutput

      public boolean hasExplainOutput()
      .chalk.common.v1.QueryExplainInfo explain_output = 8 [json_name = "explainOutput"];
      Specified by:
      hasExplainOutput in interface OnlineQueryMetadataOrBuilder
      Returns:
      Whether the explainOutput field is set.
    • getExplainOutput

      public QueryExplainInfo getExplainOutput()
      .chalk.common.v1.QueryExplainInfo explain_output = 8 [json_name = "explainOutput"];
      Specified by:
      getExplainOutput in interface OnlineQueryMetadataOrBuilder
      Returns:
      The explainOutput.
    • getExplainOutputOrBuilder

      public QueryExplainInfoOrBuilder getExplainOutputOrBuilder()
      .chalk.common.v1.QueryExplainInfo explain_output = 8 [json_name = "explainOutput"];
      Specified by:
      getExplainOutputOrBuilder in interface OnlineQueryMetadataOrBuilder
    • getMetadataCount

      public int getMetadataCount()
      Description copied from interface: OnlineQueryMetadataOrBuilder
       Same customer-provided metadata that was provided in the request.
       
      map<string, string> metadata = 9 [json_name = "metadata"];
      Specified by:
      getMetadataCount in interface OnlineQueryMetadataOrBuilder
    • containsMetadata

      public boolean containsMetadata(String key)
       Same customer-provided metadata that was provided in the request.
       
      map<string, string> metadata = 9 [json_name = "metadata"];
      Specified by:
      containsMetadata in interface OnlineQueryMetadataOrBuilder
    • getMetadata

      @Deprecated public Map<String,String> getMetadata()
      Deprecated.
      Use getMetadataMap() instead.
      Specified by:
      getMetadata in interface OnlineQueryMetadataOrBuilder
    • getMetadataMap

      public Map<String,String> getMetadataMap()
       Same customer-provided metadata that was provided in the request.
       
      map<string, string> metadata = 9 [json_name = "metadata"];
      Specified by:
      getMetadataMap in interface OnlineQueryMetadataOrBuilder
    • getMetadataOrDefault

      public String getMetadataOrDefault(String key, String defaultValue)
       Same customer-provided metadata that was provided in the request.
       
      map<string, string> metadata = 9 [json_name = "metadata"];
      Specified by:
      getMetadataOrDefault in interface OnlineQueryMetadataOrBuilder
    • getMetadataOrThrow

      public String getMetadataOrThrow(String key)
       Same customer-provided metadata that was provided in the request.
       
      map<string, string> metadata = 9 [json_name = "metadata"];
      Specified by:
      getMetadataOrThrow in interface OnlineQueryMetadataOrBuilder
    • getAdditionalMetadataCount

      public int getAdditionalMetadataCount()
      Description copied from interface: OnlineQueryMetadataOrBuilder
      map<string, .google.protobuf.Value> additional_metadata = 10 [json_name = "additionalMetadata"];
      Specified by:
      getAdditionalMetadataCount in interface OnlineQueryMetadataOrBuilder
    • containsAdditionalMetadata

      public boolean containsAdditionalMetadata(String key)
      map<string, .google.protobuf.Value> additional_metadata = 10 [json_name = "additionalMetadata"];
      Specified by:
      containsAdditionalMetadata in interface OnlineQueryMetadataOrBuilder
    • getAdditionalMetadata

      @Deprecated public Map<String,com.google.protobuf.Value> getAdditionalMetadata()
      Deprecated.
      Specified by:
      getAdditionalMetadata in interface OnlineQueryMetadataOrBuilder
    • getAdditionalMetadataMap

      public Map<String,com.google.protobuf.Value> getAdditionalMetadataMap()
      map<string, .google.protobuf.Value> additional_metadata = 10 [json_name = "additionalMetadata"];
      Specified by:
      getAdditionalMetadataMap in interface OnlineQueryMetadataOrBuilder
    • 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:
      getAdditionalMetadataOrDefault in interface OnlineQueryMetadataOrBuilder
    • getAdditionalMetadataOrThrow

      public com.google.protobuf.Value getAdditionalMetadataOrThrow(String key)
      map<string, .google.protobuf.Value> additional_metadata = 10 [json_name = "additionalMetadata"];
      Specified by:
      getAdditionalMetadataOrThrow in interface OnlineQueryMetadataOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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

      public static OnlineQueryMetadata parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static OnlineQueryMetadata parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static OnlineQueryMetadata parseDelimitedFrom(InputStream input) throws IOException
      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

      public OnlineQueryMetadata.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static OnlineQueryMetadata.Builder newBuilder()
    • newBuilder

      public static OnlineQueryMetadata.Builder newBuilder(OnlineQueryMetadata prototype)
    • toBuilder

      public OnlineQueryMetadata.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected OnlineQueryMetadata.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static OnlineQueryMetadata getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<OnlineQueryMetadata> parser()
    • getParserForType

      public com.google.protobuf.Parser<OnlineQueryMetadata> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public OnlineQueryMetadata getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder