Class PreMessage
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.PreMessage
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,PreMessageOrBuilder
public final class PreMessage
extends com.google.protobuf.GeneratedMessageV3
implements PreMessageOrBuilder
Protobuf type
PreMessage- 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 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 TypeMethodDescriptionbooleangetAa()字段名待定com.google.protobuf.ByteString字段名待定string access = 22;com.google.protobuf.ByteStringstring access = 22;intuint32 authType = 18;getBiz()string biz = 21;com.google.protobuf.ByteStringstring biz = 21;string buildNumber = 7;com.google.protobuf.ByteStringstring buildNumber = 7;intgetCmd()uint32 cmd = 1;static PreMessagestatic final com.google.protobuf.Descriptors.Descriptorstring devicePlatform = 11;com.google.protobuf.ByteStringstring devicePlatform = 11;getHeaders(int index) repeated .HeadersList headers = 15;intrepeated .HeadersList headers = 15;repeated .HeadersList headers = 15;getHeadersOrBuilder(int index) repeated .HeadersList headers = 15;List<? extends HeadersListOrBuilder>repeated .HeadersList headers = 15;intuint32 inboxType = 6;com.google.protobuf.Parser<PreMessage>intgetRefer()uint32 refer = 5;string sdkVersion = 3;com.google.protobuf.ByteStringstring sdkVersion = 3;.SendMessageBody sendMessageBody = 8;.SendMessageBody sendMessageBody = 8;intuint32 sequenceId = 2;intgetToken()string token = 4;com.google.protobuf.ByteStringstring token = 4;inthashCode()boolean.SendMessageBody sendMessageBody = 8;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic PreMessage.Builderstatic PreMessage.BuildernewBuilder(PreMessage prototype) protected PreMessage.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static PreMessageparseDelimitedFrom(InputStream input) static PreMessageparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PreMessageparseFrom(byte[] data) static PreMessageparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PreMessageparseFrom(com.google.protobuf.ByteString data) static PreMessageparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PreMessageparseFrom(com.google.protobuf.CodedInputStream input) static PreMessageparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PreMessageparseFrom(InputStream input) static PreMessageparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PreMessageparseFrom(ByteBuffer data) static PreMessageparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<PreMessage>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, internalGetMapFieldReflection, 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
-
CMD_FIELD_NUMBER
public static final int CMD_FIELD_NUMBER- See Also:
-
SEQUENCEID_FIELD_NUMBER
public static final int SEQUENCEID_FIELD_NUMBER- See Also:
-
SDKVERSION_FIELD_NUMBER
public static final int SDKVERSION_FIELD_NUMBER- See Also:
-
TOKEN_FIELD_NUMBER
public static final int TOKEN_FIELD_NUMBER- See Also:
-
REFER_FIELD_NUMBER
public static final int REFER_FIELD_NUMBER- See Also:
-
INBOXTYPE_FIELD_NUMBER
public static final int INBOXTYPE_FIELD_NUMBER- See Also:
-
BUILDNUMBER_FIELD_NUMBER
public static final int BUILDNUMBER_FIELD_NUMBER- See Also:
-
SENDMESSAGEBODY_FIELD_NUMBER
public static final int SENDMESSAGEBODY_FIELD_NUMBER- See Also:
-
AA_FIELD_NUMBER
public static final int AA_FIELD_NUMBER- See Also:
-
DEVICEPLATFORM_FIELD_NUMBER
public static final int DEVICEPLATFORM_FIELD_NUMBER- See Also:
-
HEADERS_FIELD_NUMBER
public static final int HEADERS_FIELD_NUMBER- See Also:
-
AUTHTYPE_FIELD_NUMBER
public static final int AUTHTYPE_FIELD_NUMBER- See Also:
-
BIZ_FIELD_NUMBER
public static final int BIZ_FIELD_NUMBER- See Also:
-
ACCESS_FIELD_NUMBER
public static final int ACCESS_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getCmd
public int getCmd()uint32 cmd = 1;- Specified by:
getCmdin interfacePreMessageOrBuilder- Returns:
- The cmd.
-
getSequenceId
public int getSequenceId()uint32 sequenceId = 2;- Specified by:
getSequenceIdin interfacePreMessageOrBuilder- Returns:
- The sequenceId.
-
getSdkVersion
string sdkVersion = 3;- Specified by:
getSdkVersionin interfacePreMessageOrBuilder- Returns:
- The sdkVersion.
-
getSdkVersionBytes
public com.google.protobuf.ByteString getSdkVersionBytes()string sdkVersion = 3;- Specified by:
getSdkVersionBytesin interfacePreMessageOrBuilder- Returns:
- The bytes for sdkVersion.
-
getToken
string token = 4;- Specified by:
getTokenin interfacePreMessageOrBuilder- Returns:
- The token.
-
getTokenBytes
public com.google.protobuf.ByteString getTokenBytes()string token = 4;- Specified by:
getTokenBytesin interfacePreMessageOrBuilder- Returns:
- The bytes for token.
-
getRefer
public int getRefer()uint32 refer = 5;- Specified by:
getReferin interfacePreMessageOrBuilder- Returns:
- The refer.
-
getInboxType
public int getInboxType()uint32 inboxType = 6;- Specified by:
getInboxTypein interfacePreMessageOrBuilder- Returns:
- The inboxType.
-
getBuildNumber
string buildNumber = 7;- Specified by:
getBuildNumberin interfacePreMessageOrBuilder- Returns:
- The buildNumber.
-
getBuildNumberBytes
public com.google.protobuf.ByteString getBuildNumberBytes()string buildNumber = 7;- Specified by:
getBuildNumberBytesin interfacePreMessageOrBuilder- Returns:
- The bytes for buildNumber.
-
hasSendMessageBody
public boolean hasSendMessageBody().SendMessageBody sendMessageBody = 8;- Specified by:
hasSendMessageBodyin interfacePreMessageOrBuilder- Returns:
- Whether the sendMessageBody field is set.
-
getSendMessageBody
.SendMessageBody sendMessageBody = 8;- Specified by:
getSendMessageBodyin interfacePreMessageOrBuilder- Returns:
- The sendMessageBody.
-
getSendMessageBodyOrBuilder
.SendMessageBody sendMessageBody = 8;- Specified by:
getSendMessageBodyOrBuilderin interfacePreMessageOrBuilder
-
getAa
字段名待定
string aa = 9;- Specified by:
getAain interfacePreMessageOrBuilder- Returns:
- The aa.
-
getAaBytes
public com.google.protobuf.ByteString getAaBytes()字段名待定
string aa = 9;- Specified by:
getAaBytesin interfacePreMessageOrBuilder- Returns:
- The bytes for aa.
-
getDevicePlatform
string devicePlatform = 11;- Specified by:
getDevicePlatformin interfacePreMessageOrBuilder- Returns:
- The devicePlatform.
-
getDevicePlatformBytes
public com.google.protobuf.ByteString getDevicePlatformBytes()string devicePlatform = 11;- Specified by:
getDevicePlatformBytesin interfacePreMessageOrBuilder- Returns:
- The bytes for devicePlatform.
-
getHeadersList
repeated .HeadersList headers = 15;- Specified by:
getHeadersListin interfacePreMessageOrBuilder
-
getHeadersOrBuilderList
repeated .HeadersList headers = 15;- Specified by:
getHeadersOrBuilderListin interfacePreMessageOrBuilder
-
getHeadersCount
public int getHeadersCount()repeated .HeadersList headers = 15;- Specified by:
getHeadersCountin interfacePreMessageOrBuilder
-
getHeaders
repeated .HeadersList headers = 15;- Specified by:
getHeadersin interfacePreMessageOrBuilder
-
getHeadersOrBuilder
repeated .HeadersList headers = 15;- Specified by:
getHeadersOrBuilderin interfacePreMessageOrBuilder
-
getAuthType
public int getAuthType()uint32 authType = 18;- Specified by:
getAuthTypein interfacePreMessageOrBuilder- Returns:
- The authType.
-
getBiz
string biz = 21;- Specified by:
getBizin interfacePreMessageOrBuilder- Returns:
- The biz.
-
getBizBytes
public com.google.protobuf.ByteString getBizBytes()string biz = 21;- Specified by:
getBizBytesin interfacePreMessageOrBuilder- Returns:
- The bytes for biz.
-
getAccess
string access = 22;- Specified by:
getAccessin interfacePreMessageOrBuilder- Returns:
- The access.
-
getAccessBytes
public com.google.protobuf.ByteString getAccessBytes()string access = 22;- Specified by:
getAccessBytesin interfacePreMessageOrBuilder- Returns:
- The bytes for access.
-
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 PreMessage parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PreMessage parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PreMessage parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PreMessage parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PreMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PreMessage parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static PreMessage parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static PreMessage parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static PreMessage 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 PreMessage.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
-