Package biopb.image
Interface ImageDataOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ImageData,ImageData.Builder
public interface ImageDataOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionInline pixel dataInline pixel dataOptional additional information regarding the image that will be utilized by the RPC call.Optional additional information regarding the image that will be utilized by the RPC call.Lazy tensor reference for larger-than-memory datasetsLazy tensor reference for larger-than-memory datasetsDeprecated.biopb.image.ImageData.pixels is deprecated.Deprecated.booleanInline pixel databooleanOptional additional information regarding the image that will be utilized by the RPC call.booleanLazy tensor reference for larger-than-memory datasetsbooleanDeprecated.biopb.image.ImageData.pixels is deprecated.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
-
hasPixels
Deprecated.biopb.image.ImageData.pixels is deprecated. See biopb/image/image_data.proto;l=108Legacy field - servers should check this for backward compatibility
.biopb.image.Pixels pixels = 1 [deprecated = true];- Returns:
- Whether the pixels field is set.
-
getPixels
Deprecated.biopb.image.ImageData.pixels is deprecated. See biopb/image/image_data.proto;l=108Legacy field - servers should check this for backward compatibility
.biopb.image.Pixels pixels = 1 [deprecated = true];- Returns:
- The pixels.
-
getPixelsOrBuilder
Deprecated.Legacy field - servers should check this for backward compatibility
.biopb.image.Pixels pixels = 1 [deprecated = true]; -
hasImageAnnotation
boolean hasImageAnnotation()Optional additional information regarding the image that will be utilized by the RPC call. For example, some SegmentAnything type models may ask the user to provide a tentative bounding box for the objects that the users are interested in.
.biopb.image.ImageAnnotation image_annotation = 2;- Returns:
- Whether the imageAnnotation field is set.
-
getImageAnnotation
ImageAnnotation getImageAnnotation()Optional additional information regarding the image that will be utilized by the RPC call. For example, some SegmentAnything type models may ask the user to provide a tentative bounding box for the objects that the users are interested in.
.biopb.image.ImageAnnotation image_annotation = 2;- Returns:
- The imageAnnotation.
-
getImageAnnotationOrBuilder
ImageAnnotationOrBuilder getImageAnnotationOrBuilder()Optional additional information regarding the image that will be utilized by the RPC call. For example, some SegmentAnything type models may ask the user to provide a tentative bounding box for the objects that the users are interested in.
.biopb.image.ImageAnnotation image_annotation = 2; -
hasEagerData
boolean hasEagerData()Inline pixel data
.biopb.image.Tensor eager_data = 3;- Returns:
- Whether the eagerData field is set.
-
getEagerData
Tensor getEagerData()Inline pixel data
.biopb.image.Tensor eager_data = 3;- Returns:
- The eagerData.
-
getEagerDataOrBuilder
TensorOrBuilder getEagerDataOrBuilder()Inline pixel data
.biopb.image.Tensor eager_data = 3; -
hasLazyData
boolean hasLazyData()Lazy tensor reference for larger-than-memory datasets
.biopb.tensor.SerializedTensor lazy_data = 4;- Returns:
- Whether the lazyData field is set.
-
getLazyData
SerializedTensor getLazyData()Lazy tensor reference for larger-than-memory datasets
.biopb.tensor.SerializedTensor lazy_data = 4;- Returns:
- The lazyData.
-
getLazyDataOrBuilder
SerializedTensorOrBuilder getLazyDataOrBuilder()Lazy tensor reference for larger-than-memory datasets
.biopb.tensor.SerializedTensor lazy_data = 4; -
getDataCase
ImageData.DataCase getDataCase()
-