Package biopb.image
Class OpInfo
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
biopb.image.OpInfo
- All Implemented Interfaces:
OpInfoOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
Protobuf type
biopb.image.OpInfo- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typebiopb.image.OpInfostatic enumHow the tensor arguments arrive: EAGER (numpy, fully materialized), LAZY (dask, may stay out-of-core), or BLOCKS (mapped over blocks -- see TensorArg.mapped).Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsTensors(String key) The tensor arguments.booleanstatic OpInfostring description = 2;com.google.protobuf.ByteStringstring description = 2;static final com.google.protobuf.Descriptors.DescriptorgetInput().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.com.google.protobuf.ProtocolStringListFor grouping, e.g.getName()string name = 1;com.google.protobuf.ByteStringstring name = 1;com.google.protobuf.Parser<OpInfo>intbooleanA 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.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic OpInfo.Builderstatic OpInfo.BuildernewBuilder(OpInfo prototype) protected OpInfo.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static OpInfoparseDelimitedFrom(InputStream input) static OpInfoparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static OpInfoparseFrom(byte[] data) static OpInfoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static OpInfoparseFrom(com.google.protobuf.ByteString data) static OpInfoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static OpInfoparseFrom(com.google.protobuf.CodedInputStream input) static OpInfoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static OpInfoparseFrom(InputStream input) static OpInfoparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static OpInfoparseFrom(ByteBuffer data) static OpInfoparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<OpInfo>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- See Also:
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER- See Also:
-
KWARGS_FIELD_NUMBER
public static final int KWARGS_FIELD_NUMBER- See Also:
-
TENSORS_FIELD_NUMBER
public static final int TENSORS_FIELD_NUMBER- See Also:
-
INPUT_FIELD_NUMBER
public static final int INPUT_FIELD_NUMBER- See Also:
-
STREAMING_FIELD_NUMBER
public static final int STREAMING_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getName
string name = 1;- Specified by:
getNamein interfaceOpInfoOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()string name = 1;- Specified by:
getNameBytesin interfaceOpInfoOrBuilder- Returns:
- The bytes for name.
-
getDescription
string description = 2;- Specified by:
getDescriptionin interfaceOpInfoOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()string description = 2;- Specified by:
getDescriptionBytesin interfaceOpInfoOrBuilder- Returns:
- The bytes for description.
-
getLabelsList
public com.google.protobuf.ProtocolStringList getLabelsList()For grouping, e.g. ["segmentation"] or ["denoising", "pretrained"].
repeated string labels = 3;- Specified by:
getLabelsListin interfaceOpInfoOrBuilder- Returns:
- A list containing the labels.
-
getLabelsCount
public int getLabelsCount()For grouping, e.g. ["segmentation"] or ["denoising", "pretrained"].
repeated string labels = 3;- Specified by:
getLabelsCountin interfaceOpInfoOrBuilder- Returns:
- The count of labels.
-
getLabels
For grouping, e.g. ["segmentation"] or ["denoising", "pretrained"].
repeated string labels = 3;- Specified by:
getLabelsin interfaceOpInfoOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The labels at the given index.
-
getLabelsBytes
public com.google.protobuf.ByteString getLabelsBytes(int index) For grouping, e.g. ["segmentation"] or ["denoising", "pretrained"].
repeated string labels = 3;- Specified by:
getLabelsBytesin interfaceOpInfoOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the labels at the given index.
-
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;- Specified by:
getKwargsin interfaceOpInfoOrBuilder- Returns:
- The kwargs.
-
getKwargsBytes
public 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;- Specified by:
getKwargsBytesin interfaceOpInfoOrBuilder- Returns:
- The bytes for kwargs.
-
getTensorsCount
public int getTensorsCount()Description copied from interface:OpInfoOrBuilderThe tensor arguments.
map<string, .biopb.image.TensorArg> tensors = 5;- Specified by:
getTensorsCountin interfaceOpInfoOrBuilder
-
containsTensors
The tensor arguments.
map<string, .biopb.image.TensorArg> tensors = 5;- Specified by:
containsTensorsin interfaceOpInfoOrBuilder
-
getTensors
Deprecated.UsegetTensorsMap()instead.- Specified by:
getTensorsin interfaceOpInfoOrBuilder
-
getTensorsMap
The tensor arguments.
map<string, .biopb.image.TensorArg> tensors = 5;- Specified by:
getTensorsMapin interfaceOpInfoOrBuilder
-
getTensorsOrDefault
The tensor arguments.
map<string, .biopb.image.TensorArg> tensors = 5;- Specified by:
getTensorsOrDefaultin interfaceOpInfoOrBuilder
-
getTensorsOrThrow
The tensor arguments.
map<string, .biopb.image.TensorArg> tensors = 5;- Specified by:
getTensorsOrThrowin interfaceOpInfoOrBuilder
-
getInputValue
public int getInputValue().biopb.image.OpInfo.InputMode input = 6;- Specified by:
getInputValuein interfaceOpInfoOrBuilder- Returns:
- The enum numeric value on the wire for input.
-
getInput
.biopb.image.OpInfo.InputMode input = 6;- Specified by:
getInputin interfaceOpInfoOrBuilder- Returns:
- The input.
-
getStreaming
public 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;- Specified by:
getStreamingin interfaceOpInfoOrBuilder- Returns:
- The streaming.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static OpInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static OpInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static OpInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static OpInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected OpInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-