Package onnx
Class Onnx.FunctionProto
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
onnx.Onnx.FunctionProto
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
,Onnx.FunctionProtoOrBuilder
- Enclosing class:
- Onnx
public static final class Onnx.FunctionProto
extends com.google.protobuf.GeneratedMessageV3
implements Onnx.FunctionProtoOrBuilder
Protobuf type
onnx.FunctionProto
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Protobuf typeonnx.FunctionProto
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
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final com.google.protobuf.Parser<Onnx.FunctionProto>
Deprecated.Fields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFields
Fields inherited from class com.google.protobuf.AbstractMessage
memoizedSize
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getAttribute
(int index) The attribute parameters of the function.com.google.protobuf.ByteString
getAttributeBytes
(int index) The attribute parameters of the function.int
The attribute parameters of the function.com.google.protobuf.ProtocolStringList
The attribute parameters of the function.getAttributeProto
(int index) The attribute protos of the function.int
The attribute protos of the function.The attribute protos of the function.getAttributeProtoOrBuilder
(int index) The attribute protos of the function.List<? extends Onnx.AttributeProtoOrBuilder>
The attribute protos of the function.static Onnx.FunctionProto
static final com.google.protobuf.Descriptors.Descriptor
A human-readable documentation for this function.com.google.protobuf.ByteString
A human-readable documentation for this function.The domain which this function belongs to.com.google.protobuf.ByteString
The domain which this function belongs to.getInput
(int index) The inputs and outputs of the function.com.google.protobuf.ByteString
getInputBytes
(int index) The inputs and outputs of the function.int
The inputs and outputs of the function.com.google.protobuf.ProtocolStringList
The inputs and outputs of the function.getName()
The name of the function, similar usage of op_type in OperatorProto.com.google.protobuf.ByteString
The name of the function, similar usage of op_type in OperatorProto.getNode
(int index) The nodes in the function.int
The nodes in the function.The nodes in the function.getNodeOrBuilder
(int index) The nodes in the function.List<? extends Onnx.NodeProtoOrBuilder>
The nodes in the function.getOpsetImport
(int index) repeated .onnx.OperatorSetIdProto opset_import = 9;
int
repeated .onnx.OperatorSetIdProto opset_import = 9;
repeated .onnx.OperatorSetIdProto opset_import = 9;
getOpsetImportOrBuilder
(int index) repeated .onnx.OperatorSetIdProto opset_import = 9;
List<? extends Onnx.OperatorSetIdProtoOrBuilder>
repeated .onnx.OperatorSetIdProto opset_import = 9;
getOutput
(int index) repeated string output = 5;
com.google.protobuf.ByteString
getOutputBytes
(int index) repeated string output = 5;
int
repeated string output = 5;
com.google.protobuf.ProtocolStringList
repeated string output = 5;
com.google.protobuf.Parser<Onnx.FunctionProto>
int
boolean
A human-readable documentation for this function.boolean
The domain which this function belongs to.int
hashCode()
boolean
hasName()
The name of the function, similar usage of op_type in OperatorProto.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
static Onnx.FunctionProto.Builder
static Onnx.FunctionProto.Builder
newBuilder
(Onnx.FunctionProto prototype) protected Onnx.FunctionProto.Builder
newBuilderForType
(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected Object
newInstance
(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static Onnx.FunctionProto
parseDelimitedFrom
(InputStream input) static Onnx.FunctionProto
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Onnx.FunctionProto
parseFrom
(byte[] data) static Onnx.FunctionProto
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Onnx.FunctionProto
parseFrom
(com.google.protobuf.ByteString data) static Onnx.FunctionProto
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Onnx.FunctionProto
parseFrom
(com.google.protobuf.CodedInputStream input) static Onnx.FunctionProto
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Onnx.FunctionProto
parseFrom
(InputStream input) static Onnx.FunctionProto
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Onnx.FunctionProto
parseFrom
(ByteBuffer data) static Onnx.FunctionProto
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Onnx.FunctionProto>
parser()
void
writeTo
(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, internalGetMapFieldReflection, 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, 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
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
Methods 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:
-
INPUT_FIELD_NUMBER
public static final int INPUT_FIELD_NUMBER- See Also:
-
OUTPUT_FIELD_NUMBER
public static final int OUTPUT_FIELD_NUMBER- See Also:
-
ATTRIBUTE_FIELD_NUMBER
public static final int ATTRIBUTE_FIELD_NUMBER- See Also:
-
ATTRIBUTE_PROTO_FIELD_NUMBER
public static final int ATTRIBUTE_PROTO_FIELD_NUMBER- See Also:
-
NODE_FIELD_NUMBER
public static final int NODE_FIELD_NUMBER- See Also:
-
DOC_STRING_FIELD_NUMBER
public static final int DOC_STRING_FIELD_NUMBER- See Also:
-
OPSET_IMPORT_FIELD_NUMBER
public static final int OPSET_IMPORT_FIELD_NUMBER- See Also:
-
DOMAIN_FIELD_NUMBER
public static final int DOMAIN_FIELD_NUMBER- See Also:
-
PARSER
Deprecated.
-
-
Method Details
-
newInstance
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
hasName
public boolean hasName()The name of the function, similar usage of op_type in OperatorProto. Combined with FunctionProto.domain, this forms the unique identity of the FunctionProto.
optional string name = 1;
- Specified by:
hasName
in interfaceOnnx.FunctionProtoOrBuilder
- Returns:
- Whether the name field is set.
-
getName
The name of the function, similar usage of op_type in OperatorProto. Combined with FunctionProto.domain, this forms the unique identity of the FunctionProto.
optional string name = 1;
- Specified by:
getName
in interfaceOnnx.FunctionProtoOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()The name of the function, similar usage of op_type in OperatorProto. Combined with FunctionProto.domain, this forms the unique identity of the FunctionProto.
optional string name = 1;
- Specified by:
getNameBytes
in interfaceOnnx.FunctionProtoOrBuilder
- Returns:
- The bytes for name.
-
getInputList
public com.google.protobuf.ProtocolStringList getInputList()The inputs and outputs of the function.
repeated string input = 4;
- Specified by:
getInputList
in interfaceOnnx.FunctionProtoOrBuilder
- Returns:
- A list containing the input.
-
getInputCount
public int getInputCount()The inputs and outputs of the function.
repeated string input = 4;
- Specified by:
getInputCount
in interfaceOnnx.FunctionProtoOrBuilder
- Returns:
- The count of input.
-
getInput
The inputs and outputs of the function.
repeated string input = 4;
- Specified by:
getInput
in interfaceOnnx.FunctionProtoOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The input at the given index.
-
getInputBytes
public com.google.protobuf.ByteString getInputBytes(int index) The inputs and outputs of the function.
repeated string input = 4;
- Specified by:
getInputBytes
in interfaceOnnx.FunctionProtoOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the input at the given index.
-
getOutputList
public com.google.protobuf.ProtocolStringList getOutputList()repeated string output = 5;
- Specified by:
getOutputList
in interfaceOnnx.FunctionProtoOrBuilder
- Returns:
- A list containing the output.
-
getOutputCount
public int getOutputCount()repeated string output = 5;
- Specified by:
getOutputCount
in interfaceOnnx.FunctionProtoOrBuilder
- Returns:
- The count of output.
-
getOutput
repeated string output = 5;
- Specified by:
getOutput
in interfaceOnnx.FunctionProtoOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The output at the given index.
-
getOutputBytes
public com.google.protobuf.ByteString getOutputBytes(int index) repeated string output = 5;
- Specified by:
getOutputBytes
in interfaceOnnx.FunctionProtoOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the output at the given index.
-
getAttributeList
public com.google.protobuf.ProtocolStringList getAttributeList()The attribute parameters of the function. It is for function parameters without default values.
repeated string attribute = 6;
- Specified by:
getAttributeList
in interfaceOnnx.FunctionProtoOrBuilder
- Returns:
- A list containing the attribute.
-
getAttributeCount
public int getAttributeCount()The attribute parameters of the function. It is for function parameters without default values.
repeated string attribute = 6;
- Specified by:
getAttributeCount
in interfaceOnnx.FunctionProtoOrBuilder
- Returns:
- The count of attribute.
-
getAttribute
The attribute parameters of the function. It is for function parameters without default values.
repeated string attribute = 6;
- Specified by:
getAttribute
in interfaceOnnx.FunctionProtoOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The attribute at the given index.
-
getAttributeBytes
public com.google.protobuf.ByteString getAttributeBytes(int index) The attribute parameters of the function. It is for function parameters without default values.
repeated string attribute = 6;
- Specified by:
getAttributeBytes
in interfaceOnnx.FunctionProtoOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the attribute at the given index.
-
getAttributeProtoList
The attribute protos of the function. It is for function attributes with default values. A function attribute shall be represented either as a string attribute or an AttributeProto, not both.
repeated .onnx.AttributeProto attribute_proto = 11;
- Specified by:
getAttributeProtoList
in interfaceOnnx.FunctionProtoOrBuilder
-
getAttributeProtoOrBuilderList
The attribute protos of the function. It is for function attributes with default values. A function attribute shall be represented either as a string attribute or an AttributeProto, not both.
repeated .onnx.AttributeProto attribute_proto = 11;
- Specified by:
getAttributeProtoOrBuilderList
in interfaceOnnx.FunctionProtoOrBuilder
-
getAttributeProtoCount
public int getAttributeProtoCount()The attribute protos of the function. It is for function attributes with default values. A function attribute shall be represented either as a string attribute or an AttributeProto, not both.
repeated .onnx.AttributeProto attribute_proto = 11;
- Specified by:
getAttributeProtoCount
in interfaceOnnx.FunctionProtoOrBuilder
-
getAttributeProto
The attribute protos of the function. It is for function attributes with default values. A function attribute shall be represented either as a string attribute or an AttributeProto, not both.
repeated .onnx.AttributeProto attribute_proto = 11;
- Specified by:
getAttributeProto
in interfaceOnnx.FunctionProtoOrBuilder
-
getAttributeProtoOrBuilder
The attribute protos of the function. It is for function attributes with default values. A function attribute shall be represented either as a string attribute or an AttributeProto, not both.
repeated .onnx.AttributeProto attribute_proto = 11;
- Specified by:
getAttributeProtoOrBuilder
in interfaceOnnx.FunctionProtoOrBuilder
-
getNodeList
The nodes in the function.
repeated .onnx.NodeProto node = 7;
- Specified by:
getNodeList
in interfaceOnnx.FunctionProtoOrBuilder
-
getNodeOrBuilderList
The nodes in the function.
repeated .onnx.NodeProto node = 7;
- Specified by:
getNodeOrBuilderList
in interfaceOnnx.FunctionProtoOrBuilder
-
getNodeCount
public int getNodeCount()The nodes in the function.
repeated .onnx.NodeProto node = 7;
- Specified by:
getNodeCount
in interfaceOnnx.FunctionProtoOrBuilder
-
getNode
The nodes in the function.
repeated .onnx.NodeProto node = 7;
- Specified by:
getNode
in interfaceOnnx.FunctionProtoOrBuilder
-
getNodeOrBuilder
The nodes in the function.
repeated .onnx.NodeProto node = 7;
- Specified by:
getNodeOrBuilder
in interfaceOnnx.FunctionProtoOrBuilder
-
hasDocString
public boolean hasDocString()A human-readable documentation for this function. Markdown is allowed.
optional string doc_string = 8;
- Specified by:
hasDocString
in interfaceOnnx.FunctionProtoOrBuilder
- Returns:
- Whether the docString field is set.
-
getDocString
A human-readable documentation for this function. Markdown is allowed.
optional string doc_string = 8;
- Specified by:
getDocString
in interfaceOnnx.FunctionProtoOrBuilder
- Returns:
- The docString.
-
getDocStringBytes
public com.google.protobuf.ByteString getDocStringBytes()A human-readable documentation for this function. Markdown is allowed.
optional string doc_string = 8;
- Specified by:
getDocStringBytes
in interfaceOnnx.FunctionProtoOrBuilder
- Returns:
- The bytes for docString.
-
getOpsetImportList
repeated .onnx.OperatorSetIdProto opset_import = 9;
- Specified by:
getOpsetImportList
in interfaceOnnx.FunctionProtoOrBuilder
-
getOpsetImportOrBuilderList
repeated .onnx.OperatorSetIdProto opset_import = 9;
- Specified by:
getOpsetImportOrBuilderList
in interfaceOnnx.FunctionProtoOrBuilder
-
getOpsetImportCount
public int getOpsetImportCount()repeated .onnx.OperatorSetIdProto opset_import = 9;
- Specified by:
getOpsetImportCount
in interfaceOnnx.FunctionProtoOrBuilder
-
getOpsetImport
repeated .onnx.OperatorSetIdProto opset_import = 9;
- Specified by:
getOpsetImport
in interfaceOnnx.FunctionProtoOrBuilder
-
getOpsetImportOrBuilder
repeated .onnx.OperatorSetIdProto opset_import = 9;
- Specified by:
getOpsetImportOrBuilder
in interfaceOnnx.FunctionProtoOrBuilder
-
hasDomain
public boolean hasDomain()The domain which this function belongs to. Combined with FunctionProto.name, this forms the unique identity of the FunctionProto.
optional string domain = 10;
- Specified by:
hasDomain
in interfaceOnnx.FunctionProtoOrBuilder
- Returns:
- Whether the domain field is set.
-
getDomain
The domain which this function belongs to. Combined with FunctionProto.name, this forms the unique identity of the FunctionProto.
optional string domain = 10;
- Specified by:
getDomain
in interfaceOnnx.FunctionProtoOrBuilder
- Returns:
- The domain.
-
getDomainBytes
public com.google.protobuf.ByteString getDomainBytes()The domain which this function belongs to. Combined with FunctionProto.name, this forms the unique identity of the FunctionProto.
optional string domain = 10;
- Specified by:
getDomainBytes
in interfaceOnnx.FunctionProtoOrBuilder
- Returns:
- The bytes for domain.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
- 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 Onnx.FunctionProto parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Onnx.FunctionProto parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Onnx.FunctionProto parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Onnx.FunctionProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Onnx.FunctionProto parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Onnx.FunctionProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Onnx.FunctionProto parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Onnx.FunctionProto parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Onnx.FunctionProto parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Onnx.FunctionProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Onnx.FunctionProto.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
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
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-