Package org.nd4j.ir
Class MapperNamespace.MapperDeclaration.Builder
- java.lang.Object
-
- org.nd4j.shade.protobuf.AbstractMessageLite.Builder
-
- org.nd4j.shade.protobuf.AbstractMessage.Builder<BuilderType>
-
- org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MapperNamespace.MapperDeclaration.Builder>
-
- org.nd4j.ir.MapperNamespace.MapperDeclaration.Builder
-
- All Implemented Interfaces:
Cloneable
,MapperNamespace.MapperDeclarationOrBuilder
,org.nd4j.shade.protobuf.Message.Builder
,org.nd4j.shade.protobuf.MessageLite.Builder
,org.nd4j.shade.protobuf.MessageLiteOrBuilder
,org.nd4j.shade.protobuf.MessageOrBuilder
- Enclosing class:
- MapperNamespace.MapperDeclaration
public static final class MapperNamespace.MapperDeclaration.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MapperNamespace.MapperDeclaration.Builder> implements MapperNamespace.MapperDeclarationOrBuilder
Protobuf typeorg.nd4j.ir.MapperDeclaration
-
-
Method Summary
-
Methods inherited from class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, 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()
-
internalGetMapField
protected org.nd4j.shade.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MapperNamespace.MapperDeclaration.Builder>
-
internalGetMutableMapField
protected org.nd4j.shade.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MapperNamespace.MapperDeclaration.Builder>
-
internalGetFieldAccessorTable
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MapperNamespace.MapperDeclaration.Builder>
-
clear
public MapperNamespace.MapperDeclaration.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<MapperNamespace.MapperDeclaration.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<MapperNamespace.MapperDeclaration.Builder>
-
getDefaultInstanceForType
public MapperNamespace.MapperDeclaration getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
build
public MapperNamespace.MapperDeclaration build()
- Specified by:
build
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
build
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
buildPartial
public MapperNamespace.MapperDeclaration buildPartial()
- Specified by:
buildPartial
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
buildPartial
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
clone
public MapperNamespace.MapperDeclaration.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<MapperNamespace.MapperDeclaration.Builder>
-
setField
public MapperNamespace.MapperDeclaration.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<MapperNamespace.MapperDeclaration.Builder>
-
clearField
public MapperNamespace.MapperDeclaration.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<MapperNamespace.MapperDeclaration.Builder>
-
clearOneof
public MapperNamespace.MapperDeclaration.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<MapperNamespace.MapperDeclaration.Builder>
-
setRepeatedField
public MapperNamespace.MapperDeclaration.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<MapperNamespace.MapperDeclaration.Builder>
-
addRepeatedField
public MapperNamespace.MapperDeclaration.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<MapperNamespace.MapperDeclaration.Builder>
-
mergeFrom
public MapperNamespace.MapperDeclaration.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<MapperNamespace.MapperDeclaration.Builder>
-
mergeFrom
public MapperNamespace.MapperDeclaration.Builder mergeFrom(MapperNamespace.MapperDeclaration other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MapperNamespace.MapperDeclaration.Builder>
-
mergeFrom
public MapperNamespace.MapperDeclaration.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<MapperNamespace.MapperDeclaration.Builder>
- Throws:
IOException
-
getFrameworkName
public String getFrameworkName()
string frameworkName = 1;
- Specified by:
getFrameworkName
in interfaceMapperNamespace.MapperDeclarationOrBuilder
- Returns:
- The frameworkName.
-
getFrameworkNameBytes
public org.nd4j.shade.protobuf.ByteString getFrameworkNameBytes()
string frameworkName = 1;
- Specified by:
getFrameworkNameBytes
in interfaceMapperNamespace.MapperDeclarationOrBuilder
- Returns:
- The bytes for frameworkName.
-
setFrameworkName
public MapperNamespace.MapperDeclaration.Builder setFrameworkName(String value)
string frameworkName = 1;
- Parameters:
value
- The frameworkName to set.- Returns:
- This builder for chaining.
-
clearFrameworkName
public MapperNamespace.MapperDeclaration.Builder clearFrameworkName()
string frameworkName = 1;
- Returns:
- This builder for chaining.
-
setFrameworkNameBytes
public MapperNamespace.MapperDeclaration.Builder setFrameworkNameBytes(org.nd4j.shade.protobuf.ByteString value)
string frameworkName = 1;
- Parameters:
value
- The bytes for frameworkName to set.- Returns:
- This builder for chaining.
-
getOpName
public String getOpName()
string opName = 2;
- Specified by:
getOpName
in interfaceMapperNamespace.MapperDeclarationOrBuilder
- Returns:
- The opName.
-
getOpNameBytes
public org.nd4j.shade.protobuf.ByteString getOpNameBytes()
string opName = 2;
- Specified by:
getOpNameBytes
in interfaceMapperNamespace.MapperDeclarationOrBuilder
- Returns:
- The bytes for opName.
-
setOpName
public MapperNamespace.MapperDeclaration.Builder setOpName(String value)
string opName = 2;
- Parameters:
value
- The opName to set.- Returns:
- This builder for chaining.
-
clearOpName
public MapperNamespace.MapperDeclaration.Builder clearOpName()
string opName = 2;
- Returns:
- This builder for chaining.
-
setOpNameBytes
public MapperNamespace.MapperDeclaration.Builder setOpNameBytes(org.nd4j.shade.protobuf.ByteString value)
string opName = 2;
- Parameters:
value
- The bytes for opName to set.- Returns:
- This builder for chaining.
-
getInputFrameworkOpName
public String getInputFrameworkOpName()
string inputFrameworkOpName = 3;
- Specified by:
getInputFrameworkOpName
in interfaceMapperNamespace.MapperDeclarationOrBuilder
- Returns:
- The inputFrameworkOpName.
-
getInputFrameworkOpNameBytes
public org.nd4j.shade.protobuf.ByteString getInputFrameworkOpNameBytes()
string inputFrameworkOpName = 3;
- Specified by:
getInputFrameworkOpNameBytes
in interfaceMapperNamespace.MapperDeclarationOrBuilder
- Returns:
- The bytes for inputFrameworkOpName.
-
setInputFrameworkOpName
public MapperNamespace.MapperDeclaration.Builder setInputFrameworkOpName(String value)
string inputFrameworkOpName = 3;
- Parameters:
value
- The inputFrameworkOpName to set.- Returns:
- This builder for chaining.
-
clearInputFrameworkOpName
public MapperNamespace.MapperDeclaration.Builder clearInputFrameworkOpName()
string inputFrameworkOpName = 3;
- Returns:
- This builder for chaining.
-
setInputFrameworkOpNameBytes
public MapperNamespace.MapperDeclaration.Builder setInputFrameworkOpNameBytes(org.nd4j.shade.protobuf.ByteString value)
string inputFrameworkOpName = 3;
- Parameters:
value
- The bytes for inputFrameworkOpName to set.- Returns:
- This builder for chaining.
-
getRuleList
public List<MapperNamespace.MappingRule> getRuleList()
the rules to apply for attributes
repeated .org.nd4j.ir.MappingRule rule = 4;
- Specified by:
getRuleList
in interfaceMapperNamespace.MapperDeclarationOrBuilder
-
getRuleCount
public int getRuleCount()
the rules to apply for attributes
repeated .org.nd4j.ir.MappingRule rule = 4;
- Specified by:
getRuleCount
in interfaceMapperNamespace.MapperDeclarationOrBuilder
-
getRule
public MapperNamespace.MappingRule getRule(int index)
the rules to apply for attributes
repeated .org.nd4j.ir.MappingRule rule = 4;
- Specified by:
getRule
in interfaceMapperNamespace.MapperDeclarationOrBuilder
-
setRule
public MapperNamespace.MapperDeclaration.Builder setRule(int index, MapperNamespace.MappingRule value)
the rules to apply for attributes
repeated .org.nd4j.ir.MappingRule rule = 4;
-
setRule
public MapperNamespace.MapperDeclaration.Builder setRule(int index, MapperNamespace.MappingRule.Builder builderForValue)
the rules to apply for attributes
repeated .org.nd4j.ir.MappingRule rule = 4;
-
addRule
public MapperNamespace.MapperDeclaration.Builder addRule(MapperNamespace.MappingRule value)
the rules to apply for attributes
repeated .org.nd4j.ir.MappingRule rule = 4;
-
addRule
public MapperNamespace.MapperDeclaration.Builder addRule(int index, MapperNamespace.MappingRule value)
the rules to apply for attributes
repeated .org.nd4j.ir.MappingRule rule = 4;
-
addRule
public MapperNamespace.MapperDeclaration.Builder addRule(MapperNamespace.MappingRule.Builder builderForValue)
the rules to apply for attributes
repeated .org.nd4j.ir.MappingRule rule = 4;
-
addRule
public MapperNamespace.MapperDeclaration.Builder addRule(int index, MapperNamespace.MappingRule.Builder builderForValue)
the rules to apply for attributes
repeated .org.nd4j.ir.MappingRule rule = 4;
-
addAllRule
public MapperNamespace.MapperDeclaration.Builder addAllRule(Iterable<? extends MapperNamespace.MappingRule> values)
the rules to apply for attributes
repeated .org.nd4j.ir.MappingRule rule = 4;
-
clearRule
public MapperNamespace.MapperDeclaration.Builder clearRule()
the rules to apply for attributes
repeated .org.nd4j.ir.MappingRule rule = 4;
-
removeRule
public MapperNamespace.MapperDeclaration.Builder removeRule(int index)
the rules to apply for attributes
repeated .org.nd4j.ir.MappingRule rule = 4;
-
getRuleBuilder
public MapperNamespace.MappingRule.Builder getRuleBuilder(int index)
the rules to apply for attributes
repeated .org.nd4j.ir.MappingRule rule = 4;
-
getRuleOrBuilder
public MapperNamespace.MappingRuleOrBuilder getRuleOrBuilder(int index)
the rules to apply for attributes
repeated .org.nd4j.ir.MappingRule rule = 4;
- Specified by:
getRuleOrBuilder
in interfaceMapperNamespace.MapperDeclarationOrBuilder
-
getRuleOrBuilderList
public List<? extends MapperNamespace.MappingRuleOrBuilder> getRuleOrBuilderList()
the rules to apply for attributes
repeated .org.nd4j.ir.MappingRule rule = 4;
- Specified by:
getRuleOrBuilderList
in interfaceMapperNamespace.MapperDeclarationOrBuilder
-
addRuleBuilder
public MapperNamespace.MappingRule.Builder addRuleBuilder()
the rules to apply for attributes
repeated .org.nd4j.ir.MappingRule rule = 4;
-
addRuleBuilder
public MapperNamespace.MappingRule.Builder addRuleBuilder(int index)
the rules to apply for attributes
repeated .org.nd4j.ir.MappingRule rule = 4;
-
getRuleBuilderList
public List<MapperNamespace.MappingRule.Builder> getRuleBuilderList()
the rules to apply for attributes
repeated .org.nd4j.ir.MappingRule rule = 4;
-
getIndexOverridesCount
public int getIndexOverridesCount()
Description copied from interface:MapperNamespace.MapperDeclarationOrBuilder
map<int64, int64> indexOverrides = 5;
- Specified by:
getIndexOverridesCount
in interfaceMapperNamespace.MapperDeclarationOrBuilder
-
containsIndexOverrides
public boolean containsIndexOverrides(long key)
map<int64, int64> indexOverrides = 5;
- Specified by:
containsIndexOverrides
in interfaceMapperNamespace.MapperDeclarationOrBuilder
-
getIndexOverrides
@Deprecated public Map<Long,Long> getIndexOverrides()
Deprecated.UsegetIndexOverridesMap()
instead.- Specified by:
getIndexOverrides
in interfaceMapperNamespace.MapperDeclarationOrBuilder
-
getIndexOverridesMap
public Map<Long,Long> getIndexOverridesMap()
map<int64, int64> indexOverrides = 5;
- Specified by:
getIndexOverridesMap
in interfaceMapperNamespace.MapperDeclarationOrBuilder
-
getIndexOverridesOrDefault
public long getIndexOverridesOrDefault(long key, long defaultValue)
map<int64, int64> indexOverrides = 5;
- Specified by:
getIndexOverridesOrDefault
in interfaceMapperNamespace.MapperDeclarationOrBuilder
-
getIndexOverridesOrThrow
public long getIndexOverridesOrThrow(long key)
map<int64, int64> indexOverrides = 5;
- Specified by:
getIndexOverridesOrThrow
in interfaceMapperNamespace.MapperDeclarationOrBuilder
-
clearIndexOverrides
public MapperNamespace.MapperDeclaration.Builder clearIndexOverrides()
-
removeIndexOverrides
public MapperNamespace.MapperDeclaration.Builder removeIndexOverrides(long key)
map<int64, int64> indexOverrides = 5;
-
getMutableIndexOverrides
@Deprecated public Map<Long,Long> getMutableIndexOverrides()
Deprecated.Use alternate mutation accessors instead.
-
putIndexOverrides
public MapperNamespace.MapperDeclaration.Builder putIndexOverrides(long key, long value)
map<int64, int64> indexOverrides = 5;
-
putAllIndexOverrides
public MapperNamespace.MapperDeclaration.Builder putAllIndexOverrides(Map<Long,Long> values)
map<int64, int64> indexOverrides = 5;
-
getVariableResolutionTypeValue
public int getVariableResolutionTypeValue()
.org.nd4j.ir.VariableResolutionType variableResolutionType = 6;
- Specified by:
getVariableResolutionTypeValue
in interfaceMapperNamespace.MapperDeclarationOrBuilder
- Returns:
- The enum numeric value on the wire for variableResolutionType.
-
setVariableResolutionTypeValue
public MapperNamespace.MapperDeclaration.Builder setVariableResolutionTypeValue(int value)
.org.nd4j.ir.VariableResolutionType variableResolutionType = 6;
- Parameters:
value
- The enum numeric value on the wire for variableResolutionType to set.- Returns:
- This builder for chaining.
-
getVariableResolutionType
public MapperNamespace.VariableResolutionType getVariableResolutionType()
.org.nd4j.ir.VariableResolutionType variableResolutionType = 6;
- Specified by:
getVariableResolutionType
in interfaceMapperNamespace.MapperDeclarationOrBuilder
- Returns:
- The variableResolutionType.
-
setVariableResolutionType
public MapperNamespace.MapperDeclaration.Builder setVariableResolutionType(MapperNamespace.VariableResolutionType value)
.org.nd4j.ir.VariableResolutionType variableResolutionType = 6;
- Parameters:
value
- The variableResolutionType to set.- Returns:
- This builder for chaining.
-
clearVariableResolutionType
public MapperNamespace.MapperDeclaration.Builder clearVariableResolutionType()
.org.nd4j.ir.VariableResolutionType variableResolutionType = 6;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final MapperNamespace.MapperDeclaration.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<MapperNamespace.MapperDeclaration.Builder>
-
mergeUnknownFields
public final MapperNamespace.MapperDeclaration.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<MapperNamespace.MapperDeclaration.Builder>
-
-