java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.Response
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, ResponseOrBuilder

public final class Response extends com.google.protobuf.GeneratedMessageV3 implements ResponseOrBuilder
Protobuf type Response
See Also:
  • Field Details

    • MESSAGESLIST_FIELD_NUMBER

      public static final int MESSAGESLIST_FIELD_NUMBER
      See Also:
    • CURSOR_FIELD_NUMBER

      public static final int CURSOR_FIELD_NUMBER
      See Also:
    • FETCHINTERVAL_FIELD_NUMBER

      public static final int FETCHINTERVAL_FIELD_NUMBER
      See Also:
    • NOW_FIELD_NUMBER

      public static final int NOW_FIELD_NUMBER
      See Also:
    • INTERNALEXT_FIELD_NUMBER

      public static final int INTERNALEXT_FIELD_NUMBER
      See Also:
    • FETCHTYPE_FIELD_NUMBER

      public static final int FETCHTYPE_FIELD_NUMBER
      See Also:
    • ROUTEPARAMS_FIELD_NUMBER

      public static final int ROUTEPARAMS_FIELD_NUMBER
      See Also:
    • HEARTBEATDURATION_FIELD_NUMBER

      public static final int HEARTBEATDURATION_FIELD_NUMBER
      See Also:
    • NEEDACK_FIELD_NUMBER

      public static final int NEEDACK_FIELD_NUMBER
      See Also:
    • PUSHSERVER_FIELD_NUMBER

      public static final int PUSHSERVER_FIELD_NUMBER
      See Also:
    • LIVECURSOR_FIELD_NUMBER

      public static final int LIVECURSOR_FIELD_NUMBER
      See Also:
    • HISTORYNOMORE_FIELD_NUMBER

      public static final int HISTORYNOMORE_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
    • getMessagesListList

      public List<Message> getMessagesListList()
      repeated .Message messagesList = 1;
      Specified by:
      getMessagesListList in interface ResponseOrBuilder
    • getMessagesListOrBuilderList

      public List<? extends MessageOrBuilder> getMessagesListOrBuilderList()
      repeated .Message messagesList = 1;
      Specified by:
      getMessagesListOrBuilderList in interface ResponseOrBuilder
    • getMessagesListCount

      public int getMessagesListCount()
      repeated .Message messagesList = 1;
      Specified by:
      getMessagesListCount in interface ResponseOrBuilder
    • getMessagesList

      public Message getMessagesList(int index)
      repeated .Message messagesList = 1;
      Specified by:
      getMessagesList in interface ResponseOrBuilder
    • getMessagesListOrBuilder

      public MessageOrBuilder getMessagesListOrBuilder(int index)
      repeated .Message messagesList = 1;
      Specified by:
      getMessagesListOrBuilder in interface ResponseOrBuilder
    • getCursor

      public String getCursor()
      string cursor = 2;
      Specified by:
      getCursor in interface ResponseOrBuilder
      Returns:
      The cursor.
    • getCursorBytes

      public com.google.protobuf.ByteString getCursorBytes()
      string cursor = 2;
      Specified by:
      getCursorBytes in interface ResponseOrBuilder
      Returns:
      The bytes for cursor.
    • getFetchInterval

      public long getFetchInterval()
      uint64 fetchInterval = 3;
      Specified by:
      getFetchInterval in interface ResponseOrBuilder
      Returns:
      The fetchInterval.
    • getNow

      public long getNow()
      uint64 now = 4;
      Specified by:
      getNow in interface ResponseOrBuilder
      Returns:
      The now.
    • getInternalExt

      public String getInternalExt()
      string internalExt = 5;
      Specified by:
      getInternalExt in interface ResponseOrBuilder
      Returns:
      The internalExt.
    • getInternalExtBytes

      public com.google.protobuf.ByteString getInternalExtBytes()
      string internalExt = 5;
      Specified by:
      getInternalExtBytes in interface ResponseOrBuilder
      Returns:
      The bytes for internalExt.
    • getFetchType

      public int getFetchType()
      uint32 fetchType = 6;
      Specified by:
      getFetchType in interface ResponseOrBuilder
      Returns:
      The fetchType.
    • getRouteParamsCount

      public int getRouteParamsCount()
      Description copied from interface: ResponseOrBuilder
      map<string, string> routeParams = 7;
      Specified by:
      getRouteParamsCount in interface ResponseOrBuilder
    • containsRouteParams

      public boolean containsRouteParams(String key)
      map<string, string> routeParams = 7;
      Specified by:
      containsRouteParams in interface ResponseOrBuilder
    • getRouteParams

      @Deprecated public Map<String,String> getRouteParams()
      Deprecated.
      Use getRouteParamsMap() instead.
      Specified by:
      getRouteParams in interface ResponseOrBuilder
    • getRouteParamsMap

      public Map<String,String> getRouteParamsMap()
      map<string, string> routeParams = 7;
      Specified by:
      getRouteParamsMap in interface ResponseOrBuilder
    • getRouteParamsOrDefault

      public String getRouteParamsOrDefault(String key, String defaultValue)
      map<string, string> routeParams = 7;
      Specified by:
      getRouteParamsOrDefault in interface ResponseOrBuilder
    • getRouteParamsOrThrow

      public String getRouteParamsOrThrow(String key)
      map<string, string> routeParams = 7;
      Specified by:
      getRouteParamsOrThrow in interface ResponseOrBuilder
    • getHeartbeatDuration

      public long getHeartbeatDuration()
      uint64 heartbeatDuration = 8;
      Specified by:
      getHeartbeatDuration in interface ResponseOrBuilder
      Returns:
      The heartbeatDuration.
    • getNeedAck

      public boolean getNeedAck()
      bool needAck = 9;
      Specified by:
      getNeedAck in interface ResponseOrBuilder
      Returns:
      The needAck.
    • getPushServer

      public String getPushServer()
      string pushServer = 10;
      Specified by:
      getPushServer in interface ResponseOrBuilder
      Returns:
      The pushServer.
    • getPushServerBytes

      public com.google.protobuf.ByteString getPushServerBytes()
      string pushServer = 10;
      Specified by:
      getPushServerBytes in interface ResponseOrBuilder
      Returns:
      The bytes for pushServer.
    • getLiveCursor

      public String getLiveCursor()
      string liveCursor = 11;
      Specified by:
      getLiveCursor in interface ResponseOrBuilder
      Returns:
      The liveCursor.
    • getLiveCursorBytes

      public com.google.protobuf.ByteString getLiveCursorBytes()
      string liveCursor = 11;
      Specified by:
      getLiveCursorBytes in interface ResponseOrBuilder
      Returns:
      The bytes for liveCursor.
    • getHistoryNoMore

      public boolean getHistoryNoMore()
      bool historyNoMore = 12;
      Specified by:
      getHistoryNoMore in interface ResponseOrBuilder
      Returns:
      The historyNoMore.
    • 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 Response parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static Response.Builder newBuilder()
    • newBuilder

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

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

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

      public static Response getDefaultInstance()
    • parser

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

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