Package onnx
Class Onnx.FunctionProto.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Onnx.FunctionProto.Builder>
onnx.Onnx.FunctionProto.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,Onnx.FunctionProtoOrBuilder
- Enclosing class:
- Onnx.FunctionProto
public static final class Onnx.FunctionProto.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Onnx.FunctionProto.Builder>
implements Onnx.FunctionProtoOrBuilder
Protobuf type
onnx.FunctionProto
-
Method Summary
Modifier and TypeMethodDescriptionaddAllAttribute
(Iterable<String> values) The attribute parameters of the function.addAllAttributeProto
(Iterable<? extends Onnx.AttributeProto> values) The attribute protos of the function.addAllInput
(Iterable<String> values) The inputs and outputs of the function.addAllNode
(Iterable<? extends Onnx.NodeProto> values) The nodes in the function.addAllOpsetImport
(Iterable<? extends Onnx.OperatorSetIdProto> values) repeated .onnx.OperatorSetIdProto opset_import = 9;
addAllOutput
(Iterable<String> values) repeated string output = 5;
addAttribute
(String value) The attribute parameters of the function.addAttributeBytes
(com.google.protobuf.ByteString value) The attribute parameters of the function.addAttributeProto
(int index, Onnx.AttributeProto value) The attribute protos of the function.addAttributeProto
(int index, Onnx.AttributeProto.Builder builderForValue) The attribute protos of the function.The attribute protos of the function.addAttributeProto
(Onnx.AttributeProto.Builder builderForValue) The attribute protos of the function.The attribute protos of the function.addAttributeProtoBuilder
(int index) The attribute protos of the function.The inputs and outputs of the function.addInputBytes
(com.google.protobuf.ByteString value) The inputs and outputs of the function.addNode
(int index, Onnx.NodeProto value) The nodes in the function.addNode
(int index, Onnx.NodeProto.Builder builderForValue) The nodes in the function.addNode
(Onnx.NodeProto value) The nodes in the function.addNode
(Onnx.NodeProto.Builder builderForValue) The nodes in the function.The nodes in the function.addNodeBuilder
(int index) The nodes in the function.addOpsetImport
(int index, Onnx.OperatorSetIdProto value) repeated .onnx.OperatorSetIdProto opset_import = 9;
addOpsetImport
(int index, Onnx.OperatorSetIdProto.Builder builderForValue) repeated .onnx.OperatorSetIdProto opset_import = 9;
repeated .onnx.OperatorSetIdProto opset_import = 9;
addOpsetImport
(Onnx.OperatorSetIdProto.Builder builderForValue) repeated .onnx.OperatorSetIdProto opset_import = 9;
repeated .onnx.OperatorSetIdProto opset_import = 9;
addOpsetImportBuilder
(int index) repeated .onnx.OperatorSetIdProto opset_import = 9;
repeated string output = 5;
addOutputBytes
(com.google.protobuf.ByteString value) repeated string output = 5;
addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
The attribute parameters of the function.The attribute protos of the function.A human-readable documentation for this function.The domain which this function belongs to.clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) The inputs and outputs of the function.The name of the function, similar usage of op_type in OperatorProto.The nodes in the function.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) repeated .onnx.OperatorSetIdProto opset_import = 9;
repeated string output = 5;
clone()
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.getAttributeProtoBuilder
(int index) The attribute protos of the function.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 final com.google.protobuf.Descriptors.Descriptor
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.getNodeBuilder
(int index) The nodes in the function.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;
getOpsetImportBuilder
(int index) repeated .onnx.OperatorSetIdProto opset_import = 9;
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;
boolean
A human-readable documentation for this function.boolean
The domain which this function belongs to.boolean
hasName()
The name of the function, similar usage of op_type in OperatorProto.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(Onnx.FunctionProto other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) removeAttributeProto
(int index) The attribute protos of the function.removeNode
(int index) The nodes in the function.removeOpsetImport
(int index) repeated .onnx.OperatorSetIdProto opset_import = 9;
setAttribute
(int index, String value) The attribute parameters of the function.setAttributeProto
(int index, Onnx.AttributeProto value) The attribute protos of the function.setAttributeProto
(int index, Onnx.AttributeProto.Builder builderForValue) The attribute protos of the function.setDocString
(String value) A human-readable documentation for this function.setDocStringBytes
(com.google.protobuf.ByteString value) A human-readable documentation for this function.The domain which this function belongs to.setDomainBytes
(com.google.protobuf.ByteString value) The domain which this function belongs to.The inputs and outputs of the function.The name of the function, similar usage of op_type in OperatorProto.setNameBytes
(com.google.protobuf.ByteString value) The name of the function, similar usage of op_type in OperatorProto.setNode
(int index, Onnx.NodeProto value) The nodes in the function.setNode
(int index, Onnx.NodeProto.Builder builderForValue) The nodes in the function.setOpsetImport
(int index, Onnx.OperatorSetIdProto value) repeated .onnx.OperatorSetIdProto opset_import = 9;
setOpsetImport
(int index, Onnx.OperatorSetIdProto.Builder builderForValue) repeated .onnx.OperatorSetIdProto opset_import = 9;
repeated string output = 5;
setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.Builder<Onnx.FunctionProto.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Onnx.FunctionProto.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Onnx.FunctionProto.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Onnx.FunctionProto.Builder>
-
setField
public Onnx.FunctionProto.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Onnx.FunctionProto.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Onnx.FunctionProto.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Onnx.FunctionProto.Builder>
-
setRepeatedField
public Onnx.FunctionProto.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Onnx.FunctionProto.Builder>
-
addRepeatedField
public Onnx.FunctionProto.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Onnx.FunctionProto.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Onnx.FunctionProto.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Onnx.FunctionProto.Builder>
-
mergeFrom
public Onnx.FunctionProto.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Onnx.FunctionProto.Builder>
- Throws:
IOException
-
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.
-
setName
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;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
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;
- Returns:
- This builder for chaining.
-
setNameBytes
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;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
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.
-
setInput
The inputs and outputs of the function.
repeated string input = 4;
- Parameters:
index
- The index to set the value at.value
- The input to set.- Returns:
- This builder for chaining.
-
addInput
The inputs and outputs of the function.
repeated string input = 4;
- Parameters:
value
- The input to add.- Returns:
- This builder for chaining.
-
addAllInput
The inputs and outputs of the function.
repeated string input = 4;
- Parameters:
values
- The input to add.- Returns:
- This builder for chaining.
-
clearInput
The inputs and outputs of the function.
repeated string input = 4;
- Returns:
- This builder for chaining.
-
addInputBytes
The inputs and outputs of the function.
repeated string input = 4;
- Parameters:
value
- The bytes of the input to add.- Returns:
- This builder for chaining.
-
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.
-
setOutput
repeated string output = 5;
- Parameters:
index
- The index to set the value at.value
- The output to set.- Returns:
- This builder for chaining.
-
addOutput
repeated string output = 5;
- Parameters:
value
- The output to add.- Returns:
- This builder for chaining.
-
addAllOutput
repeated string output = 5;
- Parameters:
values
- The output to add.- Returns:
- This builder for chaining.
-
clearOutput
repeated string output = 5;
- Returns:
- This builder for chaining.
-
addOutputBytes
repeated string output = 5;
- Parameters:
value
- The bytes of the output to add.- Returns:
- This builder for chaining.
-
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.
-
setAttribute
The attribute parameters of the function. It is for function parameters without default values.
repeated string attribute = 6;
- Parameters:
index
- The index to set the value at.value
- The attribute to set.- Returns:
- This builder for chaining.
-
addAttribute
The attribute parameters of the function. It is for function parameters without default values.
repeated string attribute = 6;
- Parameters:
value
- The attribute to add.- Returns:
- This builder for chaining.
-
addAllAttribute
The attribute parameters of the function. It is for function parameters without default values.
repeated string attribute = 6;
- Parameters:
values
- The attribute to add.- Returns:
- This builder for chaining.
-
clearAttribute
The attribute parameters of the function. It is for function parameters without default values.
repeated string attribute = 6;
- Returns:
- This builder for chaining.
-
addAttributeBytes
The attribute parameters of the function. It is for function parameters without default values.
repeated string attribute = 6;
- Parameters:
value
- The bytes of the attribute to add.- Returns:
- This builder for chaining.
-
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
-
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
-
setAttributeProto
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;
-
setAttributeProto
public Onnx.FunctionProto.Builder setAttributeProto(int index, Onnx.AttributeProto.Builder builderForValue) 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;
-
addAttributeProto
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;
-
addAttributeProto
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;
-
addAttributeProto
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;
-
addAttributeProto
public Onnx.FunctionProto.Builder addAttributeProto(int index, Onnx.AttributeProto.Builder builderForValue) 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;
-
addAllAttributeProto
public Onnx.FunctionProto.Builder addAllAttributeProto(Iterable<? extends Onnx.AttributeProto> values) 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;
-
clearAttributeProto
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;
-
removeAttributeProto
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;
-
getAttributeProtoBuilder
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;
-
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
-
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
-
addAttributeProtoBuilder
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;
-
addAttributeProtoBuilder
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;
-
getAttributeProtoBuilderList
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;
-
getNodeList
The nodes in the function.
repeated .onnx.NodeProto node = 7;
- Specified by:
getNodeList
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
-
setNode
The nodes in the function.
repeated .onnx.NodeProto node = 7;
-
setNode
The nodes in the function.
repeated .onnx.NodeProto node = 7;
-
addNode
The nodes in the function.
repeated .onnx.NodeProto node = 7;
-
addNode
The nodes in the function.
repeated .onnx.NodeProto node = 7;
-
addNode
The nodes in the function.
repeated .onnx.NodeProto node = 7;
-
addNode
The nodes in the function.
repeated .onnx.NodeProto node = 7;
-
addAllNode
The nodes in the function.
repeated .onnx.NodeProto node = 7;
-
clearNode
The nodes in the function.
repeated .onnx.NodeProto node = 7;
-
removeNode
The nodes in the function.
repeated .onnx.NodeProto node = 7;
-
getNodeBuilder
The nodes in the function.
repeated .onnx.NodeProto node = 7;
-
getNodeOrBuilder
The nodes in the function.
repeated .onnx.NodeProto node = 7;
- Specified by:
getNodeOrBuilder
in interfaceOnnx.FunctionProtoOrBuilder
-
getNodeOrBuilderList
The nodes in the function.
repeated .onnx.NodeProto node = 7;
- Specified by:
getNodeOrBuilderList
in interfaceOnnx.FunctionProtoOrBuilder
-
addNodeBuilder
The nodes in the function.
repeated .onnx.NodeProto node = 7;
-
addNodeBuilder
The nodes in the function.
repeated .onnx.NodeProto node = 7;
-
getNodeBuilderList
The nodes in the function.
repeated .onnx.NodeProto node = 7;
-
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.
-
setDocString
A human-readable documentation for this function. Markdown is allowed.
optional string doc_string = 8;
- Parameters:
value
- The docString to set.- Returns:
- This builder for chaining.
-
clearDocString
A human-readable documentation for this function. Markdown is allowed.
optional string doc_string = 8;
- Returns:
- This builder for chaining.
-
setDocStringBytes
A human-readable documentation for this function. Markdown is allowed.
optional string doc_string = 8;
- Parameters:
value
- The bytes for docString to set.- Returns:
- This builder for chaining.
-
getOpsetImportList
repeated .onnx.OperatorSetIdProto opset_import = 9;
- Specified by:
getOpsetImportList
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
-
setOpsetImport
repeated .onnx.OperatorSetIdProto opset_import = 9;
-
setOpsetImport
public Onnx.FunctionProto.Builder setOpsetImport(int index, Onnx.OperatorSetIdProto.Builder builderForValue) repeated .onnx.OperatorSetIdProto opset_import = 9;
-
addOpsetImport
repeated .onnx.OperatorSetIdProto opset_import = 9;
-
addOpsetImport
repeated .onnx.OperatorSetIdProto opset_import = 9;
-
addOpsetImport
repeated .onnx.OperatorSetIdProto opset_import = 9;
-
addOpsetImport
public Onnx.FunctionProto.Builder addOpsetImport(int index, Onnx.OperatorSetIdProto.Builder builderForValue) repeated .onnx.OperatorSetIdProto opset_import = 9;
-
addAllOpsetImport
public Onnx.FunctionProto.Builder addAllOpsetImport(Iterable<? extends Onnx.OperatorSetIdProto> values) repeated .onnx.OperatorSetIdProto opset_import = 9;
-
clearOpsetImport
repeated .onnx.OperatorSetIdProto opset_import = 9;
-
removeOpsetImport
repeated .onnx.OperatorSetIdProto opset_import = 9;
-
getOpsetImportBuilder
repeated .onnx.OperatorSetIdProto opset_import = 9;
-
getOpsetImportOrBuilder
repeated .onnx.OperatorSetIdProto opset_import = 9;
- Specified by:
getOpsetImportOrBuilder
in interfaceOnnx.FunctionProtoOrBuilder
-
getOpsetImportOrBuilderList
repeated .onnx.OperatorSetIdProto opset_import = 9;
- Specified by:
getOpsetImportOrBuilderList
in interfaceOnnx.FunctionProtoOrBuilder
-
addOpsetImportBuilder
repeated .onnx.OperatorSetIdProto opset_import = 9;
-
addOpsetImportBuilder
repeated .onnx.OperatorSetIdProto opset_import = 9;
-
getOpsetImportBuilderList
repeated .onnx.OperatorSetIdProto opset_import = 9;
-
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.
-
setDomain
The domain which this function belongs to. Combined with FunctionProto.name, this forms the unique identity of the FunctionProto.
optional string domain = 10;
- Parameters:
value
- The domain to set.- Returns:
- This builder for chaining.
-
clearDomain
The domain which this function belongs to. Combined with FunctionProto.name, this forms the unique identity of the FunctionProto.
optional string domain = 10;
- Returns:
- This builder for chaining.
-
setDomainBytes
The domain which this function belongs to. Combined with FunctionProto.name, this forms the unique identity of the FunctionProto.
optional string domain = 10;
- Parameters:
value
- The bytes for domain to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Onnx.FunctionProto.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Onnx.FunctionProto.Builder>
-
mergeUnknownFields
public final Onnx.FunctionProto.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Onnx.FunctionProto.Builder>
-