Package org.nd4j.ir
Class TensorNamespace.ValueInfoProto.Builder
- java.lang.Object
-
- org.nd4j.shade.protobuf.AbstractMessageLite.Builder
-
- org.nd4j.shade.protobuf.AbstractMessage.Builder<BuilderType>
-
- org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorNamespace.ValueInfoProto.Builder>
-
- org.nd4j.ir.TensorNamespace.ValueInfoProto.Builder
-
- All Implemented Interfaces:
Cloneable
,TensorNamespace.ValueInfoProtoOrBuilder
,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.ValueInfoProto
public static final class TensorNamespace.ValueInfoProto.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorNamespace.ValueInfoProto.Builder> implements TensorNamespace.ValueInfoProtoOrBuilder
Defines information on value, including the name, the type, and the shape of the value.
Protobuf typeorg.nd4j.ir.ValueInfoProto
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TensorNamespace.ValueInfoProto.Builder
addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
TensorNamespace.ValueInfoProto
build()
TensorNamespace.ValueInfoProto
buildPartial()
TensorNamespace.ValueInfoProto.Builder
clear()
TensorNamespace.ValueInfoProto.Builder
clearDocString()
A human-readable documentation for this value.TensorNamespace.ValueInfoProto.Builder
clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
TensorNamespace.ValueInfoProto.Builder
clearName()
This field MUST be present in this version of the IR.TensorNamespace.ValueInfoProto.Builder
clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
TensorNamespace.ValueInfoProto.Builder
clearType()
This field MUST be present in this version of the IR.TensorNamespace.ValueInfoProto.Builder
clone()
TensorNamespace.ValueInfoProto
getDefaultInstanceForType()
static org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptor()
org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getDocString()
A human-readable documentation for this value.org.nd4j.shade.protobuf.ByteString
getDocStringBytes()
A human-readable documentation for this value.String
getName()
This field MUST be present in this version of the IR.org.nd4j.shade.protobuf.ByteString
getNameBytes()
This field MUST be present in this version of the IR.TensorNamespace.TypeProto
getType()
This field MUST be present in this version of the IR.TensorNamespace.TypeProto.Builder
getTypeBuilder()
This field MUST be present in this version of the IR.TensorNamespace.TypeProtoOrBuilder
getTypeOrBuilder()
This field MUST be present in this version of the IR.boolean
hasType()
This field MUST be present in this version of the IR.protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
TensorNamespace.ValueInfoProto.Builder
mergeFrom(TensorNamespace.ValueInfoProto other)
TensorNamespace.ValueInfoProto.Builder
mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
TensorNamespace.ValueInfoProto.Builder
mergeFrom(org.nd4j.shade.protobuf.Message other)
TensorNamespace.ValueInfoProto.Builder
mergeType(TensorNamespace.TypeProto value)
This field MUST be present in this version of the IR.TensorNamespace.ValueInfoProto.Builder
mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
TensorNamespace.ValueInfoProto.Builder
setDocString(String value)
A human-readable documentation for this value.TensorNamespace.ValueInfoProto.Builder
setDocStringBytes(org.nd4j.shade.protobuf.ByteString value)
A human-readable documentation for this value.TensorNamespace.ValueInfoProto.Builder
setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
TensorNamespace.ValueInfoProto.Builder
setName(String value)
This field MUST be present in this version of the IR.TensorNamespace.ValueInfoProto.Builder
setNameBytes(org.nd4j.shade.protobuf.ByteString value)
This field MUST be present in this version of the IR.TensorNamespace.ValueInfoProto.Builder
setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
TensorNamespace.ValueInfoProto.Builder
setType(TensorNamespace.TypeProto value)
This field MUST be present in this version of the IR.TensorNamespace.ValueInfoProto.Builder
setType(TensorNamespace.TypeProto.Builder builderForValue)
This field MUST be present in this version of the IR.TensorNamespace.ValueInfoProto.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.ValueInfoProto.Builder>
-
clear
public TensorNamespace.ValueInfoProto.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.ValueInfoProto.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.ValueInfoProto.Builder>
-
getDefaultInstanceForType
public TensorNamespace.ValueInfoProto getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
build
public TensorNamespace.ValueInfoProto build()
- Specified by:
build
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
build
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
buildPartial
public TensorNamespace.ValueInfoProto buildPartial()
- Specified by:
buildPartial
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
buildPartial
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
clone
public TensorNamespace.ValueInfoProto.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.ValueInfoProto.Builder>
-
setField
public TensorNamespace.ValueInfoProto.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.ValueInfoProto.Builder>
-
clearField
public TensorNamespace.ValueInfoProto.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.ValueInfoProto.Builder>
-
clearOneof
public TensorNamespace.ValueInfoProto.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.ValueInfoProto.Builder>
-
setRepeatedField
public TensorNamespace.ValueInfoProto.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.ValueInfoProto.Builder>
-
addRepeatedField
public TensorNamespace.ValueInfoProto.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.ValueInfoProto.Builder>
-
mergeFrom
public TensorNamespace.ValueInfoProto.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.ValueInfoProto.Builder>
-
mergeFrom
public TensorNamespace.ValueInfoProto.Builder mergeFrom(TensorNamespace.ValueInfoProto 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.ValueInfoProto.Builder>
-
mergeFrom
public TensorNamespace.ValueInfoProto.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.ValueInfoProto.Builder>
- Throws:
IOException
-
getName
public String getName()
This field MUST be present in this version of the IR.
string name = 1;
- Specified by:
getName
in interfaceTensorNamespace.ValueInfoProtoOrBuilder
- Returns:
- The name.
-
getNameBytes
public org.nd4j.shade.protobuf.ByteString getNameBytes()
This field MUST be present in this version of the IR.
string name = 1;
- Specified by:
getNameBytes
in interfaceTensorNamespace.ValueInfoProtoOrBuilder
- Returns:
- The bytes for name.
-
setName
public TensorNamespace.ValueInfoProto.Builder setName(String value)
This field MUST be present in this version of the IR.
string name = 1;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
public TensorNamespace.ValueInfoProto.Builder clearName()
This field MUST be present in this version of the IR.
string name = 1;
- Returns:
- This builder for chaining.
-
setNameBytes
public TensorNamespace.ValueInfoProto.Builder setNameBytes(org.nd4j.shade.protobuf.ByteString value)
This field MUST be present in this version of the IR.
string name = 1;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasType
public boolean hasType()
This field MUST be present in this version of the IR.
.org.nd4j.ir.TypeProto type = 2;
- Specified by:
hasType
in interfaceTensorNamespace.ValueInfoProtoOrBuilder
- Returns:
- Whether the type field is set.
-
getType
public TensorNamespace.TypeProto getType()
This field MUST be present in this version of the IR.
.org.nd4j.ir.TypeProto type = 2;
- Specified by:
getType
in interfaceTensorNamespace.ValueInfoProtoOrBuilder
- Returns:
- The type.
-
setType
public TensorNamespace.ValueInfoProto.Builder setType(TensorNamespace.TypeProto value)
This field MUST be present in this version of the IR.
.org.nd4j.ir.TypeProto type = 2;
-
setType
public TensorNamespace.ValueInfoProto.Builder setType(TensorNamespace.TypeProto.Builder builderForValue)
This field MUST be present in this version of the IR.
.org.nd4j.ir.TypeProto type = 2;
-
mergeType
public TensorNamespace.ValueInfoProto.Builder mergeType(TensorNamespace.TypeProto value)
This field MUST be present in this version of the IR.
.org.nd4j.ir.TypeProto type = 2;
-
clearType
public TensorNamespace.ValueInfoProto.Builder clearType()
This field MUST be present in this version of the IR.
.org.nd4j.ir.TypeProto type = 2;
-
getTypeBuilder
public TensorNamespace.TypeProto.Builder getTypeBuilder()
This field MUST be present in this version of the IR.
.org.nd4j.ir.TypeProto type = 2;
-
getTypeOrBuilder
public TensorNamespace.TypeProtoOrBuilder getTypeOrBuilder()
This field MUST be present in this version of the IR.
.org.nd4j.ir.TypeProto type = 2;
- Specified by:
getTypeOrBuilder
in interfaceTensorNamespace.ValueInfoProtoOrBuilder
-
getDocString
public String getDocString()
A human-readable documentation for this value. Markdown is allowed.
string doc_string = 3;
- Specified by:
getDocString
in interfaceTensorNamespace.ValueInfoProtoOrBuilder
- Returns:
- The docString.
-
getDocStringBytes
public org.nd4j.shade.protobuf.ByteString getDocStringBytes()
A human-readable documentation for this value. Markdown is allowed.
string doc_string = 3;
- Specified by:
getDocStringBytes
in interfaceTensorNamespace.ValueInfoProtoOrBuilder
- Returns:
- The bytes for docString.
-
setDocString
public TensorNamespace.ValueInfoProto.Builder setDocString(String value)
A human-readable documentation for this value. Markdown is allowed.
string doc_string = 3;
- Parameters:
value
- The docString to set.- Returns:
- This builder for chaining.
-
clearDocString
public TensorNamespace.ValueInfoProto.Builder clearDocString()
A human-readable documentation for this value. Markdown is allowed.
string doc_string = 3;
- Returns:
- This builder for chaining.
-
setDocStringBytes
public TensorNamespace.ValueInfoProto.Builder setDocStringBytes(org.nd4j.shade.protobuf.ByteString value)
A human-readable documentation for this value. Markdown is allowed.
string doc_string = 3;
- Parameters:
value
- The bytes for docString to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final TensorNamespace.ValueInfoProto.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.ValueInfoProto.Builder>
-
mergeUnknownFields
public final TensorNamespace.ValueInfoProto.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.ValueInfoProto.Builder>
-
-