Interface UpdateCollectionRequestOrBuilder

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

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

    Modifier and Type
    Method
    Description
    Required.
    Required.
    com.google.protobuf.FieldMask
    The list of fields to be updated
    com.google.protobuf.FieldMaskOrBuilder
    The list of fields to be updated
    boolean
    Required.
    boolean
    The list of fields to be updated

    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

    • hasCollection

      boolean hasCollection()
       Required. The collection to update.
      
       The collection's `name` field is used to identify the collection to be
       updated. Format:
       `projects/{project_number}/locations/{location}/corpora/{corpus}/collections/{collection}`
       
      .google.cloud.visionai.v1.Collection collection = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the collection field is set.
    • getCollection

      Collection getCollection()
       Required. The collection to update.
      
       The collection's `name` field is used to identify the collection to be
       updated. Format:
       `projects/{project_number}/locations/{location}/corpora/{corpus}/collections/{collection}`
       
      .google.cloud.visionai.v1.Collection collection = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The collection.
    • getCollectionOrBuilder

      CollectionOrBuilder getCollectionOrBuilder()
       Required. The collection to update.
      
       The collection's `name` field is used to identify the collection to be
       updated. Format:
       `projects/{project_number}/locations/{location}/corpora/{corpus}/collections/{collection}`
       
      .google.cloud.visionai.v1.Collection collection = 1 [(.google.api.field_behavior) = REQUIRED];
    • hasUpdateMask

      boolean hasUpdateMask()
       The list of fields to be updated.
       - Unset `update_mask` or set `update_mask` to be a single "*" only will
       update all updatable fields with the value provided in `collection`.
       - To update `display_name` value to empty string, set it in the
       `collection`
       to empty string, and set `update_mask` with "display_name". Same applies
       to other updatable string fields in the `collection`.
       
      .google.protobuf.FieldMask update_mask = 2;
      Returns:
      Whether the updateMask field is set.
    • getUpdateMask

      com.google.protobuf.FieldMask getUpdateMask()
       The list of fields to be updated.
       - Unset `update_mask` or set `update_mask` to be a single "*" only will
       update all updatable fields with the value provided in `collection`.
       - To update `display_name` value to empty string, set it in the
       `collection`
       to empty string, and set `update_mask` with "display_name". Same applies
       to other updatable string fields in the `collection`.
       
      .google.protobuf.FieldMask update_mask = 2;
      Returns:
      The updateMask.
    • getUpdateMaskOrBuilder

      com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
       The list of fields to be updated.
       - Unset `update_mask` or set `update_mask` to be a single "*" only will
       update all updatable fields with the value provided in `collection`.
       - To update `display_name` value to empty string, set it in the
       `collection`
       to empty string, and set `update_mask` with "display_name". Same applies
       to other updatable string fields in the `collection`.
       
      .google.protobuf.FieldMask update_mask = 2;