Package com.google.cloud.visionai.v1
Interface UpdateAnnotationRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UpdateAnnotationRequest,UpdateAnnotationRequest.Builder
@Generated
public interface UpdateAnnotationRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.Required.com.google.protobuf.FieldMaskThe list of fields to be updated.com.google.protobuf.FieldMaskOrBuilderThe list of fields to be updated.booleanRequired.booleanThe list of fields to be updated.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasAnnotation
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:
- Whether the annotation field is set.
-
getAnnotation
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:
- The annotation.
-
getAnnotationOrBuilder
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]; -
hasUpdateMask
boolean hasUpdateMask()The list of fields to be updated.
.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.
.google.protobuf.FieldMask update_mask = 2;- Returns:
- The updateMask.
-
getUpdateMaskOrBuilder
com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()The list of fields to be updated.
.google.protobuf.FieldMask update_mask = 2;
-