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 typeonnx.AttributeProto
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Onnx.AttributeProto.AttributeType
Note: this enum is structurally identical to the OpSchema::AttrType enum defined in schema.h.static class
Onnx.AttributeProto.Builder
Attributes 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<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
DOC_STRING_FIELD_NUMBER
static int
F_FIELD_NUMBER
static int
FLOATS_FIELD_NUMBER
static int
G_FIELD_NUMBER
static int
GRAPHS_FIELD_NUMBER
static int
I_FIELD_NUMBER
static int
INTS_FIELD_NUMBER
static int
NAME_FIELD_NUMBER
static com.google.protobuf.Parser<Onnx.AttributeProto>
PARSER
Deprecated.static int
REF_ATTR_NAME_FIELD_NUMBER
static int
S_FIELD_NUMBER
static int
STRINGS_FIELD_NUMBER
static int
T_FIELD_NUMBER
static int
TENSORS_FIELD_NUMBER
static int
TYPE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
static Onnx.AttributeProto
getDefaultInstance()
Onnx.AttributeProto
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
String
getDocString()
A human-readable documentation for this attribute.com.google.protobuf.ByteString
getDocStringBytes()
A human-readable documentation for this attribute.float
getF()
Exactly ONE of the following fields must be present for this version of the IRfloat
getFloats(int index)
list of floatsint
getFloatsCount()
list of floatsList<Float>
getFloatsList()
list of floatsOnnx.GraphProto
getG()
graphOnnx.GraphProtoOrBuilder
getGOrBuilder()
graphOnnx.GraphProto
getGraphs(int index)
list of graphint
getGraphsCount()
list of graphList<Onnx.GraphProto>
getGraphsList()
list of graphOnnx.GraphProtoOrBuilder
getGraphsOrBuilder(int index)
list of graphList<? extends Onnx.GraphProtoOrBuilder>
getGraphsOrBuilderList()
list of graphlong
getI()
intlong
getInts(int index)
list of intsint
getIntsCount()
list of intsList<Long>
getIntsList()
list of intsString
getName()
The name field MUST be present for this version of the IR.com.google.protobuf.ByteString
getNameBytes()
The name field MUST be present for this version of the IR.com.google.protobuf.Parser<Onnx.AttributeProto>
getParserForType()
String
getRefAttrName()
if ref_attr_name is not empty, ref_attr_name is the attribute name in parent function.com.google.protobuf.ByteString
getRefAttrNameBytes()
if ref_attr_name is not empty, ref_attr_name is the attribute name in parent function.com.google.protobuf.ByteString
getS()
UTF-8 stringint
getSerializedSize()
com.google.protobuf.ByteString
getStrings(int index)
list of UTF-8 stringsint
getStringsCount()
list of UTF-8 stringsList<com.google.protobuf.ByteString>
getStringsList()
list of UTF-8 stringsOnnx.TensorProto
getT()
tensor valueOnnx.TensorProto
getTensors(int index)
list of tensorsint
getTensorsCount()
list of tensorsList<Onnx.TensorProto>
getTensorsList()
list of tensorsOnnx.TensorProtoOrBuilder
getTensorsOrBuilder(int index)
list of tensorsList<? extends Onnx.TensorProtoOrBuilder>
getTensorsOrBuilderList()
list of tensorsOnnx.TensorProtoOrBuilder
getTOrBuilder()
tensor valueOnnx.AttributeProto.AttributeType
getType()
The type field MUST be present for this version of the IR.com.google.protobuf.UnknownFieldSet
getUnknownFields()
boolean
hasDocString()
A human-readable documentation for this attribute.boolean
hasF()
Exactly ONE of the following fields must be present for this version of the IRboolean
hasG()
graphint
hashCode()
boolean
hasI()
intboolean
hasName()
The name field MUST be present for this version of the IR.boolean
hasRefAttrName()
if ref_attr_name is not empty, ref_attr_name is the attribute name in parent function.boolean
hasS()
UTF-8 stringboolean
hasT()
tensor valueboolean
hasType()
The type field MUST be present for this version of the IR.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static Onnx.AttributeProto.Builder
newBuilder()
static Onnx.AttributeProto.Builder
newBuilder(Onnx.AttributeProto prototype)
Onnx.AttributeProto.Builder
newBuilderForType()
protected Onnx.AttributeProto.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static Onnx.AttributeProto
parseDelimitedFrom(InputStream input)
static Onnx.AttributeProto
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Onnx.AttributeProto
parseFrom(byte[] data)
static Onnx.AttributeProto
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Onnx.AttributeProto
parseFrom(com.google.protobuf.ByteString data)
static Onnx.AttributeProto
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Onnx.AttributeProto
parseFrom(com.google.protobuf.CodedInputStream input)
static Onnx.AttributeProto
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Onnx.AttributeProto
parseFrom(InputStream input)
static Onnx.AttributeProto
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Onnx.AttributeProto
parseFrom(ByteBuffer data)
static Onnx.AttributeProto
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Onnx.AttributeProto>
parser()
Onnx.AttributeProto.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REF_ATTR_NAME_FIELD_NUMBER
public static final int REF_ATTR_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DOC_STRING_FIELD_NUMBER
public static final int DOC_STRING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
F_FIELD_NUMBER
public static final int F_FIELD_NUMBER
- See Also:
- Constant Field Values
-
I_FIELD_NUMBER
public static final int I_FIELD_NUMBER
- See Also:
- Constant Field Values
-
S_FIELD_NUMBER
public static final int S_FIELD_NUMBER
- See Also:
- Constant Field Values
-
T_FIELD_NUMBER
public static final int T_FIELD_NUMBER
- See Also:
- Constant Field Values
-
G_FIELD_NUMBER
public static final int G_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FLOATS_FIELD_NUMBER
public static final int FLOATS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INTS_FIELD_NUMBER
public static final int INTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STRINGS_FIELD_NUMBER
public static final int STRINGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TENSORS_FIELD_NUMBER
public static final int TENSORS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GRAPHS_FIELD_NUMBER
public static final int GRAPHS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<Onnx.AttributeProto> PARSER
Deprecated.
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classcom.google.protobuf.GeneratedMessageV3
-
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
-
hasName
public boolean hasName()
The name field MUST be present for this version of the IR.
optional string name = 1;
- Specified by:
hasName
in interfaceOnnx.AttributeProtoOrBuilder
- Returns:
- Whether the name field is set.
-
getName
public String getName()
The name field MUST be present for this version of the IR.
optional string name = 1;
- Specified by:
getName
in 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:
getNameBytes
in 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:
hasRefAttrName
in interfaceOnnx.AttributeProtoOrBuilder
- Returns:
- Whether the refAttrName field is set.
-
getRefAttrName
public String 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:
getRefAttrName
in 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:
getRefAttrNameBytes
in 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:
hasDocString
in interfaceOnnx.AttributeProtoOrBuilder
- Returns:
- Whether the docString field is set.
-
getDocString
public String getDocString()
A human-readable documentation for this attribute. Markdown is allowed.
optional string doc_string = 13;
- Specified by:
getDocString
in 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:
getDocStringBytes
in 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 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.
optional .onnx.AttributeProto.AttributeType type = 20;
- Specified by:
hasType
in interfaceOnnx.AttributeProtoOrBuilder
- Returns:
- Whether the type field is set.
-
getType
public Onnx.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.
optional .onnx.AttributeProto.AttributeType type = 20;
- Specified by:
getType
in 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:
hasF
in 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:
getF
in interfaceOnnx.AttributeProtoOrBuilder
- Returns:
- The f.
-
hasI
public boolean hasI()
int
optional int64 i = 3;
- Specified by:
hasI
in interfaceOnnx.AttributeProtoOrBuilder
- Returns:
- Whether the i field is set.
-
getI
public long getI()
int
optional int64 i = 3;
- Specified by:
getI
in interfaceOnnx.AttributeProtoOrBuilder
- Returns:
- The i.
-
hasS
public boolean hasS()
UTF-8 string
optional bytes s = 4;
- Specified by:
hasS
in 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:
getS
in interfaceOnnx.AttributeProtoOrBuilder
- Returns:
- The s.
-
hasT
public boolean hasT()
tensor value
optional .onnx.TensorProto t = 5;
- Specified by:
hasT
in interfaceOnnx.AttributeProtoOrBuilder
- Returns:
- Whether the t field is set.
-
getT
public Onnx.TensorProto getT()
tensor value
optional .onnx.TensorProto t = 5;
- Specified by:
getT
in interfaceOnnx.AttributeProtoOrBuilder
- Returns:
- The t.
-
getTOrBuilder
public Onnx.TensorProtoOrBuilder getTOrBuilder()
tensor value
optional .onnx.TensorProto t = 5;
- Specified by:
getTOrBuilder
in interfaceOnnx.AttributeProtoOrBuilder
-
hasG
public boolean hasG()
graph
optional .onnx.GraphProto g = 6;
- Specified by:
hasG
in interfaceOnnx.AttributeProtoOrBuilder
- Returns:
- Whether the g field is set.
-
getG
public Onnx.GraphProto getG()
graph
optional .onnx.GraphProto g = 6;
- Specified by:
getG
in interfaceOnnx.AttributeProtoOrBuilder
- Returns:
- The g.
-
getGOrBuilder
public Onnx.GraphProtoOrBuilder getGOrBuilder()
graph
optional .onnx.GraphProto g = 6;
- Specified by:
getGOrBuilder
in interfaceOnnx.AttributeProtoOrBuilder
-
getFloatsList
public List<Float> getFloatsList()
list of floats
repeated float floats = 7;
- Specified by:
getFloatsList
in interfaceOnnx.AttributeProtoOrBuilder
- Returns:
- A list containing the floats.
-
getFloatsCount
public int getFloatsCount()
list of floats
repeated float floats = 7;
- Specified by:
getFloatsCount
in interfaceOnnx.AttributeProtoOrBuilder
- Returns:
- The count of floats.
-
getFloats
public float getFloats(int index)
list of floats
repeated float floats = 7;
- Specified by:
getFloats
in interfaceOnnx.AttributeProtoOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The floats at the given index.
-
getIntsList
public List<Long> getIntsList()
list of ints
repeated int64 ints = 8;
- Specified by:
getIntsList
in interfaceOnnx.AttributeProtoOrBuilder
- Returns:
- A list containing the ints.
-
getIntsCount
public int getIntsCount()
list of ints
repeated int64 ints = 8;
- Specified by:
getIntsCount
in interfaceOnnx.AttributeProtoOrBuilder
- Returns:
- The count of ints.
-
getInts
public long getInts(int index)
list of ints
repeated int64 ints = 8;
- Specified by:
getInts
in interfaceOnnx.AttributeProtoOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The ints at the given index.
-
getStringsList
public List<com.google.protobuf.ByteString> getStringsList()
list of UTF-8 strings
repeated bytes strings = 9;
- Specified by:
getStringsList
in interfaceOnnx.AttributeProtoOrBuilder
- Returns:
- A list containing the strings.
-
getStringsCount
public int getStringsCount()
list of UTF-8 strings
repeated bytes strings = 9;
- Specified by:
getStringsCount
in 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:
getStrings
in interfaceOnnx.AttributeProtoOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The strings at the given index.
-
getTensorsList
public List<Onnx.TensorProto> getTensorsList()
list of tensors
repeated .onnx.TensorProto tensors = 10;
- Specified by:
getTensorsList
in interfaceOnnx.AttributeProtoOrBuilder
-
getTensorsOrBuilderList
public List<? extends Onnx.TensorProtoOrBuilder> getTensorsOrBuilderList()
list of tensors
repeated .onnx.TensorProto tensors = 10;
- Specified by:
getTensorsOrBuilderList
in interfaceOnnx.AttributeProtoOrBuilder
-
getTensorsCount
public int getTensorsCount()
list of tensors
repeated .onnx.TensorProto tensors = 10;
- Specified by:
getTensorsCount
in interfaceOnnx.AttributeProtoOrBuilder
-
getTensors
public Onnx.TensorProto getTensors(int index)
list of tensors
repeated .onnx.TensorProto tensors = 10;
- Specified by:
getTensors
in interfaceOnnx.AttributeProtoOrBuilder
-
getTensorsOrBuilder
public Onnx.TensorProtoOrBuilder getTensorsOrBuilder(int index)
list of tensors
repeated .onnx.TensorProto tensors = 10;
- Specified by:
getTensorsOrBuilder
in interfaceOnnx.AttributeProtoOrBuilder
-
getGraphsList
public List<Onnx.GraphProto> getGraphsList()
list of graph
repeated .onnx.GraphProto graphs = 11;
- Specified by:
getGraphsList
in interfaceOnnx.AttributeProtoOrBuilder
-
getGraphsOrBuilderList
public List<? extends Onnx.GraphProtoOrBuilder> getGraphsOrBuilderList()
list of graph
repeated .onnx.GraphProto graphs = 11;
- Specified by:
getGraphsOrBuilderList
in interfaceOnnx.AttributeProtoOrBuilder
-
getGraphsCount
public int getGraphsCount()
list of graph
repeated .onnx.GraphProto graphs = 11;
- Specified by:
getGraphsCount
in interfaceOnnx.AttributeProtoOrBuilder
-
getGraphs
public Onnx.GraphProto getGraphs(int index)
list of graph
repeated .onnx.GraphProto graphs = 11;
- Specified by:
getGraphs
in interfaceOnnx.AttributeProtoOrBuilder
-
getGraphsOrBuilder
public Onnx.GraphProtoOrBuilder getGraphsOrBuilder(int index)
list of graph
repeated .onnx.GraphProto graphs = 11;
- Specified by:
getGraphsOrBuilder
in interfaceOnnx.AttributeProtoOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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
public static Onnx.AttributeProto parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Onnx.AttributeProto parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Onnx.AttributeProto parseDelimitedFrom(InputStream input) throws IOException
- 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
public Onnx.AttributeProto.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Onnx.AttributeProto.Builder newBuilder()
-
newBuilder
public static Onnx.AttributeProto.Builder newBuilder(Onnx.AttributeProto prototype)
-
toBuilder
public Onnx.AttributeProto.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Onnx.AttributeProto.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Onnx.AttributeProto getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Onnx.AttributeProto> parser()
-
getParserForType
public com.google.protobuf.Parser<Onnx.AttributeProto> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Onnx.AttributeProto getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-