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, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic 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.Builderclear in interface org.nd4j.shade.protobuf.MessageLite.Builderclear 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.BuildergetDescriptorForType in interface org.nd4j.shade.protobuf.MessageOrBuildergetDescriptorForType in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<NameAttrList.Builder>public NameAttrList getDefaultInstanceForType()
getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageOrBuilderpublic NameAttrList build()
build in interface org.nd4j.shade.protobuf.Message.Builderbuild in interface org.nd4j.shade.protobuf.MessageLite.Builderpublic NameAttrList buildPartial()
buildPartial in interface org.nd4j.shade.protobuf.Message.BuilderbuildPartial in interface org.nd4j.shade.protobuf.MessageLite.Builderpublic NameAttrList.Builder clone()
clone in interface org.nd4j.shade.protobuf.Message.Builderclone in interface org.nd4j.shade.protobuf.MessageLite.Builderclone 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.BuildersetField 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.BuilderclearField 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.BuilderclearOneof 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.BuildersetRepeatedField 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.BuilderaddRepeatedField 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.BuildermergeFrom 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.MessageLiteOrBuilderisInitialized 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.BuildermergeFrom in interface org.nd4j.shade.protobuf.MessageLite.BuildermergeFrom in class org.nd4j.shade.protobuf.AbstractMessage.Builder<NameAttrList.Builder>IOExceptionpublic String getName()
string name = 1;getName in interface NameAttrListOrBuilderpublic org.nd4j.shade.protobuf.ByteString getNameBytes()
string name = 1;getNameBytes in interface NameAttrListOrBuilderpublic 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()
NameAttrListOrBuildermap<string, .tensorflow.AttrValue> attr = 2;getAttrCount in interface NameAttrListOrBuilderpublic 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 NameAttrListOrBuilderpublic Map<String,AttrValue> getAttrMap()
map<string, .tensorflow.AttrValue> attr = 2;getAttrMap in interface NameAttrListOrBuilderpublic AttrValue getAttrOrDefault(String key, AttrValue defaultValue)
map<string, .tensorflow.AttrValue> attr = 2;getAttrOrDefault in interface NameAttrListOrBuilderpublic AttrValue getAttrOrThrow(String key)
map<string, .tensorflow.AttrValue> attr = 2;getAttrOrThrow in interface NameAttrListOrBuilderpublic 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.BuildersetUnknownFields 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.BuildermergeUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<NameAttrList.Builder>Copyright © 2021. All rights reserved.