Package com.google.cloud.language.v1
Interface ClassificationModelOptionsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ClassificationModelOptions,ClassificationModelOptions.Builder
@Generated
public interface ClassificationModelOptionsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionSetting this field will use the V1 model and V1 content categories version.Setting this field will use the V1 model and V1 content categories version.Setting this field will use the V2 model with the appropriate content categories version.Setting this field will use the V2 model with the appropriate content categories version.booleanSetting this field will use the V1 model and V1 content categories version.booleanSetting this field will use the V2 model with the appropriate content categories version.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
-
hasV1Model
boolean hasV1Model()Setting this field will use the V1 model and V1 content categories version. The V1 model is a legacy model; support for this will be discontinued in the future.
.google.cloud.language.v1.ClassificationModelOptions.V1Model v1_model = 1;- Returns:
- Whether the v1Model field is set.
-
getV1Model
ClassificationModelOptions.V1Model getV1Model()Setting this field will use the V1 model and V1 content categories version. The V1 model is a legacy model; support for this will be discontinued in the future.
.google.cloud.language.v1.ClassificationModelOptions.V1Model v1_model = 1;- Returns:
- The v1Model.
-
getV1ModelOrBuilder
ClassificationModelOptions.V1ModelOrBuilder getV1ModelOrBuilder()Setting this field will use the V1 model and V1 content categories version. The V1 model is a legacy model; support for this will be discontinued in the future.
.google.cloud.language.v1.ClassificationModelOptions.V1Model v1_model = 1; -
hasV2Model
boolean hasV2Model()Setting this field will use the V2 model with the appropriate content categories version. The V2 model is a better performing model.
.google.cloud.language.v1.ClassificationModelOptions.V2Model v2_model = 2;- Returns:
- Whether the v2Model field is set.
-
getV2Model
ClassificationModelOptions.V2Model getV2Model()Setting this field will use the V2 model with the appropriate content categories version. The V2 model is a better performing model.
.google.cloud.language.v1.ClassificationModelOptions.V2Model v2_model = 2;- Returns:
- The v2Model.
-
getV2ModelOrBuilder
ClassificationModelOptions.V2ModelOrBuilder getV2ModelOrBuilder()Setting this field will use the V2 model with the appropriate content categories version. The V2 model is a better performing model.
.google.cloud.language.v1.ClassificationModelOptions.V2Model v2_model = 2; -
getModelTypeCase
ClassificationModelOptions.ModelTypeCase getModelTypeCase()
-