Package com.google.cloud.retail.v2alpha
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. The parent resource under which to create the model. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}`string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.ByteString getParentBytes()Required. The parent resource under which to create the model. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}`string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for parent.
-
hasModel
boolean hasModel()Required. The payload of the [Model][google.cloud.retail.v2alpha.Model] to create.
.google.cloud.retail.v2alpha.Model model = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the model field is set.
-
getModel
Model getModel()Required. The payload of the [Model][google.cloud.retail.v2alpha.Model] to create.
.google.cloud.retail.v2alpha.Model model = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The model.
-
getModelOrBuilder
ModelOrBuilder getModelOrBuilder()Required. The payload of the [Model][google.cloud.retail.v2alpha.Model] to create.
.google.cloud.retail.v2alpha.Model model = 2 [(.google.api.field_behavior) = REQUIRED]; -
getDryRun
boolean getDryRun()Optional. Whether to run a dry run to validate the request (without actually creating the model).
bool dry_run = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The dryRun.
-