Package org.nd4j.ir
Class MapperNamespace.MapperDeclaration
- java.lang.Object
-
- org.nd4j.shade.protobuf.AbstractMessageLite
-
- org.nd4j.shade.protobuf.AbstractMessage
-
- org.nd4j.shade.protobuf.GeneratedMessageV3
-
- org.nd4j.ir.MapperNamespace.MapperDeclaration
-
- All Implemented Interfaces:
Serializable
,MapperNamespace.MapperDeclarationOrBuilder
,org.nd4j.shade.protobuf.Message
,org.nd4j.shade.protobuf.MessageLite
,org.nd4j.shade.protobuf.MessageLiteOrBuilder
,org.nd4j.shade.protobuf.MessageOrBuilder
- Enclosing class:
- MapperNamespace
public static final class MapperNamespace.MapperDeclaration extends org.nd4j.shade.protobuf.GeneratedMessageV3 implements MapperNamespace.MapperDeclarationOrBuilder
Protobuf typeorg.nd4j.ir.MapperDeclaration
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MapperNamespace.MapperDeclaration.Builder
Protobuf typeorg.nd4j.ir.MapperDeclaration
-
Nested classes/interfaces inherited from class org.nd4j.shade.protobuf.GeneratedMessageV3
org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent, org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage>, org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage>, org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable, org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
FRAMEWORKNAME_FIELD_NUMBER
static int
INDEXOVERRIDES_FIELD_NUMBER
static int
INPUTFRAMEWORKOPNAME_FIELD_NUMBER
static int
OPNAME_FIELD_NUMBER
static int
RULE_FIELD_NUMBER
static int
VARIABLERESOLUTIONTYPE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
containsIndexOverrides(long key)
map<int64, int64> indexOverrides = 5;
boolean
equals(Object obj)
static MapperNamespace.MapperDeclaration
getDefaultInstance()
MapperNamespace.MapperDeclaration
getDefaultInstanceForType()
static org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptor()
String
getFrameworkName()
string frameworkName = 1;
org.nd4j.shade.protobuf.ByteString
getFrameworkNameBytes()
string frameworkName = 1;
Map<Long,Long>
getIndexOverrides()
Deprecated.int
getIndexOverridesCount()
map<int64, int64> indexOverrides = 5;
Map<Long,Long>
getIndexOverridesMap()
map<int64, int64> indexOverrides = 5;
long
getIndexOverridesOrDefault(long key, long defaultValue)
map<int64, int64> indexOverrides = 5;
long
getIndexOverridesOrThrow(long key)
map<int64, int64> indexOverrides = 5;
String
getInputFrameworkOpName()
string inputFrameworkOpName = 3;
org.nd4j.shade.protobuf.ByteString
getInputFrameworkOpNameBytes()
string inputFrameworkOpName = 3;
String
getOpName()
string opName = 2;
org.nd4j.shade.protobuf.ByteString
getOpNameBytes()
string opName = 2;
org.nd4j.shade.protobuf.Parser<MapperNamespace.MapperDeclaration>
getParserForType()
MapperNamespace.MappingRule
getRule(int index)
the rules to apply for attributesint
getRuleCount()
the rules to apply for attributesList<MapperNamespace.MappingRule>
getRuleList()
the rules to apply for attributesMapperNamespace.MappingRuleOrBuilder
getRuleOrBuilder(int index)
the rules to apply for attributesList<? extends MapperNamespace.MappingRuleOrBuilder>
getRuleOrBuilderList()
the rules to apply for attributesint
getSerializedSize()
org.nd4j.shade.protobuf.UnknownFieldSet
getUnknownFields()
MapperNamespace.VariableResolutionType
getVariableResolutionType()
.org.nd4j.ir.VariableResolutionType variableResolutionType = 6;
int
getVariableResolutionTypeValue()
.org.nd4j.ir.VariableResolutionType variableResolutionType = 6;
int
hashCode()
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected org.nd4j.shade.protobuf.MapField
internalGetMapField(int number)
boolean
isInitialized()
static MapperNamespace.MapperDeclaration.Builder
newBuilder()
static MapperNamespace.MapperDeclaration.Builder
newBuilder(MapperNamespace.MapperDeclaration prototype)
MapperNamespace.MapperDeclaration.Builder
newBuilderForType()
protected MapperNamespace.MapperDeclaration.Builder
newBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static MapperNamespace.MapperDeclaration
parseDelimitedFrom(InputStream input)
static MapperNamespace.MapperDeclaration
parseDelimitedFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
static MapperNamespace.MapperDeclaration
parseFrom(byte[] data)
static MapperNamespace.MapperDeclaration
parseFrom(byte[] data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
static MapperNamespace.MapperDeclaration
parseFrom(InputStream input)
static MapperNamespace.MapperDeclaration
parseFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
static MapperNamespace.MapperDeclaration
parseFrom(ByteBuffer data)
static MapperNamespace.MapperDeclaration
parseFrom(ByteBuffer data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
static MapperNamespace.MapperDeclaration
parseFrom(org.nd4j.shade.protobuf.ByteString data)
static MapperNamespace.MapperDeclaration
parseFrom(org.nd4j.shade.protobuf.ByteString data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
static MapperNamespace.MapperDeclaration
parseFrom(org.nd4j.shade.protobuf.CodedInputStream input)
static MapperNamespace.MapperDeclaration
parseFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
static org.nd4j.shade.protobuf.Parser<MapperNamespace.MapperDeclaration>
parser()
MapperNamespace.MapperDeclaration.Builder
toBuilder()
void
writeTo(org.nd4j.shade.protobuf.CodedOutputStream output)
-
Methods inherited from class org.nd4j.shade.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class org.nd4j.shade.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class org.nd4j.shade.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
FRAMEWORKNAME_FIELD_NUMBER
public static final int FRAMEWORKNAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OPNAME_FIELD_NUMBER
public static final int OPNAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INPUTFRAMEWORKOPNAME_FIELD_NUMBER
public static final int INPUTFRAMEWORKOPNAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RULE_FIELD_NUMBER
public static final int RULE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INDEXOVERRIDES_FIELD_NUMBER
public static final int INDEXOVERRIDES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VARIABLERESOLUTIONTYPE_FIELD_NUMBER
public static final int VARIABLERESOLUTIONTYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classorg.nd4j.shade.protobuf.GeneratedMessageV3
-
getUnknownFields
public final org.nd4j.shade.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFields
in interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classorg.nd4j.shade.protobuf.GeneratedMessageV3
-
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
-
internalGetFieldAccessorTable
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classorg.nd4j.shade.protobuf.GeneratedMessageV3
-
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.
-
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.
-
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.
-
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
-
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
-
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
-
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
-
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
-
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.
-
getVariableResolutionType
public MapperNamespace.VariableResolutionType getVariableResolutionType()
.org.nd4j.ir.VariableResolutionType variableResolutionType = 6;
- Specified by:
getVariableResolutionType
in interfaceMapperNamespace.MapperDeclarationOrBuilder
- Returns:
- The variableResolutionType.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classorg.nd4j.shade.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(org.nd4j.shade.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfaceorg.nd4j.shade.protobuf.MessageLite
- Overrides:
writeTo
in classorg.nd4j.shade.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfaceorg.nd4j.shade.protobuf.MessageLite
- Overrides:
getSerializedSize
in classorg.nd4j.shade.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfaceorg.nd4j.shade.protobuf.Message
- Overrides:
equals
in classorg.nd4j.shade.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfaceorg.nd4j.shade.protobuf.Message
- Overrides:
hashCode
in classorg.nd4j.shade.protobuf.AbstractMessage
-
parseFrom
public static MapperNamespace.MapperDeclaration parseFrom(ByteBuffer data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
- Throws:
org.nd4j.shade.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MapperNamespace.MapperDeclaration parseFrom(ByteBuffer data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
- Throws:
org.nd4j.shade.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MapperNamespace.MapperDeclaration parseFrom(org.nd4j.shade.protobuf.ByteString data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
- Throws:
org.nd4j.shade.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MapperNamespace.MapperDeclaration parseFrom(org.nd4j.shade.protobuf.ByteString data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
- Throws:
org.nd4j.shade.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MapperNamespace.MapperDeclaration parseFrom(byte[] data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
- Throws:
org.nd4j.shade.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MapperNamespace.MapperDeclaration parseFrom(byte[] data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
- Throws:
org.nd4j.shade.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MapperNamespace.MapperDeclaration parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static MapperNamespace.MapperDeclaration parseFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static MapperNamespace.MapperDeclaration parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static MapperNamespace.MapperDeclaration parseDelimitedFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static MapperNamespace.MapperDeclaration parseFrom(org.nd4j.shade.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static MapperNamespace.MapperDeclaration parseFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public MapperNamespace.MapperDeclaration.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfaceorg.nd4j.shade.protobuf.Message
- Specified by:
newBuilderForType
in interfaceorg.nd4j.shade.protobuf.MessageLite
-
newBuilder
public static MapperNamespace.MapperDeclaration.Builder newBuilder()
-
newBuilder
public static MapperNamespace.MapperDeclaration.Builder newBuilder(MapperNamespace.MapperDeclaration prototype)
-
toBuilder
public MapperNamespace.MapperDeclaration.Builder toBuilder()
- Specified by:
toBuilder
in interfaceorg.nd4j.shade.protobuf.Message
- Specified by:
toBuilder
in interfaceorg.nd4j.shade.protobuf.MessageLite
-
newBuilderForType
protected MapperNamespace.MapperDeclaration.Builder newBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classorg.nd4j.shade.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static MapperNamespace.MapperDeclaration getDefaultInstance()
-
parser
public static org.nd4j.shade.protobuf.Parser<MapperNamespace.MapperDeclaration> parser()
-
getParserForType
public org.nd4j.shade.protobuf.Parser<MapperNamespace.MapperDeclaration> getParserForType()
- Specified by:
getParserForType
in interfaceorg.nd4j.shade.protobuf.Message
- Specified by:
getParserForType
in interfaceorg.nd4j.shade.protobuf.MessageLite
- Overrides:
getParserForType
in classorg.nd4j.shade.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public MapperNamespace.MapperDeclaration getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
-