public interface ImageSegmentationAnnotationOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsAnnotationColors(String key)
The mapping between rgb color and annotation spec.
|
Map<String,AnnotationSpec> |
getAnnotationColors()
Deprecated.
|
int |
getAnnotationColorsCount()
The mapping between rgb color and annotation spec.
|
Map<String,AnnotationSpec> |
getAnnotationColorsMap()
The mapping between rgb color and annotation spec.
|
AnnotationSpec |
getAnnotationColorsOrDefault(String key,
AnnotationSpec defaultValue)
The mapping between rgb color and annotation spec.
|
AnnotationSpec |
getAnnotationColorsOrThrow(String key)
The mapping between rgb color and annotation spec.
|
com.google.protobuf.ByteString |
getImageBytes()
A byte string of a full image's color map.
|
String |
getMimeType()
Image format.
|
com.google.protobuf.ByteString |
getMimeTypeBytes()
Image format.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofint getAnnotationColorsCount()
The mapping between rgb color and annotation spec. The key is the rgb color represented in format of rgb(0, 0, 0). The value is the AnnotationSpec.
map<string, .google.cloud.datalabeling.v1beta1.AnnotationSpec> annotation_colors = 1;
boolean containsAnnotationColors(String key)
The mapping between rgb color and annotation spec. The key is the rgb color represented in format of rgb(0, 0, 0). The value is the AnnotationSpec.
map<string, .google.cloud.datalabeling.v1beta1.AnnotationSpec> annotation_colors = 1;
@Deprecated Map<String,AnnotationSpec> getAnnotationColors()
getAnnotationColorsMap() instead.Map<String,AnnotationSpec> getAnnotationColorsMap()
The mapping between rgb color and annotation spec. The key is the rgb color represented in format of rgb(0, 0, 0). The value is the AnnotationSpec.
map<string, .google.cloud.datalabeling.v1beta1.AnnotationSpec> annotation_colors = 1;
AnnotationSpec getAnnotationColorsOrDefault(String key, AnnotationSpec defaultValue)
The mapping between rgb color and annotation spec. The key is the rgb color represented in format of rgb(0, 0, 0). The value is the AnnotationSpec.
map<string, .google.cloud.datalabeling.v1beta1.AnnotationSpec> annotation_colors = 1;
AnnotationSpec getAnnotationColorsOrThrow(String key)
The mapping between rgb color and annotation spec. The key is the rgb color represented in format of rgb(0, 0, 0). The value is the AnnotationSpec.
map<string, .google.cloud.datalabeling.v1beta1.AnnotationSpec> annotation_colors = 1;
String getMimeType()
Image format.
string mime_type = 2;com.google.protobuf.ByteString getMimeTypeBytes()
Image format.
string mime_type = 2;com.google.protobuf.ByteString getImageBytes()
A byte string of a full image's color map.
bytes image_bytes = 3;Copyright © 2019 Google LLC. All rights reserved.