Class QueryLogEntry

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
ai.chalk.protos.chalk.engine.v2.QueryLogEntry
All Implemented Interfaces:
QueryLogEntryOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

public final class QueryLogEntry extends com.google.protobuf.GeneratedMessageV3 implements QueryLogEntryOrBuilder
 This is a proto representation of the SQL QueryLogModel.
 
Protobuf type chalk.engine.v2.QueryLogEntry
See Also:
  • Field Details

    • OPERATION_ID_FIELD_NUMBER

      public static final int OPERATION_ID_FIELD_NUMBER
      See Also:
    • ENVIRONMENT_ID_FIELD_NUMBER

      public static final int ENVIRONMENT_ID_FIELD_NUMBER
      See Also:
    • DEPLOYMENT_ID_FIELD_NUMBER

      public static final int DEPLOYMENT_ID_FIELD_NUMBER
      See Also:
    • OPERATION_KIND_FIELD_NUMBER

      public static final int OPERATION_KIND_FIELD_NUMBER
      See Also:
    • QUERY_TIMESTAMP_FIELD_NUMBER

      public static final int QUERY_TIMESTAMP_FIELD_NUMBER
      See Also:
    • EXECUTION_STARTED_AT_FIELD_NUMBER

      public static final int EXECUTION_STARTED_AT_FIELD_NUMBER
      See Also:
    • EXECUTION_FINISHED_AT_FIELD_NUMBER

      public static final int EXECUTION_FINISHED_AT_FIELD_NUMBER
      See Also:
    • QUERY_STATUS_FIELD_NUMBER

      public static final int QUERY_STATUS_FIELD_NUMBER
      See Also:
    • QUERY_NAME_FIELD_NUMBER

      public static final int QUERY_NAME_FIELD_NUMBER
      See Also:
    • QUERY_NAME_VERSION_FIELD_NUMBER

      public static final int QUERY_NAME_VERSION_FIELD_NUMBER
      See Also:
    • AGENT_ID_FIELD_NUMBER

      public static final int AGENT_ID_FIELD_NUMBER
      See Also:
    • BRANCH_NAME_FIELD_NUMBER

      public static final int BRANCH_NAME_FIELD_NUMBER
      See Also:
    • CORRELATION_ID_FIELD_NUMBER

      public static final int CORRELATION_ID_FIELD_NUMBER
      See Also:
    • TRACE_ID_FIELD_NUMBER

      public static final int TRACE_ID_FIELD_NUMBER
      See Also:
    • QUERY_PLAN_ID_FIELD_NUMBER

      public static final int QUERY_PLAN_ID_FIELD_NUMBER
      See Also:
    • VALUE_TABLES_FIELD_NUMBER

      public static final int VALUE_TABLES_FIELD_NUMBER
      See Also:
    • META_QUERY_HASH_FIELD_NUMBER

      public static final int META_QUERY_HASH_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()
    • internalGetFieldAccessorTable

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

      public String getOperationId()
      string operation_id = 1 [json_name = "operationId"];
      Specified by:
      getOperationId in interface QueryLogEntryOrBuilder
      Returns:
      The operationId.
    • getOperationIdBytes

      public com.google.protobuf.ByteString getOperationIdBytes()
      string operation_id = 1 [json_name = "operationId"];
      Specified by:
      getOperationIdBytes in interface QueryLogEntryOrBuilder
      Returns:
      The bytes for operationId.
    • getEnvironmentId

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

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

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

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

      public int getOperationKindValue()
      .chalk.common.v1.OperationKind operation_kind = 4 [json_name = "operationKind"];
      Specified by:
      getOperationKindValue in interface QueryLogEntryOrBuilder
      Returns:
      The enum numeric value on the wire for operationKind.
    • getOperationKind

      public OperationKind getOperationKind()
      .chalk.common.v1.OperationKind operation_kind = 4 [json_name = "operationKind"];
      Specified by:
      getOperationKind in interface QueryLogEntryOrBuilder
      Returns:
      The operationKind.
    • hasQueryTimestamp

      public boolean hasQueryTimestamp()
      .google.protobuf.Timestamp query_timestamp = 5 [json_name = "queryTimestamp"];
      Specified by:
      hasQueryTimestamp in interface QueryLogEntryOrBuilder
      Returns:
      Whether the queryTimestamp field is set.
    • getQueryTimestamp

      public com.google.protobuf.Timestamp getQueryTimestamp()
      .google.protobuf.Timestamp query_timestamp = 5 [json_name = "queryTimestamp"];
      Specified by:
      getQueryTimestamp in interface QueryLogEntryOrBuilder
      Returns:
      The queryTimestamp.
    • getQueryTimestampOrBuilder

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

      public boolean hasExecutionStartedAt()
      .google.protobuf.Timestamp execution_started_at = 6 [json_name = "executionStartedAt"];
      Specified by:
      hasExecutionStartedAt in interface QueryLogEntryOrBuilder
      Returns:
      Whether the executionStartedAt field is set.
    • getExecutionStartedAt

      public com.google.protobuf.Timestamp getExecutionStartedAt()
      .google.protobuf.Timestamp execution_started_at = 6 [json_name = "executionStartedAt"];
      Specified by:
      getExecutionStartedAt in interface QueryLogEntryOrBuilder
      Returns:
      The executionStartedAt.
    • getExecutionStartedAtOrBuilder

      public com.google.protobuf.TimestampOrBuilder getExecutionStartedAtOrBuilder()
      .google.protobuf.Timestamp execution_started_at = 6 [json_name = "executionStartedAt"];
      Specified by:
      getExecutionStartedAtOrBuilder in interface QueryLogEntryOrBuilder
    • hasExecutionFinishedAt

      public boolean hasExecutionFinishedAt()
      .google.protobuf.Timestamp execution_finished_at = 7 [json_name = "executionFinishedAt"];
      Specified by:
      hasExecutionFinishedAt in interface QueryLogEntryOrBuilder
      Returns:
      Whether the executionFinishedAt field is set.
    • getExecutionFinishedAt

      public com.google.protobuf.Timestamp getExecutionFinishedAt()
      .google.protobuf.Timestamp execution_finished_at = 7 [json_name = "executionFinishedAt"];
      Specified by:
      getExecutionFinishedAt in interface QueryLogEntryOrBuilder
      Returns:
      The executionFinishedAt.
    • getExecutionFinishedAtOrBuilder

      public com.google.protobuf.TimestampOrBuilder getExecutionFinishedAtOrBuilder()
      .google.protobuf.Timestamp execution_finished_at = 7 [json_name = "executionFinishedAt"];
      Specified by:
      getExecutionFinishedAtOrBuilder in interface QueryLogEntryOrBuilder
    • getQueryStatusValue

      public int getQueryStatusValue()
      .chalk.common.v1.QueryStatus query_status = 8 [json_name = "queryStatus"];
      Specified by:
      getQueryStatusValue in interface QueryLogEntryOrBuilder
      Returns:
      The enum numeric value on the wire for queryStatus.
    • getQueryStatus

      public QueryStatus getQueryStatus()
      .chalk.common.v1.QueryStatus query_status = 8 [json_name = "queryStatus"];
      Specified by:
      getQueryStatus in interface QueryLogEntryOrBuilder
      Returns:
      The queryStatus.
    • getQueryName

      public String getQueryName()
      string query_name = 9 [json_name = "queryName"];
      Specified by:
      getQueryName in interface QueryLogEntryOrBuilder
      Returns:
      The queryName.
    • getQueryNameBytes

      public com.google.protobuf.ByteString getQueryNameBytes()
      string query_name = 9 [json_name = "queryName"];
      Specified by:
      getQueryNameBytes in interface QueryLogEntryOrBuilder
      Returns:
      The bytes for queryName.
    • getQueryNameVersion

      public String getQueryNameVersion()
      string query_name_version = 10 [json_name = "queryNameVersion"];
      Specified by:
      getQueryNameVersion in interface QueryLogEntryOrBuilder
      Returns:
      The queryNameVersion.
    • getQueryNameVersionBytes

      public com.google.protobuf.ByteString getQueryNameVersionBytes()
      string query_name_version = 10 [json_name = "queryNameVersion"];
      Specified by:
      getQueryNameVersionBytes in interface QueryLogEntryOrBuilder
      Returns:
      The bytes for queryNameVersion.
    • getAgentId

      public String getAgentId()
      string agent_id = 11 [json_name = "agentId"];
      Specified by:
      getAgentId in interface QueryLogEntryOrBuilder
      Returns:
      The agentId.
    • getAgentIdBytes

      public com.google.protobuf.ByteString getAgentIdBytes()
      string agent_id = 11 [json_name = "agentId"];
      Specified by:
      getAgentIdBytes in interface QueryLogEntryOrBuilder
      Returns:
      The bytes for agentId.
    • getBranchName

      public String getBranchName()
      string branch_name = 12 [json_name = "branchName"];
      Specified by:
      getBranchName in interface QueryLogEntryOrBuilder
      Returns:
      The branchName.
    • getBranchNameBytes

      public com.google.protobuf.ByteString getBranchNameBytes()
      string branch_name = 12 [json_name = "branchName"];
      Specified by:
      getBranchNameBytes in interface QueryLogEntryOrBuilder
      Returns:
      The bytes for branchName.
    • getCorrelationId

      public String getCorrelationId()
      string correlation_id = 13 [json_name = "correlationId"];
      Specified by:
      getCorrelationId in interface QueryLogEntryOrBuilder
      Returns:
      The correlationId.
    • getCorrelationIdBytes

      public com.google.protobuf.ByteString getCorrelationIdBytes()
      string correlation_id = 13 [json_name = "correlationId"];
      Specified by:
      getCorrelationIdBytes in interface QueryLogEntryOrBuilder
      Returns:
      The bytes for correlationId.
    • getTraceId

      public String getTraceId()
      string trace_id = 14 [json_name = "traceId"];
      Specified by:
      getTraceId in interface QueryLogEntryOrBuilder
      Returns:
      The traceId.
    • getTraceIdBytes

      public com.google.protobuf.ByteString getTraceIdBytes()
      string trace_id = 14 [json_name = "traceId"];
      Specified by:
      getTraceIdBytes in interface QueryLogEntryOrBuilder
      Returns:
      The bytes for traceId.
    • getQueryPlanId

      public String getQueryPlanId()
      string query_plan_id = 15 [json_name = "queryPlanId"];
      Specified by:
      getQueryPlanId in interface QueryLogEntryOrBuilder
      Returns:
      The queryPlanId.
    • getQueryPlanIdBytes

      public com.google.protobuf.ByteString getQueryPlanIdBytes()
      string query_plan_id = 15 [json_name = "queryPlanId"];
      Specified by:
      getQueryPlanIdBytes in interface QueryLogEntryOrBuilder
      Returns:
      The bytes for queryPlanId.
    • getValueTablesList

      public com.google.protobuf.ProtocolStringList getValueTablesList()
      repeated string value_tables = 16 [json_name = "valueTables"];
      Specified by:
      getValueTablesList in interface QueryLogEntryOrBuilder
      Returns:
      A list containing the valueTables.
    • getValueTablesCount

      public int getValueTablesCount()
      repeated string value_tables = 16 [json_name = "valueTables"];
      Specified by:
      getValueTablesCount in interface QueryLogEntryOrBuilder
      Returns:
      The count of valueTables.
    • getValueTables

      public String getValueTables(int index)
      repeated string value_tables = 16 [json_name = "valueTables"];
      Specified by:
      getValueTables in interface QueryLogEntryOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The valueTables at the given index.
    • getValueTablesBytes

      public com.google.protobuf.ByteString getValueTablesBytes(int index)
      repeated string value_tables = 16 [json_name = "valueTables"];
      Specified by:
      getValueTablesBytes in interface QueryLogEntryOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the valueTables at the given index.
    • getMetaQueryHash

      public String getMetaQueryHash()
      string meta_query_hash = 17 [json_name = "metaQueryHash"];
      Specified by:
      getMetaQueryHash in interface QueryLogEntryOrBuilder
      Returns:
      The metaQueryHash.
    • getMetaQueryHashBytes

      public com.google.protobuf.ByteString getMetaQueryHashBytes()
      string meta_query_hash = 17 [json_name = "metaQueryHash"];
      Specified by:
      getMetaQueryHashBytes in interface QueryLogEntryOrBuilder
      Returns:
      The bytes for metaQueryHash.
    • 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 QueryLogEntry parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static QueryLogEntry parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static QueryLogEntry parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static QueryLogEntry parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static QueryLogEntry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static QueryLogEntry parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

      public static QueryLogEntry parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

      public static QueryLogEntry parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static QueryLogEntry parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static QueryLogEntry.Builder newBuilder()
    • newBuilder

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

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

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

      public static QueryLogEntry getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<QueryLogEntry> 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 QueryLogEntry getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder