Package com.google.cloud.vision.v1
Interface TextAnnotation.DetectedBreakOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TextAnnotation.DetectedBreak,TextAnnotation.DetectedBreak.Builder
- Enclosing class:
- TextAnnotation
public static interface TextAnnotation.DetectedBreakOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanTrue if break prepends the element.getType()Detected break type.intDetected break type.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
-
getTypeValue
int getTypeValue()Detected break type.
.google.cloud.vision.v1.TextAnnotation.DetectedBreak.BreakType type = 1;- Returns:
- The enum numeric value on the wire for type.
-
getType
TextAnnotation.DetectedBreak.BreakType getType()Detected break type.
.google.cloud.vision.v1.TextAnnotation.DetectedBreak.BreakType type = 1;- Returns:
- The type.
-
getIsPrefix
boolean getIsPrefix()True if break prepends the element.
bool is_prefix = 2;- Returns:
- The isPrefix.
-