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

public final class TextPiece extends com.google.protobuf.GeneratedMessageV3 implements TextPieceOrBuilder
Protobuf type TextPiece
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
    • getType

      public int getType()
      uint32 type = 1;
      Specified by:
      getType in interface TextPieceOrBuilder
      Returns:
      The type.
    • hasFormat

      public boolean hasFormat()
      .TextFormat format = 2;
      Specified by:
      hasFormat in interface TextPieceOrBuilder
      Returns:
      Whether the format field is set.
    • getFormat

      public TextFormat getFormat()
      .TextFormat format = 2;
      Specified by:
      getFormat in interface TextPieceOrBuilder
      Returns:
      The format.
    • getFormatOrBuilder

      public TextFormatOrBuilder getFormatOrBuilder()
      .TextFormat format = 2;
      Specified by:
      getFormatOrBuilder in interface TextPieceOrBuilder
    • getValueRef

      public String getValueRef()
      string value_ref = 3;
      Specified by:
      getValueRef in interface TextPieceOrBuilder
      Returns:
      The valueRef.
    • getValueRefBytes

      public com.google.protobuf.ByteString getValueRefBytes()
      string value_ref = 3;
      Specified by:
      getValueRefBytes in interface TextPieceOrBuilder
      Returns:
      The bytes for valueRef.
    • getStringValue

      public String getStringValue()
      string string_value = 11;
      Specified by:
      getStringValue in interface TextPieceOrBuilder
      Returns:
      The stringValue.
    • getStringValueBytes

      public com.google.protobuf.ByteString getStringValueBytes()
      string string_value = 11;
      Specified by:
      getStringValueBytes in interface TextPieceOrBuilder
      Returns:
      The bytes for stringValue.
    • hasUservalue

      public boolean hasUservalue()
      .TextPieceUser uservalue = 21;
      Specified by:
      hasUservalue in interface TextPieceOrBuilder
      Returns:
      Whether the uservalue field is set.
    • getUservalue

      public TextPieceUser getUservalue()
      .TextPieceUser uservalue = 21;
      Specified by:
      getUservalue in interface TextPieceOrBuilder
      Returns:
      The uservalue.
    • getUservalueOrBuilder

      public TextPieceUserOrBuilder getUservalueOrBuilder()
      .TextPieceUser uservalue = 21;
      Specified by:
      getUservalueOrBuilder in interface TextPieceOrBuilder
    • hasGiftvalue

      public boolean hasGiftvalue()
      .TextPieceGift giftvalue = 22;
      Specified by:
      hasGiftvalue in interface TextPieceOrBuilder
      Returns:
      Whether the giftvalue field is set.
    • getGiftvalue

      public TextPieceGift getGiftvalue()
      .TextPieceGift giftvalue = 22;
      Specified by:
      getGiftvalue in interface TextPieceOrBuilder
      Returns:
      The giftvalue.
    • getGiftvalueOrBuilder

      public TextPieceGiftOrBuilder getGiftvalueOrBuilder()
      .TextPieceGift giftvalue = 22;
      Specified by:
      getGiftvalueOrBuilder in interface TextPieceOrBuilder
    • hasHeartvalue

      public boolean hasHeartvalue()
      .TextPieceHeart heartvalue = 23;
      Specified by:
      hasHeartvalue in interface TextPieceOrBuilder
      Returns:
      Whether the heartvalue field is set.
    • getHeartvalue

      public TextPieceHeart getHeartvalue()
      .TextPieceHeart heartvalue = 23;
      Specified by:
      getHeartvalue in interface TextPieceOrBuilder
      Returns:
      The heartvalue.
    • getHeartvalueOrBuilder

      public TextPieceHeartOrBuilder getHeartvalueOrBuilder()
      .TextPieceHeart heartvalue = 23;
      Specified by:
      getHeartvalueOrBuilder in interface TextPieceOrBuilder
    • hasPatternrefvalue

      public boolean hasPatternrefvalue()
      .TextPiecePatternRef patternrefvalue = 24;
      Specified by:
      hasPatternrefvalue in interface TextPieceOrBuilder
      Returns:
      Whether the patternrefvalue field is set.
    • getPatternrefvalue

      public TextPiecePatternRef getPatternrefvalue()
      .TextPiecePatternRef patternrefvalue = 24;
      Specified by:
      getPatternrefvalue in interface TextPieceOrBuilder
      Returns:
      The patternrefvalue.
    • getPatternrefvalueOrBuilder

      public TextPiecePatternRefOrBuilder getPatternrefvalueOrBuilder()
      .TextPiecePatternRef patternrefvalue = 24;
      Specified by:
      getPatternrefvalueOrBuilder in interface TextPieceOrBuilder
    • hasImagevalue

      public boolean hasImagevalue()
      .TextPieceImage imagevalue = 25;
      Specified by:
      hasImagevalue in interface TextPieceOrBuilder
      Returns:
      Whether the imagevalue field is set.
    • getImagevalue

      public TextPieceImage getImagevalue()
      .TextPieceImage imagevalue = 25;
      Specified by:
      getImagevalue in interface TextPieceOrBuilder
      Returns:
      The imagevalue.
    • getImagevalueOrBuilder

      public TextPieceImageOrBuilder getImagevalueOrBuilder()
      .TextPieceImage imagevalue = 25;
      Specified by:
      getImagevalueOrBuilder in interface TextPieceOrBuilder
    • getSchemaKey

      public String getSchemaKey()
      string schema_key = 100;
      Specified by:
      getSchemaKey in interface TextPieceOrBuilder
      Returns:
      The schemaKey.
    • getSchemaKeyBytes

      public com.google.protobuf.ByteString getSchemaKeyBytes()
      string schema_key = 100;
      Specified by:
      getSchemaKeyBytes in interface TextPieceOrBuilder
      Returns:
      The bytes for schemaKey.
    • 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 TextPiece parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static TextPiece.Builder newBuilder()
    • newBuilder

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

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

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

      public static TextPiece getDefaultInstance()
    • parser

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

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