Class CottontailGrpc.ResponseMetadata

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.vitrivr.cottontail.grpc.CottontailGrpc.ResponseMetadata
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, CottontailGrpc.ResponseMetadataOrBuilder
Enclosing class:
CottontailGrpc

public static final class CottontailGrpc.ResponseMetadata extends com.google.protobuf.GeneratedMessageV3 implements CottontailGrpc.ResponseMetadataOrBuilder
 Metadata associated with a query response. 
 
Protobuf type org.vitrivr.cottontail.grpc.ResponseMetadata
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • TRANSACTIONID_FIELD_NUMBER

      public static final int TRANSACTIONID_FIELD_NUMBER
      See Also:
    • transactionId_

      private long transactionId_
    • TRANSACTIONMODE_FIELD_NUMBER

      public static final int TRANSACTIONMODE_FIELD_NUMBER
      See Also:
    • transactionMode_

      private int transactionMode_
    • QUERYID_FIELD_NUMBER

      public static final int QUERYID_FIELD_NUMBER
      See Also:
    • queryId_

      private volatile Object queryId_
    • PLANDURATION_FIELD_NUMBER

      public static final int PLANDURATION_FIELD_NUMBER
      See Also:
    • planDuration_

      private long planDuration_
    • PLANSCORE_FIELD_NUMBER

      public static final int PLANSCORE_FIELD_NUMBER
      See Also:
    • planScore_

      private float planScore_
    • QUERYDURATION_FIELD_NUMBER

      public static final int QUERYDURATION_FIELD_NUMBER
      See Also:
    • queryDuration_

      private long queryDuration_
    • memoizedIsInitialized

      private byte memoizedIsInitialized
    • DEFAULT_INSTANCE

      private static final CottontailGrpc.ResponseMetadata DEFAULT_INSTANCE
    • PARSER

      private static final com.google.protobuf.Parser<CottontailGrpc.ResponseMetadata> PARSER
  • Constructor Details

    • ResponseMetadata

      private ResponseMetadata(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)
    • ResponseMetadata

      private ResponseMetadata()
  • 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
    • getTransactionId

      public long getTransactionId()
       Transaction information. 
       
      int64 transactionId = 1;
      Specified by:
      getTransactionId in interface CottontailGrpc.ResponseMetadataOrBuilder
      Returns:
      The transactionId.
    • getTransactionModeValue

      public int getTransactionModeValue()
      .org.vitrivr.cottontail.grpc.TransactionMode transactionMode = 2;
      Specified by:
      getTransactionModeValue in interface CottontailGrpc.ResponseMetadataOrBuilder
      Returns:
      The enum numeric value on the wire for transactionMode.
    • getTransactionMode

      public CottontailGrpc.TransactionMode getTransactionMode()
      .org.vitrivr.cottontail.grpc.TransactionMode transactionMode = 2;
      Specified by:
      getTransactionMode in interface CottontailGrpc.ResponseMetadataOrBuilder
      Returns:
      The transactionMode.
    • getQueryId

      public String getQueryId()
       Query information. 
       
      string queryId = 3;
      Specified by:
      getQueryId in interface CottontailGrpc.ResponseMetadataOrBuilder
      Returns:
      The queryId.
    • getQueryIdBytes

      public com.google.protobuf.ByteString getQueryIdBytes()
       Query information. 
       
      string queryId = 3;
      Specified by:
      getQueryIdBytes in interface CottontailGrpc.ResponseMetadataOrBuilder
      Returns:
      The bytes for queryId.
    • getPlanDuration

      public long getPlanDuration()
       Time it took to plan the query. 
       
      int64 planDuration = 4;
      Specified by:
      getPlanDuration in interface CottontailGrpc.ResponseMetadataOrBuilder
      Returns:
      The planDuration.
    • getPlanScore

      public float getPlanScore()
       Score assigned to selected query plan. 
       
      float planScore = 5;
      Specified by:
      getPlanScore in interface CottontailGrpc.ResponseMetadataOrBuilder
      Returns:
      The planScore.
    • getQueryDuration

      public long getQueryDuration()
       Time it took to execute the query. 
       
      int64 queryDuration = 6;
      Specified by:
      getQueryDuration in interface CottontailGrpc.ResponseMetadataOrBuilder
      Returns:
      The queryDuration.
    • 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 CottontailGrpc.ResponseMetadata parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static CottontailGrpc.ResponseMetadata parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static CottontailGrpc.ResponseMetadata parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static CottontailGrpc.ResponseMetadata.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

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

      public static CottontailGrpc.ResponseMetadata getDefaultInstance()
    • parser

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

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