public static final class NameAttrList.Builder extends com.github.os72.protobuf351.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(com.github.os72.protobuf351.Descriptors.FieldDescriptor field,
Object value) |
NameAttrList |
build() |
NameAttrList |
buildPartial() |
NameAttrList.Builder |
clear() |
NameAttrList.Builder |
clearAttr() |
NameAttrList.Builder |
clearField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field) |
NameAttrList.Builder |
clearName()
string name = 1; |
NameAttrList.Builder |
clearOneof(com.github.os72.protobuf351.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 com.github.os72.protobuf351.Descriptors.Descriptor |
getDescriptor() |
com.github.os72.protobuf351.Descriptors.Descriptor |
getDescriptorForType() |
Map<String,AttrValue> |
getMutableAttr()
Deprecated.
|
String |
getName()
string name = 1; |
com.github.os72.protobuf351.ByteString |
getNameBytes()
string name = 1; |
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.github.os72.protobuf351.MapField |
internalGetMapField(int number) |
protected com.github.os72.protobuf351.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
NameAttrList.Builder |
mergeFrom(com.github.os72.protobuf351.CodedInputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
NameAttrList.Builder |
mergeFrom(com.github.os72.protobuf351.Message other) |
NameAttrList.Builder |
mergeFrom(NameAttrList other) |
NameAttrList.Builder |
mergeUnknownFields(com.github.os72.protobuf351.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(com.github.os72.protobuf351.Descriptors.FieldDescriptor field,
Object value) |
NameAttrList.Builder |
setName(String value)
string name = 1; |
NameAttrList.Builder |
setNameBytes(com.github.os72.protobuf351.ByteString value)
string name = 1; |
NameAttrList.Builder |
setRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field,
int index,
Object value) |
NameAttrList.Builder |
setUnknownFields(com.github.os72.protobuf351.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 com.github.os72.protobuf351.Descriptors.Descriptor getDescriptor()
protected com.github.os72.protobuf351.MapField internalGetMapField(int number)
internalGetMapField in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<NameAttrList.Builder>protected com.github.os72.protobuf351.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<NameAttrList.Builder>protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<NameAttrList.Builder>public NameAttrList.Builder clear()
clear in interface com.github.os72.protobuf351.Message.Builderclear in interface com.github.os72.protobuf351.MessageLite.Builderclear in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<NameAttrList.Builder>public com.github.os72.protobuf351.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.github.os72.protobuf351.Message.BuildergetDescriptorForType in interface com.github.os72.protobuf351.MessageOrBuildergetDescriptorForType in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<NameAttrList.Builder>public NameAttrList getDefaultInstanceForType()
getDefaultInstanceForType in interface com.github.os72.protobuf351.MessageLiteOrBuildergetDefaultInstanceForType in interface com.github.os72.protobuf351.MessageOrBuilderpublic NameAttrList build()
build in interface com.github.os72.protobuf351.Message.Builderbuild in interface com.github.os72.protobuf351.MessageLite.Builderpublic NameAttrList buildPartial()
buildPartial in interface com.github.os72.protobuf351.Message.BuilderbuildPartial in interface com.github.os72.protobuf351.MessageLite.Builderpublic NameAttrList.Builder clone()
clone in interface com.github.os72.protobuf351.Message.Builderclone in interface com.github.os72.protobuf351.MessageLite.Builderclone in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<NameAttrList.Builder>public NameAttrList.Builder setField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field, Object value)
setField in interface com.github.os72.protobuf351.Message.BuildersetField in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<NameAttrList.Builder>public NameAttrList.Builder clearField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field)
clearField in interface com.github.os72.protobuf351.Message.BuilderclearField in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<NameAttrList.Builder>public NameAttrList.Builder clearOneof(com.github.os72.protobuf351.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.github.os72.protobuf351.Message.BuilderclearOneof in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<NameAttrList.Builder>public NameAttrList.Builder setRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.github.os72.protobuf351.Message.BuildersetRepeatedField in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<NameAttrList.Builder>public NameAttrList.Builder addRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.github.os72.protobuf351.Message.BuilderaddRepeatedField in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<NameAttrList.Builder>public NameAttrList.Builder mergeFrom(com.github.os72.protobuf351.Message other)
mergeFrom in interface com.github.os72.protobuf351.Message.BuildermergeFrom in class com.github.os72.protobuf351.AbstractMessage.Builder<NameAttrList.Builder>public NameAttrList.Builder mergeFrom(NameAttrList other)
public final boolean isInitialized()
isInitialized in interface com.github.os72.protobuf351.MessageLiteOrBuilderisInitialized in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<NameAttrList.Builder>public NameAttrList.Builder mergeFrom(com.github.os72.protobuf351.CodedInputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.github.os72.protobuf351.Message.BuildermergeFrom in interface com.github.os72.protobuf351.MessageLite.BuildermergeFrom in class com.github.os72.protobuf351.AbstractMessage.Builder<NameAttrList.Builder>IOExceptionpublic String getName()
string name = 1;getName in interface NameAttrListOrBuilderpublic com.github.os72.protobuf351.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(com.github.os72.protobuf351.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(com.github.os72.protobuf351.UnknownFieldSet unknownFields)
setUnknownFields in interface com.github.os72.protobuf351.Message.BuildersetUnknownFields in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<NameAttrList.Builder>public final NameAttrList.Builder mergeUnknownFields(com.github.os72.protobuf351.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.github.os72.protobuf351.Message.BuildermergeUnknownFields in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<NameAttrList.Builder>Copyright © 2018. All rights reserved.