Package biopb.image
Interface OpSchemaOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
OpSchema,OpSchema.Builder
public interface OpSchemaOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.StructDefault values for kwargs - also documents expected keyscom.google.protobuf.StructOrBuilderDefault values for kwargs - also documents expected keysHuman-readable description of the operationcom.google.protobuf.ByteStringHuman-readable description of the operationHints for expected input image dimensions.Hints for expected input image dimensions.getLabels(int index) Organizational labels for grouping/filtering ops.com.google.protobuf.ByteStringgetLabelsBytes(int index) Organizational labels for grouping/filtering ops.intOrganizational labels for grouping/filtering ops.Organizational labels for grouping/filtering ops.booleanDefault values for kwargs - also documents expected keysbooleanHints for expected input image dimensions.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
-
hasDefaultKwargs
boolean hasDefaultKwargs()Default values for kwargs - also documents expected keys
.google.protobuf.Struct default_kwargs = 1;- Returns:
- Whether the defaultKwargs field is set.
-
getDefaultKwargs
com.google.protobuf.Struct getDefaultKwargs()Default values for kwargs - also documents expected keys
.google.protobuf.Struct default_kwargs = 1;- Returns:
- The defaultKwargs.
-
getDefaultKwargsOrBuilder
com.google.protobuf.StructOrBuilder getDefaultKwargsOrBuilder()Default values for kwargs - also documents expected keys
.google.protobuf.Struct default_kwargs = 1; -
getDescription
String getDescription()Human-readable description of the operation
string description = 2;- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()Human-readable description of the operation
string description = 2;- Returns:
- The bytes for description.
-
getLabelsList
Organizational labels for grouping/filtering ops. Examples: ["segmentation"], ["denoising", "pretrained"], ["cellpose", "cyto2"] Allows hierarchical organization (category + subcategory + model name).
repeated string labels = 3;- Returns:
- A list containing the labels.
-
getLabelsCount
int getLabelsCount()Organizational labels for grouping/filtering ops. Examples: ["segmentation"], ["denoising", "pretrained"], ["cellpose", "cyto2"] Allows hierarchical organization (category + subcategory + model name).
repeated string labels = 3;- Returns:
- The count of labels.
-
getLabels
Organizational labels for grouping/filtering ops. Examples: ["segmentation"], ["denoising", "pretrained"], ["cellpose", "cyto2"] Allows hierarchical organization (category + subcategory + model name).
repeated string labels = 3;- Parameters:
index- The index of the element to return.- Returns:
- The labels at the given index.
-
getLabelsBytes
com.google.protobuf.ByteString getLabelsBytes(int index) Organizational labels for grouping/filtering ops. Examples: ["segmentation"], ["denoising", "pretrained"], ["cellpose", "cyto2"] Allows hierarchical organization (category + subcategory + model name).
repeated string labels = 3;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the labels at the given index.
-
hasInputShapeHint
boolean hasInputShapeHint()Hints for expected input image dimensions. Helps clients determine if their image is compatible before calling.
.biopb.image.InputShapeHint input_shape_hint = 4;- Returns:
- Whether the inputShapeHint field is set.
-
getInputShapeHint
InputShapeHint getInputShapeHint()Hints for expected input image dimensions. Helps clients determine if their image is compatible before calling.
.biopb.image.InputShapeHint input_shape_hint = 4;- Returns:
- The inputShapeHint.
-
getInputShapeHintOrBuilder
InputShapeHintOrBuilder getInputShapeHintOrBuilder()Hints for expected input image dimensions. Helps clients determine if their image is compatible before calling.
.biopb.image.InputShapeHint input_shape_hint = 4;
-