Package com.google.cloud.language.v1
Interface ModerateTextResponseOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ModerateTextResponse
,ModerateTextResponse.Builder
public interface ModerateTextResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ClassificationCategory
getModerationCategories(int index)
Harmful and sensitive categories representing the input document.int
getModerationCategoriesCount()
Harmful and sensitive categories representing the input document.List<ClassificationCategory>
getModerationCategoriesList()
Harmful and sensitive categories representing the input document.ClassificationCategoryOrBuilder
getModerationCategoriesOrBuilder(int index)
Harmful and sensitive categories representing the input document.List<? extends ClassificationCategoryOrBuilder>
getModerationCategoriesOrBuilderList()
Harmful and sensitive categories representing the input document.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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;
-
-