Class DeleteRequest.Builder

    • Method Detail

      • getId

        public java.lang.String getId()
        string id = 1 [json_name = "id"];
        Specified by:
        getId in interface DeleteRequestOrBuilder
        Returns:
        The id.
      • getIdBytes

        public com.google.protobuf.ByteString getIdBytes()
        string id = 1 [json_name = "id"];
        Specified by:
        getIdBytes in interface DeleteRequestOrBuilder
        Returns:
        The bytes for id.
      • setId

        public DeleteRequest.Builder setId​(java.lang.String value)
        string id = 1 [json_name = "id"];
        Parameters:
        value - The id to set.
        Returns:
        This builder for chaining.
      • clearId

        public DeleteRequest.Builder clearId()
        string id = 1 [json_name = "id"];
        Returns:
        This builder for chaining.
      • setIdBytes

        public DeleteRequest.Builder setIdBytes​(com.google.protobuf.ByteString value)
        string id = 1 [json_name = "id"];
        Parameters:
        value - The bytes for id to set.
        Returns:
        This builder for chaining.
      • getIdsList

        public java.util.List<java.lang.String> getIdsList()
        repeated string ids = 2 [json_name = "ids"];
        Specified by:
        getIdsList in interface DeleteRequestOrBuilder
        Returns:
        A list containing the ids.
      • getIdsCount

        public int getIdsCount()
        repeated string ids = 2 [json_name = "ids"];
        Specified by:
        getIdsCount in interface DeleteRequestOrBuilder
        Returns:
        The count of ids.
      • getIds

        public java.lang.String getIds​(int index)
        repeated string ids = 2 [json_name = "ids"];
        Specified by:
        getIds in interface DeleteRequestOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The ids at the given index.
      • getIdsBytes

        public com.google.protobuf.ByteString getIdsBytes​(int index)
        repeated string ids = 2 [json_name = "ids"];
        Specified by:
        getIdsBytes in interface DeleteRequestOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the ids at the given index.
      • setIds

        public DeleteRequest.Builder setIds​(int index,
                                            java.lang.String value)
        repeated string ids = 2 [json_name = "ids"];
        Parameters:
        index - The index to set the value at.
        value - The ids to set.
        Returns:
        This builder for chaining.
      • addIds

        public DeleteRequest.Builder addIds​(java.lang.String value)
        repeated string ids = 2 [json_name = "ids"];
        Parameters:
        value - The ids to add.
        Returns:
        This builder for chaining.
      • addAllIds

        public DeleteRequest.Builder addAllIds​(java.lang.Iterable<java.lang.String> values)
        repeated string ids = 2 [json_name = "ids"];
        Parameters:
        values - The ids to add.
        Returns:
        This builder for chaining.
      • clearIds

        public DeleteRequest.Builder clearIds()
        repeated string ids = 2 [json_name = "ids"];
        Returns:
        This builder for chaining.
      • addIdsBytes

        public DeleteRequest.Builder addIdsBytes​(com.google.protobuf.ByteString value)
        repeated string ids = 2 [json_name = "ids"];
        Parameters:
        value - The bytes of the ids to add.
        Returns:
        This builder for chaining.
      • getOrganizationId

        public java.lang.String getOrganizationId()
        string organization_id = 3 [json_name = "organizationId"];
        Specified by:
        getOrganizationId in interface DeleteRequestOrBuilder
        Returns:
        The organizationId.
      • getOrganizationIdBytes

        public com.google.protobuf.ByteString getOrganizationIdBytes()
        string organization_id = 3 [json_name = "organizationId"];
        Specified by:
        getOrganizationIdBytes in interface DeleteRequestOrBuilder
        Returns:
        The bytes for organizationId.
      • setOrganizationId

        public DeleteRequest.Builder setOrganizationId​(java.lang.String value)
        string organization_id = 3 [json_name = "organizationId"];
        Parameters:
        value - The organizationId to set.
        Returns:
        This builder for chaining.
      • clearOrganizationId

        public DeleteRequest.Builder clearOrganizationId()
        string organization_id = 3 [json_name = "organizationId"];
        Returns:
        This builder for chaining.
      • setOrganizationIdBytes

        public DeleteRequest.Builder setOrganizationIdBytes​(com.google.protobuf.ByteString value)
        string organization_id = 3 [json_name = "organizationId"];
        Parameters:
        value - The bytes for organizationId to set.
        Returns:
        This builder for chaining.
      • hasServerNotification

        public boolean hasServerNotification()
        .streamlayer.interactive.ServerNotificationOptions server_notification = 4 [json_name = "serverNotification"];
        Specified by:
        hasServerNotification in interface DeleteRequestOrBuilder
        Returns:
        Whether the serverNotification field is set.
      • clearServerNotification

        public DeleteRequest.Builder clearServerNotification()
        .streamlayer.interactive.ServerNotificationOptions server_notification = 4 [json_name = "serverNotification"];
      • getPermanent

        public boolean getPermanent()
         permanent: if supplied the question will be deleted permanently,
         e.g. it will not be available in a list of recently deleted items (see "show_deleted" in ListRequestFilter)
         
        bool permanent = 5 [json_name = "permanent"];
        Specified by:
        getPermanent in interface DeleteRequestOrBuilder
        Returns:
        The permanent.
      • setPermanent

        public DeleteRequest.Builder setPermanent​(boolean value)
         permanent: if supplied the question will be deleted permanently,
         e.g. it will not be available in a list of recently deleted items (see "show_deleted" in ListRequestFilter)
         
        bool permanent = 5 [json_name = "permanent"];
        Parameters:
        value - The permanent to set.
        Returns:
        This builder for chaining.
      • clearPermanent

        public DeleteRequest.Builder clearPermanent()
         permanent: if supplied the question will be deleted permanently,
         e.g. it will not be available in a list of recently deleted items (see "show_deleted" in ListRequestFilter)
         
        bool permanent = 5 [json_name = "permanent"];
        Returns:
        This builder for chaining.