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 [json_name = "deviceToken"];SendTestRequest.BuilderclearNotification().streamlayer.pushNotification.TestPushNotification notification = 4 [json_name = "notification"];SendTestRequest.BuilderclearOrganizationId()string organization_id = 5 [json_name = "organizationId"];SendTestRequest.BuilderclearType()string type = 3 [json_name = "type"];SendTestRequest.BuilderclearUsername()string username = 2 [json_name = "username"];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"];SendTestRequest.BuildermergeNotification(TestPushNotification value).streamlayer.pushNotification.TestPushNotification notification = 4 [json_name = "notification"];SendTestRequest.BuildersetDeviceToken(java.lang.String value)string device_token = 1 [json_name = "deviceToken"];SendTestRequest.BuildersetDeviceTokenBytes(com.google.protobuf.ByteString value)string device_token = 1 [json_name = "deviceToken"];SendTestRequest.BuildersetNotification(TestPushNotification value).streamlayer.pushNotification.TestPushNotification notification = 4 [json_name = "notification"];SendTestRequest.BuildersetNotification(TestPushNotification.Builder builderForValue).streamlayer.pushNotification.TestPushNotification notification = 4 [json_name = "notification"];SendTestRequest.BuildersetOrganizationId(java.lang.String value)string organization_id = 5 [json_name = "organizationId"];SendTestRequest.BuildersetOrganizationIdBytes(com.google.protobuf.ByteString value)string organization_id = 5 [json_name = "organizationId"];SendTestRequest.BuildersetType(java.lang.String value)string type = 3 [json_name = "type"];SendTestRequest.BuildersetTypeBytes(com.google.protobuf.ByteString value)string type = 3 [json_name = "type"];SendTestRequest.BuildersetUsername(java.lang.String value)string username = 2 [json_name = "username"];SendTestRequest.BuildersetUsernameBytes(com.google.protobuf.ByteString value)string username = 2 [json_name = "username"];-
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 [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.
-
setDeviceToken
public SendTestRequest.Builder setDeviceToken(java.lang.String value)
string device_token = 1 [json_name = "deviceToken"];- Parameters:
value- The deviceToken to set.- Returns:
- This builder for chaining.
-
clearDeviceToken
public SendTestRequest.Builder clearDeviceToken()
string device_token = 1 [json_name = "deviceToken"];- Returns:
- This builder for chaining.
-
setDeviceTokenBytes
public SendTestRequest.Builder setDeviceTokenBytes(com.google.protobuf.ByteString value)
string device_token = 1 [json_name = "deviceToken"];- Parameters:
value- The bytes for deviceToken to set.- Returns:
- This builder for chaining.
-
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.
-
setUsername
public SendTestRequest.Builder setUsername(java.lang.String value)
string username = 2 [json_name = "username"];- Parameters:
value- The username to set.- Returns:
- This builder for chaining.
-
clearUsername
public SendTestRequest.Builder clearUsername()
string username = 2 [json_name = "username"];- Returns:
- This builder for chaining.
-
setUsernameBytes
public SendTestRequest.Builder setUsernameBytes(com.google.protobuf.ByteString value)
string username = 2 [json_name = "username"];- Parameters:
value- The bytes for username to set.- Returns:
- This builder for chaining.
-
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.
-
setType
public SendTestRequest.Builder setType(java.lang.String value)
string type = 3 [json_name = "type"];- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
public SendTestRequest.Builder clearType()
string type = 3 [json_name = "type"];- Returns:
- This builder for chaining.
-
setTypeBytes
public SendTestRequest.Builder setTypeBytes(com.google.protobuf.ByteString value)
string type = 3 [json_name = "type"];- Parameters:
value- The bytes for type to set.- Returns:
- This builder for chaining.
-
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.
-
setNotification
public SendTestRequest.Builder setNotification(TestPushNotification value)
.streamlayer.pushNotification.TestPushNotification notification = 4 [json_name = "notification"];
-
setNotification
public SendTestRequest.Builder setNotification(TestPushNotification.Builder builderForValue)
.streamlayer.pushNotification.TestPushNotification notification = 4 [json_name = "notification"];
-
mergeNotification
public SendTestRequest.Builder mergeNotification(TestPushNotification value)
.streamlayer.pushNotification.TestPushNotification notification = 4 [json_name = "notification"];
-
clearNotification
public SendTestRequest.Builder clearNotification()
.streamlayer.pushNotification.TestPushNotification notification = 4 [json_name = "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.
-
setOrganizationId
public SendTestRequest.Builder setOrganizationId(java.lang.String value)
string organization_id = 5 [json_name = "organizationId"];- Parameters:
value- The organizationId to set.- Returns:
- This builder for chaining.
-
clearOrganizationId
public SendTestRequest.Builder clearOrganizationId()
string organization_id = 5 [json_name = "organizationId"];- Returns:
- This builder for chaining.
-
setOrganizationIdBytes
public SendTestRequest.Builder setOrganizationIdBytes(com.google.protobuf.ByteString value)
string organization_id = 5 [json_name = "organizationId"];- Parameters:
value- The bytes for organizationId to set.- Returns:
- This builder for chaining.
-
-