Class SendTestRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.Builder<SendTestRequest,SendTestRequest.Builder>
-
- com.streamlayer.pushNotification.common.SendTestRequest.Builder
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,SendTestRequestOrBuilder,java.lang.Cloneable
- Enclosing class:
- SendTestRequest
public static final class SendTestRequest.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<SendTestRequest,SendTestRequest.Builder> implements SendTestRequestOrBuilder
Protobuf typestreamlayer.pushNotification.SendTestRequest
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SendTestRequest.BuilderclearDeviceToken()string device_token = 1;SendTestRequest.BuilderclearNotification().streamlayer.pushNotification.TestPushNotification notification = 4;SendTestRequest.BuilderclearOrganizationId()string organization_id = 5;SendTestRequest.BuilderclearType()string type = 3;SendTestRequest.BuilderclearUsername()string username = 2;java.lang.StringgetDeviceToken()string device_token = 1;com.google.protobuf.ByteStringgetDeviceTokenBytes()string device_token = 1;TestPushNotificationgetNotification().streamlayer.pushNotification.TestPushNotification notification = 4;java.lang.StringgetOrganizationId()string organization_id = 5;com.google.protobuf.ByteStringgetOrganizationIdBytes()string organization_id = 5;java.lang.StringgetType()string type = 3;com.google.protobuf.ByteStringgetTypeBytes()string type = 3;java.lang.StringgetUsername()string username = 2;com.google.protobuf.ByteStringgetUsernameBytes()string username = 2;booleanhasNotification().streamlayer.pushNotification.TestPushNotification notification = 4;SendTestRequest.BuildermergeNotification(TestPushNotification value).streamlayer.pushNotification.TestPushNotification notification = 4;SendTestRequest.BuildersetDeviceToken(java.lang.String value)string device_token = 1;SendTestRequest.BuildersetDeviceTokenBytes(com.google.protobuf.ByteString value)string device_token = 1;SendTestRequest.BuildersetNotification(TestPushNotification value).streamlayer.pushNotification.TestPushNotification notification = 4;SendTestRequest.BuildersetNotification(TestPushNotification.Builder builderForValue).streamlayer.pushNotification.TestPushNotification notification = 4;SendTestRequest.BuildersetOrganizationId(java.lang.String value)string organization_id = 5;SendTestRequest.BuildersetOrganizationIdBytes(com.google.protobuf.ByteString value)string organization_id = 5;SendTestRequest.BuildersetType(java.lang.String value)string type = 3;SendTestRequest.BuildersetTypeBytes(com.google.protobuf.ByteString value)string type = 3;SendTestRequest.BuildersetUsername(java.lang.String value)string username = 2;SendTestRequest.BuildersetUsernameBytes(com.google.protobuf.ByteString value)string username = 2;-
Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDeviceToken
public java.lang.String getDeviceToken()
string device_token = 1;- Specified by:
getDeviceTokenin interfaceSendTestRequestOrBuilder- Returns:
- The deviceToken.
-
getDeviceTokenBytes
public com.google.protobuf.ByteString getDeviceTokenBytes()
string device_token = 1;- Specified by:
getDeviceTokenBytesin interfaceSendTestRequestOrBuilder- Returns:
- The bytes for deviceToken.
-
setDeviceToken
public SendTestRequest.Builder setDeviceToken(java.lang.String value)
string device_token = 1;- Parameters:
value- The deviceToken to set.- Returns:
- This builder for chaining.
-
clearDeviceToken
public SendTestRequest.Builder clearDeviceToken()
string device_token = 1;- Returns:
- This builder for chaining.
-
setDeviceTokenBytes
public SendTestRequest.Builder setDeviceTokenBytes(com.google.protobuf.ByteString value)
string device_token = 1;- Parameters:
value- The bytes for deviceToken to set.- Returns:
- This builder for chaining.
-
getUsername
public java.lang.String getUsername()
string username = 2;- Specified by:
getUsernamein interfaceSendTestRequestOrBuilder- Returns:
- The username.
-
getUsernameBytes
public com.google.protobuf.ByteString getUsernameBytes()
string username = 2;- Specified by:
getUsernameBytesin interfaceSendTestRequestOrBuilder- Returns:
- The bytes for username.
-
setUsername
public SendTestRequest.Builder setUsername(java.lang.String value)
string username = 2;- Parameters:
value- The username to set.- Returns:
- This builder for chaining.
-
clearUsername
public SendTestRequest.Builder clearUsername()
string username = 2;- Returns:
- This builder for chaining.
-
setUsernameBytes
public SendTestRequest.Builder setUsernameBytes(com.google.protobuf.ByteString value)
string username = 2;- Parameters:
value- The bytes for username to set.- Returns:
- This builder for chaining.
-
getType
public java.lang.String getType()
string type = 3;- Specified by:
getTypein interfaceSendTestRequestOrBuilder- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()
string type = 3;- Specified by:
getTypeBytesin interfaceSendTestRequestOrBuilder- Returns:
- The bytes for type.
-
setType
public SendTestRequest.Builder setType(java.lang.String value)
string type = 3;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
public SendTestRequest.Builder clearType()
string type = 3;- Returns:
- This builder for chaining.
-
setTypeBytes
public SendTestRequest.Builder setTypeBytes(com.google.protobuf.ByteString value)
string type = 3;- Parameters:
value- The bytes for type to set.- Returns:
- This builder for chaining.
-
hasNotification
public boolean hasNotification()
.streamlayer.pushNotification.TestPushNotification notification = 4;- Specified by:
hasNotificationin interfaceSendTestRequestOrBuilder- Returns:
- Whether the notification field is set.
-
getNotification
public TestPushNotification getNotification()
.streamlayer.pushNotification.TestPushNotification notification = 4;- Specified by:
getNotificationin interfaceSendTestRequestOrBuilder- Returns:
- The notification.
-
setNotification
public SendTestRequest.Builder setNotification(TestPushNotification value)
.streamlayer.pushNotification.TestPushNotification notification = 4;
-
setNotification
public SendTestRequest.Builder setNotification(TestPushNotification.Builder builderForValue)
.streamlayer.pushNotification.TestPushNotification notification = 4;
-
mergeNotification
public SendTestRequest.Builder mergeNotification(TestPushNotification value)
.streamlayer.pushNotification.TestPushNotification notification = 4;
-
clearNotification
public SendTestRequest.Builder clearNotification()
.streamlayer.pushNotification.TestPushNotification notification = 4;
-
getOrganizationId
public java.lang.String getOrganizationId()
string organization_id = 5;- Specified by:
getOrganizationIdin interfaceSendTestRequestOrBuilder- Returns:
- The organizationId.
-
getOrganizationIdBytes
public com.google.protobuf.ByteString getOrganizationIdBytes()
string organization_id = 5;- Specified by:
getOrganizationIdBytesin interfaceSendTestRequestOrBuilder- Returns:
- The bytes for organizationId.
-
setOrganizationId
public SendTestRequest.Builder setOrganizationId(java.lang.String value)
string organization_id = 5;- Parameters:
value- The organizationId to set.- Returns:
- This builder for chaining.
-
clearOrganizationId
public SendTestRequest.Builder clearOrganizationId()
string organization_id = 5;- Returns:
- This builder for chaining.
-
setOrganizationIdBytes
public SendTestRequest.Builder setOrganizationIdBytes(com.google.protobuf.ByteString value)
string organization_id = 5;- Parameters:
value- The bytes for organizationId to set.- Returns:
- This builder for chaining.
-
-