public static final class NameAttrList.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<NameAttrList.Builder> implements NameAttrListOrBuilder
A list of attr names and their values. The whole list is attached with a string name. E.g., MatMul[T=float].Protobuf type
tensorflow.NameAttrList
Modifier and Type | Method and Description |
---|---|
NameAttrList.Builder |
addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
Object value) |
NameAttrList |
build() |
NameAttrList |
buildPartial() |
NameAttrList.Builder |
clear() |
NameAttrList.Builder |
clearAttr() |
NameAttrList.Builder |
clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field) |
NameAttrList.Builder |
clearName()
string name = 1; |
NameAttrList.Builder |
clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof) |
NameAttrList.Builder |
clone() |
boolean |
containsAttr(String key)
map<string, .tensorflow.AttrValue> attr = 2; |
Map<String,AttrValue> |
getAttr()
Deprecated.
|
int |
getAttrCount()
map<string, .tensorflow.AttrValue> attr = 2; |
Map<String,AttrValue> |
getAttrMap()
map<string, .tensorflow.AttrValue> attr = 2; |
AttrValue |
getAttrOrDefault(String key,
AttrValue defaultValue)
map<string, .tensorflow.AttrValue> attr = 2; |
AttrValue |
getAttrOrThrow(String key)
map<string, .tensorflow.AttrValue> attr = 2; |
NameAttrList |
getDefaultInstanceForType() |
static org.nd4j.shade.protobuf.Descriptors.Descriptor |
getDescriptor() |
org.nd4j.shade.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Map<String,AttrValue> |
getMutableAttr()
Deprecated.
|
String |
getName()
string name = 1; |
org.nd4j.shade.protobuf.ByteString |
getNameBytes()
string name = 1; |
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected org.nd4j.shade.protobuf.MapField |
internalGetMapField(int number) |
protected org.nd4j.shade.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
NameAttrList.Builder |
mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
NameAttrList.Builder |
mergeFrom(org.nd4j.shade.protobuf.Message other) |
NameAttrList.Builder |
mergeFrom(NameAttrList other) |
NameAttrList.Builder |
mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields) |
NameAttrList.Builder |
putAllAttr(Map<String,AttrValue> values)
map<string, .tensorflow.AttrValue> attr = 2; |
NameAttrList.Builder |
putAttr(String key,
AttrValue value)
map<string, .tensorflow.AttrValue> attr = 2; |
NameAttrList.Builder |
removeAttr(String key)
map<string, .tensorflow.AttrValue> attr = 2; |
NameAttrList.Builder |
setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
Object value) |
NameAttrList.Builder |
setName(String value)
string name = 1; |
NameAttrList.Builder |
setNameBytes(org.nd4j.shade.protobuf.ByteString value)
string name = 1; |
NameAttrList.Builder |
setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
NameAttrList.Builder |
setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
protected org.nd4j.shade.protobuf.MapField internalGetMapField(int number)
internalGetMapField
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<NameAttrList.Builder>
protected org.nd4j.shade.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<NameAttrList.Builder>
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<NameAttrList.Builder>
public NameAttrList.Builder clear()
clear
in interface org.nd4j.shade.protobuf.Message.Builder
clear
in interface org.nd4j.shade.protobuf.MessageLite.Builder
clear
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<NameAttrList.Builder>
public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface org.nd4j.shade.protobuf.Message.Builder
getDescriptorForType
in interface org.nd4j.shade.protobuf.MessageOrBuilder
getDescriptorForType
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<NameAttrList.Builder>
public NameAttrList getDefaultInstanceForType()
getDefaultInstanceForType
in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface org.nd4j.shade.protobuf.MessageOrBuilder
public NameAttrList build()
build
in interface org.nd4j.shade.protobuf.Message.Builder
build
in interface org.nd4j.shade.protobuf.MessageLite.Builder
public NameAttrList buildPartial()
buildPartial
in interface org.nd4j.shade.protobuf.Message.Builder
buildPartial
in interface org.nd4j.shade.protobuf.MessageLite.Builder
public NameAttrList.Builder clone()
clone
in interface org.nd4j.shade.protobuf.Message.Builder
clone
in interface org.nd4j.shade.protobuf.MessageLite.Builder
clone
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<NameAttrList.Builder>
public NameAttrList.Builder setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface org.nd4j.shade.protobuf.Message.Builder
setField
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<NameAttrList.Builder>
public NameAttrList.Builder clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface org.nd4j.shade.protobuf.Message.Builder
clearField
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<NameAttrList.Builder>
public NameAttrList.Builder clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface org.nd4j.shade.protobuf.Message.Builder
clearOneof
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<NameAttrList.Builder>
public NameAttrList.Builder setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface org.nd4j.shade.protobuf.Message.Builder
setRepeatedField
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<NameAttrList.Builder>
public NameAttrList.Builder addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface org.nd4j.shade.protobuf.Message.Builder
addRepeatedField
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<NameAttrList.Builder>
public NameAttrList.Builder mergeFrom(org.nd4j.shade.protobuf.Message other)
mergeFrom
in interface org.nd4j.shade.protobuf.Message.Builder
mergeFrom
in class org.nd4j.shade.protobuf.AbstractMessage.Builder<NameAttrList.Builder>
public NameAttrList.Builder mergeFrom(NameAttrList other)
public final boolean isInitialized()
isInitialized
in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
isInitialized
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<NameAttrList.Builder>
public NameAttrList.Builder mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface org.nd4j.shade.protobuf.Message.Builder
mergeFrom
in interface org.nd4j.shade.protobuf.MessageLite.Builder
mergeFrom
in class org.nd4j.shade.protobuf.AbstractMessage.Builder<NameAttrList.Builder>
IOException
public String getName()
string name = 1;
getName
in interface NameAttrListOrBuilder
public org.nd4j.shade.protobuf.ByteString getNameBytes()
string name = 1;
getNameBytes
in interface NameAttrListOrBuilder
public NameAttrList.Builder setName(String value)
string name = 1;
public NameAttrList.Builder clearName()
string name = 1;
public NameAttrList.Builder setNameBytes(org.nd4j.shade.protobuf.ByteString value)
string name = 1;
public int getAttrCount()
NameAttrListOrBuilder
map<string, .tensorflow.AttrValue> attr = 2;
getAttrCount
in interface NameAttrListOrBuilder
public boolean containsAttr(String key)
map<string, .tensorflow.AttrValue> attr = 2;
containsAttr
in interface NameAttrListOrBuilder
@Deprecated public Map<String,AttrValue> getAttr()
getAttrMap()
instead.getAttr
in interface NameAttrListOrBuilder
public Map<String,AttrValue> getAttrMap()
map<string, .tensorflow.AttrValue> attr = 2;
getAttrMap
in interface NameAttrListOrBuilder
public AttrValue getAttrOrDefault(String key, AttrValue defaultValue)
map<string, .tensorflow.AttrValue> attr = 2;
getAttrOrDefault
in interface NameAttrListOrBuilder
public AttrValue getAttrOrThrow(String key)
map<string, .tensorflow.AttrValue> attr = 2;
getAttrOrThrow
in interface NameAttrListOrBuilder
public NameAttrList.Builder clearAttr()
public NameAttrList.Builder removeAttr(String key)
map<string, .tensorflow.AttrValue> attr = 2;
@Deprecated public Map<String,AttrValue> getMutableAttr()
public NameAttrList.Builder putAttr(String key, AttrValue value)
map<string, .tensorflow.AttrValue> attr = 2;
public NameAttrList.Builder putAllAttr(Map<String,AttrValue> values)
map<string, .tensorflow.AttrValue> attr = 2;
public final NameAttrList.Builder setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface org.nd4j.shade.protobuf.Message.Builder
setUnknownFields
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<NameAttrList.Builder>
public final NameAttrList.Builder mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface org.nd4j.shade.protobuf.Message.Builder
mergeUnknownFields
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<NameAttrList.Builder>
Copyright © 2020. All rights reserved.