DictValue.Builder

public static final class DictValue.Builder

 Represents a Python dict keyed by `str`.
 The comment on Unicode from Value.string_value applies analogously.
 
Protobuf type 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
putFields(String key, StructuredValue value)
map<string, .tensorflow.StructuredValue> fields = 1;
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 DictValue build ()

public DictValue buildPartial ()

public DictValue.Builder clear ()

public DictValue.Builder clearField (com.google.protobuf.Descriptors.FieldDescriptor field)

public DictValue.Builder clearFields ()

public DictValue.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

public DictValue.Builder clone ()

public boolean containsFields (String key)

map<string, .tensorflow.StructuredValue> fields = 1;

public DictValue getDefaultInstanceForType ()

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()

public Map<String, StructuredValue> getFields ()

Use getFieldsMap() instead.

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 Map<String, StructuredValue> getMutableFields ()

Use alternate mutation accessors instead.

public final boolean isInitialized ()

public DictValue.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public DictValue.Builder mergeFrom (com.google.protobuf.Message other)

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;

public DictValue.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

public DictValue.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)

public final DictValue.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)