Class SendTestRequest.Builder

    • Method Detail

      • getDeviceToken

        public java.lang.String getDeviceToken()
        string device_token = 1 [json_name = "deviceToken"];
        Specified by:
        getDeviceToken in interface SendTestRequestOrBuilder
        Returns:
        The deviceToken.
      • getDeviceTokenBytes

        public com.google.protobuf.ByteString getDeviceTokenBytes()
        string device_token = 1 [json_name = "deviceToken"];
        Specified by:
        getDeviceTokenBytes in interface SendTestRequestOrBuilder
        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:
        getUsername in interface SendTestRequestOrBuilder
        Returns:
        The username.
      • getUsernameBytes

        public com.google.protobuf.ByteString getUsernameBytes()
        string username = 2 [json_name = "username"];
        Specified by:
        getUsernameBytes in interface SendTestRequestOrBuilder
        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:
        getType in interface SendTestRequestOrBuilder
        Returns:
        The type.
      • getTypeBytes

        public com.google.protobuf.ByteString getTypeBytes()
        string type = 3 [json_name = "type"];
        Specified by:
        getTypeBytes in interface SendTestRequestOrBuilder
        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:
        hasNotification in interface SendTestRequestOrBuilder
        Returns:
        Whether the notification field is set.
      • 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:
        getOrganizationId in interface SendTestRequestOrBuilder
        Returns:
        The organizationId.
      • getOrganizationIdBytes

        public com.google.protobuf.ByteString getOrganizationIdBytes()
        string organization_id = 5 [json_name = "organizationId"];
        Specified by:
        getOrganizationIdBytes in interface SendTestRequestOrBuilder
        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.