Interface CreateProductSetRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
CreateProductSetRequest, CreateProductSetRequest.Builder

@Generated public interface CreateProductSetRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Required.
    com.google.protobuf.ByteString
    Required.
    Required.
    A user-supplied resource id for this ProductSet.
    com.google.protobuf.ByteString
    A user-supplied resource id for this ProductSet.
    Required.
    boolean
    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 Details

    • getParent

      String getParent()
       Required. The project in which the ProductSet should be created.
      
       Format is `projects/PROJECT_ID/locations/LOC_ID`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The parent.
    • getParentBytes

      com.google.protobuf.ByteString getParentBytes()
       Required. The project in which the ProductSet should be created.
      
       Format is `projects/PROJECT_ID/locations/LOC_ID`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for parent.
    • hasProductSet

      boolean hasProductSet()
       Required. The ProductSet to create.
       
      .google.cloud.vision.v1.ProductSet product_set = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the productSet field is set.
    • getProductSet

      ProductSet getProductSet()
       Required. The ProductSet to create.
       
      .google.cloud.vision.v1.ProductSet product_set = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The productSet.
    • getProductSetOrBuilder

      ProductSetOrBuilder getProductSetOrBuilder()
       Required. The ProductSet to create.
       
      .google.cloud.vision.v1.ProductSet product_set = 2 [(.google.api.field_behavior) = REQUIRED];
    • getProductSetId

      String getProductSetId()
       A user-supplied resource id for this ProductSet. If set, the server will
       attempt to use this value as the resource id. If it is already in use, an
       error is returned with code ALREADY_EXISTS. Must be at most 128 characters
       long. It cannot contain the character `/`.
       
      string product_set_id = 3;
      Returns:
      The productSetId.
    • getProductSetIdBytes

      com.google.protobuf.ByteString getProductSetIdBytes()
       A user-supplied resource id for this ProductSet. If set, the server will
       attempt to use this value as the resource id. If it is already in use, an
       error is returned with code ALREADY_EXISTS. Must be at most 128 characters
       long. It cannot contain the character `/`.
       
      string product_set_id = 3;
      Returns:
      The bytes for productSetId.