Interface UpdateCollectionRequestOrBuilder (0.2.0)

public interface UpdateCollectionRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCollection()

public abstract 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
Type Description
Collection

The collection.

getCollectionOrBuilder()

public abstract 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];

Returns
Type Description
CollectionOrBuilder

getUpdateMask()

public abstract 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
Type Description
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public abstract 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;

Returns
Type Description
FieldMaskOrBuilder

hasCollection()

public abstract 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
Type Description
boolean

Whether the collection field is set.

hasUpdateMask()

public abstract 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
Type Description
boolean

Whether the updateMask field is set.