main.java.com.streamlayer.social.TweetMetadata Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sl-protofiles Show documentation
Show all versions of sl-protofiles Show documentation
StreamLayer Java Protofiles
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: streamlayer/social/twitter.proto
// Protobuf Java Version: 3.25.3
package com.streamlayer.social;
/**
* Protobuf type {@code streamlayer.social.TweetMetadata}
*/
public final class TweetMetadata extends
com.google.protobuf.GeneratedMessageLite<
TweetMetadata, TweetMetadata.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.social.TweetMetadata)
TweetMetadataOrBuilder {
private TweetMetadata() {
idStr_ = "";
account_ = "";
accountId_ = "";
accountImage_ = "";
accountName_ = "";
}
public interface TweetEntitiesOrBuilder extends
// @@protoc_insertion_point(interface_extends:streamlayer.social.TweetMetadata.TweetEntities)
com.google.protobuf.MessageLiteOrBuilder {
/**
* repeated .streamlayer.social.TweetUrls urls = 1 [json_name = "urls"];
*/
java.util.List
getUrlsList();
/**
* repeated .streamlayer.social.TweetUrls urls = 1 [json_name = "urls"];
*/
com.streamlayer.social.TweetUrls getUrls(int index);
/**
* repeated .streamlayer.social.TweetUrls urls = 1 [json_name = "urls"];
*/
int getUrlsCount();
/**
* repeated .streamlayer.social.TweetHashtags hashtags = 2 [json_name = "hashtags"];
*/
java.util.List
getHashtagsList();
/**
* repeated .streamlayer.social.TweetHashtags hashtags = 2 [json_name = "hashtags"];
*/
com.streamlayer.social.TweetHashtags getHashtags(int index);
/**
* repeated .streamlayer.social.TweetHashtags hashtags = 2 [json_name = "hashtags"];
*/
int getHashtagsCount();
/**
* repeated .streamlayer.social.TweetMedia media = 3 [json_name = "media"];
*/
java.util.List
getMediaList();
/**
* repeated .streamlayer.social.TweetMedia media = 3 [json_name = "media"];
*/
com.streamlayer.social.TweetMedia getMedia(int index);
/**
* repeated .streamlayer.social.TweetMedia media = 3 [json_name = "media"];
*/
int getMediaCount();
/**
* repeated .streamlayer.social.TweetUserMentions user_mentions = 4 [json_name = "userMentions"];
*/
java.util.List
getUserMentionsList();
/**
* repeated .streamlayer.social.TweetUserMentions user_mentions = 4 [json_name = "userMentions"];
*/
com.streamlayer.social.TweetUserMentions getUserMentions(int index);
/**
* repeated .streamlayer.social.TweetUserMentions user_mentions = 4 [json_name = "userMentions"];
*/
int getUserMentionsCount();
/**
* repeated .streamlayer.social.TweetSymbol symbols = 5 [json_name = "symbols"];
*/
java.util.List
getSymbolsList();
/**
* repeated .streamlayer.social.TweetSymbol symbols = 5 [json_name = "symbols"];
*/
com.streamlayer.social.TweetSymbol getSymbols(int index);
/**
* repeated .streamlayer.social.TweetSymbol symbols = 5 [json_name = "symbols"];
*/
int getSymbolsCount();
/**
* repeated .streamlayer.social.TweetPoll polls = 6 [json_name = "polls"];
*/
java.util.List
getPollsList();
/**
* repeated .streamlayer.social.TweetPoll polls = 6 [json_name = "polls"];
*/
com.streamlayer.social.TweetPoll getPolls(int index);
/**
* repeated .streamlayer.social.TweetPoll polls = 6 [json_name = "polls"];
*/
int getPollsCount();
}
/**
* Protobuf type {@code streamlayer.social.TweetMetadata.TweetEntities}
*/
public static final class TweetEntities extends
com.google.protobuf.GeneratedMessageLite<
TweetEntities, TweetEntities.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.social.TweetMetadata.TweetEntities)
TweetEntitiesOrBuilder {
private TweetEntities() {
urls_ = emptyProtobufList();
hashtags_ = emptyProtobufList();
media_ = emptyProtobufList();
userMentions_ = emptyProtobufList();
symbols_ = emptyProtobufList();
polls_ = emptyProtobufList();
}
public static final int URLS_FIELD_NUMBER = 1;
private com.google.protobuf.Internal.ProtobufList urls_;
/**
* repeated .streamlayer.social.TweetUrls urls = 1 [json_name = "urls"];
*/
@java.lang.Override
public java.util.List getUrlsList() {
return urls_;
}
/**
* repeated .streamlayer.social.TweetUrls urls = 1 [json_name = "urls"];
*/
public java.util.List extends com.streamlayer.social.TweetUrlsOrBuilder>
getUrlsOrBuilderList() {
return urls_;
}
/**
* repeated .streamlayer.social.TweetUrls urls = 1 [json_name = "urls"];
*/
@java.lang.Override
public int getUrlsCount() {
return urls_.size();
}
/**
* repeated .streamlayer.social.TweetUrls urls = 1 [json_name = "urls"];
*/
@java.lang.Override
public com.streamlayer.social.TweetUrls getUrls(int index) {
return urls_.get(index);
}
/**
* repeated .streamlayer.social.TweetUrls urls = 1 [json_name = "urls"];
*/
public com.streamlayer.social.TweetUrlsOrBuilder getUrlsOrBuilder(
int index) {
return urls_.get(index);
}
private void ensureUrlsIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp = urls_;
if (!tmp.isModifiable()) {
urls_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* repeated .streamlayer.social.TweetUrls urls = 1 [json_name = "urls"];
*/
private void setUrls(
int index, com.streamlayer.social.TweetUrls value) {
value.getClass();
ensureUrlsIsMutable();
urls_.set(index, value);
}
/**
* repeated .streamlayer.social.TweetUrls urls = 1 [json_name = "urls"];
*/
private void addUrls(com.streamlayer.social.TweetUrls value) {
value.getClass();
ensureUrlsIsMutable();
urls_.add(value);
}
/**
* repeated .streamlayer.social.TweetUrls urls = 1 [json_name = "urls"];
*/
private void addUrls(
int index, com.streamlayer.social.TweetUrls value) {
value.getClass();
ensureUrlsIsMutable();
urls_.add(index, value);
}
/**
* repeated .streamlayer.social.TweetUrls urls = 1 [json_name = "urls"];
*/
private void addAllUrls(
java.lang.Iterable extends com.streamlayer.social.TweetUrls> values) {
ensureUrlsIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, urls_);
}
/**
* repeated .streamlayer.social.TweetUrls urls = 1 [json_name = "urls"];
*/
private void clearUrls() {
urls_ = emptyProtobufList();
}
/**
* repeated .streamlayer.social.TweetUrls urls = 1 [json_name = "urls"];
*/
private void removeUrls(int index) {
ensureUrlsIsMutable();
urls_.remove(index);
}
public static final int HASHTAGS_FIELD_NUMBER = 2;
private com.google.protobuf.Internal.ProtobufList hashtags_;
/**
* repeated .streamlayer.social.TweetHashtags hashtags = 2 [json_name = "hashtags"];
*/
@java.lang.Override
public java.util.List getHashtagsList() {
return hashtags_;
}
/**
* repeated .streamlayer.social.TweetHashtags hashtags = 2 [json_name = "hashtags"];
*/
public java.util.List extends com.streamlayer.social.TweetHashtagsOrBuilder>
getHashtagsOrBuilderList() {
return hashtags_;
}
/**
* repeated .streamlayer.social.TweetHashtags hashtags = 2 [json_name = "hashtags"];
*/
@java.lang.Override
public int getHashtagsCount() {
return hashtags_.size();
}
/**
* repeated .streamlayer.social.TweetHashtags hashtags = 2 [json_name = "hashtags"];
*/
@java.lang.Override
public com.streamlayer.social.TweetHashtags getHashtags(int index) {
return hashtags_.get(index);
}
/**
* repeated .streamlayer.social.TweetHashtags hashtags = 2 [json_name = "hashtags"];
*/
public com.streamlayer.social.TweetHashtagsOrBuilder getHashtagsOrBuilder(
int index) {
return hashtags_.get(index);
}
private void ensureHashtagsIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp = hashtags_;
if (!tmp.isModifiable()) {
hashtags_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* repeated .streamlayer.social.TweetHashtags hashtags = 2 [json_name = "hashtags"];
*/
private void setHashtags(
int index, com.streamlayer.social.TweetHashtags value) {
value.getClass();
ensureHashtagsIsMutable();
hashtags_.set(index, value);
}
/**
* repeated .streamlayer.social.TweetHashtags hashtags = 2 [json_name = "hashtags"];
*/
private void addHashtags(com.streamlayer.social.TweetHashtags value) {
value.getClass();
ensureHashtagsIsMutable();
hashtags_.add(value);
}
/**
* repeated .streamlayer.social.TweetHashtags hashtags = 2 [json_name = "hashtags"];
*/
private void addHashtags(
int index, com.streamlayer.social.TweetHashtags value) {
value.getClass();
ensureHashtagsIsMutable();
hashtags_.add(index, value);
}
/**
* repeated .streamlayer.social.TweetHashtags hashtags = 2 [json_name = "hashtags"];
*/
private void addAllHashtags(
java.lang.Iterable extends com.streamlayer.social.TweetHashtags> values) {
ensureHashtagsIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, hashtags_);
}
/**
* repeated .streamlayer.social.TweetHashtags hashtags = 2 [json_name = "hashtags"];
*/
private void clearHashtags() {
hashtags_ = emptyProtobufList();
}
/**
* repeated .streamlayer.social.TweetHashtags hashtags = 2 [json_name = "hashtags"];
*/
private void removeHashtags(int index) {
ensureHashtagsIsMutable();
hashtags_.remove(index);
}
public static final int MEDIA_FIELD_NUMBER = 3;
private com.google.protobuf.Internal.ProtobufList media_;
/**
* repeated .streamlayer.social.TweetMedia media = 3 [json_name = "media"];
*/
@java.lang.Override
public java.util.List getMediaList() {
return media_;
}
/**
* repeated .streamlayer.social.TweetMedia media = 3 [json_name = "media"];
*/
public java.util.List extends com.streamlayer.social.TweetMediaOrBuilder>
getMediaOrBuilderList() {
return media_;
}
/**
* repeated .streamlayer.social.TweetMedia media = 3 [json_name = "media"];
*/
@java.lang.Override
public int getMediaCount() {
return media_.size();
}
/**
* repeated .streamlayer.social.TweetMedia media = 3 [json_name = "media"];
*/
@java.lang.Override
public com.streamlayer.social.TweetMedia getMedia(int index) {
return media_.get(index);
}
/**
* repeated .streamlayer.social.TweetMedia media = 3 [json_name = "media"];
*/
public com.streamlayer.social.TweetMediaOrBuilder getMediaOrBuilder(
int index) {
return media_.get(index);
}
private void ensureMediaIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp = media_;
if (!tmp.isModifiable()) {
media_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* repeated .streamlayer.social.TweetMedia media = 3 [json_name = "media"];
*/
private void setMedia(
int index, com.streamlayer.social.TweetMedia value) {
value.getClass();
ensureMediaIsMutable();
media_.set(index, value);
}
/**
* repeated .streamlayer.social.TweetMedia media = 3 [json_name = "media"];
*/
private void addMedia(com.streamlayer.social.TweetMedia value) {
value.getClass();
ensureMediaIsMutable();
media_.add(value);
}
/**
* repeated .streamlayer.social.TweetMedia media = 3 [json_name = "media"];
*/
private void addMedia(
int index, com.streamlayer.social.TweetMedia value) {
value.getClass();
ensureMediaIsMutable();
media_.add(index, value);
}
/**
* repeated .streamlayer.social.TweetMedia media = 3 [json_name = "media"];
*/
private void addAllMedia(
java.lang.Iterable extends com.streamlayer.social.TweetMedia> values) {
ensureMediaIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, media_);
}
/**
* repeated .streamlayer.social.TweetMedia media = 3 [json_name = "media"];
*/
private void clearMedia() {
media_ = emptyProtobufList();
}
/**
* repeated .streamlayer.social.TweetMedia media = 3 [json_name = "media"];
*/
private void removeMedia(int index) {
ensureMediaIsMutable();
media_.remove(index);
}
public static final int USER_MENTIONS_FIELD_NUMBER = 4;
private com.google.protobuf.Internal.ProtobufList userMentions_;
/**
* repeated .streamlayer.social.TweetUserMentions user_mentions = 4 [json_name = "userMentions"];
*/
@java.lang.Override
public java.util.List getUserMentionsList() {
return userMentions_;
}
/**
* repeated .streamlayer.social.TweetUserMentions user_mentions = 4 [json_name = "userMentions"];
*/
public java.util.List extends com.streamlayer.social.TweetUserMentionsOrBuilder>
getUserMentionsOrBuilderList() {
return userMentions_;
}
/**
* repeated .streamlayer.social.TweetUserMentions user_mentions = 4 [json_name = "userMentions"];
*/
@java.lang.Override
public int getUserMentionsCount() {
return userMentions_.size();
}
/**
* repeated .streamlayer.social.TweetUserMentions user_mentions = 4 [json_name = "userMentions"];
*/
@java.lang.Override
public com.streamlayer.social.TweetUserMentions getUserMentions(int index) {
return userMentions_.get(index);
}
/**
* repeated .streamlayer.social.TweetUserMentions user_mentions = 4 [json_name = "userMentions"];
*/
public com.streamlayer.social.TweetUserMentionsOrBuilder getUserMentionsOrBuilder(
int index) {
return userMentions_.get(index);
}
private void ensureUserMentionsIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp = userMentions_;
if (!tmp.isModifiable()) {
userMentions_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* repeated .streamlayer.social.TweetUserMentions user_mentions = 4 [json_name = "userMentions"];
*/
private void setUserMentions(
int index, com.streamlayer.social.TweetUserMentions value) {
value.getClass();
ensureUserMentionsIsMutable();
userMentions_.set(index, value);
}
/**
* repeated .streamlayer.social.TweetUserMentions user_mentions = 4 [json_name = "userMentions"];
*/
private void addUserMentions(com.streamlayer.social.TweetUserMentions value) {
value.getClass();
ensureUserMentionsIsMutable();
userMentions_.add(value);
}
/**
* repeated .streamlayer.social.TweetUserMentions user_mentions = 4 [json_name = "userMentions"];
*/
private void addUserMentions(
int index, com.streamlayer.social.TweetUserMentions value) {
value.getClass();
ensureUserMentionsIsMutable();
userMentions_.add(index, value);
}
/**
* repeated .streamlayer.social.TweetUserMentions user_mentions = 4 [json_name = "userMentions"];
*/
private void addAllUserMentions(
java.lang.Iterable extends com.streamlayer.social.TweetUserMentions> values) {
ensureUserMentionsIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, userMentions_);
}
/**
* repeated .streamlayer.social.TweetUserMentions user_mentions = 4 [json_name = "userMentions"];
*/
private void clearUserMentions() {
userMentions_ = emptyProtobufList();
}
/**
* repeated .streamlayer.social.TweetUserMentions user_mentions = 4 [json_name = "userMentions"];
*/
private void removeUserMentions(int index) {
ensureUserMentionsIsMutable();
userMentions_.remove(index);
}
public static final int SYMBOLS_FIELD_NUMBER = 5;
private com.google.protobuf.Internal.ProtobufList symbols_;
/**
* repeated .streamlayer.social.TweetSymbol symbols = 5 [json_name = "symbols"];
*/
@java.lang.Override
public java.util.List getSymbolsList() {
return symbols_;
}
/**
* repeated .streamlayer.social.TweetSymbol symbols = 5 [json_name = "symbols"];
*/
public java.util.List extends com.streamlayer.social.TweetSymbolOrBuilder>
getSymbolsOrBuilderList() {
return symbols_;
}
/**
* repeated .streamlayer.social.TweetSymbol symbols = 5 [json_name = "symbols"];
*/
@java.lang.Override
public int getSymbolsCount() {
return symbols_.size();
}
/**
* repeated .streamlayer.social.TweetSymbol symbols = 5 [json_name = "symbols"];
*/
@java.lang.Override
public com.streamlayer.social.TweetSymbol getSymbols(int index) {
return symbols_.get(index);
}
/**
* repeated .streamlayer.social.TweetSymbol symbols = 5 [json_name = "symbols"];
*/
public com.streamlayer.social.TweetSymbolOrBuilder getSymbolsOrBuilder(
int index) {
return symbols_.get(index);
}
private void ensureSymbolsIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp = symbols_;
if (!tmp.isModifiable()) {
symbols_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* repeated .streamlayer.social.TweetSymbol symbols = 5 [json_name = "symbols"];
*/
private void setSymbols(
int index, com.streamlayer.social.TweetSymbol value) {
value.getClass();
ensureSymbolsIsMutable();
symbols_.set(index, value);
}
/**
* repeated .streamlayer.social.TweetSymbol symbols = 5 [json_name = "symbols"];
*/
private void addSymbols(com.streamlayer.social.TweetSymbol value) {
value.getClass();
ensureSymbolsIsMutable();
symbols_.add(value);
}
/**
* repeated .streamlayer.social.TweetSymbol symbols = 5 [json_name = "symbols"];
*/
private void addSymbols(
int index, com.streamlayer.social.TweetSymbol value) {
value.getClass();
ensureSymbolsIsMutable();
symbols_.add(index, value);
}
/**
* repeated .streamlayer.social.TweetSymbol symbols = 5 [json_name = "symbols"];
*/
private void addAllSymbols(
java.lang.Iterable extends com.streamlayer.social.TweetSymbol> values) {
ensureSymbolsIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, symbols_);
}
/**
* repeated .streamlayer.social.TweetSymbol symbols = 5 [json_name = "symbols"];
*/
private void clearSymbols() {
symbols_ = emptyProtobufList();
}
/**
* repeated .streamlayer.social.TweetSymbol symbols = 5 [json_name = "symbols"];
*/
private void removeSymbols(int index) {
ensureSymbolsIsMutable();
symbols_.remove(index);
}
public static final int POLLS_FIELD_NUMBER = 6;
private com.google.protobuf.Internal.ProtobufList polls_;
/**
* repeated .streamlayer.social.TweetPoll polls = 6 [json_name = "polls"];
*/
@java.lang.Override
public java.util.List getPollsList() {
return polls_;
}
/**
* repeated .streamlayer.social.TweetPoll polls = 6 [json_name = "polls"];
*/
public java.util.List extends com.streamlayer.social.TweetPollOrBuilder>
getPollsOrBuilderList() {
return polls_;
}
/**
* repeated .streamlayer.social.TweetPoll polls = 6 [json_name = "polls"];
*/
@java.lang.Override
public int getPollsCount() {
return polls_.size();
}
/**
* repeated .streamlayer.social.TweetPoll polls = 6 [json_name = "polls"];
*/
@java.lang.Override
public com.streamlayer.social.TweetPoll getPolls(int index) {
return polls_.get(index);
}
/**
* repeated .streamlayer.social.TweetPoll polls = 6 [json_name = "polls"];
*/
public com.streamlayer.social.TweetPollOrBuilder getPollsOrBuilder(
int index) {
return polls_.get(index);
}
private void ensurePollsIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp = polls_;
if (!tmp.isModifiable()) {
polls_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* repeated .streamlayer.social.TweetPoll polls = 6 [json_name = "polls"];
*/
private void setPolls(
int index, com.streamlayer.social.TweetPoll value) {
value.getClass();
ensurePollsIsMutable();
polls_.set(index, value);
}
/**
* repeated .streamlayer.social.TweetPoll polls = 6 [json_name = "polls"];
*/
private void addPolls(com.streamlayer.social.TweetPoll value) {
value.getClass();
ensurePollsIsMutable();
polls_.add(value);
}
/**
* repeated .streamlayer.social.TweetPoll polls = 6 [json_name = "polls"];
*/
private void addPolls(
int index, com.streamlayer.social.TweetPoll value) {
value.getClass();
ensurePollsIsMutable();
polls_.add(index, value);
}
/**
* repeated .streamlayer.social.TweetPoll polls = 6 [json_name = "polls"];
*/
private void addAllPolls(
java.lang.Iterable extends com.streamlayer.social.TweetPoll> values) {
ensurePollsIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, polls_);
}
/**
* repeated .streamlayer.social.TweetPoll polls = 6 [json_name = "polls"];
*/
private void clearPolls() {
polls_ = emptyProtobufList();
}
/**
* repeated .streamlayer.social.TweetPoll polls = 6 [json_name = "polls"];
*/
private void removePolls(int index) {
ensurePollsIsMutable();
polls_.remove(index);
}
public static com.streamlayer.social.TweetMetadata.TweetEntities parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.social.TweetMetadata.TweetEntities parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.streamlayer.social.TweetMetadata.TweetEntities parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.social.TweetMetadata.TweetEntities parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.streamlayer.social.TweetMetadata.TweetEntities parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.social.TweetMetadata.TweetEntities parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.streamlayer.social.TweetMetadata.TweetEntities parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.social.TweetMetadata.TweetEntities parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.streamlayer.social.TweetMetadata.TweetEntities parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.social.TweetMetadata.TweetEntities parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.streamlayer.social.TweetMetadata.TweetEntities parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.social.TweetMetadata.TweetEntities parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.streamlayer.social.TweetMetadata.TweetEntities prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.social.TweetMetadata.TweetEntities}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.social.TweetMetadata.TweetEntities, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.social.TweetMetadata.TweetEntities)
com.streamlayer.social.TweetMetadata.TweetEntitiesOrBuilder {
// Construct using com.streamlayer.social.TweetMetadata.TweetEntities.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* repeated .streamlayer.social.TweetUrls urls = 1 [json_name = "urls"];
*/
@java.lang.Override
public java.util.List getUrlsList() {
return java.util.Collections.unmodifiableList(
instance.getUrlsList());
}
/**
* repeated .streamlayer.social.TweetUrls urls = 1 [json_name = "urls"];
*/
@java.lang.Override
public int getUrlsCount() {
return instance.getUrlsCount();
}/**
* repeated .streamlayer.social.TweetUrls urls = 1 [json_name = "urls"];
*/
@java.lang.Override
public com.streamlayer.social.TweetUrls getUrls(int index) {
return instance.getUrls(index);
}
/**
* repeated .streamlayer.social.TweetUrls urls = 1 [json_name = "urls"];
*/
public Builder setUrls(
int index, com.streamlayer.social.TweetUrls value) {
copyOnWrite();
instance.setUrls(index, value);
return this;
}
/**
* repeated .streamlayer.social.TweetUrls urls = 1 [json_name = "urls"];
*/
public Builder setUrls(
int index, com.streamlayer.social.TweetUrls.Builder builderForValue) {
copyOnWrite();
instance.setUrls(index,
builderForValue.build());
return this;
}
/**
* repeated .streamlayer.social.TweetUrls urls = 1 [json_name = "urls"];
*/
public Builder addUrls(com.streamlayer.social.TweetUrls value) {
copyOnWrite();
instance.addUrls(value);
return this;
}
/**
* repeated .streamlayer.social.TweetUrls urls = 1 [json_name = "urls"];
*/
public Builder addUrls(
int index, com.streamlayer.social.TweetUrls value) {
copyOnWrite();
instance.addUrls(index, value);
return this;
}
/**
* repeated .streamlayer.social.TweetUrls urls = 1 [json_name = "urls"];
*/
public Builder addUrls(
com.streamlayer.social.TweetUrls.Builder builderForValue) {
copyOnWrite();
instance.addUrls(builderForValue.build());
return this;
}
/**
* repeated .streamlayer.social.TweetUrls urls = 1 [json_name = "urls"];
*/
public Builder addUrls(
int index, com.streamlayer.social.TweetUrls.Builder builderForValue) {
copyOnWrite();
instance.addUrls(index,
builderForValue.build());
return this;
}
/**
* repeated .streamlayer.social.TweetUrls urls = 1 [json_name = "urls"];
*/
public Builder addAllUrls(
java.lang.Iterable extends com.streamlayer.social.TweetUrls> values) {
copyOnWrite();
instance.addAllUrls(values);
return this;
}
/**
* repeated .streamlayer.social.TweetUrls urls = 1 [json_name = "urls"];
*/
public Builder clearUrls() {
copyOnWrite();
instance.clearUrls();
return this;
}
/**
* repeated .streamlayer.social.TweetUrls urls = 1 [json_name = "urls"];
*/
public Builder removeUrls(int index) {
copyOnWrite();
instance.removeUrls(index);
return this;
}
/**
* repeated .streamlayer.social.TweetHashtags hashtags = 2 [json_name = "hashtags"];
*/
@java.lang.Override
public java.util.List getHashtagsList() {
return java.util.Collections.unmodifiableList(
instance.getHashtagsList());
}
/**
* repeated .streamlayer.social.TweetHashtags hashtags = 2 [json_name = "hashtags"];
*/
@java.lang.Override
public int getHashtagsCount() {
return instance.getHashtagsCount();
}/**
* repeated .streamlayer.social.TweetHashtags hashtags = 2 [json_name = "hashtags"];
*/
@java.lang.Override
public com.streamlayer.social.TweetHashtags getHashtags(int index) {
return instance.getHashtags(index);
}
/**
* repeated .streamlayer.social.TweetHashtags hashtags = 2 [json_name = "hashtags"];
*/
public Builder setHashtags(
int index, com.streamlayer.social.TweetHashtags value) {
copyOnWrite();
instance.setHashtags(index, value);
return this;
}
/**
* repeated .streamlayer.social.TweetHashtags hashtags = 2 [json_name = "hashtags"];
*/
public Builder setHashtags(
int index, com.streamlayer.social.TweetHashtags.Builder builderForValue) {
copyOnWrite();
instance.setHashtags(index,
builderForValue.build());
return this;
}
/**
* repeated .streamlayer.social.TweetHashtags hashtags = 2 [json_name = "hashtags"];
*/
public Builder addHashtags(com.streamlayer.social.TweetHashtags value) {
copyOnWrite();
instance.addHashtags(value);
return this;
}
/**
* repeated .streamlayer.social.TweetHashtags hashtags = 2 [json_name = "hashtags"];
*/
public Builder addHashtags(
int index, com.streamlayer.social.TweetHashtags value) {
copyOnWrite();
instance.addHashtags(index, value);
return this;
}
/**
* repeated .streamlayer.social.TweetHashtags hashtags = 2 [json_name = "hashtags"];
*/
public Builder addHashtags(
com.streamlayer.social.TweetHashtags.Builder builderForValue) {
copyOnWrite();
instance.addHashtags(builderForValue.build());
return this;
}
/**
* repeated .streamlayer.social.TweetHashtags hashtags = 2 [json_name = "hashtags"];
*/
public Builder addHashtags(
int index, com.streamlayer.social.TweetHashtags.Builder builderForValue) {
copyOnWrite();
instance.addHashtags(index,
builderForValue.build());
return this;
}
/**
* repeated .streamlayer.social.TweetHashtags hashtags = 2 [json_name = "hashtags"];
*/
public Builder addAllHashtags(
java.lang.Iterable extends com.streamlayer.social.TweetHashtags> values) {
copyOnWrite();
instance.addAllHashtags(values);
return this;
}
/**
* repeated .streamlayer.social.TweetHashtags hashtags = 2 [json_name = "hashtags"];
*/
public Builder clearHashtags() {
copyOnWrite();
instance.clearHashtags();
return this;
}
/**
* repeated .streamlayer.social.TweetHashtags hashtags = 2 [json_name = "hashtags"];
*/
public Builder removeHashtags(int index) {
copyOnWrite();
instance.removeHashtags(index);
return this;
}
/**
* repeated .streamlayer.social.TweetMedia media = 3 [json_name = "media"];
*/
@java.lang.Override
public java.util.List getMediaList() {
return java.util.Collections.unmodifiableList(
instance.getMediaList());
}
/**
* repeated .streamlayer.social.TweetMedia media = 3 [json_name = "media"];
*/
@java.lang.Override
public int getMediaCount() {
return instance.getMediaCount();
}/**
* repeated .streamlayer.social.TweetMedia media = 3 [json_name = "media"];
*/
@java.lang.Override
public com.streamlayer.social.TweetMedia getMedia(int index) {
return instance.getMedia(index);
}
/**
* repeated .streamlayer.social.TweetMedia media = 3 [json_name = "media"];
*/
public Builder setMedia(
int index, com.streamlayer.social.TweetMedia value) {
copyOnWrite();
instance.setMedia(index, value);
return this;
}
/**
* repeated .streamlayer.social.TweetMedia media = 3 [json_name = "media"];
*/
public Builder setMedia(
int index, com.streamlayer.social.TweetMedia.Builder builderForValue) {
copyOnWrite();
instance.setMedia(index,
builderForValue.build());
return this;
}
/**
* repeated .streamlayer.social.TweetMedia media = 3 [json_name = "media"];
*/
public Builder addMedia(com.streamlayer.social.TweetMedia value) {
copyOnWrite();
instance.addMedia(value);
return this;
}
/**
* repeated .streamlayer.social.TweetMedia media = 3 [json_name = "media"];
*/
public Builder addMedia(
int index, com.streamlayer.social.TweetMedia value) {
copyOnWrite();
instance.addMedia(index, value);
return this;
}
/**
* repeated .streamlayer.social.TweetMedia media = 3 [json_name = "media"];
*/
public Builder addMedia(
com.streamlayer.social.TweetMedia.Builder builderForValue) {
copyOnWrite();
instance.addMedia(builderForValue.build());
return this;
}
/**
* repeated .streamlayer.social.TweetMedia media = 3 [json_name = "media"];
*/
public Builder addMedia(
int index, com.streamlayer.social.TweetMedia.Builder builderForValue) {
copyOnWrite();
instance.addMedia(index,
builderForValue.build());
return this;
}
/**
* repeated .streamlayer.social.TweetMedia media = 3 [json_name = "media"];
*/
public Builder addAllMedia(
java.lang.Iterable extends com.streamlayer.social.TweetMedia> values) {
copyOnWrite();
instance.addAllMedia(values);
return this;
}
/**
* repeated .streamlayer.social.TweetMedia media = 3 [json_name = "media"];
*/
public Builder clearMedia() {
copyOnWrite();
instance.clearMedia();
return this;
}
/**
* repeated .streamlayer.social.TweetMedia media = 3 [json_name = "media"];
*/
public Builder removeMedia(int index) {
copyOnWrite();
instance.removeMedia(index);
return this;
}
/**
* repeated .streamlayer.social.TweetUserMentions user_mentions = 4 [json_name = "userMentions"];
*/
@java.lang.Override
public java.util.List getUserMentionsList() {
return java.util.Collections.unmodifiableList(
instance.getUserMentionsList());
}
/**
* repeated .streamlayer.social.TweetUserMentions user_mentions = 4 [json_name = "userMentions"];
*/
@java.lang.Override
public int getUserMentionsCount() {
return instance.getUserMentionsCount();
}/**
* repeated .streamlayer.social.TweetUserMentions user_mentions = 4 [json_name = "userMentions"];
*/
@java.lang.Override
public com.streamlayer.social.TweetUserMentions getUserMentions(int index) {
return instance.getUserMentions(index);
}
/**
* repeated .streamlayer.social.TweetUserMentions user_mentions = 4 [json_name = "userMentions"];
*/
public Builder setUserMentions(
int index, com.streamlayer.social.TweetUserMentions value) {
copyOnWrite();
instance.setUserMentions(index, value);
return this;
}
/**
* repeated .streamlayer.social.TweetUserMentions user_mentions = 4 [json_name = "userMentions"];
*/
public Builder setUserMentions(
int index, com.streamlayer.social.TweetUserMentions.Builder builderForValue) {
copyOnWrite();
instance.setUserMentions(index,
builderForValue.build());
return this;
}
/**
* repeated .streamlayer.social.TweetUserMentions user_mentions = 4 [json_name = "userMentions"];
*/
public Builder addUserMentions(com.streamlayer.social.TweetUserMentions value) {
copyOnWrite();
instance.addUserMentions(value);
return this;
}
/**
* repeated .streamlayer.social.TweetUserMentions user_mentions = 4 [json_name = "userMentions"];
*/
public Builder addUserMentions(
int index, com.streamlayer.social.TweetUserMentions value) {
copyOnWrite();
instance.addUserMentions(index, value);
return this;
}
/**
* repeated .streamlayer.social.TweetUserMentions user_mentions = 4 [json_name = "userMentions"];
*/
public Builder addUserMentions(
com.streamlayer.social.TweetUserMentions.Builder builderForValue) {
copyOnWrite();
instance.addUserMentions(builderForValue.build());
return this;
}
/**
* repeated .streamlayer.social.TweetUserMentions user_mentions = 4 [json_name = "userMentions"];
*/
public Builder addUserMentions(
int index, com.streamlayer.social.TweetUserMentions.Builder builderForValue) {
copyOnWrite();
instance.addUserMentions(index,
builderForValue.build());
return this;
}
/**
* repeated .streamlayer.social.TweetUserMentions user_mentions = 4 [json_name = "userMentions"];
*/
public Builder addAllUserMentions(
java.lang.Iterable extends com.streamlayer.social.TweetUserMentions> values) {
copyOnWrite();
instance.addAllUserMentions(values);
return this;
}
/**
* repeated .streamlayer.social.TweetUserMentions user_mentions = 4 [json_name = "userMentions"];
*/
public Builder clearUserMentions() {
copyOnWrite();
instance.clearUserMentions();
return this;
}
/**
* repeated .streamlayer.social.TweetUserMentions user_mentions = 4 [json_name = "userMentions"];
*/
public Builder removeUserMentions(int index) {
copyOnWrite();
instance.removeUserMentions(index);
return this;
}
/**
* repeated .streamlayer.social.TweetSymbol symbols = 5 [json_name = "symbols"];
*/
@java.lang.Override
public java.util.List getSymbolsList() {
return java.util.Collections.unmodifiableList(
instance.getSymbolsList());
}
/**
* repeated .streamlayer.social.TweetSymbol symbols = 5 [json_name = "symbols"];
*/
@java.lang.Override
public int getSymbolsCount() {
return instance.getSymbolsCount();
}/**
* repeated .streamlayer.social.TweetSymbol symbols = 5 [json_name = "symbols"];
*/
@java.lang.Override
public com.streamlayer.social.TweetSymbol getSymbols(int index) {
return instance.getSymbols(index);
}
/**
* repeated .streamlayer.social.TweetSymbol symbols = 5 [json_name = "symbols"];
*/
public Builder setSymbols(
int index, com.streamlayer.social.TweetSymbol value) {
copyOnWrite();
instance.setSymbols(index, value);
return this;
}
/**
* repeated .streamlayer.social.TweetSymbol symbols = 5 [json_name = "symbols"];
*/
public Builder setSymbols(
int index, com.streamlayer.social.TweetSymbol.Builder builderForValue) {
copyOnWrite();
instance.setSymbols(index,
builderForValue.build());
return this;
}
/**
* repeated .streamlayer.social.TweetSymbol symbols = 5 [json_name = "symbols"];
*/
public Builder addSymbols(com.streamlayer.social.TweetSymbol value) {
copyOnWrite();
instance.addSymbols(value);
return this;
}
/**
* repeated .streamlayer.social.TweetSymbol symbols = 5 [json_name = "symbols"];
*/
public Builder addSymbols(
int index, com.streamlayer.social.TweetSymbol value) {
copyOnWrite();
instance.addSymbols(index, value);
return this;
}
/**
* repeated .streamlayer.social.TweetSymbol symbols = 5 [json_name = "symbols"];
*/
public Builder addSymbols(
com.streamlayer.social.TweetSymbol.Builder builderForValue) {
copyOnWrite();
instance.addSymbols(builderForValue.build());
return this;
}
/**
* repeated .streamlayer.social.TweetSymbol symbols = 5 [json_name = "symbols"];
*/
public Builder addSymbols(
int index, com.streamlayer.social.TweetSymbol.Builder builderForValue) {
copyOnWrite();
instance.addSymbols(index,
builderForValue.build());
return this;
}
/**
* repeated .streamlayer.social.TweetSymbol symbols = 5 [json_name = "symbols"];
*/
public Builder addAllSymbols(
java.lang.Iterable extends com.streamlayer.social.TweetSymbol> values) {
copyOnWrite();
instance.addAllSymbols(values);
return this;
}
/**
* repeated .streamlayer.social.TweetSymbol symbols = 5 [json_name = "symbols"];
*/
public Builder clearSymbols() {
copyOnWrite();
instance.clearSymbols();
return this;
}
/**
* repeated .streamlayer.social.TweetSymbol symbols = 5 [json_name = "symbols"];
*/
public Builder removeSymbols(int index) {
copyOnWrite();
instance.removeSymbols(index);
return this;
}
/**
* repeated .streamlayer.social.TweetPoll polls = 6 [json_name = "polls"];
*/
@java.lang.Override
public java.util.List getPollsList() {
return java.util.Collections.unmodifiableList(
instance.getPollsList());
}
/**
* repeated .streamlayer.social.TweetPoll polls = 6 [json_name = "polls"];
*/
@java.lang.Override
public int getPollsCount() {
return instance.getPollsCount();
}/**
* repeated .streamlayer.social.TweetPoll polls = 6 [json_name = "polls"];
*/
@java.lang.Override
public com.streamlayer.social.TweetPoll getPolls(int index) {
return instance.getPolls(index);
}
/**
* repeated .streamlayer.social.TweetPoll polls = 6 [json_name = "polls"];
*/
public Builder setPolls(
int index, com.streamlayer.social.TweetPoll value) {
copyOnWrite();
instance.setPolls(index, value);
return this;
}
/**
* repeated .streamlayer.social.TweetPoll polls = 6 [json_name = "polls"];
*/
public Builder setPolls(
int index, com.streamlayer.social.TweetPoll.Builder builderForValue) {
copyOnWrite();
instance.setPolls(index,
builderForValue.build());
return this;
}
/**
* repeated .streamlayer.social.TweetPoll polls = 6 [json_name = "polls"];
*/
public Builder addPolls(com.streamlayer.social.TweetPoll value) {
copyOnWrite();
instance.addPolls(value);
return this;
}
/**
* repeated .streamlayer.social.TweetPoll polls = 6 [json_name = "polls"];
*/
public Builder addPolls(
int index, com.streamlayer.social.TweetPoll value) {
copyOnWrite();
instance.addPolls(index, value);
return this;
}
/**
* repeated .streamlayer.social.TweetPoll polls = 6 [json_name = "polls"];
*/
public Builder addPolls(
com.streamlayer.social.TweetPoll.Builder builderForValue) {
copyOnWrite();
instance.addPolls(builderForValue.build());
return this;
}
/**
* repeated .streamlayer.social.TweetPoll polls = 6 [json_name = "polls"];
*/
public Builder addPolls(
int index, com.streamlayer.social.TweetPoll.Builder builderForValue) {
copyOnWrite();
instance.addPolls(index,
builderForValue.build());
return this;
}
/**
* repeated .streamlayer.social.TweetPoll polls = 6 [json_name = "polls"];
*/
public Builder addAllPolls(
java.lang.Iterable extends com.streamlayer.social.TweetPoll> values) {
copyOnWrite();
instance.addAllPolls(values);
return this;
}
/**
* repeated .streamlayer.social.TweetPoll polls = 6 [json_name = "polls"];
*/
public Builder clearPolls() {
copyOnWrite();
instance.clearPolls();
return this;
}
/**
* repeated .streamlayer.social.TweetPoll polls = 6 [json_name = "polls"];
*/
public Builder removePolls(int index) {
copyOnWrite();
instance.removePolls(index);
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.social.TweetMetadata.TweetEntities)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.streamlayer.social.TweetMetadata.TweetEntities();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"urls_",
com.streamlayer.social.TweetUrls.class,
"hashtags_",
com.streamlayer.social.TweetHashtags.class,
"media_",
com.streamlayer.social.TweetMedia.class,
"userMentions_",
com.streamlayer.social.TweetUserMentions.class,
"symbols_",
com.streamlayer.social.TweetSymbol.class,
"polls_",
com.streamlayer.social.TweetPoll.class,
};
java.lang.String info =
"\u0000\u0006\u0000\u0000\u0001\u0006\u0006\u0000\u0006\u0000\u0001\u001b\u0002\u001b" +
"\u0003\u001b\u0004\u001b\u0005\u001b\u0006\u001b";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (com.streamlayer.social.TweetMetadata.TweetEntities.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:streamlayer.social.TweetMetadata.TweetEntities)
private static final com.streamlayer.social.TweetMetadata.TweetEntities DEFAULT_INSTANCE;
static {
TweetEntities defaultInstance = new TweetEntities();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
TweetEntities.class, defaultInstance);
}
public static com.streamlayer.social.TweetMetadata.TweetEntities getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface TweetExtendedEntitiesOrBuilder extends
// @@protoc_insertion_point(interface_extends:streamlayer.social.TweetMetadata.TweetExtendedEntities)
com.google.protobuf.MessageLiteOrBuilder {
/**
* repeated .streamlayer.social.TweetExtendedMedia media = 1 [json_name = "media"];
*/
java.util.List
getMediaList();
/**
* repeated .streamlayer.social.TweetExtendedMedia media = 1 [json_name = "media"];
*/
com.streamlayer.social.TweetExtendedMedia getMedia(int index);
/**
* repeated .streamlayer.social.TweetExtendedMedia media = 1 [json_name = "media"];
*/
int getMediaCount();
}
/**
* Protobuf type {@code streamlayer.social.TweetMetadata.TweetExtendedEntities}
*/
public static final class TweetExtendedEntities extends
com.google.protobuf.GeneratedMessageLite<
TweetExtendedEntities, TweetExtendedEntities.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.social.TweetMetadata.TweetExtendedEntities)
TweetExtendedEntitiesOrBuilder {
private TweetExtendedEntities() {
media_ = emptyProtobufList();
}
public static final int MEDIA_FIELD_NUMBER = 1;
private com.google.protobuf.Internal.ProtobufList media_;
/**
* repeated .streamlayer.social.TweetExtendedMedia media = 1 [json_name = "media"];
*/
@java.lang.Override
public java.util.List getMediaList() {
return media_;
}
/**
* repeated .streamlayer.social.TweetExtendedMedia media = 1 [json_name = "media"];
*/
public java.util.List extends com.streamlayer.social.TweetExtendedMediaOrBuilder>
getMediaOrBuilderList() {
return media_;
}
/**
* repeated .streamlayer.social.TweetExtendedMedia media = 1 [json_name = "media"];
*/
@java.lang.Override
public int getMediaCount() {
return media_.size();
}
/**
* repeated .streamlayer.social.TweetExtendedMedia media = 1 [json_name = "media"];
*/
@java.lang.Override
public com.streamlayer.social.TweetExtendedMedia getMedia(int index) {
return media_.get(index);
}
/**
* repeated .streamlayer.social.TweetExtendedMedia media = 1 [json_name = "media"];
*/
public com.streamlayer.social.TweetExtendedMediaOrBuilder getMediaOrBuilder(
int index) {
return media_.get(index);
}
private void ensureMediaIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp = media_;
if (!tmp.isModifiable()) {
media_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* repeated .streamlayer.social.TweetExtendedMedia media = 1 [json_name = "media"];
*/
private void setMedia(
int index, com.streamlayer.social.TweetExtendedMedia value) {
value.getClass();
ensureMediaIsMutable();
media_.set(index, value);
}
/**
* repeated .streamlayer.social.TweetExtendedMedia media = 1 [json_name = "media"];
*/
private void addMedia(com.streamlayer.social.TweetExtendedMedia value) {
value.getClass();
ensureMediaIsMutable();
media_.add(value);
}
/**
* repeated .streamlayer.social.TweetExtendedMedia media = 1 [json_name = "media"];
*/
private void addMedia(
int index, com.streamlayer.social.TweetExtendedMedia value) {
value.getClass();
ensureMediaIsMutable();
media_.add(index, value);
}
/**
* repeated .streamlayer.social.TweetExtendedMedia media = 1 [json_name = "media"];
*/
private void addAllMedia(
java.lang.Iterable extends com.streamlayer.social.TweetExtendedMedia> values) {
ensureMediaIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, media_);
}
/**
* repeated .streamlayer.social.TweetExtendedMedia media = 1 [json_name = "media"];
*/
private void clearMedia() {
media_ = emptyProtobufList();
}
/**
* repeated .streamlayer.social.TweetExtendedMedia media = 1 [json_name = "media"];
*/
private void removeMedia(int index) {
ensureMediaIsMutable();
media_.remove(index);
}
public static com.streamlayer.social.TweetMetadata.TweetExtendedEntities parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.social.TweetMetadata.TweetExtendedEntities parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.streamlayer.social.TweetMetadata.TweetExtendedEntities parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.social.TweetMetadata.TweetExtendedEntities parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.streamlayer.social.TweetMetadata.TweetExtendedEntities parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.social.TweetMetadata.TweetExtendedEntities parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.streamlayer.social.TweetMetadata.TweetExtendedEntities parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.social.TweetMetadata.TweetExtendedEntities parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.streamlayer.social.TweetMetadata.TweetExtendedEntities parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.social.TweetMetadata.TweetExtendedEntities parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.streamlayer.social.TweetMetadata.TweetExtendedEntities parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.social.TweetMetadata.TweetExtendedEntities parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.streamlayer.social.TweetMetadata.TweetExtendedEntities prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.social.TweetMetadata.TweetExtendedEntities}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.social.TweetMetadata.TweetExtendedEntities, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.social.TweetMetadata.TweetExtendedEntities)
com.streamlayer.social.TweetMetadata.TweetExtendedEntitiesOrBuilder {
// Construct using com.streamlayer.social.TweetMetadata.TweetExtendedEntities.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* repeated .streamlayer.social.TweetExtendedMedia media = 1 [json_name = "media"];
*/
@java.lang.Override
public java.util.List getMediaList() {
return java.util.Collections.unmodifiableList(
instance.getMediaList());
}
/**
* repeated .streamlayer.social.TweetExtendedMedia media = 1 [json_name = "media"];
*/
@java.lang.Override
public int getMediaCount() {
return instance.getMediaCount();
}/**
* repeated .streamlayer.social.TweetExtendedMedia media = 1 [json_name = "media"];
*/
@java.lang.Override
public com.streamlayer.social.TweetExtendedMedia getMedia(int index) {
return instance.getMedia(index);
}
/**
* repeated .streamlayer.social.TweetExtendedMedia media = 1 [json_name = "media"];
*/
public Builder setMedia(
int index, com.streamlayer.social.TweetExtendedMedia value) {
copyOnWrite();
instance.setMedia(index, value);
return this;
}
/**
* repeated .streamlayer.social.TweetExtendedMedia media = 1 [json_name = "media"];
*/
public Builder setMedia(
int index, com.streamlayer.social.TweetExtendedMedia.Builder builderForValue) {
copyOnWrite();
instance.setMedia(index,
builderForValue.build());
return this;
}
/**
* repeated .streamlayer.social.TweetExtendedMedia media = 1 [json_name = "media"];
*/
public Builder addMedia(com.streamlayer.social.TweetExtendedMedia value) {
copyOnWrite();
instance.addMedia(value);
return this;
}
/**
* repeated .streamlayer.social.TweetExtendedMedia media = 1 [json_name = "media"];
*/
public Builder addMedia(
int index, com.streamlayer.social.TweetExtendedMedia value) {
copyOnWrite();
instance.addMedia(index, value);
return this;
}
/**
* repeated .streamlayer.social.TweetExtendedMedia media = 1 [json_name = "media"];
*/
public Builder addMedia(
com.streamlayer.social.TweetExtendedMedia.Builder builderForValue) {
copyOnWrite();
instance.addMedia(builderForValue.build());
return this;
}
/**
* repeated .streamlayer.social.TweetExtendedMedia media = 1 [json_name = "media"];
*/
public Builder addMedia(
int index, com.streamlayer.social.TweetExtendedMedia.Builder builderForValue) {
copyOnWrite();
instance.addMedia(index,
builderForValue.build());
return this;
}
/**
* repeated .streamlayer.social.TweetExtendedMedia media = 1 [json_name = "media"];
*/
public Builder addAllMedia(
java.lang.Iterable extends com.streamlayer.social.TweetExtendedMedia> values) {
copyOnWrite();
instance.addAllMedia(values);
return this;
}
/**
* repeated .streamlayer.social.TweetExtendedMedia media = 1 [json_name = "media"];
*/
public Builder clearMedia() {
copyOnWrite();
instance.clearMedia();
return this;
}
/**
* repeated .streamlayer.social.TweetExtendedMedia media = 1 [json_name = "media"];
*/
public Builder removeMedia(int index) {
copyOnWrite();
instance.removeMedia(index);
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.social.TweetMetadata.TweetExtendedEntities)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.streamlayer.social.TweetMetadata.TweetExtendedEntities();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"media_",
com.streamlayer.social.TweetExtendedMedia.class,
};
java.lang.String info =
"\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0000\u0001\u0000\u0001\u001b";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (com.streamlayer.social.TweetMetadata.TweetExtendedEntities.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:streamlayer.social.TweetMetadata.TweetExtendedEntities)
private static final com.streamlayer.social.TweetMetadata.TweetExtendedEntities DEFAULT_INSTANCE;
static {
TweetExtendedEntities defaultInstance = new TweetExtendedEntities();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
TweetExtendedEntities.class, defaultInstance);
}
public static com.streamlayer.social.TweetMetadata.TweetExtendedEntities getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
private int bitField0_;
public static final int ID_STR_FIELD_NUMBER = 1;
private java.lang.String idStr_;
/**
* string id_str = 1 [json_name = "idStr"];
* @return The idStr.
*/
@java.lang.Override
public java.lang.String getIdStr() {
return idStr_;
}
/**
* string id_str = 1 [json_name = "idStr"];
* @return The bytes for idStr.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIdStrBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(idStr_);
}
/**
* string id_str = 1 [json_name = "idStr"];
* @param value The idStr to set.
*/
private void setIdStr(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
idStr_ = value;
}
/**
* string id_str = 1 [json_name = "idStr"];
*/
private void clearIdStr() {
idStr_ = getDefaultInstance().getIdStr();
}
/**
* string id_str = 1 [json_name = "idStr"];
* @param value The bytes for idStr to set.
*/
private void setIdStrBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
idStr_ = value.toStringUtf8();
}
public static final int ACCOUNT_FIELD_NUMBER = 2;
private java.lang.String account_;
/**
* string account = 2 [json_name = "account"];
* @return The account.
*/
@java.lang.Override
public java.lang.String getAccount() {
return account_;
}
/**
* string account = 2 [json_name = "account"];
* @return The bytes for account.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAccountBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(account_);
}
/**
* string account = 2 [json_name = "account"];
* @param value The account to set.
*/
private void setAccount(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
account_ = value;
}
/**
* string account = 2 [json_name = "account"];
*/
private void clearAccount() {
account_ = getDefaultInstance().getAccount();
}
/**
* string account = 2 [json_name = "account"];
* @param value The bytes for account to set.
*/
private void setAccountBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
account_ = value.toStringUtf8();
}
public static final int ACCOUNT_ID_FIELD_NUMBER = 3;
private java.lang.String accountId_;
/**
* string account_id = 3 [json_name = "accountId"];
* @return The accountId.
*/
@java.lang.Override
public java.lang.String getAccountId() {
return accountId_;
}
/**
* string account_id = 3 [json_name = "accountId"];
* @return The bytes for accountId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAccountIdBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(accountId_);
}
/**
* string account_id = 3 [json_name = "accountId"];
* @param value The accountId to set.
*/
private void setAccountId(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
accountId_ = value;
}
/**
* string account_id = 3 [json_name = "accountId"];
*/
private void clearAccountId() {
accountId_ = getDefaultInstance().getAccountId();
}
/**
* string account_id = 3 [json_name = "accountId"];
* @param value The bytes for accountId to set.
*/
private void setAccountIdBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
accountId_ = value.toStringUtf8();
}
public static final int ACCOUNT_IMAGE_FIELD_NUMBER = 4;
private java.lang.String accountImage_;
/**
* string account_image = 4 [json_name = "accountImage"];
* @return The accountImage.
*/
@java.lang.Override
public java.lang.String getAccountImage() {
return accountImage_;
}
/**
* string account_image = 4 [json_name = "accountImage"];
* @return The bytes for accountImage.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAccountImageBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(accountImage_);
}
/**
* string account_image = 4 [json_name = "accountImage"];
* @param value The accountImage to set.
*/
private void setAccountImage(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
accountImage_ = value;
}
/**
* string account_image = 4 [json_name = "accountImage"];
*/
private void clearAccountImage() {
accountImage_ = getDefaultInstance().getAccountImage();
}
/**
* string account_image = 4 [json_name = "accountImage"];
* @param value The bytes for accountImage to set.
*/
private void setAccountImageBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
accountImage_ = value.toStringUtf8();
}
public static final int ACCOUNT_NAME_FIELD_NUMBER = 8;
private java.lang.String accountName_;
/**
* string account_name = 8 [json_name = "accountName"];
* @return The accountName.
*/
@java.lang.Override
public java.lang.String getAccountName() {
return accountName_;
}
/**
* string account_name = 8 [json_name = "accountName"];
* @return The bytes for accountName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAccountNameBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(accountName_);
}
/**
* string account_name = 8 [json_name = "accountName"];
* @param value The accountName to set.
*/
private void setAccountName(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
accountName_ = value;
}
/**
* string account_name = 8 [json_name = "accountName"];
*/
private void clearAccountName() {
accountName_ = getDefaultInstance().getAccountName();
}
/**
* string account_name = 8 [json_name = "accountName"];
* @param value The bytes for accountName to set.
*/
private void setAccountNameBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
accountName_ = value.toStringUtf8();
}
public static final int ACCOUNT_VERIFIED_FIELD_NUMBER = 9;
private boolean accountVerified_;
/**
* bool account_verified = 9 [json_name = "accountVerified"];
* @return The accountVerified.
*/
@java.lang.Override
public boolean getAccountVerified() {
return accountVerified_;
}
/**
* bool account_verified = 9 [json_name = "accountVerified"];
* @param value The accountVerified to set.
*/
private void setAccountVerified(boolean value) {
accountVerified_ = value;
}
/**
* bool account_verified = 9 [json_name = "accountVerified"];
*/
private void clearAccountVerified() {
accountVerified_ = false;
}
public static final int RETWEETED_STATUS_FIELD_NUMBER = 5;
private com.streamlayer.social.Tweet retweetedStatus_;
/**
* .streamlayer.social.Tweet retweeted_status = 5 [json_name = "retweetedStatus"];
*/
@java.lang.Override
public boolean hasRetweetedStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .streamlayer.social.Tweet retweeted_status = 5 [json_name = "retweetedStatus"];
*/
@java.lang.Override
public com.streamlayer.social.Tweet getRetweetedStatus() {
return retweetedStatus_ == null ? com.streamlayer.social.Tweet.getDefaultInstance() : retweetedStatus_;
}
/**
* .streamlayer.social.Tweet retweeted_status = 5 [json_name = "retweetedStatus"];
*/
private void setRetweetedStatus(com.streamlayer.social.Tweet value) {
value.getClass();
retweetedStatus_ = value;
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.social.Tweet retweeted_status = 5 [json_name = "retweetedStatus"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeRetweetedStatus(com.streamlayer.social.Tweet value) {
value.getClass();
if (retweetedStatus_ != null &&
retweetedStatus_ != com.streamlayer.social.Tweet.getDefaultInstance()) {
retweetedStatus_ =
com.streamlayer.social.Tweet.newBuilder(retweetedStatus_).mergeFrom(value).buildPartial();
} else {
retweetedStatus_ = value;
}
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.social.Tweet retweeted_status = 5 [json_name = "retweetedStatus"];
*/
private void clearRetweetedStatus() { retweetedStatus_ = null;
bitField0_ = (bitField0_ & ~0x00000001);
}
public static final int ENTITIES_FIELD_NUMBER = 6;
private com.streamlayer.social.TweetMetadata.TweetEntities entities_;
/**
* .streamlayer.social.TweetMetadata.TweetEntities entities = 6 [json_name = "entities"];
*/
@java.lang.Override
public boolean hasEntities() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* .streamlayer.social.TweetMetadata.TweetEntities entities = 6 [json_name = "entities"];
*/
@java.lang.Override
public com.streamlayer.social.TweetMetadata.TweetEntities getEntities() {
return entities_ == null ? com.streamlayer.social.TweetMetadata.TweetEntities.getDefaultInstance() : entities_;
}
/**
* .streamlayer.social.TweetMetadata.TweetEntities entities = 6 [json_name = "entities"];
*/
private void setEntities(com.streamlayer.social.TweetMetadata.TweetEntities value) {
value.getClass();
entities_ = value;
bitField0_ |= 0x00000002;
}
/**
* .streamlayer.social.TweetMetadata.TweetEntities entities = 6 [json_name = "entities"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeEntities(com.streamlayer.social.TweetMetadata.TweetEntities value) {
value.getClass();
if (entities_ != null &&
entities_ != com.streamlayer.social.TweetMetadata.TweetEntities.getDefaultInstance()) {
entities_ =
com.streamlayer.social.TweetMetadata.TweetEntities.newBuilder(entities_).mergeFrom(value).buildPartial();
} else {
entities_ = value;
}
bitField0_ |= 0x00000002;
}
/**
* .streamlayer.social.TweetMetadata.TweetEntities entities = 6 [json_name = "entities"];
*/
private void clearEntities() { entities_ = null;
bitField0_ = (bitField0_ & ~0x00000002);
}
public static final int EXTENDED_ENTITIES_FIELD_NUMBER = 7;
private com.streamlayer.social.TweetMetadata.TweetExtendedEntities extendedEntities_;
/**
* .streamlayer.social.TweetMetadata.TweetExtendedEntities extended_entities = 7 [json_name = "extendedEntities"];
*/
@java.lang.Override
public boolean hasExtendedEntities() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* .streamlayer.social.TweetMetadata.TweetExtendedEntities extended_entities = 7 [json_name = "extendedEntities"];
*/
@java.lang.Override
public com.streamlayer.social.TweetMetadata.TweetExtendedEntities getExtendedEntities() {
return extendedEntities_ == null ? com.streamlayer.social.TweetMetadata.TweetExtendedEntities.getDefaultInstance() : extendedEntities_;
}
/**
* .streamlayer.social.TweetMetadata.TweetExtendedEntities extended_entities = 7 [json_name = "extendedEntities"];
*/
private void setExtendedEntities(com.streamlayer.social.TweetMetadata.TweetExtendedEntities value) {
value.getClass();
extendedEntities_ = value;
bitField0_ |= 0x00000004;
}
/**
* .streamlayer.social.TweetMetadata.TweetExtendedEntities extended_entities = 7 [json_name = "extendedEntities"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeExtendedEntities(com.streamlayer.social.TweetMetadata.TweetExtendedEntities value) {
value.getClass();
if (extendedEntities_ != null &&
extendedEntities_ != com.streamlayer.social.TweetMetadata.TweetExtendedEntities.getDefaultInstance()) {
extendedEntities_ =
com.streamlayer.social.TweetMetadata.TweetExtendedEntities.newBuilder(extendedEntities_).mergeFrom(value).buildPartial();
} else {
extendedEntities_ = value;
}
bitField0_ |= 0x00000004;
}
/**
* .streamlayer.social.TweetMetadata.TweetExtendedEntities extended_entities = 7 [json_name = "extendedEntities"];
*/
private void clearExtendedEntities() { extendedEntities_ = null;
bitField0_ = (bitField0_ & ~0x00000004);
}
public static final int RETWEET_COUNT_FIELD_NUMBER = 10;
private long retweetCount_;
/**
* uint64 retweet_count = 10 [json_name = "retweetCount"];
* @return The retweetCount.
*/
@java.lang.Override
public long getRetweetCount() {
return retweetCount_;
}
/**
* uint64 retweet_count = 10 [json_name = "retweetCount"];
* @param value The retweetCount to set.
*/
private void setRetweetCount(long value) {
retweetCount_ = value;
}
/**
* uint64 retweet_count = 10 [json_name = "retweetCount"];
*/
private void clearRetweetCount() {
retweetCount_ = 0L;
}
public static final int FAVORITE_COUNT_FIELD_NUMBER = 11;
private long favoriteCount_;
/**
* uint64 favorite_count = 11 [json_name = "favoriteCount"];
* @return The favoriteCount.
*/
@java.lang.Override
public long getFavoriteCount() {
return favoriteCount_;
}
/**
* uint64 favorite_count = 11 [json_name = "favoriteCount"];
* @param value The favoriteCount to set.
*/
private void setFavoriteCount(long value) {
favoriteCount_ = value;
}
/**
* uint64 favorite_count = 11 [json_name = "favoriteCount"];
*/
private void clearFavoriteCount() {
favoriteCount_ = 0L;
}
public static com.streamlayer.social.TweetMetadata parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.social.TweetMetadata parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.streamlayer.social.TweetMetadata parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.social.TweetMetadata parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.streamlayer.social.TweetMetadata parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.social.TweetMetadata parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.streamlayer.social.TweetMetadata parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.social.TweetMetadata parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.streamlayer.social.TweetMetadata parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.social.TweetMetadata parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.streamlayer.social.TweetMetadata parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.social.TweetMetadata parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.streamlayer.social.TweetMetadata prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.social.TweetMetadata}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.social.TweetMetadata, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.social.TweetMetadata)
com.streamlayer.social.TweetMetadataOrBuilder {
// Construct using com.streamlayer.social.TweetMetadata.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* string id_str = 1 [json_name = "idStr"];
* @return The idStr.
*/
@java.lang.Override
public java.lang.String getIdStr() {
return instance.getIdStr();
}
/**
* string id_str = 1 [json_name = "idStr"];
* @return The bytes for idStr.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIdStrBytes() {
return instance.getIdStrBytes();
}
/**
* string id_str = 1 [json_name = "idStr"];
* @param value The idStr to set.
* @return This builder for chaining.
*/
public Builder setIdStr(
java.lang.String value) {
copyOnWrite();
instance.setIdStr(value);
return this;
}
/**
* string id_str = 1 [json_name = "idStr"];
* @return This builder for chaining.
*/
public Builder clearIdStr() {
copyOnWrite();
instance.clearIdStr();
return this;
}
/**
* string id_str = 1 [json_name = "idStr"];
* @param value The bytes for idStr to set.
* @return This builder for chaining.
*/
public Builder setIdStrBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setIdStrBytes(value);
return this;
}
/**
* string account = 2 [json_name = "account"];
* @return The account.
*/
@java.lang.Override
public java.lang.String getAccount() {
return instance.getAccount();
}
/**
* string account = 2 [json_name = "account"];
* @return The bytes for account.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAccountBytes() {
return instance.getAccountBytes();
}
/**
* string account = 2 [json_name = "account"];
* @param value The account to set.
* @return This builder for chaining.
*/
public Builder setAccount(
java.lang.String value) {
copyOnWrite();
instance.setAccount(value);
return this;
}
/**
* string account = 2 [json_name = "account"];
* @return This builder for chaining.
*/
public Builder clearAccount() {
copyOnWrite();
instance.clearAccount();
return this;
}
/**
* string account = 2 [json_name = "account"];
* @param value The bytes for account to set.
* @return This builder for chaining.
*/
public Builder setAccountBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setAccountBytes(value);
return this;
}
/**
* string account_id = 3 [json_name = "accountId"];
* @return The accountId.
*/
@java.lang.Override
public java.lang.String getAccountId() {
return instance.getAccountId();
}
/**
* string account_id = 3 [json_name = "accountId"];
* @return The bytes for accountId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAccountIdBytes() {
return instance.getAccountIdBytes();
}
/**
* string account_id = 3 [json_name = "accountId"];
* @param value The accountId to set.
* @return This builder for chaining.
*/
public Builder setAccountId(
java.lang.String value) {
copyOnWrite();
instance.setAccountId(value);
return this;
}
/**
* string account_id = 3 [json_name = "accountId"];
* @return This builder for chaining.
*/
public Builder clearAccountId() {
copyOnWrite();
instance.clearAccountId();
return this;
}
/**
* string account_id = 3 [json_name = "accountId"];
* @param value The bytes for accountId to set.
* @return This builder for chaining.
*/
public Builder setAccountIdBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setAccountIdBytes(value);
return this;
}
/**
* string account_image = 4 [json_name = "accountImage"];
* @return The accountImage.
*/
@java.lang.Override
public java.lang.String getAccountImage() {
return instance.getAccountImage();
}
/**
* string account_image = 4 [json_name = "accountImage"];
* @return The bytes for accountImage.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAccountImageBytes() {
return instance.getAccountImageBytes();
}
/**
* string account_image = 4 [json_name = "accountImage"];
* @param value The accountImage to set.
* @return This builder for chaining.
*/
public Builder setAccountImage(
java.lang.String value) {
copyOnWrite();
instance.setAccountImage(value);
return this;
}
/**
* string account_image = 4 [json_name = "accountImage"];
* @return This builder for chaining.
*/
public Builder clearAccountImage() {
copyOnWrite();
instance.clearAccountImage();
return this;
}
/**
* string account_image = 4 [json_name = "accountImage"];
* @param value The bytes for accountImage to set.
* @return This builder for chaining.
*/
public Builder setAccountImageBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setAccountImageBytes(value);
return this;
}
/**
* string account_name = 8 [json_name = "accountName"];
* @return The accountName.
*/
@java.lang.Override
public java.lang.String getAccountName() {
return instance.getAccountName();
}
/**
* string account_name = 8 [json_name = "accountName"];
* @return The bytes for accountName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAccountNameBytes() {
return instance.getAccountNameBytes();
}
/**
* string account_name = 8 [json_name = "accountName"];
* @param value The accountName to set.
* @return This builder for chaining.
*/
public Builder setAccountName(
java.lang.String value) {
copyOnWrite();
instance.setAccountName(value);
return this;
}
/**
* string account_name = 8 [json_name = "accountName"];
* @return This builder for chaining.
*/
public Builder clearAccountName() {
copyOnWrite();
instance.clearAccountName();
return this;
}
/**
* string account_name = 8 [json_name = "accountName"];
* @param value The bytes for accountName to set.
* @return This builder for chaining.
*/
public Builder setAccountNameBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setAccountNameBytes(value);
return this;
}
/**
* bool account_verified = 9 [json_name = "accountVerified"];
* @return The accountVerified.
*/
@java.lang.Override
public boolean getAccountVerified() {
return instance.getAccountVerified();
}
/**
* bool account_verified = 9 [json_name = "accountVerified"];
* @param value The accountVerified to set.
* @return This builder for chaining.
*/
public Builder setAccountVerified(boolean value) {
copyOnWrite();
instance.setAccountVerified(value);
return this;
}
/**
* bool account_verified = 9 [json_name = "accountVerified"];
* @return This builder for chaining.
*/
public Builder clearAccountVerified() {
copyOnWrite();
instance.clearAccountVerified();
return this;
}
/**
* .streamlayer.social.Tweet retweeted_status = 5 [json_name = "retweetedStatus"];
*/
@java.lang.Override
public boolean hasRetweetedStatus() {
return instance.hasRetweetedStatus();
}
/**
* .streamlayer.social.Tweet retweeted_status = 5 [json_name = "retweetedStatus"];
*/
@java.lang.Override
public com.streamlayer.social.Tweet getRetweetedStatus() {
return instance.getRetweetedStatus();
}
/**
* .streamlayer.social.Tweet retweeted_status = 5 [json_name = "retweetedStatus"];
*/
public Builder setRetweetedStatus(com.streamlayer.social.Tweet value) {
copyOnWrite();
instance.setRetweetedStatus(value);
return this;
}
/**
* .streamlayer.social.Tweet retweeted_status = 5 [json_name = "retweetedStatus"];
*/
public Builder setRetweetedStatus(
com.streamlayer.social.Tweet.Builder builderForValue) {
copyOnWrite();
instance.setRetweetedStatus(builderForValue.build());
return this;
}
/**
* .streamlayer.social.Tweet retweeted_status = 5 [json_name = "retweetedStatus"];
*/
public Builder mergeRetweetedStatus(com.streamlayer.social.Tweet value) {
copyOnWrite();
instance.mergeRetweetedStatus(value);
return this;
}
/**
* .streamlayer.social.Tweet retweeted_status = 5 [json_name = "retweetedStatus"];
*/
public Builder clearRetweetedStatus() { copyOnWrite();
instance.clearRetweetedStatus();
return this;
}
/**
* .streamlayer.social.TweetMetadata.TweetEntities entities = 6 [json_name = "entities"];
*/
@java.lang.Override
public boolean hasEntities() {
return instance.hasEntities();
}
/**
* .streamlayer.social.TweetMetadata.TweetEntities entities = 6 [json_name = "entities"];
*/
@java.lang.Override
public com.streamlayer.social.TweetMetadata.TweetEntities getEntities() {
return instance.getEntities();
}
/**
* .streamlayer.social.TweetMetadata.TweetEntities entities = 6 [json_name = "entities"];
*/
public Builder setEntities(com.streamlayer.social.TweetMetadata.TweetEntities value) {
copyOnWrite();
instance.setEntities(value);
return this;
}
/**
* .streamlayer.social.TweetMetadata.TweetEntities entities = 6 [json_name = "entities"];
*/
public Builder setEntities(
com.streamlayer.social.TweetMetadata.TweetEntities.Builder builderForValue) {
copyOnWrite();
instance.setEntities(builderForValue.build());
return this;
}
/**
* .streamlayer.social.TweetMetadata.TweetEntities entities = 6 [json_name = "entities"];
*/
public Builder mergeEntities(com.streamlayer.social.TweetMetadata.TweetEntities value) {
copyOnWrite();
instance.mergeEntities(value);
return this;
}
/**
* .streamlayer.social.TweetMetadata.TweetEntities entities = 6 [json_name = "entities"];
*/
public Builder clearEntities() { copyOnWrite();
instance.clearEntities();
return this;
}
/**
* .streamlayer.social.TweetMetadata.TweetExtendedEntities extended_entities = 7 [json_name = "extendedEntities"];
*/
@java.lang.Override
public boolean hasExtendedEntities() {
return instance.hasExtendedEntities();
}
/**
* .streamlayer.social.TweetMetadata.TweetExtendedEntities extended_entities = 7 [json_name = "extendedEntities"];
*/
@java.lang.Override
public com.streamlayer.social.TweetMetadata.TweetExtendedEntities getExtendedEntities() {
return instance.getExtendedEntities();
}
/**
* .streamlayer.social.TweetMetadata.TweetExtendedEntities extended_entities = 7 [json_name = "extendedEntities"];
*/
public Builder setExtendedEntities(com.streamlayer.social.TweetMetadata.TweetExtendedEntities value) {
copyOnWrite();
instance.setExtendedEntities(value);
return this;
}
/**
* .streamlayer.social.TweetMetadata.TweetExtendedEntities extended_entities = 7 [json_name = "extendedEntities"];
*/
public Builder setExtendedEntities(
com.streamlayer.social.TweetMetadata.TweetExtendedEntities.Builder builderForValue) {
copyOnWrite();
instance.setExtendedEntities(builderForValue.build());
return this;
}
/**
* .streamlayer.social.TweetMetadata.TweetExtendedEntities extended_entities = 7 [json_name = "extendedEntities"];
*/
public Builder mergeExtendedEntities(com.streamlayer.social.TweetMetadata.TweetExtendedEntities value) {
copyOnWrite();
instance.mergeExtendedEntities(value);
return this;
}
/**
* .streamlayer.social.TweetMetadata.TweetExtendedEntities extended_entities = 7 [json_name = "extendedEntities"];
*/
public Builder clearExtendedEntities() { copyOnWrite();
instance.clearExtendedEntities();
return this;
}
/**
* uint64 retweet_count = 10 [json_name = "retweetCount"];
* @return The retweetCount.
*/
@java.lang.Override
public long getRetweetCount() {
return instance.getRetweetCount();
}
/**
* uint64 retweet_count = 10 [json_name = "retweetCount"];
* @param value The retweetCount to set.
* @return This builder for chaining.
*/
public Builder setRetweetCount(long value) {
copyOnWrite();
instance.setRetweetCount(value);
return this;
}
/**
* uint64 retweet_count = 10 [json_name = "retweetCount"];
* @return This builder for chaining.
*/
public Builder clearRetweetCount() {
copyOnWrite();
instance.clearRetweetCount();
return this;
}
/**
* uint64 favorite_count = 11 [json_name = "favoriteCount"];
* @return The favoriteCount.
*/
@java.lang.Override
public long getFavoriteCount() {
return instance.getFavoriteCount();
}
/**
* uint64 favorite_count = 11 [json_name = "favoriteCount"];
* @param value The favoriteCount to set.
* @return This builder for chaining.
*/
public Builder setFavoriteCount(long value) {
copyOnWrite();
instance.setFavoriteCount(value);
return this;
}
/**
* uint64 favorite_count = 11 [json_name = "favoriteCount"];
* @return This builder for chaining.
*/
public Builder clearFavoriteCount() {
copyOnWrite();
instance.clearFavoriteCount();
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.social.TweetMetadata)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.streamlayer.social.TweetMetadata();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"idStr_",
"account_",
"accountId_",
"accountImage_",
"retweetedStatus_",
"entities_",
"extendedEntities_",
"accountName_",
"accountVerified_",
"retweetCount_",
"favoriteCount_",
};
java.lang.String info =
"\u0000\u000b\u0000\u0001\u0001\u000b\u000b\u0000\u0000\u0000\u0001\u0208\u0002\u0208" +
"\u0003\u0208\u0004\u0208\u0005\u1009\u0000\u0006\u1009\u0001\u0007\u1009\u0002\b" +
"\u0208\t\u0007\n\u0003\u000b\u0003";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (com.streamlayer.social.TweetMetadata.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:streamlayer.social.TweetMetadata)
private static final com.streamlayer.social.TweetMetadata DEFAULT_INSTANCE;
static {
TweetMetadata defaultInstance = new TweetMetadata();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
TweetMetadata.class, defaultInstance);
}
public static com.streamlayer.social.TweetMetadata getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}