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 Details

    • hasPixels

      @Deprecated boolean hasPixels()
      Deprecated.
      biopb.image.ImageData.pixels is deprecated. See biopb/image/image_data.proto;l=108
       Legacy field - servers should check this for backward compatibility
       
      .biopb.image.Pixels pixels = 1 [deprecated = true];
      Returns:
      Whether the pixels field is set.
    • getPixels

      @Deprecated Pixels getPixels()
      Deprecated.
      biopb.image.ImageData.pixels is deprecated. See biopb/image/image_data.proto;l=108
       Legacy field - servers should check this for backward compatibility
       
      .biopb.image.Pixels pixels = 1 [deprecated = true];
      Returns:
      The pixels.
    • getPixelsOrBuilder

      @Deprecated PixelsOrBuilder 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()