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
@Generated
public interface CreateModelRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
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
-
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];
-