Class AddToModerationsRequest.Builder

    • Method Detail

      • getOrganizationIdBytes

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

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

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

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

        public java.util.List<java.lang.String> getTemplateIdsList()
        repeated string template_ids = 2 [json_name = "templateIds"];
        Specified by:
        getTemplateIdsList in interface AddToModerationsRequestOrBuilder
        Returns:
        A list containing the templateIds.
      • getTemplateIds

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

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

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

        public AddToModerationsRequest.Builder addTemplateIds​(java.lang.String value)
        repeated string template_ids = 2 [json_name = "templateIds"];
        Parameters:
        value - The templateIds to add.
        Returns:
        This builder for chaining.
      • addAllTemplateIds

        public AddToModerationsRequest.Builder addAllTemplateIds​(java.lang.Iterable<java.lang.String> values)
        repeated string template_ids = 2 [json_name = "templateIds"];
        Parameters:
        values - The templateIds to add.
        Returns:
        This builder for chaining.
      • clearTemplateIds

        public AddToModerationsRequest.Builder clearTemplateIds()
        repeated string template_ids = 2 [json_name = "templateIds"];
        Returns:
        This builder for chaining.
      • addTemplateIdsBytes

        public AddToModerationsRequest.Builder addTemplateIdsBytes​(com.google.protobuf.ByteString value)
        repeated string template_ids = 2 [json_name = "templateIds"];
        Parameters:
        value - The bytes of the templateIds to add.
        Returns:
        This builder for chaining.
      • getModerationIdsList

        public java.util.List<java.lang.String> getModerationIdsList()
        repeated string moderation_ids = 3 [json_name = "moderationIds"];
        Specified by:
        getModerationIdsList in interface AddToModerationsRequestOrBuilder
        Returns:
        A list containing the moderationIds.
      • getModerationIds

        public java.lang.String getModerationIds​(int index)
        repeated string moderation_ids = 3 [json_name = "moderationIds"];
        Specified by:
        getModerationIds in interface AddToModerationsRequestOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The moderationIds at the given index.
      • getModerationIdsBytes

        public com.google.protobuf.ByteString getModerationIdsBytes​(int index)
        repeated string moderation_ids = 3 [json_name = "moderationIds"];
        Specified by:
        getModerationIdsBytes in interface AddToModerationsRequestOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the moderationIds at the given index.
      • setModerationIds

        public AddToModerationsRequest.Builder setModerationIds​(int index,
                                                                java.lang.String value)
        repeated string moderation_ids = 3 [json_name = "moderationIds"];
        Parameters:
        index - The index to set the value at.
        value - The moderationIds to set.
        Returns:
        This builder for chaining.
      • addModerationIds

        public AddToModerationsRequest.Builder addModerationIds​(java.lang.String value)
        repeated string moderation_ids = 3 [json_name = "moderationIds"];
        Parameters:
        value - The moderationIds to add.
        Returns:
        This builder for chaining.
      • addAllModerationIds

        public AddToModerationsRequest.Builder addAllModerationIds​(java.lang.Iterable<java.lang.String> values)
        repeated string moderation_ids = 3 [json_name = "moderationIds"];
        Parameters:
        values - The moderationIds to add.
        Returns:
        This builder for chaining.
      • clearModerationIds

        public AddToModerationsRequest.Builder clearModerationIds()
        repeated string moderation_ids = 3 [json_name = "moderationIds"];
        Returns:
        This builder for chaining.
      • addModerationIdsBytes

        public AddToModerationsRequest.Builder addModerationIdsBytes​(com.google.protobuf.ByteString value)
        repeated string moderation_ids = 3 [json_name = "moderationIds"];
        Parameters:
        value - The bytes of the moderationIds to add.
        Returns:
        This builder for chaining.