Package onnx
Class OnnxMl.ValueInfoProto.Builder
- java.lang.Object
-
- org.nd4j.shade.protobuf.AbstractMessageLite.Builder
-
- org.nd4j.shade.protobuf.AbstractMessage.Builder<BuilderType>
-
- org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.ValueInfoProto.Builder>
-
- onnx.OnnxMl.ValueInfoProto.Builder
-
- All Implemented Interfaces:
Cloneable,OnnxMl.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:
- OnnxMl.ValueInfoProto
public static final class OnnxMl.ValueInfoProto.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.ValueInfoProto.Builder> implements OnnxMl.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 OnnxMl.ValueInfoProto.BuilderaddRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)OnnxMl.ValueInfoProtobuild()OnnxMl.ValueInfoProtobuildPartial()OnnxMl.ValueInfoProto.Builderclear()OnnxMl.ValueInfoProto.BuilderclearDocString()A human-readable documentation for this value.OnnxMl.ValueInfoProto.BuilderclearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)OnnxMl.ValueInfoProto.BuilderclearName()This field MUST be present in this version of the IR.OnnxMl.ValueInfoProto.BuilderclearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)OnnxMl.ValueInfoProto.BuilderclearType()This field MUST be present in this version of the IR for inputs and outputs of the top-level graph.OnnxMl.ValueInfoProto.Builderclone()OnnxMl.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.OnnxMl.TypeProtogetType()This field MUST be present in this version of the IR for inputs and outputs of the top-level graph.OnnxMl.TypeProto.BuildergetTypeBuilder()This field MUST be present in this version of the IR for inputs and outputs of the top-level graph.OnnxMl.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()OnnxMl.ValueInfoProto.BuildermergeFrom(OnnxMl.ValueInfoProto other)OnnxMl.ValueInfoProto.BuildermergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)OnnxMl.ValueInfoProto.BuildermergeFrom(org.nd4j.shade.protobuf.Message other)OnnxMl.ValueInfoProto.BuildermergeType(OnnxMl.TypeProto value)This field MUST be present in this version of the IR for inputs and outputs of the top-level graph.OnnxMl.ValueInfoProto.BuildermergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)OnnxMl.ValueInfoProto.BuildersetDocString(String value)A human-readable documentation for this value.OnnxMl.ValueInfoProto.BuildersetDocStringBytes(org.nd4j.shade.protobuf.ByteString value)A human-readable documentation for this value.OnnxMl.ValueInfoProto.BuildersetField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)OnnxMl.ValueInfoProto.BuildersetName(String value)This field MUST be present in this version of the IR.OnnxMl.ValueInfoProto.BuildersetNameBytes(org.nd4j.shade.protobuf.ByteString value)This field MUST be present in this version of the IR.OnnxMl.ValueInfoProto.BuildersetRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)OnnxMl.ValueInfoProto.BuildersetType(OnnxMl.TypeProto value)This field MUST be present in this version of the IR for inputs and outputs of the top-level graph.OnnxMl.ValueInfoProto.BuildersetType(OnnxMl.TypeProto.Builder builderForValue)This field MUST be present in this version of the IR for inputs and outputs of the top-level graph.OnnxMl.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<OnnxMl.ValueInfoProto.Builder>
-
clear
public OnnxMl.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<OnnxMl.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<OnnxMl.ValueInfoProto.Builder>
-
getDefaultInstanceForType
public OnnxMl.ValueInfoProto getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
build
public OnnxMl.ValueInfoProto build()
- Specified by:
buildin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
buildin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
buildPartial
public OnnxMl.ValueInfoProto buildPartial()
- Specified by:
buildPartialin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
buildPartialin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
clone
public OnnxMl.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<OnnxMl.ValueInfoProto.Builder>
-
setField
public OnnxMl.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<OnnxMl.ValueInfoProto.Builder>
-
clearField
public OnnxMl.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<OnnxMl.ValueInfoProto.Builder>
-
clearOneof
public OnnxMl.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<OnnxMl.ValueInfoProto.Builder>
-
setRepeatedField
public OnnxMl.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<OnnxMl.ValueInfoProto.Builder>
-
addRepeatedField
public OnnxMl.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<OnnxMl.ValueInfoProto.Builder>
-
mergeFrom
public OnnxMl.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<OnnxMl.ValueInfoProto.Builder>
-
mergeFrom
public OnnxMl.ValueInfoProto.Builder mergeFrom(OnnxMl.ValueInfoProto other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.ValueInfoProto.Builder>
-
mergeFrom
public OnnxMl.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<OnnxMl.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 interfaceOnnxMl.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 interfaceOnnxMl.ValueInfoProtoOrBuilder- Returns:
- The bytes for name.
-
setName
public OnnxMl.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 OnnxMl.ValueInfoProto.Builder clearName()
This field MUST be present in this version of the IR.
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
public OnnxMl.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 interfaceOnnxMl.ValueInfoProtoOrBuilder- Returns:
- Whether the type field is set.
-
getType
public OnnxMl.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 interfaceOnnxMl.ValueInfoProtoOrBuilder- Returns:
- The type.
-
setType
public OnnxMl.ValueInfoProto.Builder setType(OnnxMl.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 OnnxMl.ValueInfoProto.Builder setType(OnnxMl.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 OnnxMl.ValueInfoProto.Builder mergeType(OnnxMl.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 OnnxMl.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 OnnxMl.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 OnnxMl.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 interfaceOnnxMl.ValueInfoProtoOrBuilder
-
getDocString
public String getDocString()
A human-readable documentation for this value. Markdown is allowed.
string doc_string = 3;- Specified by:
getDocStringin interfaceOnnxMl.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 interfaceOnnxMl.ValueInfoProtoOrBuilder- Returns:
- The bytes for docString.
-
setDocString
public OnnxMl.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 OnnxMl.ValueInfoProto.Builder clearDocString()
A human-readable documentation for this value. Markdown is allowed.
string doc_string = 3;- Returns:
- This builder for chaining.
-
setDocStringBytes
public OnnxMl.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 OnnxMl.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<OnnxMl.ValueInfoProto.Builder>
-
mergeUnknownFields
public final OnnxMl.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<OnnxMl.ValueInfoProto.Builder>
-
-