Class Response
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:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanmap<string, string> routeParams = 7;booleanstring cursor = 2;com.google.protobuf.ByteStringstring cursor = 2;static Responsestatic final com.google.protobuf.Descriptors.Descriptorlonguint64 fetchInterval = 3;intuint32 fetchType = 6;longuint64 heartbeatDuration = 8;booleanbool historyNoMore = 12;string internalExt = 5;com.google.protobuf.ByteStringstring internalExt = 5;string liveCursor = 11;com.google.protobuf.ByteStringstring liveCursor = 11;getMessagesList(int index) repeated .Message messagesList = 1;intrepeated .Message messagesList = 1;repeated .Message messagesList = 1;getMessagesListOrBuilder(int index) repeated .Message messagesList = 1;List<? extends MessageOrBuilder>repeated .Message messagesList = 1;booleanbool needAck = 9;longgetNow()uint64 now = 4;com.google.protobuf.Parser<Response>string pushServer = 10;com.google.protobuf.ByteStringstring pushServer = 10;Deprecated.intmap<string, string> routeParams = 7;map<string, string> routeParams = 7;getRouteParamsOrDefault(String key, String defaultValue) map<string, string> routeParams = 7;map<string, string> routeParams = 7;intinthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic Response.Builderstatic Response.BuildernewBuilder(Response prototype) protected Response.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static ResponseparseDelimitedFrom(InputStream input) static ResponseparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ResponseparseFrom(byte[] data) static ResponseparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ResponseparseFrom(com.google.protobuf.ByteString data) static ResponseparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ResponseparseFrom(com.google.protobuf.CodedInputStream input) static ResponseparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ResponseparseFrom(InputStream input) static ResponseparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ResponseparseFrom(ByteBuffer data) static ResponseparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Response>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getMessagesListList
repeated .Message messagesList = 1;- Specified by:
getMessagesListListin interfaceResponseOrBuilder
-
getMessagesListOrBuilderList
repeated .Message messagesList = 1;- Specified by:
getMessagesListOrBuilderListin interfaceResponseOrBuilder
-
getMessagesListCount
public int getMessagesListCount()repeated .Message messagesList = 1;- Specified by:
getMessagesListCountin interfaceResponseOrBuilder
-
getMessagesList
repeated .Message messagesList = 1;- Specified by:
getMessagesListin interfaceResponseOrBuilder
-
getMessagesListOrBuilder
repeated .Message messagesList = 1;- Specified by:
getMessagesListOrBuilderin interfaceResponseOrBuilder
-
getCursor
string cursor = 2;- Specified by:
getCursorin interfaceResponseOrBuilder- Returns:
- The cursor.
-
getCursorBytes
public com.google.protobuf.ByteString getCursorBytes()string cursor = 2;- Specified by:
getCursorBytesin interfaceResponseOrBuilder- Returns:
- The bytes for cursor.
-
getFetchInterval
public long getFetchInterval()uint64 fetchInterval = 3;- Specified by:
getFetchIntervalin interfaceResponseOrBuilder- Returns:
- The fetchInterval.
-
getNow
public long getNow()uint64 now = 4;- Specified by:
getNowin interfaceResponseOrBuilder- Returns:
- The now.
-
getInternalExt
string internalExt = 5;- Specified by:
getInternalExtin interfaceResponseOrBuilder- Returns:
- The internalExt.
-
getInternalExtBytes
public com.google.protobuf.ByteString getInternalExtBytes()string internalExt = 5;- Specified by:
getInternalExtBytesin interfaceResponseOrBuilder- Returns:
- The bytes for internalExt.
-
getFetchType
public int getFetchType()uint32 fetchType = 6;- Specified by:
getFetchTypein interfaceResponseOrBuilder- Returns:
- The fetchType.
-
getRouteParamsCount
public int getRouteParamsCount()Description copied from interface:ResponseOrBuildermap<string, string> routeParams = 7;- Specified by:
getRouteParamsCountin interfaceResponseOrBuilder
-
containsRouteParams
map<string, string> routeParams = 7;- Specified by:
containsRouteParamsin interfaceResponseOrBuilder
-
getRouteParams
Deprecated.UsegetRouteParamsMap()instead.- Specified by:
getRouteParamsin interfaceResponseOrBuilder
-
getRouteParamsMap
map<string, string> routeParams = 7;- Specified by:
getRouteParamsMapin interfaceResponseOrBuilder
-
getRouteParamsOrDefault
map<string, string> routeParams = 7;- Specified by:
getRouteParamsOrDefaultin interfaceResponseOrBuilder
-
getRouteParamsOrThrow
map<string, string> routeParams = 7;- Specified by:
getRouteParamsOrThrowin interfaceResponseOrBuilder
-
getHeartbeatDuration
public long getHeartbeatDuration()uint64 heartbeatDuration = 8;- Specified by:
getHeartbeatDurationin interfaceResponseOrBuilder- Returns:
- The heartbeatDuration.
-
getNeedAck
public boolean getNeedAck()bool needAck = 9;- Specified by:
getNeedAckin interfaceResponseOrBuilder- Returns:
- The needAck.
-
getPushServer
string pushServer = 10;- Specified by:
getPushServerin interfaceResponseOrBuilder- Returns:
- The pushServer.
-
getPushServerBytes
public com.google.protobuf.ByteString getPushServerBytes()string pushServer = 10;- Specified by:
getPushServerBytesin interfaceResponseOrBuilder- Returns:
- The bytes for pushServer.
-
getLiveCursor
string liveCursor = 11;- Specified by:
getLiveCursorin interfaceResponseOrBuilder- Returns:
- The liveCursor.
-
getLiveCursorBytes
public com.google.protobuf.ByteString getLiveCursorBytes()string liveCursor = 11;- Specified by:
getLiveCursorBytesin interfaceResponseOrBuilder- Returns:
- The bytes for liveCursor.
-
getHistoryNoMore
public boolean getHistoryNoMore()bool historyNoMore = 12;- Specified by:
getHistoryNoMorein interfaceResponseOrBuilder- Returns:
- The historyNoMore.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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
- Throws:
IOException
-
parseFrom
public static Response parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Response parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Response parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Response.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-