Package org.platanios.tensorflow.proto
Class FunctionDef
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- org.platanios.tensorflow.proto.FunctionDef
-
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.io.Serializable
,FunctionDefOrBuilder
public final class FunctionDef extends com.google.protobuf.GeneratedMessageV3 implements FunctionDefOrBuilder
A function can be instantiated when the runtime can bind every attr with a value. When a GraphDef has a call to a function, it must have binding for every attr defined in the signature. TODO(zhifengc): * device spec, etc.
Protobuf typeorg.platanios.tensorflow.proto.FunctionDef
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FunctionDef.ArgAttrs
Attributes for function arguments.static interface
FunctionDef.ArgAttrsOrBuilder
static class
FunctionDef.Builder
A function can be instantiated when the runtime can bind every attr with a value.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
ARG_ATTR_FIELD_NUMBER
static int
ATTR_FIELD_NUMBER
static int
CONTROL_RET_FIELD_NUMBER
static int
NODE_DEF_FIELD_NUMBER
static int
RESOURCE_ARG_UNIQUE_ID_FIELD_NUMBER
static int
RET_FIELD_NUMBER
static int
SIGNATURE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
containsArgAttr(int key)
map<uint32, .org.platanios.tensorflow.proto.FunctionDef.ArgAttrs> arg_attr = 7;
boolean
containsAttr(java.lang.String key)
Attributes specific to this function definition.boolean
containsControlRet(java.lang.String key)
A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function.boolean
containsResourceArgUniqueId(int key)
Unique IDs for each resource argument, used to track aliasing resources.boolean
containsRet(java.lang.String key)
A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function.boolean
equals(java.lang.Object obj)
java.util.Map<java.lang.Integer,FunctionDef.ArgAttrs>
getArgAttr()
Deprecated.int
getArgAttrCount()
map<uint32, .org.platanios.tensorflow.proto.FunctionDef.ArgAttrs> arg_attr = 7;
java.util.Map<java.lang.Integer,FunctionDef.ArgAttrs>
getArgAttrMap()
map<uint32, .org.platanios.tensorflow.proto.FunctionDef.ArgAttrs> arg_attr = 7;
FunctionDef.ArgAttrs
getArgAttrOrDefault(int key, FunctionDef.ArgAttrs defaultValue)
map<uint32, .org.platanios.tensorflow.proto.FunctionDef.ArgAttrs> arg_attr = 7;
FunctionDef.ArgAttrs
getArgAttrOrThrow(int key)
map<uint32, .org.platanios.tensorflow.proto.FunctionDef.ArgAttrs> arg_attr = 7;
java.util.Map<java.lang.String,AttrValue>
getAttr()
Deprecated.int
getAttrCount()
Attributes specific to this function definition.java.util.Map<java.lang.String,AttrValue>
getAttrMap()
Attributes specific to this function definition.AttrValue
getAttrOrDefault(java.lang.String key, AttrValue defaultValue)
Attributes specific to this function definition.AttrValue
getAttrOrThrow(java.lang.String key)
Attributes specific to this function definition.java.util.Map<java.lang.String,java.lang.String>
getControlRet()
Deprecated.int
getControlRetCount()
A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function.java.util.Map<java.lang.String,java.lang.String>
getControlRetMap()
A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function.java.lang.String
getControlRetOrDefault(java.lang.String key, java.lang.String defaultValue)
A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function.java.lang.String
getControlRetOrThrow(java.lang.String key)
A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function.static FunctionDef
getDefaultInstance()
FunctionDef
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
NodeDef
getNodeDef(int index)
By convention, "op" in node_def is resolved by consulting with a user-defined library first.int
getNodeDefCount()
By convention, "op" in node_def is resolved by consulting with a user-defined library first.java.util.List<NodeDef>
getNodeDefList()
By convention, "op" in node_def is resolved by consulting with a user-defined library first.NodeDefOrBuilder
getNodeDefOrBuilder(int index)
By convention, "op" in node_def is resolved by consulting with a user-defined library first.java.util.List<? extends NodeDefOrBuilder>
getNodeDefOrBuilderList()
By convention, "op" in node_def is resolved by consulting with a user-defined library first.com.google.protobuf.Parser<FunctionDef>
getParserForType()
java.util.Map<java.lang.Integer,java.lang.Integer>
getResourceArgUniqueId()
Deprecated.int
getResourceArgUniqueIdCount()
Unique IDs for each resource argument, used to track aliasing resources.java.util.Map<java.lang.Integer,java.lang.Integer>
getResourceArgUniqueIdMap()
Unique IDs for each resource argument, used to track aliasing resources.int
getResourceArgUniqueIdOrDefault(int key, int defaultValue)
Unique IDs for each resource argument, used to track aliasing resources.int
getResourceArgUniqueIdOrThrow(int key)
Unique IDs for each resource argument, used to track aliasing resources.java.util.Map<java.lang.String,java.lang.String>
getRet()
Deprecated.int
getRetCount()
A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function.java.util.Map<java.lang.String,java.lang.String>
getRetMap()
A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function.java.lang.String
getRetOrDefault(java.lang.String key, java.lang.String defaultValue)
A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function.java.lang.String
getRetOrThrow(java.lang.String key)
A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function.int
getSerializedSize()
OpDef
getSignature()
The definition of the function's name, arguments, return values, attrs etc.OpDefOrBuilder
getSignatureOrBuilder()
The definition of the function's name, arguments, return values, attrs etc.com.google.protobuf.UnknownFieldSet
getUnknownFields()
int
hashCode()
boolean
hasSignature()
The definition of the function's name, arguments, return values, attrs etc.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
boolean
isInitialized()
static FunctionDef.Builder
newBuilder()
static FunctionDef.Builder
newBuilder(FunctionDef prototype)
FunctionDef.Builder
newBuilderForType()
protected FunctionDef.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected java.lang.Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static FunctionDef
parseDelimitedFrom(java.io.InputStream input)
static FunctionDef
parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static FunctionDef
parseFrom(byte[] data)
static FunctionDef
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static FunctionDef
parseFrom(com.google.protobuf.ByteString data)
static FunctionDef
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static FunctionDef
parseFrom(com.google.protobuf.CodedInputStream input)
static FunctionDef
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static FunctionDef
parseFrom(java.io.InputStream input)
static FunctionDef
parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static FunctionDef
parseFrom(java.nio.ByteBuffer data)
static FunctionDef
parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<FunctionDef>
parser()
FunctionDef.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
SIGNATURE_FIELD_NUMBER
public static final int SIGNATURE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ATTR_FIELD_NUMBER
public static final int ATTR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ARG_ATTR_FIELD_NUMBER
public static final int ARG_ATTR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESOURCE_ARG_UNIQUE_ID_FIELD_NUMBER
public static final int RESOURCE_ARG_UNIQUE_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NODE_DEF_FIELD_NUMBER
public static final int NODE_DEF_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RET_FIELD_NUMBER
public static final int RET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONTROL_RET_FIELD_NUMBER
public static final int CONTROL_RET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
hasSignature
public boolean hasSignature()
The definition of the function's name, arguments, return values, attrs etc.
.org.platanios.tensorflow.proto.OpDef signature = 1;
- Specified by:
hasSignature
in interfaceFunctionDefOrBuilder
- Returns:
- Whether the signature field is set.
-
getSignature
public OpDef getSignature()
The definition of the function's name, arguments, return values, attrs etc.
.org.platanios.tensorflow.proto.OpDef signature = 1;
- Specified by:
getSignature
in interfaceFunctionDefOrBuilder
- Returns:
- The signature.
-
getSignatureOrBuilder
public OpDefOrBuilder getSignatureOrBuilder()
The definition of the function's name, arguments, return values, attrs etc.
.org.platanios.tensorflow.proto.OpDef signature = 1;
- Specified by:
getSignatureOrBuilder
in interfaceFunctionDefOrBuilder
-
getAttrCount
public int getAttrCount()
Description copied from interface:FunctionDefOrBuilder
Attributes specific to this function definition.
map<string, .org.platanios.tensorflow.proto.AttrValue> attr = 5;
- Specified by:
getAttrCount
in interfaceFunctionDefOrBuilder
-
containsAttr
public boolean containsAttr(java.lang.String key)
Attributes specific to this function definition.
map<string, .org.platanios.tensorflow.proto.AttrValue> attr = 5;
- Specified by:
containsAttr
in interfaceFunctionDefOrBuilder
-
getAttr
@Deprecated public java.util.Map<java.lang.String,AttrValue> getAttr()
Deprecated.UsegetAttrMap()
instead.- Specified by:
getAttr
in interfaceFunctionDefOrBuilder
-
getAttrMap
public java.util.Map<java.lang.String,AttrValue> getAttrMap()
Attributes specific to this function definition.
map<string, .org.platanios.tensorflow.proto.AttrValue> attr = 5;
- Specified by:
getAttrMap
in interfaceFunctionDefOrBuilder
-
getAttrOrDefault
public AttrValue getAttrOrDefault(java.lang.String key, AttrValue defaultValue)
Attributes specific to this function definition.
map<string, .org.platanios.tensorflow.proto.AttrValue> attr = 5;
- Specified by:
getAttrOrDefault
in interfaceFunctionDefOrBuilder
-
getAttrOrThrow
public AttrValue getAttrOrThrow(java.lang.String key)
Attributes specific to this function definition.
map<string, .org.platanios.tensorflow.proto.AttrValue> attr = 5;
- Specified by:
getAttrOrThrow
in interfaceFunctionDefOrBuilder
-
getArgAttrCount
public int getArgAttrCount()
Description copied from interface:FunctionDefOrBuilder
map<uint32, .org.platanios.tensorflow.proto.FunctionDef.ArgAttrs> arg_attr = 7;
- Specified by:
getArgAttrCount
in interfaceFunctionDefOrBuilder
-
containsArgAttr
public boolean containsArgAttr(int key)
map<uint32, .org.platanios.tensorflow.proto.FunctionDef.ArgAttrs> arg_attr = 7;
- Specified by:
containsArgAttr
in interfaceFunctionDefOrBuilder
-
getArgAttr
@Deprecated public java.util.Map<java.lang.Integer,FunctionDef.ArgAttrs> getArgAttr()
Deprecated.UsegetArgAttrMap()
instead.- Specified by:
getArgAttr
in interfaceFunctionDefOrBuilder
-
getArgAttrMap
public java.util.Map<java.lang.Integer,FunctionDef.ArgAttrs> getArgAttrMap()
map<uint32, .org.platanios.tensorflow.proto.FunctionDef.ArgAttrs> arg_attr = 7;
- Specified by:
getArgAttrMap
in interfaceFunctionDefOrBuilder
-
getArgAttrOrDefault
public FunctionDef.ArgAttrs getArgAttrOrDefault(int key, FunctionDef.ArgAttrs defaultValue)
map<uint32, .org.platanios.tensorflow.proto.FunctionDef.ArgAttrs> arg_attr = 7;
- Specified by:
getArgAttrOrDefault
in interfaceFunctionDefOrBuilder
-
getArgAttrOrThrow
public FunctionDef.ArgAttrs getArgAttrOrThrow(int key)
map<uint32, .org.platanios.tensorflow.proto.FunctionDef.ArgAttrs> arg_attr = 7;
- Specified by:
getArgAttrOrThrow
in interfaceFunctionDefOrBuilder
-
getResourceArgUniqueIdCount
public int getResourceArgUniqueIdCount()
Description copied from interface:FunctionDefOrBuilder
Unique IDs for each resource argument, used to track aliasing resources. If Argument A and Argument B alias each other, then resource_arg_unique_ids[A.index] == resource_arg_unique_ids[B.index]. If this field is empty, none of the arguments could alias; otherwise, every resource argument should have an entry in this field. When instantiated, the unique IDs will be attached to the _Arg nodes' "_resource_arg_unique_id" attribute.
map<uint32, uint32> resource_arg_unique_id = 8;
- Specified by:
getResourceArgUniqueIdCount
in interfaceFunctionDefOrBuilder
-
containsResourceArgUniqueId
public boolean containsResourceArgUniqueId(int key)
Unique IDs for each resource argument, used to track aliasing resources. If Argument A and Argument B alias each other, then resource_arg_unique_ids[A.index] == resource_arg_unique_ids[B.index]. If this field is empty, none of the arguments could alias; otherwise, every resource argument should have an entry in this field. When instantiated, the unique IDs will be attached to the _Arg nodes' "_resource_arg_unique_id" attribute.
map<uint32, uint32> resource_arg_unique_id = 8;
- Specified by:
containsResourceArgUniqueId
in interfaceFunctionDefOrBuilder
-
getResourceArgUniqueId
@Deprecated public java.util.Map<java.lang.Integer,java.lang.Integer> getResourceArgUniqueId()
Deprecated.UsegetResourceArgUniqueIdMap()
instead.- Specified by:
getResourceArgUniqueId
in interfaceFunctionDefOrBuilder
-
getResourceArgUniqueIdMap
public java.util.Map<java.lang.Integer,java.lang.Integer> getResourceArgUniqueIdMap()
Unique IDs for each resource argument, used to track aliasing resources. If Argument A and Argument B alias each other, then resource_arg_unique_ids[A.index] == resource_arg_unique_ids[B.index]. If this field is empty, none of the arguments could alias; otherwise, every resource argument should have an entry in this field. When instantiated, the unique IDs will be attached to the _Arg nodes' "_resource_arg_unique_id" attribute.
map<uint32, uint32> resource_arg_unique_id = 8;
- Specified by:
getResourceArgUniqueIdMap
in interfaceFunctionDefOrBuilder
-
getResourceArgUniqueIdOrDefault
public int getResourceArgUniqueIdOrDefault(int key, int defaultValue)
Unique IDs for each resource argument, used to track aliasing resources. If Argument A and Argument B alias each other, then resource_arg_unique_ids[A.index] == resource_arg_unique_ids[B.index]. If this field is empty, none of the arguments could alias; otherwise, every resource argument should have an entry in this field. When instantiated, the unique IDs will be attached to the _Arg nodes' "_resource_arg_unique_id" attribute.
map<uint32, uint32> resource_arg_unique_id = 8;
- Specified by:
getResourceArgUniqueIdOrDefault
in interfaceFunctionDefOrBuilder
-
getResourceArgUniqueIdOrThrow
public int getResourceArgUniqueIdOrThrow(int key)
Unique IDs for each resource argument, used to track aliasing resources. If Argument A and Argument B alias each other, then resource_arg_unique_ids[A.index] == resource_arg_unique_ids[B.index]. If this field is empty, none of the arguments could alias; otherwise, every resource argument should have an entry in this field. When instantiated, the unique IDs will be attached to the _Arg nodes' "_resource_arg_unique_id" attribute.
map<uint32, uint32> resource_arg_unique_id = 8;
- Specified by:
getResourceArgUniqueIdOrThrow
in interfaceFunctionDefOrBuilder
-
getNodeDefList
public java.util.List<NodeDef> getNodeDefList()
By convention, "op" in node_def is resolved by consulting with a user-defined library first. If not resolved, "func" is assumed to be a builtin op.
repeated .org.platanios.tensorflow.proto.NodeDef node_def = 3;
- Specified by:
getNodeDefList
in interfaceFunctionDefOrBuilder
-
getNodeDefOrBuilderList
public java.util.List<? extends NodeDefOrBuilder> getNodeDefOrBuilderList()
By convention, "op" in node_def is resolved by consulting with a user-defined library first. If not resolved, "func" is assumed to be a builtin op.
repeated .org.platanios.tensorflow.proto.NodeDef node_def = 3;
- Specified by:
getNodeDefOrBuilderList
in interfaceFunctionDefOrBuilder
-
getNodeDefCount
public int getNodeDefCount()
By convention, "op" in node_def is resolved by consulting with a user-defined library first. If not resolved, "func" is assumed to be a builtin op.
repeated .org.platanios.tensorflow.proto.NodeDef node_def = 3;
- Specified by:
getNodeDefCount
in interfaceFunctionDefOrBuilder
-
getNodeDef
public NodeDef getNodeDef(int index)
By convention, "op" in node_def is resolved by consulting with a user-defined library first. If not resolved, "func" is assumed to be a builtin op.
repeated .org.platanios.tensorflow.proto.NodeDef node_def = 3;
- Specified by:
getNodeDef
in interfaceFunctionDefOrBuilder
-
getNodeDefOrBuilder
public NodeDefOrBuilder getNodeDefOrBuilder(int index)
By convention, "op" in node_def is resolved by consulting with a user-defined library first. If not resolved, "func" is assumed to be a builtin op.
repeated .org.platanios.tensorflow.proto.NodeDef node_def = 3;
- Specified by:
getNodeDefOrBuilder
in interfaceFunctionDefOrBuilder
-
getRetCount
public int getRetCount()
Description copied from interface:FunctionDefOrBuilder
A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function.
map<string, string> ret = 4;
- Specified by:
getRetCount
in interfaceFunctionDefOrBuilder
-
containsRet
public boolean containsRet(java.lang.String key)
A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function.
map<string, string> ret = 4;
- Specified by:
containsRet
in interfaceFunctionDefOrBuilder
-
getRet
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getRet()
Deprecated.UsegetRetMap()
instead.- Specified by:
getRet
in interfaceFunctionDefOrBuilder
-
getRetMap
public java.util.Map<java.lang.String,java.lang.String> getRetMap()
A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function.
map<string, string> ret = 4;
- Specified by:
getRetMap
in interfaceFunctionDefOrBuilder
-
getRetOrDefault
public java.lang.String getRetOrDefault(java.lang.String key, java.lang.String defaultValue)
A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function.
map<string, string> ret = 4;
- Specified by:
getRetOrDefault
in interfaceFunctionDefOrBuilder
-
getRetOrThrow
public java.lang.String getRetOrThrow(java.lang.String key)
A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function.
map<string, string> ret = 4;
- Specified by:
getRetOrThrow
in interfaceFunctionDefOrBuilder
-
getControlRetCount
public int getControlRetCount()
Description copied from interface:FunctionDefOrBuilder
A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function.
map<string, string> control_ret = 6;
- Specified by:
getControlRetCount
in interfaceFunctionDefOrBuilder
-
containsControlRet
public boolean containsControlRet(java.lang.String key)
A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function.
map<string, string> control_ret = 6;
- Specified by:
containsControlRet
in interfaceFunctionDefOrBuilder
-
getControlRet
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getControlRet()
Deprecated.UsegetControlRetMap()
instead.- Specified by:
getControlRet
in interfaceFunctionDefOrBuilder
-
getControlRetMap
public java.util.Map<java.lang.String,java.lang.String> getControlRetMap()
A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function.
map<string, string> control_ret = 6;
- Specified by:
getControlRetMap
in interfaceFunctionDefOrBuilder
-
getControlRetOrDefault
public java.lang.String getControlRetOrDefault(java.lang.String key, java.lang.String defaultValue)
A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function.
map<string, string> control_ret = 6;
- Specified by:
getControlRetOrDefault
in interfaceFunctionDefOrBuilder
-
getControlRetOrThrow
public java.lang.String getControlRetOrThrow(java.lang.String key)
A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function.
map<string, string> control_ret = 6;
- Specified by:
getControlRetOrThrow
in interfaceFunctionDefOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static FunctionDef parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FunctionDef parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FunctionDef parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FunctionDef parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FunctionDef parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FunctionDef parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FunctionDef parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static FunctionDef parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static FunctionDef parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static FunctionDef parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static FunctionDef parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static FunctionDef parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public FunctionDef.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static FunctionDef.Builder newBuilder()
-
newBuilder
public static FunctionDef.Builder newBuilder(FunctionDef prototype)
-
toBuilder
public FunctionDef.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected FunctionDef.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static FunctionDef getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<FunctionDef> parser()
-
getParserForType
public com.google.protobuf.Parser<FunctionDef> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public FunctionDef getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-