Class Meta.TsoResponse

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.dingodb.meta.Meta.TsoResponse
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Meta.TsoResponseOrBuilder, Serializable
Enclosing class:
Meta

public static final class Meta.TsoResponse extends com.google.protobuf.GeneratedMessageV3 implements Meta.TsoResponseOrBuilder
Protobuf type dingodb.pb.meta.TsoResponse
See Also:
  • Field Details

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

      public boolean hasResponseInfo()
      .dingodb.pb.common.ResponseInfo response_info = 1;
      Specified by:
      hasResponseInfo in interface Meta.TsoResponseOrBuilder
      Returns:
      Whether the responseInfo field is set.
    • getResponseInfo

      public Common.ResponseInfo getResponseInfo()
      .dingodb.pb.common.ResponseInfo response_info = 1;
      Specified by:
      getResponseInfo in interface Meta.TsoResponseOrBuilder
      Returns:
      The responseInfo.
    • getResponseInfoOrBuilder

      public Common.ResponseInfoOrBuilder getResponseInfoOrBuilder()
      .dingodb.pb.common.ResponseInfo response_info = 1;
      Specified by:
      getResponseInfoOrBuilder in interface Meta.TsoResponseOrBuilder
    • hasError

      public boolean hasError()
      .dingodb.pb.error.Error error = 2;
      Specified by:
      hasError in interface Meta.TsoResponseOrBuilder
      Returns:
      Whether the error field is set.
    • getError

      public ErrorOuterClass.Error getError()
      .dingodb.pb.error.Error error = 2;
      Specified by:
      getError in interface Meta.TsoResponseOrBuilder
      Returns:
      The error.
    • getErrorOrBuilder

      public ErrorOuterClass.ErrorOrBuilder getErrorOrBuilder()
      .dingodb.pb.error.Error error = 2;
      Specified by:
      getErrorOrBuilder in interface Meta.TsoResponseOrBuilder
    • getOpTypeValue

      public int getOpTypeValue()
      .dingodb.pb.meta.TsoOpType op_type = 3;
      Specified by:
      getOpTypeValue in interface Meta.TsoResponseOrBuilder
      Returns:
      The enum numeric value on the wire for opType.
    • getOpType

      public Meta.TsoOpType getOpType()
      .dingodb.pb.meta.TsoOpType op_type = 3;
      Specified by:
      getOpType in interface Meta.TsoResponseOrBuilder
      Returns:
      The opType.
    • hasStartTimestamp

      public boolean hasStartTimestamp()
      .dingodb.pb.meta.TsoTimestamp start_timestamp = 4;
      Specified by:
      hasStartTimestamp in interface Meta.TsoResponseOrBuilder
      Returns:
      Whether the startTimestamp field is set.
    • getStartTimestamp

      public Meta.TsoTimestamp getStartTimestamp()
      .dingodb.pb.meta.TsoTimestamp start_timestamp = 4;
      Specified by:
      getStartTimestamp in interface Meta.TsoResponseOrBuilder
      Returns:
      The startTimestamp.
    • getStartTimestampOrBuilder

      public Meta.TsoTimestampOrBuilder getStartTimestampOrBuilder()
      .dingodb.pb.meta.TsoTimestamp start_timestamp = 4;
      Specified by:
      getStartTimestampOrBuilder in interface Meta.TsoResponseOrBuilder
    • getCount

      public long getCount()
      int64 count = 5;
      Specified by:
      getCount in interface Meta.TsoResponseOrBuilder
      Returns:
      The count.
    • getSavePhysical

      public long getSavePhysical()
      int64 save_physical = 6;
      Specified by:
      getSavePhysical in interface Meta.TsoResponseOrBuilder
      Returns:
      The savePhysical.
    • getSystemTime

      public long getSystemTime()
      int64 system_time = 7;
      Specified by:
      getSystemTime in interface Meta.TsoResponseOrBuilder
      Returns:
      The systemTime.
    • getLeader

      public String getLeader()
      string leader = 8;
      Specified by:
      getLeader in interface Meta.TsoResponseOrBuilder
      Returns:
      The leader.
    • getLeaderBytes

      public com.google.protobuf.ByteString getLeaderBytes()
      string leader = 8;
      Specified by:
      getLeaderBytes in interface Meta.TsoResponseOrBuilder
      Returns:
      The bytes for leader.
    • 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 Meta.TsoResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static Meta.TsoResponse parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static Meta.TsoResponse parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static Meta.TsoResponse.Builder newBuilder()
    • newBuilder

      public static Meta.TsoResponse.Builder newBuilder(Meta.TsoResponse prototype)
    • toBuilder

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

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

      public static Meta.TsoResponse getDefaultInstance()
    • parser

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

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