public interface AnnotationCustomizedStructOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
containsElements(String key)
public abstract boolean containsElements(String key)A map from elements' keys to element's annotation value.
 map<string, .google.cloud.visionai.v1.AnnotationValue> elements = 2;
| Parameter | |
|---|---|
| Name | Description | 
key | 
        String | 
      
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        |
getElements() (deprecated)
public abstract Map<String,AnnotationValue> getElements()Use #getElementsMap() instead.
| Returns | |
|---|---|
| Type | Description | 
Map<String,AnnotationValue> | 
        |
getElementsCount()
public abstract int getElementsCount()A map from elements' keys to element's annotation value.
 map<string, .google.cloud.visionai.v1.AnnotationValue> elements = 2;
| Returns | |
|---|---|
| Type | Description | 
int | 
        |
getElementsMap()
public abstract Map<String,AnnotationValue> getElementsMap()A map from elements' keys to element's annotation value.
 map<string, .google.cloud.visionai.v1.AnnotationValue> elements = 2;
| Returns | |
|---|---|
| Type | Description | 
Map<String,AnnotationValue> | 
        |
getElementsOrDefault(String key, AnnotationValue defaultValue)
public abstract AnnotationValue getElementsOrDefault(String key, AnnotationValue defaultValue)A map from elements' keys to element's annotation value.
 map<string, .google.cloud.visionai.v1.AnnotationValue> elements = 2;
| Parameters | |
|---|---|
| Name | Description | 
key | 
        String | 
      
defaultValue | 
        AnnotationValue | 
      
| Returns | |
|---|---|
| Type | Description | 
AnnotationValue | 
        |
getElementsOrThrow(String key)
public abstract AnnotationValue getElementsOrThrow(String key)A map from elements' keys to element's annotation value.
 map<string, .google.cloud.visionai.v1.AnnotationValue> elements = 2;
| Parameter | |
|---|---|
| Name | Description | 
key | 
        String | 
      
| Returns | |
|---|---|
| Type | Description | 
AnnotationValue | 
        |