Package com.google.cloud.visionai.v1
Interface AnnotationCustomizedStructOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AnnotationCustomizedStruct,AnnotationCustomizedStruct.Builder
@Generated
public interface AnnotationCustomizedStructOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsElements(String key) A map from elements' keys to element's annotation value.Deprecated.intA map from elements' keys to element's annotation value.A map from elements' keys to element's annotation value.getElementsOrDefault(String key, AnnotationValue defaultValue) A map from elements' keys to element's annotation value.getElementsOrThrow(String key) A map from elements' keys to element's annotation value.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
-
getElementsCount
int getElementsCount()A map from elements' keys to element's annotation value.
map<string, .google.cloud.visionai.v1.AnnotationValue> elements = 2; -
containsElements
A map from elements' keys to element's annotation value.
map<string, .google.cloud.visionai.v1.AnnotationValue> elements = 2; -
getElements
Deprecated.UsegetElementsMap()instead. -
getElementsMap
Map<String,AnnotationValue> getElementsMap()A map from elements' keys to element's annotation value.
map<string, .google.cloud.visionai.v1.AnnotationValue> elements = 2; -
getElementsOrDefault
A map from elements' keys to element's annotation value.
map<string, .google.cloud.visionai.v1.AnnotationValue> elements = 2; -
getElementsOrThrow
A map from elements' keys to element's annotation value.
map<string, .google.cloud.visionai.v1.AnnotationValue> elements = 2;
-