public static final class OnnxMlProto3.AttributeProto.Builder extends com.github.os72.protobuf351.GeneratedMessageV3.Builder<OnnxMlProto3.AttributeProto.Builder> implements OnnxMlProto3.AttributeProtoOrBuilder
A named attribute containing either singular float, integer, string and tensor values, or repeated float, integer, string and tensor values. An AttributeProto MUST contain the name field, and *only one* of the following content fields, effectively enforcing a C/C++ union equivalent.Protobuf type
onnx.AttributeProtogetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.github.os72.protobuf351.Descriptors.Descriptor getDescriptor()
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<OnnxMlProto3.AttributeProto.Builder>public OnnxMlProto3.AttributeProto.Builder clear()
clear in interface com.github.os72.protobuf351.Message.Builderclear in interface com.github.os72.protobuf351.MessageLite.Builderclear in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<OnnxMlProto3.AttributeProto.Builder>public com.github.os72.protobuf351.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.github.os72.protobuf351.Message.BuildergetDescriptorForType in interface com.github.os72.protobuf351.MessageOrBuildergetDescriptorForType in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<OnnxMlProto3.AttributeProto.Builder>public OnnxMlProto3.AttributeProto getDefaultInstanceForType()
getDefaultInstanceForType in interface com.github.os72.protobuf351.MessageLiteOrBuildergetDefaultInstanceForType in interface com.github.os72.protobuf351.MessageOrBuilderpublic OnnxMlProto3.AttributeProto build()
build in interface com.github.os72.protobuf351.Message.Builderbuild in interface com.github.os72.protobuf351.MessageLite.Builderpublic OnnxMlProto3.AttributeProto buildPartial()
buildPartial in interface com.github.os72.protobuf351.Message.BuilderbuildPartial in interface com.github.os72.protobuf351.MessageLite.Builderpublic OnnxMlProto3.AttributeProto.Builder clone()
clone in interface com.github.os72.protobuf351.Message.Builderclone in interface com.github.os72.protobuf351.MessageLite.Builderclone in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<OnnxMlProto3.AttributeProto.Builder>public OnnxMlProto3.AttributeProto.Builder setField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field, Object value)
setField in interface com.github.os72.protobuf351.Message.BuildersetField in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<OnnxMlProto3.AttributeProto.Builder>public OnnxMlProto3.AttributeProto.Builder clearField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field)
clearField in interface com.github.os72.protobuf351.Message.BuilderclearField in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<OnnxMlProto3.AttributeProto.Builder>public OnnxMlProto3.AttributeProto.Builder clearOneof(com.github.os72.protobuf351.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.github.os72.protobuf351.Message.BuilderclearOneof in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<OnnxMlProto3.AttributeProto.Builder>public OnnxMlProto3.AttributeProto.Builder setRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.github.os72.protobuf351.Message.BuildersetRepeatedField in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<OnnxMlProto3.AttributeProto.Builder>public OnnxMlProto3.AttributeProto.Builder addRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.github.os72.protobuf351.Message.BuilderaddRepeatedField in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<OnnxMlProto3.AttributeProto.Builder>public OnnxMlProto3.AttributeProto.Builder mergeFrom(com.github.os72.protobuf351.Message other)
mergeFrom in interface com.github.os72.protobuf351.Message.BuildermergeFrom in class com.github.os72.protobuf351.AbstractMessage.Builder<OnnxMlProto3.AttributeProto.Builder>public OnnxMlProto3.AttributeProto.Builder mergeFrom(OnnxMlProto3.AttributeProto other)
public final boolean isInitialized()
isInitialized in interface com.github.os72.protobuf351.MessageLiteOrBuilderisInitialized in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<OnnxMlProto3.AttributeProto.Builder>public OnnxMlProto3.AttributeProto.Builder mergeFrom(com.github.os72.protobuf351.CodedInputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.github.os72.protobuf351.Message.BuildermergeFrom in interface com.github.os72.protobuf351.MessageLite.BuildermergeFrom in class com.github.os72.protobuf351.AbstractMessage.Builder<OnnxMlProto3.AttributeProto.Builder>IOExceptionpublic String getName()
The name field MUST be present for this version of the IR.
string name = 1;getName in interface OnnxMlProto3.AttributeProtoOrBuilderpublic com.github.os72.protobuf351.ByteString getNameBytes()
The name field MUST be present for this version of the IR.
string name = 1;getNameBytes in interface OnnxMlProto3.AttributeProtoOrBuilderpublic OnnxMlProto3.AttributeProto.Builder setName(String value)
The name field MUST be present for this version of the IR.
string name = 1;public OnnxMlProto3.AttributeProto.Builder clearName()
The name field MUST be present for this version of the IR.
string name = 1;public OnnxMlProto3.AttributeProto.Builder setNameBytes(com.github.os72.protobuf351.ByteString value)
The name field MUST be present for this version of the IR.
string name = 1;public String getDocString()
A human-readable documentation for this attribute. Markdown is allowed.
string doc_string = 13;getDocString in interface OnnxMlProto3.AttributeProtoOrBuilderpublic com.github.os72.protobuf351.ByteString getDocStringBytes()
A human-readable documentation for this attribute. Markdown is allowed.
string doc_string = 13;getDocStringBytes in interface OnnxMlProto3.AttributeProtoOrBuilderpublic OnnxMlProto3.AttributeProto.Builder setDocString(String value)
A human-readable documentation for this attribute. Markdown is allowed.
string doc_string = 13;public OnnxMlProto3.AttributeProto.Builder clearDocString()
A human-readable documentation for this attribute. Markdown is allowed.
string doc_string = 13;public OnnxMlProto3.AttributeProto.Builder setDocStringBytes(com.github.os72.protobuf351.ByteString value)
A human-readable documentation for this attribute. Markdown is allowed.
string doc_string = 13;public int getTypeValue()
The type field MUST be present for this version of the IR. For 0.0.1 versions of the IR, this field was not defined, and implementations needed to use has_field hueristics to determine which value field was in use. For IR_VERSION 0.0.2 or later, this field MUST be set and match the f|i|s|t|... field in use. This change was made to accomodate proto3 implementations.
.onnx.AttributeProto.AttributeType type = 20;getTypeValue in interface OnnxMlProto3.AttributeProtoOrBuilderpublic OnnxMlProto3.AttributeProto.Builder setTypeValue(int value)
The type field MUST be present for this version of the IR. For 0.0.1 versions of the IR, this field was not defined, and implementations needed to use has_field hueristics to determine which value field was in use. For IR_VERSION 0.0.2 or later, this field MUST be set and match the f|i|s|t|... field in use. This change was made to accomodate proto3 implementations.
.onnx.AttributeProto.AttributeType type = 20;public OnnxMlProto3.AttributeProto.AttributeType getType()
The type field MUST be present for this version of the IR. For 0.0.1 versions of the IR, this field was not defined, and implementations needed to use has_field hueristics to determine which value field was in use. For IR_VERSION 0.0.2 or later, this field MUST be set and match the f|i|s|t|... field in use. This change was made to accomodate proto3 implementations.
.onnx.AttributeProto.AttributeType type = 20;getType in interface OnnxMlProto3.AttributeProtoOrBuilderpublic OnnxMlProto3.AttributeProto.Builder setType(OnnxMlProto3.AttributeProto.AttributeType value)
The type field MUST be present for this version of the IR. For 0.0.1 versions of the IR, this field was not defined, and implementations needed to use has_field hueristics to determine which value field was in use. For IR_VERSION 0.0.2 or later, this field MUST be set and match the f|i|s|t|... field in use. This change was made to accomodate proto3 implementations.
.onnx.AttributeProto.AttributeType type = 20;public OnnxMlProto3.AttributeProto.Builder clearType()
The type field MUST be present for this version of the IR. For 0.0.1 versions of the IR, this field was not defined, and implementations needed to use has_field hueristics to determine which value field was in use. For IR_VERSION 0.0.2 or later, this field MUST be set and match the f|i|s|t|... field in use. This change was made to accomodate proto3 implementations.
.onnx.AttributeProto.AttributeType type = 20;public float getF()
Exactly ONE of the following fields must be present for this version of the IR
float f = 2;getF in interface OnnxMlProto3.AttributeProtoOrBuilderpublic OnnxMlProto3.AttributeProto.Builder setF(float value)
Exactly ONE of the following fields must be present for this version of the IR
float f = 2;public OnnxMlProto3.AttributeProto.Builder clearF()
Exactly ONE of the following fields must be present for this version of the IR
float f = 2;public long getI()
int
int64 i = 3;getI in interface OnnxMlProto3.AttributeProtoOrBuilderpublic OnnxMlProto3.AttributeProto.Builder setI(long value)
int
int64 i = 3;public OnnxMlProto3.AttributeProto.Builder clearI()
int
int64 i = 3;public com.github.os72.protobuf351.ByteString getS()
UTF-8 string
bytes s = 4;getS in interface OnnxMlProto3.AttributeProtoOrBuilderpublic OnnxMlProto3.AttributeProto.Builder setS(com.github.os72.protobuf351.ByteString value)
UTF-8 string
bytes s = 4;public OnnxMlProto3.AttributeProto.Builder clearS()
UTF-8 string
bytes s = 4;public boolean hasT()
tensor value
.onnx.TensorProto t = 5;hasT in interface OnnxMlProto3.AttributeProtoOrBuilderpublic OnnxMlProto3.TensorProto getT()
tensor value
.onnx.TensorProto t = 5;getT in interface OnnxMlProto3.AttributeProtoOrBuilderpublic OnnxMlProto3.AttributeProto.Builder setT(OnnxMlProto3.TensorProto value)
tensor value
.onnx.TensorProto t = 5;public OnnxMlProto3.AttributeProto.Builder setT(OnnxMlProto3.TensorProto.Builder builderForValue)
tensor value
.onnx.TensorProto t = 5;public OnnxMlProto3.AttributeProto.Builder mergeT(OnnxMlProto3.TensorProto value)
tensor value
.onnx.TensorProto t = 5;public OnnxMlProto3.AttributeProto.Builder clearT()
tensor value
.onnx.TensorProto t = 5;public OnnxMlProto3.TensorProto.Builder getTBuilder()
tensor value
.onnx.TensorProto t = 5;public OnnxMlProto3.TensorProtoOrBuilder getTOrBuilder()
tensor value
.onnx.TensorProto t = 5;getTOrBuilder in interface OnnxMlProto3.AttributeProtoOrBuilderpublic boolean hasG()
graph
.onnx.GraphProto g = 6;hasG in interface OnnxMlProto3.AttributeProtoOrBuilderpublic OnnxMlProto3.GraphProto getG()
graph
.onnx.GraphProto g = 6;getG in interface OnnxMlProto3.AttributeProtoOrBuilderpublic OnnxMlProto3.AttributeProto.Builder setG(OnnxMlProto3.GraphProto value)
graph
.onnx.GraphProto g = 6;public OnnxMlProto3.AttributeProto.Builder setG(OnnxMlProto3.GraphProto.Builder builderForValue)
graph
.onnx.GraphProto g = 6;public OnnxMlProto3.AttributeProto.Builder mergeG(OnnxMlProto3.GraphProto value)
graph
.onnx.GraphProto g = 6;public OnnxMlProto3.AttributeProto.Builder clearG()
graph
.onnx.GraphProto g = 6;public OnnxMlProto3.GraphProto.Builder getGBuilder()
graph
.onnx.GraphProto g = 6;public OnnxMlProto3.GraphProtoOrBuilder getGOrBuilder()
graph
.onnx.GraphProto g = 6;getGOrBuilder in interface OnnxMlProto3.AttributeProtoOrBuilderpublic List<Float> getFloatsList()
list of floats
repeated float floats = 7;getFloatsList in interface OnnxMlProto3.AttributeProtoOrBuilderpublic int getFloatsCount()
list of floats
repeated float floats = 7;getFloatsCount in interface OnnxMlProto3.AttributeProtoOrBuilderpublic float getFloats(int index)
list of floats
repeated float floats = 7;getFloats in interface OnnxMlProto3.AttributeProtoOrBuilderpublic OnnxMlProto3.AttributeProto.Builder setFloats(int index, float value)
list of floats
repeated float floats = 7;public OnnxMlProto3.AttributeProto.Builder addFloats(float value)
list of floats
repeated float floats = 7;public OnnxMlProto3.AttributeProto.Builder addAllFloats(Iterable<? extends Float> values)
list of floats
repeated float floats = 7;public OnnxMlProto3.AttributeProto.Builder clearFloats()
list of floats
repeated float floats = 7;public List<Long> getIntsList()
list of ints
repeated int64 ints = 8;getIntsList in interface OnnxMlProto3.AttributeProtoOrBuilderpublic int getIntsCount()
list of ints
repeated int64 ints = 8;getIntsCount in interface OnnxMlProto3.AttributeProtoOrBuilderpublic long getInts(int index)
list of ints
repeated int64 ints = 8;getInts in interface OnnxMlProto3.AttributeProtoOrBuilderpublic OnnxMlProto3.AttributeProto.Builder setInts(int index, long value)
list of ints
repeated int64 ints = 8;public OnnxMlProto3.AttributeProto.Builder addInts(long value)
list of ints
repeated int64 ints = 8;public OnnxMlProto3.AttributeProto.Builder addAllInts(Iterable<? extends Long> values)
list of ints
repeated int64 ints = 8;public OnnxMlProto3.AttributeProto.Builder clearInts()
list of ints
repeated int64 ints = 8;public List<com.github.os72.protobuf351.ByteString> getStringsList()
list of UTF-8 strings
repeated bytes strings = 9;getStringsList in interface OnnxMlProto3.AttributeProtoOrBuilderpublic int getStringsCount()
list of UTF-8 strings
repeated bytes strings = 9;getStringsCount in interface OnnxMlProto3.AttributeProtoOrBuilderpublic com.github.os72.protobuf351.ByteString getStrings(int index)
list of UTF-8 strings
repeated bytes strings = 9;getStrings in interface OnnxMlProto3.AttributeProtoOrBuilderpublic OnnxMlProto3.AttributeProto.Builder setStrings(int index, com.github.os72.protobuf351.ByteString value)
list of UTF-8 strings
repeated bytes strings = 9;public OnnxMlProto3.AttributeProto.Builder addStrings(com.github.os72.protobuf351.ByteString value)
list of UTF-8 strings
repeated bytes strings = 9;public OnnxMlProto3.AttributeProto.Builder addAllStrings(Iterable<? extends com.github.os72.protobuf351.ByteString> values)
list of UTF-8 strings
repeated bytes strings = 9;public OnnxMlProto3.AttributeProto.Builder clearStrings()
list of UTF-8 strings
repeated bytes strings = 9;public List<OnnxMlProto3.TensorProto> getTensorsList()
list of tensors
repeated .onnx.TensorProto tensors = 10;getTensorsList in interface OnnxMlProto3.AttributeProtoOrBuilderpublic int getTensorsCount()
list of tensors
repeated .onnx.TensorProto tensors = 10;getTensorsCount in interface OnnxMlProto3.AttributeProtoOrBuilderpublic OnnxMlProto3.TensorProto getTensors(int index)
list of tensors
repeated .onnx.TensorProto tensors = 10;getTensors in interface OnnxMlProto3.AttributeProtoOrBuilderpublic OnnxMlProto3.AttributeProto.Builder setTensors(int index, OnnxMlProto3.TensorProto value)
list of tensors
repeated .onnx.TensorProto tensors = 10;public OnnxMlProto3.AttributeProto.Builder setTensors(int index, OnnxMlProto3.TensorProto.Builder builderForValue)
list of tensors
repeated .onnx.TensorProto tensors = 10;public OnnxMlProto3.AttributeProto.Builder addTensors(OnnxMlProto3.TensorProto value)
list of tensors
repeated .onnx.TensorProto tensors = 10;public OnnxMlProto3.AttributeProto.Builder addTensors(int index, OnnxMlProto3.TensorProto value)
list of tensors
repeated .onnx.TensorProto tensors = 10;public OnnxMlProto3.AttributeProto.Builder addTensors(OnnxMlProto3.TensorProto.Builder builderForValue)
list of tensors
repeated .onnx.TensorProto tensors = 10;public OnnxMlProto3.AttributeProto.Builder addTensors(int index, OnnxMlProto3.TensorProto.Builder builderForValue)
list of tensors
repeated .onnx.TensorProto tensors = 10;public OnnxMlProto3.AttributeProto.Builder addAllTensors(Iterable<? extends OnnxMlProto3.TensorProto> values)
list of tensors
repeated .onnx.TensorProto tensors = 10;public OnnxMlProto3.AttributeProto.Builder clearTensors()
list of tensors
repeated .onnx.TensorProto tensors = 10;public OnnxMlProto3.AttributeProto.Builder removeTensors(int index)
list of tensors
repeated .onnx.TensorProto tensors = 10;public OnnxMlProto3.TensorProto.Builder getTensorsBuilder(int index)
list of tensors
repeated .onnx.TensorProto tensors = 10;public OnnxMlProto3.TensorProtoOrBuilder getTensorsOrBuilder(int index)
list of tensors
repeated .onnx.TensorProto tensors = 10;getTensorsOrBuilder in interface OnnxMlProto3.AttributeProtoOrBuilderpublic List<? extends OnnxMlProto3.TensorProtoOrBuilder> getTensorsOrBuilderList()
list of tensors
repeated .onnx.TensorProto tensors = 10;getTensorsOrBuilderList in interface OnnxMlProto3.AttributeProtoOrBuilderpublic OnnxMlProto3.TensorProto.Builder addTensorsBuilder()
list of tensors
repeated .onnx.TensorProto tensors = 10;public OnnxMlProto3.TensorProto.Builder addTensorsBuilder(int index)
list of tensors
repeated .onnx.TensorProto tensors = 10;public List<OnnxMlProto3.TensorProto.Builder> getTensorsBuilderList()
list of tensors
repeated .onnx.TensorProto tensors = 10;public List<OnnxMlProto3.GraphProto> getGraphsList()
list of graph
repeated .onnx.GraphProto graphs = 11;getGraphsList in interface OnnxMlProto3.AttributeProtoOrBuilderpublic int getGraphsCount()
list of graph
repeated .onnx.GraphProto graphs = 11;getGraphsCount in interface OnnxMlProto3.AttributeProtoOrBuilderpublic OnnxMlProto3.GraphProto getGraphs(int index)
list of graph
repeated .onnx.GraphProto graphs = 11;getGraphs in interface OnnxMlProto3.AttributeProtoOrBuilderpublic OnnxMlProto3.AttributeProto.Builder setGraphs(int index, OnnxMlProto3.GraphProto value)
list of graph
repeated .onnx.GraphProto graphs = 11;public OnnxMlProto3.AttributeProto.Builder setGraphs(int index, OnnxMlProto3.GraphProto.Builder builderForValue)
list of graph
repeated .onnx.GraphProto graphs = 11;public OnnxMlProto3.AttributeProto.Builder addGraphs(OnnxMlProto3.GraphProto value)
list of graph
repeated .onnx.GraphProto graphs = 11;public OnnxMlProto3.AttributeProto.Builder addGraphs(int index, OnnxMlProto3.GraphProto value)
list of graph
repeated .onnx.GraphProto graphs = 11;public OnnxMlProto3.AttributeProto.Builder addGraphs(OnnxMlProto3.GraphProto.Builder builderForValue)
list of graph
repeated .onnx.GraphProto graphs = 11;public OnnxMlProto3.AttributeProto.Builder addGraphs(int index, OnnxMlProto3.GraphProto.Builder builderForValue)
list of graph
repeated .onnx.GraphProto graphs = 11;public OnnxMlProto3.AttributeProto.Builder addAllGraphs(Iterable<? extends OnnxMlProto3.GraphProto> values)
list of graph
repeated .onnx.GraphProto graphs = 11;public OnnxMlProto3.AttributeProto.Builder clearGraphs()
list of graph
repeated .onnx.GraphProto graphs = 11;public OnnxMlProto3.AttributeProto.Builder removeGraphs(int index)
list of graph
repeated .onnx.GraphProto graphs = 11;public OnnxMlProto3.GraphProto.Builder getGraphsBuilder(int index)
list of graph
repeated .onnx.GraphProto graphs = 11;public OnnxMlProto3.GraphProtoOrBuilder getGraphsOrBuilder(int index)
list of graph
repeated .onnx.GraphProto graphs = 11;getGraphsOrBuilder in interface OnnxMlProto3.AttributeProtoOrBuilderpublic List<? extends OnnxMlProto3.GraphProtoOrBuilder> getGraphsOrBuilderList()
list of graph
repeated .onnx.GraphProto graphs = 11;getGraphsOrBuilderList in interface OnnxMlProto3.AttributeProtoOrBuilderpublic OnnxMlProto3.GraphProto.Builder addGraphsBuilder()
list of graph
repeated .onnx.GraphProto graphs = 11;public OnnxMlProto3.GraphProto.Builder addGraphsBuilder(int index)
list of graph
repeated .onnx.GraphProto graphs = 11;public List<OnnxMlProto3.GraphProto.Builder> getGraphsBuilderList()
list of graph
repeated .onnx.GraphProto graphs = 11;public final OnnxMlProto3.AttributeProto.Builder setUnknownFields(com.github.os72.protobuf351.UnknownFieldSet unknownFields)
setUnknownFields in interface com.github.os72.protobuf351.Message.BuildersetUnknownFields in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<OnnxMlProto3.AttributeProto.Builder>public final OnnxMlProto3.AttributeProto.Builder mergeUnknownFields(com.github.os72.protobuf351.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.github.os72.protobuf351.Message.BuildermergeUnknownFields in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<OnnxMlProto3.AttributeProto.Builder>Copyright © 2018. All rights reserved.