Interface ImageSegmentationAnnotationOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ImageSegmentationAnnotation,ImageSegmentationAnnotation.Builder
@Generated
public interface ImageSegmentationAnnotationOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanThe mapping between rgb color and annotation spec.Deprecated.intThe mapping between rgb color and annotation spec.The mapping between rgb color and annotation spec.getAnnotationColorsOrDefault(String key, AnnotationSpec defaultValue) The mapping between rgb color and annotation spec.The mapping between rgb color and annotation spec.com.google.protobuf.ByteStringA byte string of a full image's color map.Image format.com.google.protobuf.ByteStringImage format.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
-
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
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.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
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
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.
-