Class SendTestRequest
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite<SendTestRequest,SendTestRequest.Builder>
-
- com.streamlayer.pushNotification.common.SendTestRequest
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,SendTestRequestOrBuilder
public final class SendTestRequest extends com.google.protobuf.GeneratedMessageLite<SendTestRequest,SendTestRequest.Builder> implements SendTestRequestOrBuilder
Protobuf typestreamlayer.pushNotification.SendTestRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSendTestRequest.BuilderProtobuf typestreamlayer.pushNotification.SendTestRequest-
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 intDEVICE_TOKEN_FIELD_NUMBERstatic intNOTIFICATION_FIELD_NUMBERstatic intORGANIZATION_ID_FIELD_NUMBERstatic intTYPE_FIELD_NUMBERstatic intUSERNAME_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)static SendTestRequestgetDefaultInstance()java.lang.StringgetDeviceToken()string device_token = 1 [json_name = "deviceToken"];com.google.protobuf.ByteStringgetDeviceTokenBytes()string device_token = 1 [json_name = "deviceToken"];TestPushNotificationgetNotification().streamlayer.pushNotification.TestPushNotification notification = 4 [json_name = "notification"];java.lang.StringgetOrganizationId()string organization_id = 5 [json_name = "organizationId"];com.google.protobuf.ByteStringgetOrganizationIdBytes()string organization_id = 5 [json_name = "organizationId"];java.lang.StringgetType()string type = 3 [json_name = "type"];com.google.protobuf.ByteStringgetTypeBytes()string type = 3 [json_name = "type"];java.lang.StringgetUsername()string username = 2 [json_name = "username"];com.google.protobuf.ByteStringgetUsernameBytes()string username = 2 [json_name = "username"];booleanhasNotification().streamlayer.pushNotification.TestPushNotification notification = 4 [json_name = "notification"];static SendTestRequest.BuildernewBuilder()static SendTestRequest.BuildernewBuilder(SendTestRequest prototype)static SendTestRequestparseDelimitedFrom(java.io.InputStream input)static SendTestRequestparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SendTestRequestparseFrom(byte[] data)static SendTestRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SendTestRequestparseFrom(com.google.protobuf.ByteString data)static SendTestRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SendTestRequestparseFrom(com.google.protobuf.CodedInputStream input)static SendTestRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SendTestRequestparseFrom(java.io.InputStream input)static SendTestRequestparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SendTestRequestparseFrom(java.nio.ByteBuffer data)static SendTestRequestparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<SendTestRequest>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
-
DEVICE_TOKEN_FIELD_NUMBER
public static final int DEVICE_TOKEN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
USERNAME_FIELD_NUMBER
public static final int USERNAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NOTIFICATION_FIELD_NUMBER
public static final int NOTIFICATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ORGANIZATION_ID_FIELD_NUMBER
public static final int ORGANIZATION_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDeviceToken
public java.lang.String getDeviceToken()
string device_token = 1 [json_name = "deviceToken"];- Specified by:
getDeviceTokenin interfaceSendTestRequestOrBuilder- Returns:
- The deviceToken.
-
getDeviceTokenBytes
public com.google.protobuf.ByteString getDeviceTokenBytes()
string device_token = 1 [json_name = "deviceToken"];- Specified by:
getDeviceTokenBytesin interfaceSendTestRequestOrBuilder- Returns:
- The bytes for deviceToken.
-
getUsername
public java.lang.String getUsername()
string username = 2 [json_name = "username"];- Specified by:
getUsernamein interfaceSendTestRequestOrBuilder- Returns:
- The username.
-
getUsernameBytes
public com.google.protobuf.ByteString getUsernameBytes()
string username = 2 [json_name = "username"];- Specified by:
getUsernameBytesin interfaceSendTestRequestOrBuilder- Returns:
- The bytes for username.
-
getType
public java.lang.String getType()
string type = 3 [json_name = "type"];- Specified by:
getTypein interfaceSendTestRequestOrBuilder- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()
string type = 3 [json_name = "type"];- Specified by:
getTypeBytesin interfaceSendTestRequestOrBuilder- Returns:
- The bytes for type.
-
hasNotification
public boolean hasNotification()
.streamlayer.pushNotification.TestPushNotification notification = 4 [json_name = "notification"];- Specified by:
hasNotificationin interfaceSendTestRequestOrBuilder- Returns:
- Whether the notification field is set.
-
getNotification
public TestPushNotification getNotification()
.streamlayer.pushNotification.TestPushNotification notification = 4 [json_name = "notification"];- Specified by:
getNotificationin interfaceSendTestRequestOrBuilder- Returns:
- The notification.
-
getOrganizationId
public java.lang.String getOrganizationId()
string organization_id = 5 [json_name = "organizationId"];- Specified by:
getOrganizationIdin interfaceSendTestRequestOrBuilder- Returns:
- The organizationId.
-
getOrganizationIdBytes
public com.google.protobuf.ByteString getOrganizationIdBytes()
string organization_id = 5 [json_name = "organizationId"];- Specified by:
getOrganizationIdBytesin interfaceSendTestRequestOrBuilder- Returns:
- The bytes for organizationId.
-
parseFrom
public static SendTestRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SendTestRequest parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SendTestRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SendTestRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SendTestRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SendTestRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SendTestRequest parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static SendTestRequest parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static SendTestRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static SendTestRequest parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static SendTestRequest parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static SendTestRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilder
public static SendTestRequest.Builder newBuilder()
-
newBuilder
public static SendTestRequest.Builder newBuilder(SendTestRequest 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<SendTestRequest,SendTestRequest.Builder>
-
getDefaultInstance
public static SendTestRequest getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<SendTestRequest> parser()
-
-