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:
  • 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
    • getCmd

      public int getCmd()
      uint32 cmd = 1;
      Specified by:
      getCmd in interface PreMessageOrBuilder
      Returns:
      The cmd.
    • getSequenceId

      public int getSequenceId()
      uint32 sequenceId = 2;
      Specified by:
      getSequenceId in interface PreMessageOrBuilder
      Returns:
      The sequenceId.
    • getSdkVersion

      public String getSdkVersion()
      string sdkVersion = 3;
      Specified by:
      getSdkVersion in interface PreMessageOrBuilder
      Returns:
      The sdkVersion.
    • getSdkVersionBytes

      public com.google.protobuf.ByteString getSdkVersionBytes()
      string sdkVersion = 3;
      Specified by:
      getSdkVersionBytes in interface PreMessageOrBuilder
      Returns:
      The bytes for sdkVersion.
    • getToken

      public String getToken()
      string token = 4;
      Specified by:
      getToken in interface PreMessageOrBuilder
      Returns:
      The token.
    • getTokenBytes

      public com.google.protobuf.ByteString getTokenBytes()
      string token = 4;
      Specified by:
      getTokenBytes in interface PreMessageOrBuilder
      Returns:
      The bytes for token.
    • getRefer

      public int getRefer()
      uint32 refer = 5;
      Specified by:
      getRefer in interface PreMessageOrBuilder
      Returns:
      The refer.
    • getInboxType

      public int getInboxType()
      uint32 inboxType = 6;
      Specified by:
      getInboxType in interface PreMessageOrBuilder
      Returns:
      The inboxType.
    • getBuildNumber

      public String getBuildNumber()
      string buildNumber = 7;
      Specified by:
      getBuildNumber in interface PreMessageOrBuilder
      Returns:
      The buildNumber.
    • getBuildNumberBytes

      public com.google.protobuf.ByteString getBuildNumberBytes()
      string buildNumber = 7;
      Specified by:
      getBuildNumberBytes in interface PreMessageOrBuilder
      Returns:
      The bytes for buildNumber.
    • hasSendMessageBody

      public boolean hasSendMessageBody()
      .SendMessageBody sendMessageBody = 8;
      Specified by:
      hasSendMessageBody in interface PreMessageOrBuilder
      Returns:
      Whether the sendMessageBody field is set.
    • getSendMessageBody

      public SendMessageBody getSendMessageBody()
      .SendMessageBody sendMessageBody = 8;
      Specified by:
      getSendMessageBody in interface PreMessageOrBuilder
      Returns:
      The sendMessageBody.
    • getSendMessageBodyOrBuilder

      public SendMessageBodyOrBuilder getSendMessageBodyOrBuilder()
      .SendMessageBody sendMessageBody = 8;
      Specified by:
      getSendMessageBodyOrBuilder in interface PreMessageOrBuilder
    • getAa

      public String getAa()
       字段名待定
       
      string aa = 9;
      Specified by:
      getAa in interface PreMessageOrBuilder
      Returns:
      The aa.
    • getAaBytes

      public com.google.protobuf.ByteString getAaBytes()
       字段名待定
       
      string aa = 9;
      Specified by:
      getAaBytes in interface PreMessageOrBuilder
      Returns:
      The bytes for aa.
    • getDevicePlatform

      public String getDevicePlatform()
      string devicePlatform = 11;
      Specified by:
      getDevicePlatform in interface PreMessageOrBuilder
      Returns:
      The devicePlatform.
    • getDevicePlatformBytes

      public com.google.protobuf.ByteString getDevicePlatformBytes()
      string devicePlatform = 11;
      Specified by:
      getDevicePlatformBytes in interface PreMessageOrBuilder
      Returns:
      The bytes for devicePlatform.
    • getHeadersList

      public List<HeadersList> getHeadersList()
      repeated .HeadersList headers = 15;
      Specified by:
      getHeadersList in interface PreMessageOrBuilder
    • getHeadersOrBuilderList

      public List<? extends HeadersListOrBuilder> getHeadersOrBuilderList()
      repeated .HeadersList headers = 15;
      Specified by:
      getHeadersOrBuilderList in interface PreMessageOrBuilder
    • getHeadersCount

      public int getHeadersCount()
      repeated .HeadersList headers = 15;
      Specified by:
      getHeadersCount in interface PreMessageOrBuilder
    • getHeaders

      public HeadersList getHeaders(int index)
      repeated .HeadersList headers = 15;
      Specified by:
      getHeaders in interface PreMessageOrBuilder
    • getHeadersOrBuilder

      public HeadersListOrBuilder getHeadersOrBuilder(int index)
      repeated .HeadersList headers = 15;
      Specified by:
      getHeadersOrBuilder in interface PreMessageOrBuilder
    • getAuthType

      public int getAuthType()
      uint32 authType = 18;
      Specified by:
      getAuthType in interface PreMessageOrBuilder
      Returns:
      The authType.
    • getBiz

      public String getBiz()
      string biz = 21;
      Specified by:
      getBiz in interface PreMessageOrBuilder
      Returns:
      The biz.
    • getBizBytes

      public com.google.protobuf.ByteString getBizBytes()
      string biz = 21;
      Specified by:
      getBizBytes in interface PreMessageOrBuilder
      Returns:
      The bytes for biz.
    • getAccess

      public String getAccess()
      string access = 22;
      Specified by:
      getAccess in interface PreMessageOrBuilder
      Returns:
      The access.
    • getAccessBytes

      public com.google.protobuf.ByteString getAccessBytes()
      string access = 22;
      Specified by:
      getAccessBytes in interface PreMessageOrBuilder
      Returns:
      The bytes for access.
    • 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 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

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

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

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

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

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

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

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

      public static PreMessage.Builder newBuilder()
    • newBuilder

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

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

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

      public static PreMessage getDefaultInstance()
    • parser

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

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