public interface ClassificationModelOptionsOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
ClassificationModelOptions.ModelTypeCase |
getModelTypeCase() |
ClassificationModelOptions.V1Model |
getV1Model()
Setting this field will use the V1 model and V1 content categories
version.
|
ClassificationModelOptions.V1ModelOrBuilder |
getV1ModelOrBuilder()
Setting this field will use the V1 model and V1 content categories
version.
|
ClassificationModelOptions.V2Model |
getV2Model()
Setting this field will use the V2 model with the appropriate content
categories version.
|
ClassificationModelOptions.V2ModelOrBuilder |
getV2ModelOrBuilder()
Setting this field will use the V2 model with the appropriate content
categories version.
|
boolean |
hasV1Model()
Setting this field will use the V1 model and V1 content categories
version.
|
boolean |
hasV2Model()
Setting this field will use the V2 model with the appropriate content
categories version.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean 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;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;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;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;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;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;ClassificationModelOptions.ModelTypeCase getModelTypeCase()
Copyright © 2024 Google LLC. All rights reserved.