public static final class
DictValue.Builder
Represents a Python dict keyed by `str`. The comment on Unicode from Value.string_value applies analogously.
tensorflow.DictValue
Public Methods
DictValue.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
|
DictValue |
build()
|
DictValue | |
DictValue.Builder |
clear()
|
DictValue.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
|
DictValue.Builder | |
DictValue.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
|
DictValue.Builder |
clone()
|
boolean |
containsFields(String key)
map<string, .tensorflow.StructuredValue> fields = 1;
|
DictValue | |
final static com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
Map<String, StructuredValue> |
getFields()
Use
getFieldsMap() instead. |
int |
getFieldsCount()
map<string, .tensorflow.StructuredValue> fields = 1;
|
Map<String, StructuredValue> |
getFieldsMap()
map<string, .tensorflow.StructuredValue> fields = 1;
|
StructuredValue |
getFieldsOrDefault(String key, StructuredValue defaultValue)
map<string, .tensorflow.StructuredValue> fields = 1;
|
StructuredValue |
getFieldsOrThrow(String key)
map<string, .tensorflow.StructuredValue> fields = 1;
|
Map<String, StructuredValue> |
getMutableFields()
Use alternate mutation accessors instead.
|
final boolean | |
DictValue.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
DictValue.Builder |
mergeFrom(com.google.protobuf.Message other)
|
final DictValue.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
|
DictValue.Builder |
putAllFields(Map<String, StructuredValue> values)
map<string, .tensorflow.StructuredValue> fields = 1;
|
DictValue.Builder | |
DictValue.Builder |
removeFields(String key)
map<string, .tensorflow.StructuredValue> fields = 1;
|
DictValue.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
|
DictValue.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
|
final DictValue.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
|
Inherited Methods
Public Methods
public DictValue.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
public boolean containsFields (String key)
map<string, .tensorflow.StructuredValue> fields = 1;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
public int getFieldsCount ()
map<string, .tensorflow.StructuredValue> fields = 1;
public Map<String, StructuredValue> getFieldsMap ()
map<string, .tensorflow.StructuredValue> fields = 1;
public StructuredValue getFieldsOrDefault (String key, StructuredValue defaultValue)
map<string, .tensorflow.StructuredValue> fields = 1;
public StructuredValue getFieldsOrThrow (String key)
map<string, .tensorflow.StructuredValue> fields = 1;
public final boolean isInitialized ()
public DictValue.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public final DictValue.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public DictValue.Builder putAllFields (Map<String, StructuredValue> values)
map<string, .tensorflow.StructuredValue> fields = 1;
public DictValue.Builder putFields (String key, StructuredValue value)
map<string, .tensorflow.StructuredValue> fields = 1;
public DictValue.Builder removeFields (String key)
map<string, .tensorflow.StructuredValue> fields = 1;