Class SendTestRequest.Builder

    • Method Detail

      • getDeviceTokenBytes

        public com.google.protobuf.ByteString getDeviceTokenBytes()
        string device_token = 1;
        Specified by:
        getDeviceTokenBytes in interface SendTestRequestOrBuilder
        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.
      • getUsernameBytes

        public com.google.protobuf.ByteString getUsernameBytes()
        string username = 2;
        Specified by:
        getUsernameBytes in interface SendTestRequestOrBuilder
        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.
      • getTypeBytes

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

        public SendTestRequest.Builder clearNotification()
        .streamlayer.pushNotification.TestPushNotification notification = 4;
      • getOrganizationIdBytes

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