Package com.google.cloud.automl.v1
Interface CreateModelRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateModelRequest
,CreateModelRequest.Builder
public interface CreateModelRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Model
getModel()
Required.ModelOrBuilder
getModelOrBuilder()
Required.String
getParent()
Required.com.google.protobuf.ByteString
getParentBytes()
Required.boolean
hasModel()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getParent
String getParent()
Required. Resource name of the parent project where the model is being created.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.ByteString getParentBytes()
Required. Resource name of the parent project where the model is being created.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The bytes for parent.
-
hasModel
boolean hasModel()
Required. The model to create.
.google.cloud.automl.v1.Model model = 4 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- Whether the model field is set.
-
getModel
Model getModel()
Required. The model to create.
.google.cloud.automl.v1.Model model = 4 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The model.
-
getModelOrBuilder
ModelOrBuilder getModelOrBuilder()
Required. The model to create.
.google.cloud.automl.v1.Model model = 4 [(.google.api.field_behavior) = REQUIRED];
-
-