Package onnx
Class Onnx.ValueInfoProto.Builder
- java.lang.Object
-
- org.nd4j.shade.protobuf.AbstractMessageLite.Builder
-
- org.nd4j.shade.protobuf.AbstractMessage.Builder<BuilderType>
-
- org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.ValueInfoProto.Builder>
-
- onnx.Onnx.ValueInfoProto.Builder
-
- All Implemented Interfaces:
Cloneable,Onnx.ValueInfoProtoOrBuilder,org.nd4j.shade.protobuf.Message.Builder,org.nd4j.shade.protobuf.MessageLite.Builder,org.nd4j.shade.protobuf.MessageLiteOrBuilder,org.nd4j.shade.protobuf.MessageOrBuilder
- Enclosing class:
- Onnx.ValueInfoProto
public static final class Onnx.ValueInfoProto.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.ValueInfoProto.Builder> implements Onnx.ValueInfoProtoOrBuilder
Defines information on value, including the name, the type, and the shape of the value.
Protobuf typeonnx.ValueInfoProto
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Onnx.ValueInfoProto.BuilderaddRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)Onnx.ValueInfoProtobuild()Onnx.ValueInfoProtobuildPartial()Onnx.ValueInfoProto.Builderclear()Onnx.ValueInfoProto.BuilderclearDocString()A human-readable documentation for this value.Onnx.ValueInfoProto.BuilderclearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)Onnx.ValueInfoProto.BuilderclearName()This field MUST be present in this version of the IR.Onnx.ValueInfoProto.BuilderclearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)Onnx.ValueInfoProto.BuilderclearType()This field MUST be present in this version of the IR for inputs and outputs of the top-level graph.Onnx.ValueInfoProto.Builderclone()Onnx.ValueInfoProtogetDefaultInstanceForType()static org.nd4j.shade.protobuf.Descriptors.DescriptorgetDescriptor()org.nd4j.shade.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetDocString()A human-readable documentation for this value.org.nd4j.shade.protobuf.ByteStringgetDocStringBytes()A human-readable documentation for this value.StringgetName()This field MUST be present in this version of the IR.org.nd4j.shade.protobuf.ByteStringgetNameBytes()This field MUST be present in this version of the IR.Onnx.TypeProtogetType()This field MUST be present in this version of the IR for inputs and outputs of the top-level graph.Onnx.TypeProto.BuildergetTypeBuilder()This field MUST be present in this version of the IR for inputs and outputs of the top-level graph.Onnx.TypeProtoOrBuildergetTypeOrBuilder()This field MUST be present in this version of the IR for inputs and outputs of the top-level graph.booleanhasType()This field MUST be present in this version of the IR for inputs and outputs of the top-level graph.protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Onnx.ValueInfoProto.BuildermergeFrom(Onnx.ValueInfoProto other)Onnx.ValueInfoProto.BuildermergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)Onnx.ValueInfoProto.BuildermergeFrom(org.nd4j.shade.protobuf.Message other)Onnx.ValueInfoProto.BuildermergeType(Onnx.TypeProto value)This field MUST be present in this version of the IR for inputs and outputs of the top-level graph.Onnx.ValueInfoProto.BuildermergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)Onnx.ValueInfoProto.BuildersetDocString(String value)A human-readable documentation for this value.Onnx.ValueInfoProto.BuildersetDocStringBytes(org.nd4j.shade.protobuf.ByteString value)A human-readable documentation for this value.Onnx.ValueInfoProto.BuildersetField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)Onnx.ValueInfoProto.BuildersetName(String value)This field MUST be present in this version of the IR.Onnx.ValueInfoProto.BuildersetNameBytes(org.nd4j.shade.protobuf.ByteString value)This field MUST be present in this version of the IR.Onnx.ValueInfoProto.BuildersetRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Onnx.ValueInfoProto.BuildersetType(Onnx.TypeProto value)This field MUST be present in this version of the IR for inputs and outputs of the top-level graph.Onnx.ValueInfoProto.BuildersetType(Onnx.TypeProto.Builder builderForValue)This field MUST be present in this version of the IR for inputs and outputs of the top-level graph.Onnx.ValueInfoProto.BuildersetUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class org.nd4j.shade.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class org.nd4j.shade.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.ValueInfoProto.Builder>
-
clear
public Onnx.ValueInfoProto.Builder clear()
- Specified by:
clearin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
clearin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
clearin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.ValueInfoProto.Builder>
-
getDescriptorForType
public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfaceorg.nd4j.shade.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.ValueInfoProto.Builder>
-
getDefaultInstanceForType
public Onnx.ValueInfoProto getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
build
public Onnx.ValueInfoProto build()
- Specified by:
buildin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
buildin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
buildPartial
public Onnx.ValueInfoProto buildPartial()
- Specified by:
buildPartialin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
buildPartialin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
clone
public Onnx.ValueInfoProto.Builder clone()
- Specified by:
clonein interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
clonein interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
clonein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.ValueInfoProto.Builder>
-
setField
public Onnx.ValueInfoProto.Builder setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.ValueInfoProto.Builder>
-
clearField
public Onnx.ValueInfoProto.Builder clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
clearFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.ValueInfoProto.Builder>
-
clearOneof
public Onnx.ValueInfoProto.Builder clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
clearOneofin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.ValueInfoProto.Builder>
-
setRepeatedField
public Onnx.ValueInfoProto.Builder setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.ValueInfoProto.Builder>
-
addRepeatedField
public Onnx.ValueInfoProto.Builder addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.ValueInfoProto.Builder>
-
mergeFrom
public Onnx.ValueInfoProto.Builder mergeFrom(org.nd4j.shade.protobuf.Message other)
- Specified by:
mergeFromin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
mergeFromin classorg.nd4j.shade.protobuf.AbstractMessage.Builder<Onnx.ValueInfoProto.Builder>
-
mergeFrom
public Onnx.ValueInfoProto.Builder mergeFrom(Onnx.ValueInfoProto other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.ValueInfoProto.Builder>
-
mergeFrom
public Onnx.ValueInfoProto.Builder mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
mergeFromin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
mergeFromin classorg.nd4j.shade.protobuf.AbstractMessage.Builder<Onnx.ValueInfoProto.Builder>- Throws:
IOException
-
getName
public String getName()
This field MUST be present in this version of the IR.
string name = 1;- Specified by:
getNamein interfaceOnnx.ValueInfoProtoOrBuilder- Returns:
- The name.
-
getNameBytes
public org.nd4j.shade.protobuf.ByteString getNameBytes()
This field MUST be present in this version of the IR.
string name = 1;- Specified by:
getNameBytesin interfaceOnnx.ValueInfoProtoOrBuilder- Returns:
- The bytes for name.
-
setName
public Onnx.ValueInfoProto.Builder setName(String value)
This field MUST be present in this version of the IR.
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public Onnx.ValueInfoProto.Builder clearName()
This field MUST be present in this version of the IR.
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
public Onnx.ValueInfoProto.Builder setNameBytes(org.nd4j.shade.protobuf.ByteString value)
This field MUST be present in this version of the IR.
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasType
public boolean hasType()
This field MUST be present in this version of the IR for inputs and outputs of the top-level graph.
.onnx.TypeProto type = 2;- Specified by:
hasTypein interfaceOnnx.ValueInfoProtoOrBuilder- Returns:
- Whether the type field is set.
-
getType
public Onnx.TypeProto getType()
This field MUST be present in this version of the IR for inputs and outputs of the top-level graph.
.onnx.TypeProto type = 2;- Specified by:
getTypein interfaceOnnx.ValueInfoProtoOrBuilder- Returns:
- The type.
-
setType
public Onnx.ValueInfoProto.Builder setType(Onnx.TypeProto value)
This field MUST be present in this version of the IR for inputs and outputs of the top-level graph.
.onnx.TypeProto type = 2;
-
setType
public Onnx.ValueInfoProto.Builder setType(Onnx.TypeProto.Builder builderForValue)
This field MUST be present in this version of the IR for inputs and outputs of the top-level graph.
.onnx.TypeProto type = 2;
-
mergeType
public Onnx.ValueInfoProto.Builder mergeType(Onnx.TypeProto value)
This field MUST be present in this version of the IR for inputs and outputs of the top-level graph.
.onnx.TypeProto type = 2;
-
clearType
public Onnx.ValueInfoProto.Builder clearType()
This field MUST be present in this version of the IR for inputs and outputs of the top-level graph.
.onnx.TypeProto type = 2;
-
getTypeBuilder
public Onnx.TypeProto.Builder getTypeBuilder()
This field MUST be present in this version of the IR for inputs and outputs of the top-level graph.
.onnx.TypeProto type = 2;
-
getTypeOrBuilder
public Onnx.TypeProtoOrBuilder getTypeOrBuilder()
This field MUST be present in this version of the IR for inputs and outputs of the top-level graph.
.onnx.TypeProto type = 2;- Specified by:
getTypeOrBuilderin interfaceOnnx.ValueInfoProtoOrBuilder
-
getDocString
public String getDocString()
A human-readable documentation for this value. Markdown is allowed.
string doc_string = 3;- Specified by:
getDocStringin interfaceOnnx.ValueInfoProtoOrBuilder- Returns:
- The docString.
-
getDocStringBytes
public org.nd4j.shade.protobuf.ByteString getDocStringBytes()
A human-readable documentation for this value. Markdown is allowed.
string doc_string = 3;- Specified by:
getDocStringBytesin interfaceOnnx.ValueInfoProtoOrBuilder- Returns:
- The bytes for docString.
-
setDocString
public Onnx.ValueInfoProto.Builder setDocString(String value)
A human-readable documentation for this value. Markdown is allowed.
string doc_string = 3;- Parameters:
value- The docString to set.- Returns:
- This builder for chaining.
-
clearDocString
public Onnx.ValueInfoProto.Builder clearDocString()
A human-readable documentation for this value. Markdown is allowed.
string doc_string = 3;- Returns:
- This builder for chaining.
-
setDocStringBytes
public Onnx.ValueInfoProto.Builder setDocStringBytes(org.nd4j.shade.protobuf.ByteString value)
A human-readable documentation for this value. Markdown is allowed.
string doc_string = 3;- Parameters:
value- The bytes for docString to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Onnx.ValueInfoProto.Builder setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.ValueInfoProto.Builder>
-
mergeUnknownFields
public final Onnx.ValueInfoProto.Builder mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.ValueInfoProto.Builder>
-
-