public interface UpdateCollectionRequestOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
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 setupdate_mask
to be a single "*" only will update all updatable fields with the value provided incollection
. - To update
display_name
value to empty string, set it in thecollection
to empty string, and setupdate_mask
with "display_name". Same applies to other updatable string fields in thecollection
.
.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 setupdate_mask
to be a single "*" only will update all updatable fields with the value provided incollection
. - To update
display_name
value to empty string, set it in thecollection
to empty string, and setupdate_mask
with "display_name". Same applies to other updatable string fields in thecollection
.
.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 setupdate_mask
to be a single "*" only will update all updatable fields with the value provided incollection
. - To update
display_name
value to empty string, set it in thecollection
to empty string, and setupdate_mask
with "display_name". Same applies to other updatable string fields in thecollection
.
.google.protobuf.FieldMask update_mask = 2;
Returns | |
---|---|
Type | Description |
boolean |
Whether the updateMask field is set. |