类 TextPieceOuterClass.TextPiece
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
tech.ordinaryroad.live.chat.client.codec.douyin.protobuf.dto.TextPieceOuterClass.TextPiece
- 所有已实现的接口:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,TextPieceOuterClass.TextPieceOrBuilder
- 封闭类:
- TextPieceOuterClass
public static final class TextPieceOuterClass.TextPiece
extends com.google.protobuf.GeneratedMessageV3
implements TextPieceOuterClass.TextPieceOrBuilder
Protobuf type
TextPiece- 另请参阅:
-
嵌套类概要
嵌套类从类继承的嵌套类/接口 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 从类继承的嵌套类/接口 com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
字段概要
字段修饰符和类型字段说明static final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final int从类继承的字段 com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFields从类继承的字段 com.google.protobuf.AbstractMessage
memoizedSize从类继承的字段 com.google.protobuf.AbstractMessageLite
memoizedHashCode -
方法概要
修饰符和类型方法说明booleanstatic final com.google.protobuf.Descriptors.Descriptor.TextFormat format = 2;.TextFormat format = 2;.TextPieceGift gift_value = 5;.TextPieceGift gift_value = 5;.TextPieceHeart heart_value = 6;.TextPieceHeart heart_value = 6;.TextPieceImage image_value = 8;.TextPieceImage image_value = 8;com.google.protobuf.Parser<TextPieceOuterClass.TextPiece>.TextPiecePatternRef pattern_ref_value = 7;.TextPiecePatternRef pattern_ref_value = 7;intstring string_value = 3;com.google.protobuf.ByteStringstring string_value = 3;booleangetType()bool type = 1;.TextPieceUser user_value = 4;.TextPieceUser user_value = 4;boolean.TextFormat format = 2;boolean.TextPieceGift gift_value = 5;inthashCode()boolean.TextPieceHeart heart_value = 6;boolean.TextPieceImage image_value = 8;boolean.TextPiecePatternRef pattern_ref_value = 7;boolean.TextPieceUser user_value = 4;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(TextPieceOuterClass.TextPiece prototype) protected TextPieceOuterClass.TextPiece.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<TextPieceOuterClass.TextPiece>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) 从类继承的方法 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, writeStringNoTag从类继承的方法 com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString从类继承的方法 com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo从接口继承的方法 com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo从接口继承的方法 com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
字段详细资料
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER- 另请参阅:
-
FORMAT_FIELD_NUMBER
public static final int FORMAT_FIELD_NUMBER- 另请参阅:
-
STRING_VALUE_FIELD_NUMBER
public static final int STRING_VALUE_FIELD_NUMBER- 另请参阅:
-
USER_VALUE_FIELD_NUMBER
public static final int USER_VALUE_FIELD_NUMBER- 另请参阅:
-
GIFT_VALUE_FIELD_NUMBER
public static final int GIFT_VALUE_FIELD_NUMBER- 另请参阅:
-
HEART_VALUE_FIELD_NUMBER
public static final int HEART_VALUE_FIELD_NUMBER- 另请参阅:
-
PATTERN_REF_VALUE_FIELD_NUMBER
public static final int PATTERN_REF_VALUE_FIELD_NUMBER- 另请参阅:
-
IMAGE_VALUE_FIELD_NUMBER
public static final int IMAGE_VALUE_FIELD_NUMBER- 另请参阅:
-
-
方法详细资料
-
newInstance
- 覆盖:
newInstance在类中com.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- 指定者:
internalGetFieldAccessorTable在类中com.google.protobuf.GeneratedMessageV3
-
getType
public boolean getType()bool type = 1;- 指定者:
getType在接口中TextPieceOuterClass.TextPieceOrBuilder- 返回:
- The type.
-
hasFormat
public boolean hasFormat().TextFormat format = 2;- 指定者:
hasFormat在接口中TextPieceOuterClass.TextPieceOrBuilder- 返回:
- Whether the format field is set.
-
getFormat
.TextFormat format = 2;- 指定者:
getFormat在接口中TextPieceOuterClass.TextPieceOrBuilder- 返回:
- The format.
-
getFormatOrBuilder
.TextFormat format = 2; -
getStringValue
string string_value = 3;- 指定者:
getStringValue在接口中TextPieceOuterClass.TextPieceOrBuilder- 返回:
- The stringValue.
-
getStringValueBytes
public com.google.protobuf.ByteString getStringValueBytes()string string_value = 3;- 指定者:
getStringValueBytes在接口中TextPieceOuterClass.TextPieceOrBuilder- 返回:
- The bytes for stringValue.
-
hasUserValue
public boolean hasUserValue().TextPieceUser user_value = 4;- 指定者:
hasUserValue在接口中TextPieceOuterClass.TextPieceOrBuilder- 返回:
- Whether the userValue field is set.
-
getUserValue
.TextPieceUser user_value = 4;- 指定者:
getUserValue在接口中TextPieceOuterClass.TextPieceOrBuilder- 返回:
- The userValue.
-
getUserValueOrBuilder
.TextPieceUser user_value = 4; -
hasGiftValue
public boolean hasGiftValue().TextPieceGift gift_value = 5;- 指定者:
hasGiftValue在接口中TextPieceOuterClass.TextPieceOrBuilder- 返回:
- Whether the giftValue field is set.
-
getGiftValue
.TextPieceGift gift_value = 5;- 指定者:
getGiftValue在接口中TextPieceOuterClass.TextPieceOrBuilder- 返回:
- The giftValue.
-
getGiftValueOrBuilder
.TextPieceGift gift_value = 5; -
hasHeartValue
public boolean hasHeartValue().TextPieceHeart heart_value = 6;- 指定者:
hasHeartValue在接口中TextPieceOuterClass.TextPieceOrBuilder- 返回:
- Whether the heartValue field is set.
-
getHeartValue
.TextPieceHeart heart_value = 6;- 指定者:
getHeartValue在接口中TextPieceOuterClass.TextPieceOrBuilder- 返回:
- The heartValue.
-
getHeartValueOrBuilder
.TextPieceHeart heart_value = 6; -
hasPatternRefValue
public boolean hasPatternRefValue().TextPiecePatternRef pattern_ref_value = 7;- 指定者:
hasPatternRefValue在接口中TextPieceOuterClass.TextPieceOrBuilder- 返回:
- Whether the patternRefValue field is set.
-
getPatternRefValue
.TextPiecePatternRef pattern_ref_value = 7;- 指定者:
getPatternRefValue在接口中TextPieceOuterClass.TextPieceOrBuilder- 返回:
- The patternRefValue.
-
getPatternRefValueOrBuilder
.TextPiecePatternRef pattern_ref_value = 7; -
hasImageValue
public boolean hasImageValue().TextPieceImage image_value = 8;- 指定者:
hasImageValue在接口中TextPieceOuterClass.TextPieceOrBuilder- 返回:
- Whether the imageValue field is set.
-
getImageValue
.TextPieceImage image_value = 8;- 指定者:
getImageValue在接口中TextPieceOuterClass.TextPieceOrBuilder- 返回:
- The imageValue.
-
getImageValueOrBuilder
.TextPieceImage image_value = 8; -
isInitialized
public final boolean isInitialized()- 指定者:
isInitialized在接口中com.google.protobuf.MessageLiteOrBuilder- 覆盖:
isInitialized在类中com.google.protobuf.GeneratedMessageV3
-
writeTo
- 指定者:
writeTo在接口中com.google.protobuf.MessageLite- 覆盖:
writeTo在类中com.google.protobuf.GeneratedMessageV3- 抛出:
IOException
-
getSerializedSize
public int getSerializedSize()- 指定者:
getSerializedSize在接口中com.google.protobuf.MessageLite- 覆盖:
getSerializedSize在类中com.google.protobuf.GeneratedMessageV3
-
equals
- 指定者:
equals在接口中com.google.protobuf.Message- 覆盖:
equals在类中com.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- 指定者:
hashCode在接口中com.google.protobuf.Message- 覆盖:
hashCode在类中com.google.protobuf.AbstractMessage
-
parseFrom
public static TextPieceOuterClass.TextPiece parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TextPieceOuterClass.TextPiece parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TextPieceOuterClass.TextPiece parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TextPieceOuterClass.TextPiece parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TextPieceOuterClass.TextPiece parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TextPieceOuterClass.TextPiece parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- 抛出:
IOException
-
parseFrom
public static TextPieceOuterClass.TextPiece parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - 抛出:
IOException
-
parseDelimitedFrom
public static TextPieceOuterClass.TextPiece parseDelimitedFrom(InputStream input) throws IOException - 抛出:
IOException
-
parseDelimitedFrom
public static TextPieceOuterClass.TextPiece parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - 抛出:
IOException
-
parseFrom
public static TextPieceOuterClass.TextPiece parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - 抛出:
IOException
-
parseFrom
public static TextPieceOuterClass.TextPiece parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - 抛出:
IOException
-
newBuilderForType
- 指定者:
newBuilderForType在接口中com.google.protobuf.Message- 指定者:
newBuilderForType在接口中com.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static TextPieceOuterClass.TextPiece.Builder newBuilder(TextPieceOuterClass.TextPiece prototype) -
toBuilder
- 指定者:
toBuilder在接口中com.google.protobuf.Message- 指定者:
toBuilder在接口中com.google.protobuf.MessageLite
-
newBuilderForType
protected TextPieceOuterClass.TextPiece.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - 指定者:
newBuilderForType在类中com.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- 指定者:
getParserForType在接口中com.google.protobuf.Message- 指定者:
getParserForType在接口中com.google.protobuf.MessageLite- 覆盖:
getParserForType在类中com.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageLiteOrBuilder- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageOrBuilder
-