Package com.streamlayer.social
Class SubscriptionResponse
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite<SubscriptionResponse,SubscriptionResponse.Builder>
-
- com.streamlayer.social.SubscriptionResponse
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,SubscriptionResponseOrBuilder
public final class SubscriptionResponse extends com.google.protobuf.GeneratedMessageLite<SubscriptionResponse,SubscriptionResponse.Builder> implements SubscriptionResponseOrBuilder
Protobuf typestreamlayer.social.SubscriptionResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSubscriptionResponse.BuilderProtobuf typestreamlayer.social.SubscriptionResponse-
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 intATTRIBUTES_FIELD_NUMBERstatic intID_FIELD_NUMBERstatic intTYPE_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)TweetgetAttributes()tweet propertiesstatic SubscriptionResponsegetDefaultInstance()java.lang.StringgetId()tweet idcom.google.protobuf.ByteStringgetIdBytes()tweet idjava.lang.StringgetType()type is always "tweet"com.google.protobuf.ByteStringgetTypeBytes()type is always "tweet"booleanhasAttributes()tweet propertiesstatic SubscriptionResponse.BuildernewBuilder()static SubscriptionResponse.BuildernewBuilder(SubscriptionResponse prototype)static SubscriptionResponseparseDelimitedFrom(java.io.InputStream input)static SubscriptionResponseparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SubscriptionResponseparseFrom(byte[] data)static SubscriptionResponseparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SubscriptionResponseparseFrom(com.google.protobuf.ByteString data)static SubscriptionResponseparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SubscriptionResponseparseFrom(com.google.protobuf.CodedInputStream input)static SubscriptionResponseparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SubscriptionResponseparseFrom(java.io.InputStream input)static SubscriptionResponseparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SubscriptionResponseparseFrom(java.nio.ByteBuffer data)static SubscriptionResponseparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<SubscriptionResponse>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_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ATTRIBUTES_FIELD_NUMBER
public static final int ATTRIBUTES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
public java.lang.String getId()
tweet id
string id = 1 [json_name = "id"];- Specified by:
getIdin interfaceSubscriptionResponseOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
tweet id
string id = 1 [json_name = "id"];- Specified by:
getIdBytesin interfaceSubscriptionResponseOrBuilder- Returns:
- The bytes for id.
-
getType
public java.lang.String getType()
type is always "tweet"
string type = 2 [json_name = "type"];- Specified by:
getTypein interfaceSubscriptionResponseOrBuilder- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()
type is always "tweet"
string type = 2 [json_name = "type"];- Specified by:
getTypeBytesin interfaceSubscriptionResponseOrBuilder- Returns:
- The bytes for type.
-
hasAttributes
public boolean hasAttributes()
tweet properties
.streamlayer.social.Tweet attributes = 3 [json_name = "attributes"];- Specified by:
hasAttributesin interfaceSubscriptionResponseOrBuilder- Returns:
- Whether the attributes field is set.
-
getAttributes
public Tweet getAttributes()
tweet properties
.streamlayer.social.Tweet attributes = 3 [json_name = "attributes"];- Specified by:
getAttributesin interfaceSubscriptionResponseOrBuilder- Returns:
- The attributes.
-
parseFrom
public static SubscriptionResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SubscriptionResponse parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SubscriptionResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SubscriptionResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SubscriptionResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SubscriptionResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SubscriptionResponse parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static SubscriptionResponse parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static SubscriptionResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static SubscriptionResponse parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static SubscriptionResponse parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static SubscriptionResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilder
public static SubscriptionResponse.Builder newBuilder()
-
newBuilder
public static SubscriptionResponse.Builder newBuilder(SubscriptionResponse 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<SubscriptionResponse,SubscriptionResponse.Builder>
-
getDefaultInstance
public static SubscriptionResponse getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<SubscriptionResponse> parser()
-
-