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.Builder
addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
Onnx.TypeProto.Map
build()
Onnx.TypeProto.Map
buildPartial()
Onnx.TypeProto.Map.Builder
clear()
Onnx.TypeProto.Map.Builder
clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
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.Onnx.TypeProto.Map.Builder
clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
Onnx.TypeProto.Map.Builder
clearValueType()
This field MUST be present for this version of the IR.Onnx.TypeProto.Map.Builder
clone()
Onnx.TypeProto.Map
getDefaultInstanceForType()
static org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptor()
org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptorForType()
int
getKeyType()
This field MUST have a valid TensorProto.DataType value This field MUST be present for this version of the IR.Onnx.TypeProto
getValueType()
This field MUST be present for this version of the IR.Onnx.TypeProto.Builder
getValueTypeBuilder()
This field MUST be present for this version of the IR.Onnx.TypeProtoOrBuilder
getValueTypeOrBuilder()
This field MUST be present for this version of the IR.boolean
hasValueType()
This field MUST be present for this version of the IR.protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Onnx.TypeProto.Map.Builder
mergeFrom(Onnx.TypeProto.Map other)
Onnx.TypeProto.Map.Builder
mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
Onnx.TypeProto.Map.Builder
mergeFrom(org.nd4j.shade.protobuf.Message other)
Onnx.TypeProto.Map.Builder
mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
Onnx.TypeProto.Map.Builder
mergeValueType(Onnx.TypeProto value)
This field MUST be present for this version of the IR.Onnx.TypeProto.Map.Builder
setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
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.Onnx.TypeProto.Map.Builder
setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Onnx.TypeProto.Map.Builder
setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
Onnx.TypeProto.Map.Builder
setValueType(Onnx.TypeProto value)
This field MUST be present for this version of the IR.Onnx.TypeProto.Map.Builder
setValueType(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:
internalGetFieldAccessorTable
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.TypeProto.Map.Builder>
-
clear
public Onnx.TypeProto.Map.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.TypeProto.Map.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.TypeProto.Map.Builder>
-
getDefaultInstanceForType
public Onnx.TypeProto.Map getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
build
public Onnx.TypeProto.Map build()
- Specified by:
build
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
build
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
buildPartial
public Onnx.TypeProto.Map buildPartial()
- Specified by:
buildPartial
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
buildPartial
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
clone
public Onnx.TypeProto.Map.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.TypeProto.Map.Builder>
-
setField
public Onnx.TypeProto.Map.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.TypeProto.Map.Builder>
-
clearField
public Onnx.TypeProto.Map.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.TypeProto.Map.Builder>
-
clearOneof
public Onnx.TypeProto.Map.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.TypeProto.Map.Builder>
-
setRepeatedField
public Onnx.TypeProto.Map.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.TypeProto.Map.Builder>
-
addRepeatedField
public Onnx.TypeProto.Map.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.TypeProto.Map.Builder>
-
mergeFrom
public Onnx.TypeProto.Map.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.TypeProto.Map.Builder>
-
mergeFrom
public Onnx.TypeProto.Map.Builder mergeFrom(Onnx.TypeProto.Map 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.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:
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.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 STRING
int32 key_type = 1;
- Specified by:
getKeyType
in 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 STRING
int32 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 STRING
int32 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:
hasValueType
in 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:
getValueType
in 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:
getValueTypeOrBuilder
in interfaceOnnx.TypeProto.MapOrBuilder
-
setUnknownFields
public final Onnx.TypeProto.Map.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.TypeProto.Map.Builder>
-
mergeUnknownFields
public final Onnx.TypeProto.Map.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.TypeProto.Map.Builder>
-
-