Package com.google.cloud.visionai.v1
Interface AnnotationOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Annotation,Annotation.Builder
@Generated
public interface AnnotationOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetName()Resource name of the annotation.com.google.protobuf.ByteStringResource name of the annotation.User provided annotation.User provided annotation.booleanUser provided annotation.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
-
getName
String getName()Resource name of the annotation. Format: `projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset}/annotations/{annotation}`string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Resource name of the annotation. Format: `projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset}/annotations/{annotation}`string name = 1;- Returns:
- The bytes for name.
-
hasUserSpecifiedAnnotation
boolean hasUserSpecifiedAnnotation()User provided annotation.
.google.cloud.visionai.v1.UserSpecifiedAnnotation user_specified_annotation = 2;- Returns:
- Whether the userSpecifiedAnnotation field is set.
-
getUserSpecifiedAnnotation
UserSpecifiedAnnotation getUserSpecifiedAnnotation()User provided annotation.
.google.cloud.visionai.v1.UserSpecifiedAnnotation user_specified_annotation = 2;- Returns:
- The userSpecifiedAnnotation.
-
getUserSpecifiedAnnotationOrBuilder
UserSpecifiedAnnotationOrBuilder getUserSpecifiedAnnotationOrBuilder()User provided annotation.
.google.cloud.visionai.v1.UserSpecifiedAnnotation user_specified_annotation = 2;
-