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, 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 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.Builder
clear
in interface com.github.os72.protobuf351.MessageLite.Builder
clear
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.Builder
getDescriptorForType
in interface com.github.os72.protobuf351.MessageOrBuilder
getDescriptorForType
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<NameAttrList.Builder>
public NameAttrList getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.github.os72.protobuf351.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.github.os72.protobuf351.MessageOrBuilder
public NameAttrList build()
build
in interface com.github.os72.protobuf351.Message.Builder
build
in interface com.github.os72.protobuf351.MessageLite.Builder
public NameAttrList buildPartial()
buildPartial
in interface com.github.os72.protobuf351.Message.Builder
buildPartial
in interface com.github.os72.protobuf351.MessageLite.Builder
public NameAttrList.Builder clone()
clone
in interface com.github.os72.protobuf351.Message.Builder
clone
in interface com.github.os72.protobuf351.MessageLite.Builder
clone
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.Builder
setField
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.Builder
clearField
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.Builder
clearOneof
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.Builder
setRepeatedField
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.Builder
addRepeatedField
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.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.github.os72.protobuf351.MessageLite.Builder
mergeFrom
in class com.github.os72.protobuf351.AbstractMessage.Builder<NameAttrList.Builder>
IOException
public String getName()
string name = 1;
getName
in interface NameAttrListOrBuilder
public com.github.os72.protobuf351.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(com.github.os72.protobuf351.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(com.github.os72.protobuf351.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.github.os72.protobuf351.Message.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<NameAttrList.Builder>
Copyright © 2018. All rights reserved.