Represents a Python dict keyed by `str`. The comment on Unicode from Value.string_value applies analogously.
tensorflow.DictValue tipo tensorflow.DictValue Métodos Públicos
| DictValue.Builder | addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto) |
| DictValue | build () |
| DictValue | buildPartial () |
| DictValue.Builder | limpar () |
| DictValue.Builder | clearField (campo com.google.protobuf.Descriptors.FieldDescriptor) |
| DictValue.Builder | clearFields () |
| DictValue.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
| DictValue.Builder | clone () |
| boleano | containsFields (chave String) map<string, .tensorflow.StructuredValue> fields = 1; |
| DictValue | |
| final static com.google.protobuf.Descriptors.Descriptor | |
| com.google.protobuf.Descriptors.Descriptor | |
| Mapa <String, StructuredValue > | getFields () Em vez disso, use getFieldsMap() . |
| int | getFieldsCount () map<string, .tensorflow.StructuredValue> fields = 1; |
| Mapa <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; |
| Mapa <String, StructuredValue > | getMutableFields () Em vez disso, use acessadores de mutação alternativos. |
| final booleano | |
| 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 (Mapear valores <String, StructuredValue >) map<string, .tensorflow.StructuredValue> fields = 1; |
| DictValue.Builder | putFields (chave String, valor StructuredValue ) map<string, .tensorflow.StructuredValue> fields = 1; |
| DictValue.Builder | removeFields (chave String) map<string, .tensorflow.StructuredValue> fields = 1; |
| DictValue.Builder | setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto) |
| DictValue.Builder | setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor do objeto) |
| final DictValue.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
Métodos herdados
Métodos Públicos
public DictValue.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)
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 Map <String, StructuredValue > getMutableFields ()
Em vez disso, use acessadores de mutação alternativos.
public final boolean isInitialized ()
public DictValue.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
| IOException |
|---|
public final DictValue.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public DictValue.Builder putAllFields (Map <String, StructuredValue > valores)
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;