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
@Generated
public interface ModerateTextResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetModerationCategories(int index) Harmful and sensitive categories representing the input document.intHarmful and sensitive categories representing the input document.Harmful and sensitive categories representing the input document.getModerationCategoriesOrBuilder(int index) Harmful and sensitive categories representing the input document.List<? extends ClassificationCategoryOrBuilder>Harmful and sensitive categories representing the input document.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getModerationCategoriesList
List<ClassificationCategory> getModerationCategoriesList()Harmful and sensitive categories representing the input document.
repeated .google.cloud.language.v1.ClassificationCategory moderation_categories = 1; -
getModerationCategories
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
Harmful and sensitive categories representing the input document.
repeated .google.cloud.language.v1.ClassificationCategory moderation_categories = 1;
-