Package biopb.image
Interface OpInfoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
OpInfo,OpInfo.Builder
public interface OpInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsTensors(String key) The tensor arguments.string description = 2;com.google.protobuf.ByteStringstring description = 2;getInput().biopb.image.OpInfo.InputMode input = 6;int.biopb.image.OpInfo.InputMode input = 6;The non-tensor arguments, written as they'd appear in a call: "name=default" per argument, comma-separated, bare "name" when there is no default.com.google.protobuf.ByteStringThe non-tensor arguments, written as they'd appear in a call: "name=default" per argument, comma-separated, bare "name" when there is no default.getLabels(int index) For grouping, e.g.com.google.protobuf.ByteStringgetLabelsBytes(int index) For grouping, e.g.intFor grouping, e.g.For grouping, e.g.getName()string name = 1;com.google.protobuf.ByteStringstring name = 1;booleanA streaming op sends more than one Event per call (see Event); a plain op sends exactly one.Deprecated.intThe tensor arguments.The tensor arguments.getTensorsOrDefault(String key, TensorArg defaultValue) The tensor arguments.getTensorsOrThrow(String key) The tensor arguments.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
-
getName
String getName()string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()string name = 1;- Returns:
- The bytes for name.
-
getDescription
String getDescription()string description = 2;- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()string description = 2;- Returns:
- The bytes for description.
-
getLabelsList
For grouping, e.g. ["segmentation"] or ["denoising", "pretrained"].
repeated string labels = 3;- Returns:
- A list containing the labels.
-
getLabelsCount
int getLabelsCount()For grouping, e.g. ["segmentation"] or ["denoising", "pretrained"].
repeated string labels = 3;- Returns:
- The count of labels.
-
getLabels
For grouping, e.g. ["segmentation"] or ["denoising", "pretrained"].
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) For grouping, e.g. ["segmentation"] or ["denoising", "pretrained"].
repeated string labels = 3;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the labels at the given index.
-
getKwargs
String getKwargs()The non-tensor arguments, written as they'd appear in a call: "name=default" per argument, comma-separated, bare "name" when there is no default. This is documentation for whoever calls the op, not a value any client parses back -- nothing here is typed.
string kwargs = 4;- Returns:
- The kwargs.
-
getKwargsBytes
com.google.protobuf.ByteString getKwargsBytes()The non-tensor arguments, written as they'd appear in a call: "name=default" per argument, comma-separated, bare "name" when there is no default. This is documentation for whoever calls the op, not a value any client parses back -- nothing here is typed.
string kwargs = 4;- Returns:
- The bytes for kwargs.
-
getTensorsCount
int getTensorsCount()The tensor arguments.
map<string, .biopb.image.TensorArg> tensors = 5; -
containsTensors
The tensor arguments.
map<string, .biopb.image.TensorArg> tensors = 5; -
getTensors
Deprecated.UsegetTensorsMap()instead. -
getTensorsMap
The tensor arguments.
map<string, .biopb.image.TensorArg> tensors = 5; -
getTensorsOrDefault
The tensor arguments.
map<string, .biopb.image.TensorArg> tensors = 5; -
getTensorsOrThrow
The tensor arguments.
map<string, .biopb.image.TensorArg> tensors = 5; -
getInputValue
int getInputValue().biopb.image.OpInfo.InputMode input = 6;- Returns:
- The enum numeric value on the wire for input.
-
getInput
OpInfo.InputMode getInput().biopb.image.OpInfo.InputMode input = 6;- Returns:
- The input.
-
getStreaming
boolean getStreaming()A streaming op sends more than one Event per call (see Event); a plain op sends exactly one. Known ahead of the call, not just by making one.
bool streaming = 7;- Returns:
- The streaming.
-