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
      boolean getDryRun()
      Optional.
      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.MessageLiteOrBuilder

        isInitialized
      • 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. 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.v2.Model]  to
         create.
         
        .google.cloud.retail.v2.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.v2.Model]  to
         create.
         
        .google.cloud.retail.v2.Model model = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The model.
      • getModelOrBuilder

        ModelOrBuilder getModelOrBuilder()
         Required. The payload of the [Model][google.cloud.retail.v2.Model]  to
         create.
         
        .google.cloud.retail.v2.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.