Interface ImageSegmentationAnnotationOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ImageSegmentationAnnotation
,ImageSegmentationAnnotation.Builder
public interface ImageSegmentationAnnotationOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method 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.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getAnnotationColorsCount
int 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;
-
containsAnnotationColors
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;
-
getAnnotationColors
@Deprecated Map<String,AnnotationSpec> getAnnotationColors()
Deprecated.UsegetAnnotationColorsMap()
instead.
-
getAnnotationColorsMap
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;
-
getAnnotationColorsOrDefault
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;
-
getAnnotationColorsOrThrow
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;
-
getMimeType
String getMimeType()
Image format.
string mime_type = 2;
- Returns:
- The mimeType.
-
getMimeTypeBytes
com.google.protobuf.ByteString getMimeTypeBytes()
Image format.
string mime_type = 2;
- Returns:
- The bytes for mimeType.
-
getImageBytes
com.google.protobuf.ByteString getImageBytes()
A byte string of a full image's color map.
bytes image_bytes = 3;
- Returns:
- The imageBytes.
-
-