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.BuilderaddRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)TensorNamespace.TypeProto.TensorDescriptorbuild()TensorNamespace.TypeProto.TensorDescriptorbuildPartial()TensorNamespace.TypeProto.TensorDescriptor.Builderclear()TensorNamespace.TypeProto.TensorDescriptor.BuilderclearElemType()This field MUST NOT have the value of UNDEFINED This field MUST be present for this version of the IR.TensorNamespace.TypeProto.TensorDescriptor.BuilderclearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)TensorNamespace.TypeProto.TensorDescriptor.BuilderclearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)TensorNamespace.TypeProto.TensorDescriptor.BuilderclearShape().org.nd4j.ir.TensorShapeProto shape = 2;TensorNamespace.TypeProto.TensorDescriptor.Builderclone()TensorNamespace.TypeProto.TensorDescriptorgetDefaultInstanceForType()static org.nd4j.shade.protobuf.Descriptors.DescriptorgetDescriptor()org.nd4j.shade.protobuf.Descriptors.DescriptorgetDescriptorForType()TensorNamespace.DataTypegetElemType()This field MUST NOT have the value of UNDEFINED This field MUST be present for this version of the IR.intgetElemTypeValue()This field MUST NOT have the value of UNDEFINED This field MUST be present for this version of the IR.TensorNamespace.TensorShapeProtogetShape().org.nd4j.ir.TensorShapeProto shape = 2;TensorNamespace.TensorShapeProto.BuildergetShapeBuilder().org.nd4j.ir.TensorShapeProto shape = 2;TensorNamespace.TensorShapeProtoOrBuildergetShapeOrBuilder().org.nd4j.ir.TensorShapeProto shape = 2;booleanhasShape().org.nd4j.ir.TensorShapeProto shape = 2;protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()TensorNamespace.TypeProto.TensorDescriptor.BuildermergeFrom(TensorNamespace.TypeProto.TensorDescriptor other)TensorNamespace.TypeProto.TensorDescriptor.BuildermergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)TensorNamespace.TypeProto.TensorDescriptor.BuildermergeFrom(org.nd4j.shade.protobuf.Message other)TensorNamespace.TypeProto.TensorDescriptor.BuildermergeShape(TensorNamespace.TensorShapeProto value).org.nd4j.ir.TensorShapeProto shape = 2;TensorNamespace.TypeProto.TensorDescriptor.BuildermergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)TensorNamespace.TypeProto.TensorDescriptor.BuildersetElemType(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.BuildersetElemTypeValue(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.BuildersetField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)TensorNamespace.TypeProto.TensorDescriptor.BuildersetRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)TensorNamespace.TypeProto.TensorDescriptor.BuildersetShape(TensorNamespace.TensorShapeProto value).org.nd4j.ir.TensorShapeProto shape = 2;TensorNamespace.TypeProto.TensorDescriptor.BuildersetShape(TensorNamespace.TensorShapeProto.Builder builderForValue).org.nd4j.ir.TensorShapeProto shape = 2;TensorNamespace.TypeProto.TensorDescriptor.BuildersetUnknownFields(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:
internalGetFieldAccessorTablein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorNamespace.TypeProto.TensorDescriptor.Builder>
-
clear
public TensorNamespace.TypeProto.TensorDescriptor.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<TensorNamespace.TypeProto.TensorDescriptor.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<TensorNamespace.TypeProto.TensorDescriptor.Builder>
-
getDefaultInstanceForType
public TensorNamespace.TypeProto.TensorDescriptor getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
build
public TensorNamespace.TypeProto.TensorDescriptor build()
- Specified by:
buildin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
buildin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
buildPartial
public TensorNamespace.TypeProto.TensorDescriptor buildPartial()
- Specified by:
buildPartialin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
buildPartialin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
clone
public TensorNamespace.TypeProto.TensorDescriptor.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<TensorNamespace.TypeProto.TensorDescriptor.Builder>
-
setField
public TensorNamespace.TypeProto.TensorDescriptor.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<TensorNamespace.TypeProto.TensorDescriptor.Builder>
-
clearField
public TensorNamespace.TypeProto.TensorDescriptor.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<TensorNamespace.TypeProto.TensorDescriptor.Builder>
-
clearOneof
public TensorNamespace.TypeProto.TensorDescriptor.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<TensorNamespace.TypeProto.TensorDescriptor.Builder>
-
setRepeatedField
public TensorNamespace.TypeProto.TensorDescriptor.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<TensorNamespace.TypeProto.TensorDescriptor.Builder>
-
addRepeatedField
public TensorNamespace.TypeProto.TensorDescriptor.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<TensorNamespace.TypeProto.TensorDescriptor.Builder>
-
mergeFrom
public TensorNamespace.TypeProto.TensorDescriptor.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<TensorNamespace.TypeProto.TensorDescriptor.Builder>
-
mergeFrom
public TensorNamespace.TypeProto.TensorDescriptor.Builder mergeFrom(TensorNamespace.TypeProto.TensorDescriptor other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
mergeFromin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
getElemTypeValuein 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:
getElemTypein 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:
hasShapein interfaceTensorNamespace.TypeProto.TensorDescriptorOrBuilder- Returns:
- Whether the shape field is set.
-
getShape
public TensorNamespace.TensorShapeProto getShape()
.org.nd4j.ir.TensorShapeProto shape = 2;- Specified by:
getShapein 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:
getShapeOrBuilderin interfaceTensorNamespace.TypeProto.TensorDescriptorOrBuilder
-
setUnknownFields
public final TensorNamespace.TypeProto.TensorDescriptor.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<TensorNamespace.TypeProto.TensorDescriptor.Builder>
-
mergeUnknownFields
public final TensorNamespace.TypeProto.TensorDescriptor.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<TensorNamespace.TypeProto.TensorDescriptor.Builder>
-
-