Package onnx
Class Onnx.TypeProto.Map.Builder
- java.lang.Object
-
- org.nd4j.shade.protobuf.AbstractMessageLite.Builder
-
- org.nd4j.shade.protobuf.AbstractMessage.Builder<BuilderType>
-
- org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.TypeProto.Map.Builder>
-
- onnx.Onnx.TypeProto.Map.Builder
-
- All Implemented Interfaces:
Cloneable,Onnx.TypeProto.MapOrBuilder,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.TypeProto.Map
public static final class Onnx.TypeProto.Map.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.TypeProto.Map.Builder> implements Onnx.TypeProto.MapOrBuilder
map<K,V>
Protobuf typeonnx.TypeProto.Map
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Onnx.TypeProto.Map.BuilderaddRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)Onnx.TypeProto.Mapbuild()Onnx.TypeProto.MapbuildPartial()Onnx.TypeProto.Map.Builderclear()Onnx.TypeProto.Map.BuilderclearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)Onnx.TypeProto.Map.BuilderclearKeyType()This field MUST have a valid TensorProto.DataType value This field MUST be present for this version of the IR.Onnx.TypeProto.Map.BuilderclearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)Onnx.TypeProto.Map.BuilderclearValueType()This field MUST be present for this version of the IR.Onnx.TypeProto.Map.Builderclone()Onnx.TypeProto.MapgetDefaultInstanceForType()static org.nd4j.shade.protobuf.Descriptors.DescriptorgetDescriptor()org.nd4j.shade.protobuf.Descriptors.DescriptorgetDescriptorForType()intgetKeyType()This field MUST have a valid TensorProto.DataType value This field MUST be present for this version of the IR.Onnx.TypeProtogetValueType()This field MUST be present for this version of the IR.Onnx.TypeProto.BuildergetValueTypeBuilder()This field MUST be present for this version of the IR.Onnx.TypeProtoOrBuildergetValueTypeOrBuilder()This field MUST be present for this version of the IR.booleanhasValueType()This field MUST be present for this version of the IR.protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Onnx.TypeProto.Map.BuildermergeFrom(Onnx.TypeProto.Map other)Onnx.TypeProto.Map.BuildermergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)Onnx.TypeProto.Map.BuildermergeFrom(org.nd4j.shade.protobuf.Message other)Onnx.TypeProto.Map.BuildermergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)Onnx.TypeProto.Map.BuildermergeValueType(Onnx.TypeProto value)This field MUST be present for this version of the IR.Onnx.TypeProto.Map.BuildersetField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)Onnx.TypeProto.Map.BuildersetKeyType(int value)This field MUST have a valid TensorProto.DataType value This field MUST be present for this version of the IR.Onnx.TypeProto.Map.BuildersetRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Onnx.TypeProto.Map.BuildersetUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)Onnx.TypeProto.Map.BuildersetValueType(Onnx.TypeProto value)This field MUST be present for this version of the IR.Onnx.TypeProto.Map.BuildersetValueType(Onnx.TypeProto.Builder builderForValue)This field MUST be present for this version of the IR.-
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.TypeProto.Map.Builder>
-
clear
public Onnx.TypeProto.Map.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.TypeProto.Map.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.TypeProto.Map.Builder>
-
getDefaultInstanceForType
public Onnx.TypeProto.Map getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
build
public Onnx.TypeProto.Map build()
- Specified by:
buildin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
buildin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
buildPartial
public Onnx.TypeProto.Map buildPartial()
- Specified by:
buildPartialin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
buildPartialin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
clone
public Onnx.TypeProto.Map.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.TypeProto.Map.Builder>
-
setField
public Onnx.TypeProto.Map.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.TypeProto.Map.Builder>
-
clearField
public Onnx.TypeProto.Map.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.TypeProto.Map.Builder>
-
clearOneof
public Onnx.TypeProto.Map.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.TypeProto.Map.Builder>
-
setRepeatedField
public Onnx.TypeProto.Map.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.TypeProto.Map.Builder>
-
addRepeatedField
public Onnx.TypeProto.Map.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.TypeProto.Map.Builder>
-
mergeFrom
public Onnx.TypeProto.Map.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.TypeProto.Map.Builder>
-
mergeFrom
public Onnx.TypeProto.Map.Builder mergeFrom(Onnx.TypeProto.Map other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.TypeProto.Map.Builder>
-
mergeFrom
public Onnx.TypeProto.Map.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.TypeProto.Map.Builder>- Throws:
IOException
-
getKeyType
public int getKeyType()
This field MUST have a valid TensorProto.DataType value This field MUST be present for this version of the IR. This field MUST refer to an integral type ([U]INT{8|16|32|64}) or STRINGint32 key_type = 1;- Specified by:
getKeyTypein interfaceOnnx.TypeProto.MapOrBuilder- Returns:
- The keyType.
-
setKeyType
public Onnx.TypeProto.Map.Builder setKeyType(int value)
This field MUST have a valid TensorProto.DataType value This field MUST be present for this version of the IR. This field MUST refer to an integral type ([U]INT{8|16|32|64}) or STRINGint32 key_type = 1;- Parameters:
value- The keyType to set.- Returns:
- This builder for chaining.
-
clearKeyType
public Onnx.TypeProto.Map.Builder clearKeyType()
This field MUST have a valid TensorProto.DataType value This field MUST be present for this version of the IR. This field MUST refer to an integral type ([U]INT{8|16|32|64}) or STRINGint32 key_type = 1;- Returns:
- This builder for chaining.
-
hasValueType
public boolean hasValueType()
This field MUST be present for this version of the IR.
.onnx.TypeProto value_type = 2;- Specified by:
hasValueTypein interfaceOnnx.TypeProto.MapOrBuilder- Returns:
- Whether the valueType field is set.
-
getValueType
public Onnx.TypeProto getValueType()
This field MUST be present for this version of the IR.
.onnx.TypeProto value_type = 2;- Specified by:
getValueTypein interfaceOnnx.TypeProto.MapOrBuilder- Returns:
- The valueType.
-
setValueType
public Onnx.TypeProto.Map.Builder setValueType(Onnx.TypeProto value)
This field MUST be present for this version of the IR.
.onnx.TypeProto value_type = 2;
-
setValueType
public Onnx.TypeProto.Map.Builder setValueType(Onnx.TypeProto.Builder builderForValue)
This field MUST be present for this version of the IR.
.onnx.TypeProto value_type = 2;
-
mergeValueType
public Onnx.TypeProto.Map.Builder mergeValueType(Onnx.TypeProto value)
This field MUST be present for this version of the IR.
.onnx.TypeProto value_type = 2;
-
clearValueType
public Onnx.TypeProto.Map.Builder clearValueType()
This field MUST be present for this version of the IR.
.onnx.TypeProto value_type = 2;
-
getValueTypeBuilder
public Onnx.TypeProto.Builder getValueTypeBuilder()
This field MUST be present for this version of the IR.
.onnx.TypeProto value_type = 2;
-
getValueTypeOrBuilder
public Onnx.TypeProtoOrBuilder getValueTypeOrBuilder()
This field MUST be present for this version of the IR.
.onnx.TypeProto value_type = 2;- Specified by:
getValueTypeOrBuilderin interfaceOnnx.TypeProto.MapOrBuilder
-
setUnknownFields
public final Onnx.TypeProto.Map.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.TypeProto.Map.Builder>
-
mergeUnknownFields
public final Onnx.TypeProto.Map.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.TypeProto.Map.Builder>
-
-