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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Onnx.FunctionProto.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<Onnx.FunctionProto.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Onnx.FunctionProto.Builder>
    • getDefaultInstanceForType

      public Onnx.FunctionProto getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Onnx.FunctionProto build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Onnx.FunctionProto buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.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 interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<Onnx.FunctionProto.Builder>
    • clearField

      public Onnx.FunctionProto.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Onnx.FunctionProto.Builder>
    • clearOneof

      public Onnx.FunctionProto.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.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 interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.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 interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Onnx.FunctionProto.Builder>
    • mergeFrom

      public Onnx.FunctionProto.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Onnx.FunctionProto.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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 interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.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 interface Onnx.FunctionProtoOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public String 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 interface Onnx.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 interface Onnx.FunctionProtoOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Onnx.FunctionProto.Builder setName(String value)
       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

      public Onnx.FunctionProto.Builder 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

      public Onnx.FunctionProto.Builder setNameBytes(com.google.protobuf.ByteString value)
       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 interface Onnx.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 interface Onnx.FunctionProtoOrBuilder
      Returns:
      The count of input.
    • getInput

      public String getInput(int index)
       The inputs and outputs of the function.
       
      repeated string input = 4;
      Specified by:
      getInput in interface Onnx.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 interface Onnx.FunctionProtoOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the input at the given index.
    • setInput

      public Onnx.FunctionProto.Builder setInput(int index, String value)
       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

      public Onnx.FunctionProto.Builder addInput(String value)
       The inputs and outputs of the function.
       
      repeated string input = 4;
      Parameters:
      value - The input to add.
      Returns:
      This builder for chaining.
    • addAllInput

      public Onnx.FunctionProto.Builder addAllInput(Iterable<String> values)
       The inputs and outputs of the function.
       
      repeated string input = 4;
      Parameters:
      values - The input to add.
      Returns:
      This builder for chaining.
    • clearInput

      public Onnx.FunctionProto.Builder clearInput()
       The inputs and outputs of the function.
       
      repeated string input = 4;
      Returns:
      This builder for chaining.
    • addInputBytes

      public Onnx.FunctionProto.Builder addInputBytes(com.google.protobuf.ByteString value)
       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 interface Onnx.FunctionProtoOrBuilder
      Returns:
      A list containing the output.
    • getOutputCount

      public int getOutputCount()
      repeated string output = 5;
      Specified by:
      getOutputCount in interface Onnx.FunctionProtoOrBuilder
      Returns:
      The count of output.
    • getOutput

      public String getOutput(int index)
      repeated string output = 5;
      Specified by:
      getOutput in interface Onnx.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 interface Onnx.FunctionProtoOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the output at the given index.
    • setOutput

      public Onnx.FunctionProto.Builder setOutput(int index, String value)
      repeated string output = 5;
      Parameters:
      index - The index to set the value at.
      value - The output to set.
      Returns:
      This builder for chaining.
    • addOutput

      public Onnx.FunctionProto.Builder addOutput(String value)
      repeated string output = 5;
      Parameters:
      value - The output to add.
      Returns:
      This builder for chaining.
    • addAllOutput

      public Onnx.FunctionProto.Builder addAllOutput(Iterable<String> values)
      repeated string output = 5;
      Parameters:
      values - The output to add.
      Returns:
      This builder for chaining.
    • clearOutput

      public Onnx.FunctionProto.Builder clearOutput()
      repeated string output = 5;
      Returns:
      This builder for chaining.
    • addOutputBytes

      public Onnx.FunctionProto.Builder addOutputBytes(com.google.protobuf.ByteString value)
      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 interface Onnx.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 interface Onnx.FunctionProtoOrBuilder
      Returns:
      The count of attribute.
    • getAttribute

      public String getAttribute(int index)
       The attribute parameters of the function.
       It is for function parameters without default values.
       
      repeated string attribute = 6;
      Specified by:
      getAttribute in interface Onnx.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 interface Onnx.FunctionProtoOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the attribute at the given index.
    • setAttribute

      public Onnx.FunctionProto.Builder setAttribute(int index, String value)
       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

      public Onnx.FunctionProto.Builder addAttribute(String value)
       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

      public Onnx.FunctionProto.Builder addAllAttribute(Iterable<String> values)
       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

      public Onnx.FunctionProto.Builder 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

      public Onnx.FunctionProto.Builder addAttributeBytes(com.google.protobuf.ByteString value)
       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

      public List<Onnx.AttributeProto> 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 interface Onnx.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 interface Onnx.FunctionProtoOrBuilder
    • getAttributeProto

      public Onnx.AttributeProto getAttributeProto(int index)
       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 interface Onnx.FunctionProtoOrBuilder
    • setAttributeProto

      public Onnx.FunctionProto.Builder setAttributeProto(int index, Onnx.AttributeProto value)
       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

      public Onnx.FunctionProto.Builder addAttributeProto(Onnx.AttributeProto value)
       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 value)
       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(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

      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

      public Onnx.FunctionProto.Builder 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

      public Onnx.FunctionProto.Builder removeAttributeProto(int index)
       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

      public Onnx.AttributeProto.Builder getAttributeProtoBuilder(int index)
       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

      public Onnx.AttributeProtoOrBuilder getAttributeProtoOrBuilder(int index)
       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 interface Onnx.FunctionProtoOrBuilder
    • getAttributeProtoOrBuilderList

      public List<? extends Onnx.AttributeProtoOrBuilder> 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 interface Onnx.FunctionProtoOrBuilder
    • addAttributeProtoBuilder

      public Onnx.AttributeProto.Builder 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

      public Onnx.AttributeProto.Builder addAttributeProtoBuilder(int index)
       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

      public List<Onnx.AttributeProto.Builder> 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

      public List<Onnx.NodeProto> getNodeList()
       The nodes in the function.
       
      repeated .onnx.NodeProto node = 7;
      Specified by:
      getNodeList in interface Onnx.FunctionProtoOrBuilder
    • getNodeCount

      public int getNodeCount()
       The nodes in the function.
       
      repeated .onnx.NodeProto node = 7;
      Specified by:
      getNodeCount in interface Onnx.FunctionProtoOrBuilder
    • getNode

      public Onnx.NodeProto getNode(int index)
       The nodes in the function.
       
      repeated .onnx.NodeProto node = 7;
      Specified by:
      getNode in interface Onnx.FunctionProtoOrBuilder
    • setNode

      public Onnx.FunctionProto.Builder setNode(int index, Onnx.NodeProto value)
       The nodes in the function.
       
      repeated .onnx.NodeProto node = 7;
    • setNode

      public Onnx.FunctionProto.Builder setNode(int index, Onnx.NodeProto.Builder builderForValue)
       The nodes in the function.
       
      repeated .onnx.NodeProto node = 7;
    • addNode

       The nodes in the function.
       
      repeated .onnx.NodeProto node = 7;
    • addNode

      public Onnx.FunctionProto.Builder addNode(int index, Onnx.NodeProto value)
       The nodes in the function.
       
      repeated .onnx.NodeProto node = 7;
    • addNode

      public Onnx.FunctionProto.Builder addNode(Onnx.NodeProto.Builder builderForValue)
       The nodes in the function.
       
      repeated .onnx.NodeProto node = 7;
    • addNode

      public Onnx.FunctionProto.Builder addNode(int index, Onnx.NodeProto.Builder builderForValue)
       The nodes in the function.
       
      repeated .onnx.NodeProto node = 7;
    • addAllNode

      public Onnx.FunctionProto.Builder addAllNode(Iterable<? extends Onnx.NodeProto> values)
       The nodes in the function.
       
      repeated .onnx.NodeProto node = 7;
    • clearNode

      public Onnx.FunctionProto.Builder clearNode()
       The nodes in the function.
       
      repeated .onnx.NodeProto node = 7;
    • removeNode

      public Onnx.FunctionProto.Builder removeNode(int index)
       The nodes in the function.
       
      repeated .onnx.NodeProto node = 7;
    • getNodeBuilder

      public Onnx.NodeProto.Builder getNodeBuilder(int index)
       The nodes in the function.
       
      repeated .onnx.NodeProto node = 7;
    • getNodeOrBuilder

      public Onnx.NodeProtoOrBuilder getNodeOrBuilder(int index)
       The nodes in the function.
       
      repeated .onnx.NodeProto node = 7;
      Specified by:
      getNodeOrBuilder in interface Onnx.FunctionProtoOrBuilder
    • getNodeOrBuilderList

      public List<? extends Onnx.NodeProtoOrBuilder> getNodeOrBuilderList()
       The nodes in the function.
       
      repeated .onnx.NodeProto node = 7;
      Specified by:
      getNodeOrBuilderList in interface Onnx.FunctionProtoOrBuilder
    • addNodeBuilder

      public Onnx.NodeProto.Builder addNodeBuilder()
       The nodes in the function.
       
      repeated .onnx.NodeProto node = 7;
    • addNodeBuilder

      public Onnx.NodeProto.Builder addNodeBuilder(int index)
       The nodes in the function.
       
      repeated .onnx.NodeProto node = 7;
    • getNodeBuilderList

      public List<Onnx.NodeProto.Builder> 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 interface Onnx.FunctionProtoOrBuilder
      Returns:
      Whether the docString field is set.
    • getDocString

      public String getDocString()
       A human-readable documentation for this function. Markdown is allowed.
       
      optional string doc_string = 8;
      Specified by:
      getDocString in interface Onnx.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 interface Onnx.FunctionProtoOrBuilder
      Returns:
      The bytes for docString.
    • setDocString

      public Onnx.FunctionProto.Builder setDocString(String value)
       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

      public Onnx.FunctionProto.Builder clearDocString()
       A human-readable documentation for this function. Markdown is allowed.
       
      optional string doc_string = 8;
      Returns:
      This builder for chaining.
    • setDocStringBytes

      public Onnx.FunctionProto.Builder setDocStringBytes(com.google.protobuf.ByteString value)
       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

      public List<Onnx.OperatorSetIdProto> getOpsetImportList()
      repeated .onnx.OperatorSetIdProto opset_import = 9;
      Specified by:
      getOpsetImportList in interface Onnx.FunctionProtoOrBuilder
    • getOpsetImportCount

      public int getOpsetImportCount()
      repeated .onnx.OperatorSetIdProto opset_import = 9;
      Specified by:
      getOpsetImportCount in interface Onnx.FunctionProtoOrBuilder
    • getOpsetImport

      public Onnx.OperatorSetIdProto getOpsetImport(int index)
      repeated .onnx.OperatorSetIdProto opset_import = 9;
      Specified by:
      getOpsetImport in interface Onnx.FunctionProtoOrBuilder
    • setOpsetImport

      public Onnx.FunctionProto.Builder setOpsetImport(int index, Onnx.OperatorSetIdProto value)
      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

      public Onnx.FunctionProto.Builder addOpsetImport(Onnx.OperatorSetIdProto value)
      repeated .onnx.OperatorSetIdProto opset_import = 9;
    • addOpsetImport

      public Onnx.FunctionProto.Builder addOpsetImport(int index, Onnx.OperatorSetIdProto value)
      repeated .onnx.OperatorSetIdProto opset_import = 9;
    • addOpsetImport

      public Onnx.FunctionProto.Builder addOpsetImport(Onnx.OperatorSetIdProto.Builder builderForValue)
      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

      public Onnx.FunctionProto.Builder clearOpsetImport()
      repeated .onnx.OperatorSetIdProto opset_import = 9;
    • removeOpsetImport

      public Onnx.FunctionProto.Builder removeOpsetImport(int index)
      repeated .onnx.OperatorSetIdProto opset_import = 9;
    • getOpsetImportBuilder

      public Onnx.OperatorSetIdProto.Builder getOpsetImportBuilder(int index)
      repeated .onnx.OperatorSetIdProto opset_import = 9;
    • getOpsetImportOrBuilder

      public Onnx.OperatorSetIdProtoOrBuilder getOpsetImportOrBuilder(int index)
      repeated .onnx.OperatorSetIdProto opset_import = 9;
      Specified by:
      getOpsetImportOrBuilder in interface Onnx.FunctionProtoOrBuilder
    • getOpsetImportOrBuilderList

      public List<? extends Onnx.OperatorSetIdProtoOrBuilder> getOpsetImportOrBuilderList()
      repeated .onnx.OperatorSetIdProto opset_import = 9;
      Specified by:
      getOpsetImportOrBuilderList in interface Onnx.FunctionProtoOrBuilder
    • addOpsetImportBuilder

      public Onnx.OperatorSetIdProto.Builder addOpsetImportBuilder()
      repeated .onnx.OperatorSetIdProto opset_import = 9;
    • addOpsetImportBuilder

      public Onnx.OperatorSetIdProto.Builder addOpsetImportBuilder(int index)
      repeated .onnx.OperatorSetIdProto opset_import = 9;
    • getOpsetImportBuilderList

      public List<Onnx.OperatorSetIdProto.Builder> 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 interface Onnx.FunctionProtoOrBuilder
      Returns:
      Whether the domain field is set.
    • getDomain

      public String 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 interface Onnx.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 interface Onnx.FunctionProtoOrBuilder
      Returns:
      The bytes for domain.
    • setDomain

      public Onnx.FunctionProto.Builder setDomain(String value)
       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

      public Onnx.FunctionProto.Builder 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

      public Onnx.FunctionProto.Builder setDomainBytes(com.google.protobuf.ByteString value)
       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 interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Onnx.FunctionProto.Builder>
    • mergeUnknownFields

      public final Onnx.FunctionProto.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Onnx.FunctionProto.Builder>