Package onnx
Class Onnx.AttributeProto
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
onnx.Onnx.AttributeProto
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,Onnx.AttributeProtoOrBuilder
- Enclosing class:
- Onnx
public static final class Onnx.AttributeProto
extends com.google.protobuf.GeneratedMessageV3
implements Onnx.AttributeProtoOrBuilder
Attributes A named attribute containing either singular float, integer, string, graph, and tensor values, or repeated float, integer, string, graph, 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.AttributeProto- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumNote: this enum is structurally identical to the OpSchema::AttrType enum defined in schema.h.static final classAttributes A named attribute containing either singular float, integer, string, graph, and tensor values, or repeated float, integer, string, graph, and tensor values.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final com.google.protobuf.Parser<Onnx.AttributeProto>Deprecated.static final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields 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 TypeMethodDescriptionbooleanstatic Onnx.AttributeProtostatic final com.google.protobuf.Descriptors.DescriptorA human-readable documentation for this attribute.com.google.protobuf.ByteStringA human-readable documentation for this attribute.floatgetF()Exactly ONE of the following fields must be present for this version of the IRfloatgetFloats(int index) list of floatsintlist of floatslist of floatsgetG()graphgraphgetGraphs(int index) list of graphintlist of graphlist of graphgetGraphsOrBuilder(int index) list of graphList<? extends Onnx.GraphProtoOrBuilder>list of graphlonggetI()intlonggetInts(int index) list of intsintlist of intslist of intsgetName()The name field MUST be present for this version of the IR.com.google.protobuf.ByteStringThe name field MUST be present for this version of the IR.com.google.protobuf.Parser<Onnx.AttributeProto>if ref_attr_name is not empty, ref_attr_name is the attribute name in parent function.com.google.protobuf.ByteStringif ref_attr_name is not empty, ref_attr_name is the attribute name in parent function.com.google.protobuf.ByteStringgetS()UTF-8 stringintsparse tensor valuesparse tensor valuegetSparseTensors(int index) list of sparse tensorsintlist of sparse tensorslist of sparse tensorsgetSparseTensorsOrBuilder(int index) list of sparse tensorsList<? extends Onnx.SparseTensorProtoOrBuilder>list of sparse tensorscom.google.protobuf.ByteStringgetStrings(int index) list of UTF-8 stringsintlist of UTF-8 stringsList<com.google.protobuf.ByteString>list of UTF-8 stringsgetT()tensor valuegetTensors(int index) list of tensorsintlist of tensorslist of tensorsgetTensorsOrBuilder(int index) list of tensorsList<? extends Onnx.TensorProtoOrBuilder>list of tensorstensor valuegetTp()Do not use field below, it's deprecated.Do not use field below, it's deprecated.getType()The type field MUST be present for this version of the IR.getTypeProtos(int index) list of type protosintlist of type protoslist of type protosgetTypeProtosOrBuilder(int index) list of type protosList<? extends Onnx.TypeProtoOrBuilder>list of type protosbooleanA human-readable documentation for this attribute.booleanhasF()Exactly ONE of the following fields must be present for this version of the IRbooleanhasG()graphinthashCode()booleanhasI()intbooleanhasName()The name field MUST be present for this version of the IR.booleanif ref_attr_name is not empty, ref_attr_name is the attribute name in parent function.booleanhasS()UTF-8 stringbooleansparse tensor valuebooleanhasT()tensor valuebooleanhasTp()Do not use field below, it's deprecated.booleanhasType()The type field MUST be present for this version of the IR.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic Onnx.AttributeProto.Builderstatic Onnx.AttributeProto.BuildernewBuilder(Onnx.AttributeProto prototype) protected Onnx.AttributeProto.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static Onnx.AttributeProtoparseDelimitedFrom(InputStream input) static Onnx.AttributeProtoparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Onnx.AttributeProtoparseFrom(byte[] data) static Onnx.AttributeProtoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Onnx.AttributeProtoparseFrom(com.google.protobuf.ByteString data) static Onnx.AttributeProtoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Onnx.AttributeProtoparseFrom(com.google.protobuf.CodedInputStream input) static Onnx.AttributeProtoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Onnx.AttributeProtoparseFrom(InputStream input) static Onnx.AttributeProtoparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Onnx.AttributeProtoparseFrom(ByteBuffer data) static Onnx.AttributeProtoparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Onnx.AttributeProto>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:
-
REF_ATTR_NAME_FIELD_NUMBER
public static final int REF_ATTR_NAME_FIELD_NUMBER- See Also:
-
DOC_STRING_FIELD_NUMBER
public static final int DOC_STRING_FIELD_NUMBER- See Also:
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER- See Also:
-
F_FIELD_NUMBER
public static final int F_FIELD_NUMBER- See Also:
-
I_FIELD_NUMBER
public static final int I_FIELD_NUMBER- See Also:
-
S_FIELD_NUMBER
public static final int S_FIELD_NUMBER- See Also:
-
T_FIELD_NUMBER
public static final int T_FIELD_NUMBER- See Also:
-
G_FIELD_NUMBER
public static final int G_FIELD_NUMBER- See Also:
-
SPARSE_TENSOR_FIELD_NUMBER
public static final int SPARSE_TENSOR_FIELD_NUMBER- See Also:
-
TP_FIELD_NUMBER
public static final int TP_FIELD_NUMBER- See Also:
-
FLOATS_FIELD_NUMBER
public static final int FLOATS_FIELD_NUMBER- See Also:
-
INTS_FIELD_NUMBER
public static final int INTS_FIELD_NUMBER- See Also:
-
STRINGS_FIELD_NUMBER
public static final int STRINGS_FIELD_NUMBER- See Also:
-
TENSORS_FIELD_NUMBER
public static final int TENSORS_FIELD_NUMBER- See Also:
-
GRAPHS_FIELD_NUMBER
public static final int GRAPHS_FIELD_NUMBER- See Also:
-
SPARSE_TENSORS_FIELD_NUMBER
public static final int SPARSE_TENSORS_FIELD_NUMBER- See Also:
-
TYPE_PROTOS_FIELD_NUMBER
public static final int TYPE_PROTOS_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 field MUST be present for this version of the IR.
optional string name = 1;- Specified by:
hasNamein interfaceOnnx.AttributeProtoOrBuilder- Returns:
- Whether the name field is set.
-
getName
The name field MUST be present for this version of the IR.
optional string name = 1;- Specified by:
getNamein interfaceOnnx.AttributeProtoOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()The name field MUST be present for this version of the IR.
optional string name = 1;- Specified by:
getNameBytesin interfaceOnnx.AttributeProtoOrBuilder- Returns:
- The bytes for name.
-
hasRefAttrName
public boolean hasRefAttrName()if ref_attr_name is not empty, ref_attr_name is the attribute name in parent function. In this case, this AttributeProto does not contain data, and it's a reference of attribute in parent scope. NOTE: This should ONLY be used in function (sub-graph). It's invalid to be used in main graph.
optional string ref_attr_name = 21;- Specified by:
hasRefAttrNamein interfaceOnnx.AttributeProtoOrBuilder- Returns:
- Whether the refAttrName field is set.
-
getRefAttrName
if ref_attr_name is not empty, ref_attr_name is the attribute name in parent function. In this case, this AttributeProto does not contain data, and it's a reference of attribute in parent scope. NOTE: This should ONLY be used in function (sub-graph). It's invalid to be used in main graph.
optional string ref_attr_name = 21;- Specified by:
getRefAttrNamein interfaceOnnx.AttributeProtoOrBuilder- Returns:
- The refAttrName.
-
getRefAttrNameBytes
public com.google.protobuf.ByteString getRefAttrNameBytes()if ref_attr_name is not empty, ref_attr_name is the attribute name in parent function. In this case, this AttributeProto does not contain data, and it's a reference of attribute in parent scope. NOTE: This should ONLY be used in function (sub-graph). It's invalid to be used in main graph.
optional string ref_attr_name = 21;- Specified by:
getRefAttrNameBytesin interfaceOnnx.AttributeProtoOrBuilder- Returns:
- The bytes for refAttrName.
-
hasDocString
public boolean hasDocString()A human-readable documentation for this attribute. Markdown is allowed.
optional string doc_string = 13;- Specified by:
hasDocStringin interfaceOnnx.AttributeProtoOrBuilder- Returns:
- Whether the docString field is set.
-
getDocString
A human-readable documentation for this attribute. Markdown is allowed.
optional string doc_string = 13;- Specified by:
getDocStringin interfaceOnnx.AttributeProtoOrBuilder- Returns:
- The docString.
-
getDocStringBytes
public com.google.protobuf.ByteString getDocStringBytes()A human-readable documentation for this attribute. Markdown is allowed.
optional string doc_string = 13;- Specified by:
getDocStringBytesin interfaceOnnx.AttributeProtoOrBuilder- Returns:
- The bytes for docString.
-
hasType
public boolean hasType()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 heuristics 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 accommodate proto3 implementations.
optional .onnx.AttributeProto.AttributeType type = 20;- Specified by:
hasTypein interfaceOnnx.AttributeProtoOrBuilder- Returns:
- Whether the type field is set.
-
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 heuristics 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 accommodate proto3 implementations.
optional .onnx.AttributeProto.AttributeType type = 20;- Specified by:
getTypein interfaceOnnx.AttributeProtoOrBuilder- Returns:
- The type.
-
hasF
public boolean hasF()Exactly ONE of the following fields must be present for this version of the IR
optional float f = 2;- Specified by:
hasFin interfaceOnnx.AttributeProtoOrBuilder- Returns:
- Whether the f field is set.
-
getF
public float getF()Exactly ONE of the following fields must be present for this version of the IR
optional float f = 2;- Specified by:
getFin interfaceOnnx.AttributeProtoOrBuilder- Returns:
- The f.
-
hasI
public boolean hasI()int
optional int64 i = 3;- Specified by:
hasIin interfaceOnnx.AttributeProtoOrBuilder- Returns:
- Whether the i field is set.
-
getI
public long getI()int
optional int64 i = 3;- Specified by:
getIin interfaceOnnx.AttributeProtoOrBuilder- Returns:
- The i.
-
hasS
public boolean hasS()UTF-8 string
optional bytes s = 4;- Specified by:
hasSin interfaceOnnx.AttributeProtoOrBuilder- Returns:
- Whether the s field is set.
-
getS
public com.google.protobuf.ByteString getS()UTF-8 string
optional bytes s = 4;- Specified by:
getSin interfaceOnnx.AttributeProtoOrBuilder- Returns:
- The s.
-
hasT
public boolean hasT()tensor value
optional .onnx.TensorProto t = 5;- Specified by:
hasTin interfaceOnnx.AttributeProtoOrBuilder- Returns:
- Whether the t field is set.
-
getT
tensor value
optional .onnx.TensorProto t = 5;- Specified by:
getTin interfaceOnnx.AttributeProtoOrBuilder- Returns:
- The t.
-
getTOrBuilder
tensor value
optional .onnx.TensorProto t = 5;- Specified by:
getTOrBuilderin interfaceOnnx.AttributeProtoOrBuilder
-
hasG
public boolean hasG()graph
optional .onnx.GraphProto g = 6;- Specified by:
hasGin interfaceOnnx.AttributeProtoOrBuilder- Returns:
- Whether the g field is set.
-
getG
graph
optional .onnx.GraphProto g = 6;- Specified by:
getGin interfaceOnnx.AttributeProtoOrBuilder- Returns:
- The g.
-
getGOrBuilder
graph
optional .onnx.GraphProto g = 6;- Specified by:
getGOrBuilderin interfaceOnnx.AttributeProtoOrBuilder
-
hasSparseTensor
public boolean hasSparseTensor()sparse tensor value
optional .onnx.SparseTensorProto sparse_tensor = 22;- Specified by:
hasSparseTensorin interfaceOnnx.AttributeProtoOrBuilder- Returns:
- Whether the sparseTensor field is set.
-
getSparseTensor
sparse tensor value
optional .onnx.SparseTensorProto sparse_tensor = 22;- Specified by:
getSparseTensorin interfaceOnnx.AttributeProtoOrBuilder- Returns:
- The sparseTensor.
-
getSparseTensorOrBuilder
sparse tensor value
optional .onnx.SparseTensorProto sparse_tensor = 22;- Specified by:
getSparseTensorOrBuilderin interfaceOnnx.AttributeProtoOrBuilder
-
hasTp
public boolean hasTp()Do not use field below, it's deprecated. optional ValueProto v = 12; // value - subsumes everything but graph
optional .onnx.TypeProto tp = 14;- Specified by:
hasTpin interfaceOnnx.AttributeProtoOrBuilder- Returns:
- Whether the tp field is set.
-
getTp
Do not use field below, it's deprecated. optional ValueProto v = 12; // value - subsumes everything but graph
optional .onnx.TypeProto tp = 14;- Specified by:
getTpin interfaceOnnx.AttributeProtoOrBuilder- Returns:
- The tp.
-
getTpOrBuilder
Do not use field below, it's deprecated. optional ValueProto v = 12; // value - subsumes everything but graph
optional .onnx.TypeProto tp = 14;- Specified by:
getTpOrBuilderin interfaceOnnx.AttributeProtoOrBuilder
-
getFloatsList
list of floats
repeated float floats = 7;- Specified by:
getFloatsListin interfaceOnnx.AttributeProtoOrBuilder- Returns:
- A list containing the floats.
-
getFloatsCount
public int getFloatsCount()list of floats
repeated float floats = 7;- Specified by:
getFloatsCountin interfaceOnnx.AttributeProtoOrBuilder- Returns:
- The count of floats.
-
getFloats
public float getFloats(int index) list of floats
repeated float floats = 7;- Specified by:
getFloatsin interfaceOnnx.AttributeProtoOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The floats at the given index.
-
getIntsList
list of ints
repeated int64 ints = 8;- Specified by:
getIntsListin interfaceOnnx.AttributeProtoOrBuilder- Returns:
- A list containing the ints.
-
getIntsCount
public int getIntsCount()list of ints
repeated int64 ints = 8;- Specified by:
getIntsCountin interfaceOnnx.AttributeProtoOrBuilder- Returns:
- The count of ints.
-
getInts
public long getInts(int index) list of ints
repeated int64 ints = 8;- Specified by:
getIntsin interfaceOnnx.AttributeProtoOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The ints at the given index.
-
getStringsList
list of UTF-8 strings
repeated bytes strings = 9;- Specified by:
getStringsListin interfaceOnnx.AttributeProtoOrBuilder- Returns:
- A list containing the strings.
-
getStringsCount
public int getStringsCount()list of UTF-8 strings
repeated bytes strings = 9;- Specified by:
getStringsCountin interfaceOnnx.AttributeProtoOrBuilder- Returns:
- The count of strings.
-
getStrings
public com.google.protobuf.ByteString getStrings(int index) list of UTF-8 strings
repeated bytes strings = 9;- Specified by:
getStringsin interfaceOnnx.AttributeProtoOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The strings at the given index.
-
getTensorsList
list of tensors
repeated .onnx.TensorProto tensors = 10;- Specified by:
getTensorsListin interfaceOnnx.AttributeProtoOrBuilder
-
getTensorsOrBuilderList
list of tensors
repeated .onnx.TensorProto tensors = 10;- Specified by:
getTensorsOrBuilderListin interfaceOnnx.AttributeProtoOrBuilder
-
getTensorsCount
public int getTensorsCount()list of tensors
repeated .onnx.TensorProto tensors = 10;- Specified by:
getTensorsCountin interfaceOnnx.AttributeProtoOrBuilder
-
getTensors
list of tensors
repeated .onnx.TensorProto tensors = 10;- Specified by:
getTensorsin interfaceOnnx.AttributeProtoOrBuilder
-
getTensorsOrBuilder
list of tensors
repeated .onnx.TensorProto tensors = 10;- Specified by:
getTensorsOrBuilderin interfaceOnnx.AttributeProtoOrBuilder
-
getGraphsList
list of graph
repeated .onnx.GraphProto graphs = 11;- Specified by:
getGraphsListin interfaceOnnx.AttributeProtoOrBuilder
-
getGraphsOrBuilderList
list of graph
repeated .onnx.GraphProto graphs = 11;- Specified by:
getGraphsOrBuilderListin interfaceOnnx.AttributeProtoOrBuilder
-
getGraphsCount
public int getGraphsCount()list of graph
repeated .onnx.GraphProto graphs = 11;- Specified by:
getGraphsCountin interfaceOnnx.AttributeProtoOrBuilder
-
getGraphs
list of graph
repeated .onnx.GraphProto graphs = 11;- Specified by:
getGraphsin interfaceOnnx.AttributeProtoOrBuilder
-
getGraphsOrBuilder
list of graph
repeated .onnx.GraphProto graphs = 11;- Specified by:
getGraphsOrBuilderin interfaceOnnx.AttributeProtoOrBuilder
-
getSparseTensorsList
list of sparse tensors
repeated .onnx.SparseTensorProto sparse_tensors = 23;- Specified by:
getSparseTensorsListin interfaceOnnx.AttributeProtoOrBuilder
-
getSparseTensorsOrBuilderList
list of sparse tensors
repeated .onnx.SparseTensorProto sparse_tensors = 23;- Specified by:
getSparseTensorsOrBuilderListin interfaceOnnx.AttributeProtoOrBuilder
-
getSparseTensorsCount
public int getSparseTensorsCount()list of sparse tensors
repeated .onnx.SparseTensorProto sparse_tensors = 23;- Specified by:
getSparseTensorsCountin interfaceOnnx.AttributeProtoOrBuilder
-
getSparseTensors
list of sparse tensors
repeated .onnx.SparseTensorProto sparse_tensors = 23;- Specified by:
getSparseTensorsin interfaceOnnx.AttributeProtoOrBuilder
-
getSparseTensorsOrBuilder
list of sparse tensors
repeated .onnx.SparseTensorProto sparse_tensors = 23;- Specified by:
getSparseTensorsOrBuilderin interfaceOnnx.AttributeProtoOrBuilder
-
getTypeProtosList
list of type protos
repeated .onnx.TypeProto type_protos = 15;- Specified by:
getTypeProtosListin interfaceOnnx.AttributeProtoOrBuilder
-
getTypeProtosOrBuilderList
list of type protos
repeated .onnx.TypeProto type_protos = 15;- Specified by:
getTypeProtosOrBuilderListin interfaceOnnx.AttributeProtoOrBuilder
-
getTypeProtosCount
public int getTypeProtosCount()list of type protos
repeated .onnx.TypeProto type_protos = 15;- Specified by:
getTypeProtosCountin interfaceOnnx.AttributeProtoOrBuilder
-
getTypeProtos
list of type protos
repeated .onnx.TypeProto type_protos = 15;- Specified by:
getTypeProtosin interfaceOnnx.AttributeProtoOrBuilder
-
getTypeProtosOrBuilder
list of type protos
repeated .onnx.TypeProto type_protos = 15;- Specified by:
getTypeProtosOrBuilderin interfaceOnnx.AttributeProtoOrBuilder
-
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.AttributeProto parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Onnx.AttributeProto parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Onnx.AttributeProto parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Onnx.AttributeProto 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.AttributeProto parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Onnx.AttributeProto 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.AttributeProto parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Onnx.AttributeProto parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Onnx.AttributeProto parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Onnx.AttributeProto 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.AttributeProto.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
-