public static final class FunctionDef.ArgAttrs.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<FunctionDef.ArgAttrs.Builder> implements FunctionDef.ArgAttrsOrBuilder
Attributes for function arguments. These attributes are the same set of valid attributes as to _Arg nodes.Protobuf type
tensorflow.FunctionDef.ArgAttrs
Modifier and Type | Method and Description |
---|---|
FunctionDef.ArgAttrs.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
FunctionDef.ArgAttrs |
build() |
FunctionDef.ArgAttrs |
buildPartial() |
FunctionDef.ArgAttrs.Builder |
clear() |
FunctionDef.ArgAttrs.Builder |
clearAttr() |
FunctionDef.ArgAttrs.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
FunctionDef.ArgAttrs.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
FunctionDef.ArgAttrs.Builder |
clone() |
boolean |
containsAttr(String key)
map<string, .tensorflow.AttrValue> attr = 1; |
Map<String,AttrValue> |
getAttr()
Deprecated.
|
int |
getAttrCount()
map<string, .tensorflow.AttrValue> attr = 1; |
Map<String,AttrValue> |
getAttrMap()
map<string, .tensorflow.AttrValue> attr = 1; |
AttrValue |
getAttrOrDefault(String key,
AttrValue defaultValue)
map<string, .tensorflow.AttrValue> attr = 1; |
AttrValue |
getAttrOrThrow(String key)
map<string, .tensorflow.AttrValue> attr = 1; |
FunctionDef.ArgAttrs |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Map<String,AttrValue> |
getMutableAttr()
Deprecated.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
FunctionDef.ArgAttrs.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
FunctionDef.ArgAttrs.Builder |
mergeFrom(FunctionDef.ArgAttrs other) |
FunctionDef.ArgAttrs.Builder |
mergeFrom(com.google.protobuf.Message other) |
FunctionDef.ArgAttrs.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
FunctionDef.ArgAttrs.Builder |
putAllAttr(Map<String,AttrValue> values)
map<string, .tensorflow.AttrValue> attr = 1; |
FunctionDef.ArgAttrs.Builder |
putAttr(String key,
AttrValue value)
map<string, .tensorflow.AttrValue> attr = 1; |
FunctionDef.ArgAttrs.Builder |
removeAttr(String key)
map<string, .tensorflow.AttrValue> attr = 1; |
FunctionDef.ArgAttrs.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
FunctionDef.ArgAttrs.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
FunctionDef.ArgAttrs.Builder |
setUnknownFields(com.google.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 com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField
in class com.google.protobuf.GeneratedMessageV3.Builder<FunctionDef.ArgAttrs.Builder>
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField
in class com.google.protobuf.GeneratedMessageV3.Builder<FunctionDef.ArgAttrs.Builder>
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<FunctionDef.ArgAttrs.Builder>
public FunctionDef.ArgAttrs.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<FunctionDef.ArgAttrs.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<FunctionDef.ArgAttrs.Builder>
public FunctionDef.ArgAttrs getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public FunctionDef.ArgAttrs build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public FunctionDef.ArgAttrs buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public FunctionDef.ArgAttrs.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<FunctionDef.ArgAttrs.Builder>
public FunctionDef.ArgAttrs.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<FunctionDef.ArgAttrs.Builder>
public FunctionDef.ArgAttrs.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<FunctionDef.ArgAttrs.Builder>
public FunctionDef.ArgAttrs.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<FunctionDef.ArgAttrs.Builder>
public FunctionDef.ArgAttrs.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<FunctionDef.ArgAttrs.Builder>
public FunctionDef.ArgAttrs.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<FunctionDef.ArgAttrs.Builder>
public FunctionDef.ArgAttrs.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<FunctionDef.ArgAttrs.Builder>
public FunctionDef.ArgAttrs.Builder mergeFrom(FunctionDef.ArgAttrs other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<FunctionDef.ArgAttrs.Builder>
public FunctionDef.ArgAttrs.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<FunctionDef.ArgAttrs.Builder>
IOException
public int getAttrCount()
FunctionDef.ArgAttrsOrBuilder
map<string, .tensorflow.AttrValue> attr = 1;
getAttrCount
in interface FunctionDef.ArgAttrsOrBuilder
public boolean containsAttr(String key)
map<string, .tensorflow.AttrValue> attr = 1;
containsAttr
in interface FunctionDef.ArgAttrsOrBuilder
@Deprecated public Map<String,AttrValue> getAttr()
getAttrMap()
instead.getAttr
in interface FunctionDef.ArgAttrsOrBuilder
public Map<String,AttrValue> getAttrMap()
map<string, .tensorflow.AttrValue> attr = 1;
getAttrMap
in interface FunctionDef.ArgAttrsOrBuilder
public AttrValue getAttrOrDefault(String key, AttrValue defaultValue)
map<string, .tensorflow.AttrValue> attr = 1;
getAttrOrDefault
in interface FunctionDef.ArgAttrsOrBuilder
public AttrValue getAttrOrThrow(String key)
map<string, .tensorflow.AttrValue> attr = 1;
getAttrOrThrow
in interface FunctionDef.ArgAttrsOrBuilder
public FunctionDef.ArgAttrs.Builder clearAttr()
public FunctionDef.ArgAttrs.Builder removeAttr(String key)
map<string, .tensorflow.AttrValue> attr = 1;
@Deprecated public Map<String,AttrValue> getMutableAttr()
public FunctionDef.ArgAttrs.Builder putAttr(String key, AttrValue value)
map<string, .tensorflow.AttrValue> attr = 1;
public FunctionDef.ArgAttrs.Builder putAllAttr(Map<String,AttrValue> values)
map<string, .tensorflow.AttrValue> attr = 1;
public final FunctionDef.ArgAttrs.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<FunctionDef.ArgAttrs.Builder>
public final FunctionDef.ArgAttrs.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<FunctionDef.ArgAttrs.Builder>
Copyright © 2015–2019. All rights reserved.