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,
java.lang.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(java.lang.String key)
map<string, .tensorflow.AttrValue> attr = 1; |
java.util.Map<java.lang.String,AttrValue> |
getAttr()
Deprecated.
|
int |
getAttrCount()
map<string, .tensorflow.AttrValue> attr = 1; |
java.util.Map<java.lang.String,AttrValue> |
getAttrMap()
map<string, .tensorflow.AttrValue> attr = 1; |
AttrValue |
getAttrOrDefault(java.lang.String key,
AttrValue defaultValue)
map<string, .tensorflow.AttrValue> attr = 1; |
AttrValue |
getAttrOrThrow(java.lang.String key)
map<string, .tensorflow.AttrValue> attr = 1; |
FunctionDef.ArgAttrs |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.util.Map<java.lang.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(java.util.Map<java.lang.String,AttrValue> values)
map<string, .tensorflow.AttrValue> attr = 1; |
FunctionDef.ArgAttrs.Builder |
putAttr(java.lang.String key,
AttrValue value)
map<string, .tensorflow.AttrValue> attr = 1; |
FunctionDef.ArgAttrs.Builder |
removeAttr(java.lang.String key)
map<string, .tensorflow.AttrValue> attr = 1; |
FunctionDef.ArgAttrs.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
FunctionDef.ArgAttrs.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.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, 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.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.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<FunctionDef.ArgAttrs.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<FunctionDef.ArgAttrs.Builder>public FunctionDef.ArgAttrs getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic FunctionDef.ArgAttrs build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic FunctionDef.ArgAttrs buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic FunctionDef.ArgAttrs.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<FunctionDef.ArgAttrs.Builder>public FunctionDef.ArgAttrs.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface com.google.protobuf.Message.BuildersetField 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.BuilderclearField 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.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<FunctionDef.ArgAttrs.Builder>public FunctionDef.ArgAttrs.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<FunctionDef.ArgAttrs.Builder>public FunctionDef.ArgAttrs.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField 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.BuildermergeFrom 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.MessageLiteOrBuilderisInitialized 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 java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<FunctionDef.ArgAttrs.Builder>java.io.IOExceptionpublic int getAttrCount()
FunctionDef.ArgAttrsOrBuildermap<string, .tensorflow.AttrValue> attr = 1;getAttrCount in interface FunctionDef.ArgAttrsOrBuilderpublic boolean containsAttr(java.lang.String key)
map<string, .tensorflow.AttrValue> attr = 1;containsAttr in interface FunctionDef.ArgAttrsOrBuilder@Deprecated public java.util.Map<java.lang.String,AttrValue> getAttr()
getAttrMap() instead.getAttr in interface FunctionDef.ArgAttrsOrBuilderpublic java.util.Map<java.lang.String,AttrValue> getAttrMap()
map<string, .tensorflow.AttrValue> attr = 1;getAttrMap in interface FunctionDef.ArgAttrsOrBuilderpublic AttrValue getAttrOrDefault(java.lang.String key, AttrValue defaultValue)
map<string, .tensorflow.AttrValue> attr = 1;getAttrOrDefault in interface FunctionDef.ArgAttrsOrBuilderpublic AttrValue getAttrOrThrow(java.lang.String key)
map<string, .tensorflow.AttrValue> attr = 1;getAttrOrThrow in interface FunctionDef.ArgAttrsOrBuilderpublic FunctionDef.ArgAttrs.Builder clearAttr()
public FunctionDef.ArgAttrs.Builder removeAttr(java.lang.String key)
map<string, .tensorflow.AttrValue> attr = 1;@Deprecated public java.util.Map<java.lang.String,AttrValue> getMutableAttr()
public FunctionDef.ArgAttrs.Builder putAttr(java.lang.String key, AttrValue value)
map<string, .tensorflow.AttrValue> attr = 1;public FunctionDef.ArgAttrs.Builder putAllAttr(java.util.Map<java.lang.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.BuildersetUnknownFields 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.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<FunctionDef.ArgAttrs.Builder>