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
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeonnx.FunctionProtoNested 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 intstatic final intstatic final intstatic final com.google.protobuf.Parser<Onnx.FunctionProto>Deprecated.Fields 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 TypeMethodDescriptionbooleangetAttribute(int index) The attribute parameters of the function.com.google.protobuf.ByteStringgetAttributeBytes(int index) The attribute parameters of the function.intThe attribute parameters of the function.com.google.protobuf.ProtocolStringListThe attribute parameters of the function.getAttributeProto(int index) The attribute protos of the function.intThe 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.FunctionProtostatic final com.google.protobuf.Descriptors.DescriptorA human-readable documentation for this function.com.google.protobuf.ByteStringA human-readable documentation for this function.The domain which this function belongs to.com.google.protobuf.ByteStringThe domain which this function belongs to.getInput(int index) The inputs and outputs of the function.com.google.protobuf.ByteStringgetInputBytes(int index) The inputs and outputs of the function.intThe inputs and outputs of the function.com.google.protobuf.ProtocolStringListThe inputs and outputs of the function.getName()The name of the function, similar usage of op_type in OperatorProto.com.google.protobuf.ByteStringThe name of the function, similar usage of op_type in OperatorProto.getNode(int index) The nodes in the function.intThe 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;intrepeated .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.ByteStringgetOutputBytes(int index) repeated string output = 5;intrepeated string output = 5;com.google.protobuf.ProtocolStringListrepeated string output = 5;com.google.protobuf.Parser<Onnx.FunctionProto>intbooleanA human-readable documentation for this function.booleanThe domain which this function belongs to.inthashCode()booleanhasName()The name of the function, similar usage of op_type in OperatorProto.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic Onnx.FunctionProto.Builderstatic Onnx.FunctionProto.BuildernewBuilder(Onnx.FunctionProto prototype) protected Onnx.FunctionProto.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static Onnx.FunctionProtoparseDelimitedFrom(InputStream input) static Onnx.FunctionProtoparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Onnx.FunctionProtoparseFrom(byte[] data) static Onnx.FunctionProtoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Onnx.FunctionProtoparseFrom(com.google.protobuf.ByteString data) static Onnx.FunctionProtoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Onnx.FunctionProtoparseFrom(com.google.protobuf.CodedInputStream input) static Onnx.FunctionProtoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Onnx.FunctionProtoparseFrom(InputStream input) static Onnx.FunctionProtoparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Onnx.FunctionProtoparseFrom(ByteBuffer data) static Onnx.FunctionProtoparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Onnx.FunctionProto>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, 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, 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:
-
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:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein 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:
hasNamein 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:
getNamein 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:
getNameBytesin 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:
getInputListin 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:
getInputCountin interfaceOnnx.FunctionProtoOrBuilder- Returns:
- The count of input.
-
getInput
The inputs and outputs of the function.
repeated string input = 4;- Specified by:
getInputin 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:
getInputBytesin 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:
getOutputListin interfaceOnnx.FunctionProtoOrBuilder- Returns:
- A list containing the output.
-
getOutputCount
public int getOutputCount()repeated string output = 5;- Specified by:
getOutputCountin interfaceOnnx.FunctionProtoOrBuilder- Returns:
- The count of output.
-
getOutput
repeated string output = 5;- Specified by:
getOutputin 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:
getOutputBytesin 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:
getAttributeListin 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:
getAttributeCountin 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:
getAttributein 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:
getAttributeBytesin 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:
getAttributeProtoListin 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:
getAttributeProtoOrBuilderListin 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:
getAttributeProtoCountin 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:
getAttributeProtoin 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:
getAttributeProtoOrBuilderin interfaceOnnx.FunctionProtoOrBuilder
-
getNodeList
The nodes in the function.
repeated .onnx.NodeProto node = 7;- Specified by:
getNodeListin interfaceOnnx.FunctionProtoOrBuilder
-
getNodeOrBuilderList
The nodes in the function.
repeated .onnx.NodeProto node = 7;- Specified by:
getNodeOrBuilderListin interfaceOnnx.FunctionProtoOrBuilder
-
getNodeCount
public int getNodeCount()The nodes in the function.
repeated .onnx.NodeProto node = 7;- Specified by:
getNodeCountin interfaceOnnx.FunctionProtoOrBuilder
-
getNode
The nodes in the function.
repeated .onnx.NodeProto node = 7;- Specified by:
getNodein interfaceOnnx.FunctionProtoOrBuilder
-
getNodeOrBuilder
The nodes in the function.
repeated .onnx.NodeProto node = 7;- Specified by:
getNodeOrBuilderin interfaceOnnx.FunctionProtoOrBuilder
-
hasDocString
public boolean hasDocString()A human-readable documentation for this function. Markdown is allowed.
optional string doc_string = 8;- Specified by:
hasDocStringin 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:
getDocStringin 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:
getDocStringBytesin interfaceOnnx.FunctionProtoOrBuilder- Returns:
- The bytes for docString.
-
getOpsetImportList
repeated .onnx.OperatorSetIdProto opset_import = 9;- Specified by:
getOpsetImportListin interfaceOnnx.FunctionProtoOrBuilder
-
getOpsetImportOrBuilderList
repeated .onnx.OperatorSetIdProto opset_import = 9;- Specified by:
getOpsetImportOrBuilderListin interfaceOnnx.FunctionProtoOrBuilder
-
getOpsetImportCount
public int getOpsetImportCount()repeated .onnx.OperatorSetIdProto opset_import = 9;- Specified by:
getOpsetImportCountin interfaceOnnx.FunctionProtoOrBuilder
-
getOpsetImport
repeated .onnx.OperatorSetIdProto opset_import = 9;- Specified by:
getOpsetImportin interfaceOnnx.FunctionProtoOrBuilder
-
getOpsetImportOrBuilder
repeated .onnx.OperatorSetIdProto opset_import = 9;- Specified by:
getOpsetImportOrBuilderin 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:
hasDomainin 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:
getDomainin 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:
getDomainBytesin interfaceOnnx.FunctionProtoOrBuilder- Returns:
- The bytes for domain.
-
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 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:
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 Onnx.FunctionProto.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
-