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.Builder
addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
Onnx.ValueInfoProto
build()
Onnx.ValueInfoProto
buildPartial()
Onnx.ValueInfoProto.Builder
clear()
Onnx.ValueInfoProto.Builder
clearDocString()
A human-readable documentation for this value.Onnx.ValueInfoProto.Builder
clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
Onnx.ValueInfoProto.Builder
clearName()
This field MUST be present in this version of the IR.Onnx.ValueInfoProto.Builder
clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
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.ValueInfoProto.Builder
clone()
Onnx.ValueInfoProto
getDefaultInstanceForType()
static org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptor()
org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getDocString()
A human-readable documentation for this value.org.nd4j.shade.protobuf.ByteString
getDocStringBytes()
A human-readable documentation for this value.String
getName()
This field MUST be present in this version of the IR.org.nd4j.shade.protobuf.ByteString
getNameBytes()
This field MUST be present in this version of the IR.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.Builder
getTypeBuilder()
This field MUST be present in this version of the IR for inputs and outputs of the top-level graph.Onnx.TypeProtoOrBuilder
getTypeOrBuilder()
This field MUST be present in this version of the IR for inputs and outputs of the top-level graph.boolean
hasType()
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.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Onnx.ValueInfoProto.Builder
mergeFrom(Onnx.ValueInfoProto other)
Onnx.ValueInfoProto.Builder
mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
Onnx.ValueInfoProto.Builder
mergeFrom(org.nd4j.shade.protobuf.Message other)
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.ValueInfoProto.Builder
mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
Onnx.ValueInfoProto.Builder
setDocString(String value)
A human-readable documentation for this value.Onnx.ValueInfoProto.Builder
setDocStringBytes(org.nd4j.shade.protobuf.ByteString value)
A human-readable documentation for this value.Onnx.ValueInfoProto.Builder
setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
Onnx.ValueInfoProto.Builder
setName(String value)
This field MUST be present in this version of the IR.Onnx.ValueInfoProto.Builder
setNameBytes(org.nd4j.shade.protobuf.ByteString value)
This field MUST be present in this version of the IR.Onnx.ValueInfoProto.Builder
setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
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.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.ValueInfoProto.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.ValueInfoProto.Builder>
-
clear
public Onnx.ValueInfoProto.Builder clear()
- Specified by:
clear
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
clear
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
- Overrides:
clear
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.ValueInfoProto.Builder>
-
getDescriptorForType
public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.ValueInfoProto.Builder>
-
getDefaultInstanceForType
public Onnx.ValueInfoProto getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
build
public Onnx.ValueInfoProto build()
- Specified by:
build
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
build
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
buildPartial
public Onnx.ValueInfoProto buildPartial()
- Specified by:
buildPartial
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
buildPartial
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
clone
public Onnx.ValueInfoProto.Builder clone()
- Specified by:
clone
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
clone
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
- Overrides:
clone
in 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:
setField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
setField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.ValueInfoProto.Builder>
-
clearField
public Onnx.ValueInfoProto.Builder clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
clearField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.ValueInfoProto.Builder>
-
clearOneof
public Onnx.ValueInfoProto.Builder clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
clearOneof
in 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:
setRepeatedField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
setRepeatedField
in 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:
addRepeatedField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.ValueInfoProto.Builder>
-
mergeFrom
public Onnx.ValueInfoProto.Builder mergeFrom(org.nd4j.shade.protobuf.Message other)
- Specified by:
mergeFrom
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
mergeFrom
in 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:
isInitialized
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getName
in 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:
getNameBytes
in 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:
hasType
in 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:
getType
in 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:
getTypeOrBuilder
in interfaceOnnx.ValueInfoProtoOrBuilder
-
getDocString
public String getDocString()
A human-readable documentation for this value. Markdown is allowed.
string doc_string = 3;
- Specified by:
getDocString
in 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:
getDocStringBytes
in 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:
setUnknownFields
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.ValueInfoProto.Builder>
-
mergeUnknownFields
public final Onnx.ValueInfoProto.Builder mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.ValueInfoProto.Builder>
-
-