Interface UpdateAnnotationRequestOrBuilder (0.10.0)

public interface UpdateAnnotationRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAnnotation()

public abstract Annotation getAnnotation()

Required. The annotation to update. The annotation's name field is used to identify the annotation to be updated. Format: projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset}/annotations/{annotation}

.google.cloud.visionai.v1.Annotation annotation = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Annotation

The annotation.

getAnnotationOrBuilder()

public abstract AnnotationOrBuilder getAnnotationOrBuilder()

Required. The annotation to update. The annotation's name field is used to identify the annotation to be updated. Format: projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset}/annotations/{annotation}

.google.cloud.visionai.v1.Annotation annotation = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AnnotationOrBuilder

getUpdateMask()

public abstract FieldMask getUpdateMask()

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public abstract FieldMaskOrBuilder getUpdateMaskOrBuilder()

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMaskOrBuilder

hasAnnotation()

public abstract boolean hasAnnotation()

Required. The annotation to update. The annotation's name field is used to identify the annotation to be updated. Format: projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset}/annotations/{annotation}

.google.cloud.visionai.v1.Annotation annotation = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the annotation field is set.

hasUpdateMask()

public abstract boolean hasUpdateMask()

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
boolean

Whether the updateMask field is set.