Interface ClassificationModelOptions.V2ModelOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ClassificationModelOptions.V2Model, ClassificationModelOptions.V2Model.Builder
Enclosing class:
ClassificationModelOptions

public static interface ClassificationModelOptions.V2ModelOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The content categories used for classification.
    int
    The content categories used for classification.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getContentCategoriesVersionValue

      int getContentCategoriesVersionValue()
       The content categories used for classification.
       
      .google.cloud.language.v1.ClassificationModelOptions.V2Model.ContentCategoriesVersion content_categories_version = 1;
      Returns:
      The enum numeric value on the wire for contentCategoriesVersion.
    • getContentCategoriesVersion

       The content categories used for classification.
       
      .google.cloud.language.v1.ClassificationModelOptions.V2Model.ContentCategoriesVersion content_categories_version = 1;
      Returns:
      The contentCategoriesVersion.