Interface ModerateTextResponseOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ModerateTextResponse, ModerateTextResponse.Builder

@Generated public interface ModerateTextResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getModerationCategoriesList

      List<ClassificationCategory> getModerationCategoriesList()
       Harmful and sensitive categories representing the input document.
       
      repeated .google.cloud.language.v1.ClassificationCategory moderation_categories = 1;
    • getModerationCategories

      ClassificationCategory getModerationCategories(int index)
       Harmful and sensitive categories representing the input document.
       
      repeated .google.cloud.language.v1.ClassificationCategory moderation_categories = 1;
    • getModerationCategoriesCount

      int getModerationCategoriesCount()
       Harmful and sensitive categories representing the input document.
       
      repeated .google.cloud.language.v1.ClassificationCategory moderation_categories = 1;
    • getModerationCategoriesOrBuilderList

      List<? extends ClassificationCategoryOrBuilder> getModerationCategoriesOrBuilderList()
       Harmful and sensitive categories representing the input document.
       
      repeated .google.cloud.language.v1.ClassificationCategory moderation_categories = 1;
    • getModerationCategoriesOrBuilder

      ClassificationCategoryOrBuilder getModerationCategoriesOrBuilder(int index)
       Harmful and sensitive categories representing the input document.
       
      repeated .google.cloud.language.v1.ClassificationCategory moderation_categories = 1;