Interface CreateReferenceImageRequestOrBuilder

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

@Generated public interface CreateReferenceImageRequestOrBuilder 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 the ReferenceImage to be added.
    com.google.protobuf.ByteString
    A user-supplied resource id for the ReferenceImage to be added.
    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. Resource name of the product in which to create the reference
       image.
      
       Format is
       `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`.
       
      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 product in which to create the reference
       image.
      
       Format is
       `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for parent.
    • hasReferenceImage

      boolean hasReferenceImage()
       Required. The reference image to create.
       If an image ID is specified, it is ignored.
       
      .google.cloud.vision.v1.ReferenceImage reference_image = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the referenceImage field is set.
    • getReferenceImage

      ReferenceImage getReferenceImage()
       Required. The reference image to create.
       If an image ID is specified, it is ignored.
       
      .google.cloud.vision.v1.ReferenceImage reference_image = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The referenceImage.
    • getReferenceImageOrBuilder

      ReferenceImageOrBuilder getReferenceImageOrBuilder()
       Required. The reference image to create.
       If an image ID is specified, it is ignored.
       
      .google.cloud.vision.v1.ReferenceImage reference_image = 2 [(.google.api.field_behavior) = REQUIRED];
    • getReferenceImageId

      String getReferenceImageId()
       A user-supplied resource id for the ReferenceImage to be added. 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 reference_image_id = 3;
      Returns:
      The referenceImageId.
    • getReferenceImageIdBytes

      com.google.protobuf.ByteString getReferenceImageIdBytes()
       A user-supplied resource id for the ReferenceImage to be added. 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 reference_image_id = 3;
      Returns:
      The bytes for referenceImageId.