Package org.nd4j.ir
Class TensorNamespace.TypeProto.TensorDescriptor.Builder
- java.lang.Object
-
- org.nd4j.shade.protobuf.AbstractMessageLite.Builder
-
- org.nd4j.shade.protobuf.AbstractMessage.Builder<BuilderType>
-
- org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorNamespace.TypeProto.TensorDescriptor.Builder>
-
- org.nd4j.ir.TensorNamespace.TypeProto.TensorDescriptor.Builder
-
- All Implemented Interfaces:
Cloneable
,TensorNamespace.TypeProto.TensorDescriptorOrBuilder
,org.nd4j.shade.protobuf.Message.Builder
,org.nd4j.shade.protobuf.MessageLite.Builder
,org.nd4j.shade.protobuf.MessageLiteOrBuilder
,org.nd4j.shade.protobuf.MessageOrBuilder
- Enclosing class:
- TensorNamespace.TypeProto.TensorDescriptor
public static final class TensorNamespace.TypeProto.TensorDescriptor.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorNamespace.TypeProto.TensorDescriptor.Builder> implements TensorNamespace.TypeProto.TensorDescriptorOrBuilder
Protobuf typeorg.nd4j.ir.TypeProto.TensorDescriptor
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TensorNamespace.TypeProto.TensorDescriptor.Builder
addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
TensorNamespace.TypeProto.TensorDescriptor
build()
TensorNamespace.TypeProto.TensorDescriptor
buildPartial()
TensorNamespace.TypeProto.TensorDescriptor.Builder
clear()
TensorNamespace.TypeProto.TensorDescriptor.Builder
clearElemType()
This field MUST NOT have the value of UNDEFINED This field MUST be present for this version of the IR.TensorNamespace.TypeProto.TensorDescriptor.Builder
clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
TensorNamespace.TypeProto.TensorDescriptor.Builder
clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
TensorNamespace.TypeProto.TensorDescriptor.Builder
clearShape()
.org.nd4j.ir.TensorShapeProto shape = 2;
TensorNamespace.TypeProto.TensorDescriptor.Builder
clone()
TensorNamespace.TypeProto.TensorDescriptor
getDefaultInstanceForType()
static org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptor()
org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptorForType()
TensorNamespace.DataType
getElemType()
This field MUST NOT have the value of UNDEFINED This field MUST be present for this version of the IR.int
getElemTypeValue()
This field MUST NOT have the value of UNDEFINED This field MUST be present for this version of the IR.TensorNamespace.TensorShapeProto
getShape()
.org.nd4j.ir.TensorShapeProto shape = 2;
TensorNamespace.TensorShapeProto.Builder
getShapeBuilder()
.org.nd4j.ir.TensorShapeProto shape = 2;
TensorNamespace.TensorShapeProtoOrBuilder
getShapeOrBuilder()
.org.nd4j.ir.TensorShapeProto shape = 2;
boolean
hasShape()
.org.nd4j.ir.TensorShapeProto shape = 2;
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
TensorNamespace.TypeProto.TensorDescriptor.Builder
mergeFrom(TensorNamespace.TypeProto.TensorDescriptor other)
TensorNamespace.TypeProto.TensorDescriptor.Builder
mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
TensorNamespace.TypeProto.TensorDescriptor.Builder
mergeFrom(org.nd4j.shade.protobuf.Message other)
TensorNamespace.TypeProto.TensorDescriptor.Builder
mergeShape(TensorNamespace.TensorShapeProto value)
.org.nd4j.ir.TensorShapeProto shape = 2;
TensorNamespace.TypeProto.TensorDescriptor.Builder
mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
TensorNamespace.TypeProto.TensorDescriptor.Builder
setElemType(TensorNamespace.DataType value)
This field MUST NOT have the value of UNDEFINED This field MUST be present for this version of the IR.TensorNamespace.TypeProto.TensorDescriptor.Builder
setElemTypeValue(int value)
This field MUST NOT have the value of UNDEFINED This field MUST be present for this version of the IR.TensorNamespace.TypeProto.TensorDescriptor.Builder
setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
TensorNamespace.TypeProto.TensorDescriptor.Builder
setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
TensorNamespace.TypeProto.TensorDescriptor.Builder
setShape(TensorNamespace.TensorShapeProto value)
.org.nd4j.ir.TensorShapeProto shape = 2;
TensorNamespace.TypeProto.TensorDescriptor.Builder
setShape(TensorNamespace.TensorShapeProto.Builder builderForValue)
.org.nd4j.ir.TensorShapeProto shape = 2;
TensorNamespace.TypeProto.TensorDescriptor.Builder
setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
-
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<TensorNamespace.TypeProto.TensorDescriptor.Builder>
-
clear
public TensorNamespace.TypeProto.TensorDescriptor.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<TensorNamespace.TypeProto.TensorDescriptor.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<TensorNamespace.TypeProto.TensorDescriptor.Builder>
-
getDefaultInstanceForType
public TensorNamespace.TypeProto.TensorDescriptor getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
build
public TensorNamespace.TypeProto.TensorDescriptor build()
- Specified by:
build
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
build
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
buildPartial
public TensorNamespace.TypeProto.TensorDescriptor buildPartial()
- Specified by:
buildPartial
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
buildPartial
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
clone
public TensorNamespace.TypeProto.TensorDescriptor.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<TensorNamespace.TypeProto.TensorDescriptor.Builder>
-
setField
public TensorNamespace.TypeProto.TensorDescriptor.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<TensorNamespace.TypeProto.TensorDescriptor.Builder>
-
clearField
public TensorNamespace.TypeProto.TensorDescriptor.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<TensorNamespace.TypeProto.TensorDescriptor.Builder>
-
clearOneof
public TensorNamespace.TypeProto.TensorDescriptor.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<TensorNamespace.TypeProto.TensorDescriptor.Builder>
-
setRepeatedField
public TensorNamespace.TypeProto.TensorDescriptor.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<TensorNamespace.TypeProto.TensorDescriptor.Builder>
-
addRepeatedField
public TensorNamespace.TypeProto.TensorDescriptor.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<TensorNamespace.TypeProto.TensorDescriptor.Builder>
-
mergeFrom
public TensorNamespace.TypeProto.TensorDescriptor.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<TensorNamespace.TypeProto.TensorDescriptor.Builder>
-
mergeFrom
public TensorNamespace.TypeProto.TensorDescriptor.Builder mergeFrom(TensorNamespace.TypeProto.TensorDescriptor other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorNamespace.TypeProto.TensorDescriptor.Builder>
-
mergeFrom
public TensorNamespace.TypeProto.TensorDescriptor.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<TensorNamespace.TypeProto.TensorDescriptor.Builder>
- Throws:
IOException
-
getElemTypeValue
public int getElemTypeValue()
This field MUST NOT have the value of UNDEFINED This field MUST be present for this version of the IR.
.org.nd4j.ir.DataType elem_type = 1;
- Specified by:
getElemTypeValue
in interfaceTensorNamespace.TypeProto.TensorDescriptorOrBuilder
- Returns:
- The enum numeric value on the wire for elemType.
-
setElemTypeValue
public TensorNamespace.TypeProto.TensorDescriptor.Builder setElemTypeValue(int value)
This field MUST NOT have the value of UNDEFINED This field MUST be present for this version of the IR.
.org.nd4j.ir.DataType elem_type = 1;
- Parameters:
value
- The enum numeric value on the wire for elemType to set.- Returns:
- This builder for chaining.
-
getElemType
public TensorNamespace.DataType getElemType()
This field MUST NOT have the value of UNDEFINED This field MUST be present for this version of the IR.
.org.nd4j.ir.DataType elem_type = 1;
- Specified by:
getElemType
in interfaceTensorNamespace.TypeProto.TensorDescriptorOrBuilder
- Returns:
- The elemType.
-
setElemType
public TensorNamespace.TypeProto.TensorDescriptor.Builder setElemType(TensorNamespace.DataType value)
This field MUST NOT have the value of UNDEFINED This field MUST be present for this version of the IR.
.org.nd4j.ir.DataType elem_type = 1;
- Parameters:
value
- The elemType to set.- Returns:
- This builder for chaining.
-
clearElemType
public TensorNamespace.TypeProto.TensorDescriptor.Builder clearElemType()
This field MUST NOT have the value of UNDEFINED This field MUST be present for this version of the IR.
.org.nd4j.ir.DataType elem_type = 1;
- Returns:
- This builder for chaining.
-
hasShape
public boolean hasShape()
.org.nd4j.ir.TensorShapeProto shape = 2;
- Specified by:
hasShape
in interfaceTensorNamespace.TypeProto.TensorDescriptorOrBuilder
- Returns:
- Whether the shape field is set.
-
getShape
public TensorNamespace.TensorShapeProto getShape()
.org.nd4j.ir.TensorShapeProto shape = 2;
- Specified by:
getShape
in interfaceTensorNamespace.TypeProto.TensorDescriptorOrBuilder
- Returns:
- The shape.
-
setShape
public TensorNamespace.TypeProto.TensorDescriptor.Builder setShape(TensorNamespace.TensorShapeProto value)
.org.nd4j.ir.TensorShapeProto shape = 2;
-
setShape
public TensorNamespace.TypeProto.TensorDescriptor.Builder setShape(TensorNamespace.TensorShapeProto.Builder builderForValue)
.org.nd4j.ir.TensorShapeProto shape = 2;
-
mergeShape
public TensorNamespace.TypeProto.TensorDescriptor.Builder mergeShape(TensorNamespace.TensorShapeProto value)
.org.nd4j.ir.TensorShapeProto shape = 2;
-
clearShape
public TensorNamespace.TypeProto.TensorDescriptor.Builder clearShape()
.org.nd4j.ir.TensorShapeProto shape = 2;
-
getShapeBuilder
public TensorNamespace.TensorShapeProto.Builder getShapeBuilder()
.org.nd4j.ir.TensorShapeProto shape = 2;
-
getShapeOrBuilder
public TensorNamespace.TensorShapeProtoOrBuilder getShapeOrBuilder()
.org.nd4j.ir.TensorShapeProto shape = 2;
- Specified by:
getShapeOrBuilder
in interfaceTensorNamespace.TypeProto.TensorDescriptorOrBuilder
-
setUnknownFields
public final TensorNamespace.TypeProto.TensorDescriptor.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<TensorNamespace.TypeProto.TensorDescriptor.Builder>
-
mergeUnknownFields
public final TensorNamespace.TypeProto.TensorDescriptor.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<TensorNamespace.TypeProto.TensorDescriptor.Builder>
-
-