Package com.streamlayer.social
Class TweetMetadata
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite<TweetMetadata,TweetMetadata.Builder>
-
- com.streamlayer.social.TweetMetadata
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,TweetMetadataOrBuilder
public final class TweetMetadata extends com.google.protobuf.GeneratedMessageLite<TweetMetadata,TweetMetadata.Builder> implements TweetMetadataOrBuilder
Protobuf typestreamlayer.social.TweetMetadata
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTweetMetadata.BuilderProtobuf typestreamlayer.social.TweetMetadatastatic classTweetMetadata.TweetEntitiesProtobuf typestreamlayer.social.TweetMetadata.TweetEntitiesstatic interfaceTweetMetadata.TweetEntitiesOrBuilderstatic classTweetMetadata.TweetExtendedEntitiesProtobuf typestreamlayer.social.TweetMetadata.TweetExtendedEntitiesstatic interfaceTweetMetadata.TweetExtendedEntitiesOrBuilder-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,Type extends java.lang.Object>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm
-
-
Field Summary
Fields Modifier and Type Field Description static intACCOUNT_FIELD_NUMBERstatic intACCOUNT_ID_FIELD_NUMBERstatic intACCOUNT_IMAGE_FIELD_NUMBERstatic intACCOUNT_NAME_FIELD_NUMBERstatic intACCOUNT_VERIFIED_FIELD_NUMBERstatic intENTITIES_FIELD_NUMBERstatic intEXTENDED_ENTITIES_FIELD_NUMBERstatic intFAVORITE_COUNT_FIELD_NUMBERstatic intID_STR_FIELD_NUMBERstatic intRETWEET_COUNT_FIELD_NUMBERstatic intRETWEETED_STATUS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)java.lang.StringgetAccount()string account = 2 [json_name = "account"];com.google.protobuf.ByteStringgetAccountBytes()string account = 2 [json_name = "account"];java.lang.StringgetAccountId()string account_id = 3 [json_name = "accountId"];com.google.protobuf.ByteStringgetAccountIdBytes()string account_id = 3 [json_name = "accountId"];java.lang.StringgetAccountImage()string account_image = 4 [json_name = "accountImage"];com.google.protobuf.ByteStringgetAccountImageBytes()string account_image = 4 [json_name = "accountImage"];java.lang.StringgetAccountName()string account_name = 8 [json_name = "accountName"];com.google.protobuf.ByteStringgetAccountNameBytes()string account_name = 8 [json_name = "accountName"];booleangetAccountVerified()bool account_verified = 9 [json_name = "accountVerified"];static TweetMetadatagetDefaultInstance()TweetMetadata.TweetEntitiesgetEntities().streamlayer.social.TweetMetadata.TweetEntities entities = 6 [json_name = "entities"];TweetMetadata.TweetExtendedEntitiesgetExtendedEntities().streamlayer.social.TweetMetadata.TweetExtendedEntities extended_entities = 7 [json_name = "extendedEntities"];longgetFavoriteCount()uint64 favorite_count = 11 [json_name = "favoriteCount"];java.lang.StringgetIdStr()string id_str = 1 [json_name = "idStr"];com.google.protobuf.ByteStringgetIdStrBytes()string id_str = 1 [json_name = "idStr"];longgetRetweetCount()uint64 retweet_count = 10 [json_name = "retweetCount"];TweetgetRetweetedStatus().streamlayer.social.Tweet retweeted_status = 5 [json_name = "retweetedStatus"];booleanhasEntities().streamlayer.social.TweetMetadata.TweetEntities entities = 6 [json_name = "entities"];booleanhasExtendedEntities().streamlayer.social.TweetMetadata.TweetExtendedEntities extended_entities = 7 [json_name = "extendedEntities"];booleanhasRetweetedStatus().streamlayer.social.Tweet retweeted_status = 5 [json_name = "retweetedStatus"];static TweetMetadata.BuildernewBuilder()static TweetMetadata.BuildernewBuilder(TweetMetadata prototype)static TweetMetadataparseDelimitedFrom(java.io.InputStream input)static TweetMetadataparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TweetMetadataparseFrom(byte[] data)static TweetMetadataparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TweetMetadataparseFrom(com.google.protobuf.ByteString data)static TweetMetadataparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TweetMetadataparseFrom(com.google.protobuf.CodedInputStream input)static TweetMetadataparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TweetMetadataparseFrom(java.io.InputStream input)static TweetMetadataparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TweetMetadataparseFrom(java.nio.ByteBuffer data)static TweetMetadataparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<TweetMetadata>parser()-
Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeTo
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
-
-
-
Field Detail
-
ID_STR_FIELD_NUMBER
public static final int ID_STR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ACCOUNT_FIELD_NUMBER
public static final int ACCOUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ACCOUNT_ID_FIELD_NUMBER
public static final int ACCOUNT_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ACCOUNT_IMAGE_FIELD_NUMBER
public static final int ACCOUNT_IMAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ACCOUNT_NAME_FIELD_NUMBER
public static final int ACCOUNT_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ACCOUNT_VERIFIED_FIELD_NUMBER
public static final int ACCOUNT_VERIFIED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RETWEETED_STATUS_FIELD_NUMBER
public static final int RETWEETED_STATUS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENTITIES_FIELD_NUMBER
public static final int ENTITIES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EXTENDED_ENTITIES_FIELD_NUMBER
public static final int EXTENDED_ENTITIES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RETWEET_COUNT_FIELD_NUMBER
public static final int RETWEET_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FAVORITE_COUNT_FIELD_NUMBER
public static final int FAVORITE_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getIdStr
public java.lang.String getIdStr()
string id_str = 1 [json_name = "idStr"];- Specified by:
getIdStrin interfaceTweetMetadataOrBuilder- Returns:
- The idStr.
-
getIdStrBytes
public com.google.protobuf.ByteString getIdStrBytes()
string id_str = 1 [json_name = "idStr"];- Specified by:
getIdStrBytesin interfaceTweetMetadataOrBuilder- Returns:
- The bytes for idStr.
-
getAccount
public java.lang.String getAccount()
string account = 2 [json_name = "account"];- Specified by:
getAccountin interfaceTweetMetadataOrBuilder- Returns:
- The account.
-
getAccountBytes
public com.google.protobuf.ByteString getAccountBytes()
string account = 2 [json_name = "account"];- Specified by:
getAccountBytesin interfaceTweetMetadataOrBuilder- Returns:
- The bytes for account.
-
getAccountId
public java.lang.String getAccountId()
string account_id = 3 [json_name = "accountId"];- Specified by:
getAccountIdin interfaceTweetMetadataOrBuilder- Returns:
- The accountId.
-
getAccountIdBytes
public com.google.protobuf.ByteString getAccountIdBytes()
string account_id = 3 [json_name = "accountId"];- Specified by:
getAccountIdBytesin interfaceTweetMetadataOrBuilder- Returns:
- The bytes for accountId.
-
getAccountImage
public java.lang.String getAccountImage()
string account_image = 4 [json_name = "accountImage"];- Specified by:
getAccountImagein interfaceTweetMetadataOrBuilder- Returns:
- The accountImage.
-
getAccountImageBytes
public com.google.protobuf.ByteString getAccountImageBytes()
string account_image = 4 [json_name = "accountImage"];- Specified by:
getAccountImageBytesin interfaceTweetMetadataOrBuilder- Returns:
- The bytes for accountImage.
-
getAccountName
public java.lang.String getAccountName()
string account_name = 8 [json_name = "accountName"];- Specified by:
getAccountNamein interfaceTweetMetadataOrBuilder- Returns:
- The accountName.
-
getAccountNameBytes
public com.google.protobuf.ByteString getAccountNameBytes()
string account_name = 8 [json_name = "accountName"];- Specified by:
getAccountNameBytesin interfaceTweetMetadataOrBuilder- Returns:
- The bytes for accountName.
-
getAccountVerified
public boolean getAccountVerified()
bool account_verified = 9 [json_name = "accountVerified"];- Specified by:
getAccountVerifiedin interfaceTweetMetadataOrBuilder- Returns:
- The accountVerified.
-
hasRetweetedStatus
public boolean hasRetweetedStatus()
.streamlayer.social.Tweet retweeted_status = 5 [json_name = "retweetedStatus"];- Specified by:
hasRetweetedStatusin interfaceTweetMetadataOrBuilder- Returns:
- Whether the retweetedStatus field is set.
-
getRetweetedStatus
public Tweet getRetweetedStatus()
.streamlayer.social.Tweet retweeted_status = 5 [json_name = "retweetedStatus"];- Specified by:
getRetweetedStatusin interfaceTweetMetadataOrBuilder- Returns:
- The retweetedStatus.
-
hasEntities
public boolean hasEntities()
.streamlayer.social.TweetMetadata.TweetEntities entities = 6 [json_name = "entities"];- Specified by:
hasEntitiesin interfaceTweetMetadataOrBuilder- Returns:
- Whether the entities field is set.
-
getEntities
public TweetMetadata.TweetEntities getEntities()
.streamlayer.social.TweetMetadata.TweetEntities entities = 6 [json_name = "entities"];- Specified by:
getEntitiesin interfaceTweetMetadataOrBuilder- Returns:
- The entities.
-
hasExtendedEntities
public boolean hasExtendedEntities()
.streamlayer.social.TweetMetadata.TweetExtendedEntities extended_entities = 7 [json_name = "extendedEntities"];- Specified by:
hasExtendedEntitiesin interfaceTweetMetadataOrBuilder- Returns:
- Whether the extendedEntities field is set.
-
getExtendedEntities
public TweetMetadata.TweetExtendedEntities getExtendedEntities()
.streamlayer.social.TweetMetadata.TweetExtendedEntities extended_entities = 7 [json_name = "extendedEntities"];- Specified by:
getExtendedEntitiesin interfaceTweetMetadataOrBuilder- Returns:
- The extendedEntities.
-
getRetweetCount
public long getRetweetCount()
uint64 retweet_count = 10 [json_name = "retweetCount"];- Specified by:
getRetweetCountin interfaceTweetMetadataOrBuilder- Returns:
- The retweetCount.
-
getFavoriteCount
public long getFavoriteCount()
uint64 favorite_count = 11 [json_name = "favoriteCount"];- Specified by:
getFavoriteCountin interfaceTweetMetadataOrBuilder- Returns:
- The favoriteCount.
-
parseFrom
public static TweetMetadata parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TweetMetadata parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TweetMetadata parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TweetMetadata parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TweetMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TweetMetadata parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TweetMetadata parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static TweetMetadata parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static TweetMetadata parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static TweetMetadata parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static TweetMetadata parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static TweetMetadata parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilder
public static TweetMetadata.Builder newBuilder()
-
newBuilder
public static TweetMetadata.Builder newBuilder(TweetMetadata prototype)
-
dynamicMethod
protected final java.lang.Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)- Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<TweetMetadata,TweetMetadata.Builder>
-
getDefaultInstance
public static TweetMetadata getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<TweetMetadata> parser()
-
-