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:
internalGetMapFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MapperNamespace.MapperDeclaration.Builder>
-
internalGetMutableMapField
protected org.nd4j.shade.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MapperNamespace.MapperDeclaration.Builder>
-
internalGetFieldAccessorTable
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MapperNamespace.MapperDeclaration.Builder>
-
clear
public MapperNamespace.MapperDeclaration.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<MapperNamespace.MapperDeclaration.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<MapperNamespace.MapperDeclaration.Builder>
-
getDefaultInstanceForType
public MapperNamespace.MapperDeclaration getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
build
public MapperNamespace.MapperDeclaration build()
- Specified by:
buildin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
buildin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
buildPartial
public MapperNamespace.MapperDeclaration buildPartial()
- Specified by:
buildPartialin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
buildPartialin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
clone
public MapperNamespace.MapperDeclaration.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<MapperNamespace.MapperDeclaration.Builder>
-
setField
public MapperNamespace.MapperDeclaration.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<MapperNamespace.MapperDeclaration.Builder>
-
clearField
public MapperNamespace.MapperDeclaration.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<MapperNamespace.MapperDeclaration.Builder>
-
clearOneof
public MapperNamespace.MapperDeclaration.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<MapperNamespace.MapperDeclaration.Builder>
-
setRepeatedField
public MapperNamespace.MapperDeclaration.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<MapperNamespace.MapperDeclaration.Builder>
-
addRepeatedField
public MapperNamespace.MapperDeclaration.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<MapperNamespace.MapperDeclaration.Builder>
-
mergeFrom
public MapperNamespace.MapperDeclaration.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<MapperNamespace.MapperDeclaration.Builder>
-
mergeFrom
public MapperNamespace.MapperDeclaration.Builder mergeFrom(MapperNamespace.MapperDeclaration other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
mergeFromin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
mergeFromin classorg.nd4j.shade.protobuf.AbstractMessage.Builder<MapperNamespace.MapperDeclaration.Builder>- Throws:
IOException
-
getFrameworkName
public String getFrameworkName()
string frameworkName = 1;- Specified by:
getFrameworkNamein interfaceMapperNamespace.MapperDeclarationOrBuilder- Returns:
- The frameworkName.
-
getFrameworkNameBytes
public org.nd4j.shade.protobuf.ByteString getFrameworkNameBytes()
string frameworkName = 1;- Specified by:
getFrameworkNameBytesin 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:
getOpNamein interfaceMapperNamespace.MapperDeclarationOrBuilder- Returns:
- The opName.
-
getOpNameBytes
public org.nd4j.shade.protobuf.ByteString getOpNameBytes()
string opName = 2;- Specified by:
getOpNameBytesin 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:
getInputFrameworkOpNamein interfaceMapperNamespace.MapperDeclarationOrBuilder- Returns:
- The inputFrameworkOpName.
-
getInputFrameworkOpNameBytes
public org.nd4j.shade.protobuf.ByteString getInputFrameworkOpNameBytes()
string inputFrameworkOpName = 3;- Specified by:
getInputFrameworkOpNameBytesin 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:
getRuleListin interfaceMapperNamespace.MapperDeclarationOrBuilder
-
getRuleCount
public int getRuleCount()
the rules to apply for attributes
repeated .org.nd4j.ir.MappingRule rule = 4;- Specified by:
getRuleCountin interfaceMapperNamespace.MapperDeclarationOrBuilder
-
getRule
public MapperNamespace.MappingRule getRule(int index)
the rules to apply for attributes
repeated .org.nd4j.ir.MappingRule rule = 4;- Specified by:
getRulein 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:
getRuleOrBuilderin interfaceMapperNamespace.MapperDeclarationOrBuilder
-
getRuleOrBuilderList
public List<? extends MapperNamespace.MappingRuleOrBuilder> getRuleOrBuilderList()
the rules to apply for attributes
repeated .org.nd4j.ir.MappingRule rule = 4;- Specified by:
getRuleOrBuilderListin 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.MapperDeclarationOrBuildermap<int64, int64> indexOverrides = 5;- Specified by:
getIndexOverridesCountin interfaceMapperNamespace.MapperDeclarationOrBuilder
-
containsIndexOverrides
public boolean containsIndexOverrides(long key)
map<int64, int64> indexOverrides = 5;- Specified by:
containsIndexOverridesin interfaceMapperNamespace.MapperDeclarationOrBuilder
-
getIndexOverrides
@Deprecated public Map<Long,Long> getIndexOverrides()
Deprecated.UsegetIndexOverridesMap()instead.- Specified by:
getIndexOverridesin interfaceMapperNamespace.MapperDeclarationOrBuilder
-
getIndexOverridesMap
public Map<Long,Long> getIndexOverridesMap()
map<int64, int64> indexOverrides = 5;- Specified by:
getIndexOverridesMapin interfaceMapperNamespace.MapperDeclarationOrBuilder
-
getIndexOverridesOrDefault
public long getIndexOverridesOrDefault(long key, long defaultValue)map<int64, int64> indexOverrides = 5;- Specified by:
getIndexOverridesOrDefaultin interfaceMapperNamespace.MapperDeclarationOrBuilder
-
getIndexOverridesOrThrow
public long getIndexOverridesOrThrow(long key)
map<int64, int64> indexOverrides = 5;- Specified by:
getIndexOverridesOrThrowin 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:
getVariableResolutionTypeValuein 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:
getVariableResolutionTypein 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:
setUnknownFieldsin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<MapperNamespace.MapperDeclaration.Builder>
-
mergeUnknownFields
public final MapperNamespace.MapperDeclaration.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<MapperNamespace.MapperDeclaration.Builder>
-
-