Class Struct.DictValue.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Struct.DictValue.Builder>
com.google.protobuf.GeneratedMessage.Builder<Struct.DictValue.Builder>
org.tensorflow.proto.Struct.DictValue.Builder
- All Implemented Interfaces:
Message.Builder, MessageLite.Builder, MessageLiteOrBuilder, MessageOrBuilder, Cloneable, Struct.DictValueOrBuilder
- Enclosing class:
Struct.DictValue
public static final class Struct.DictValue.Builder
extends GeneratedMessage.Builder<Struct.DictValue.Builder>
implements Struct.DictValueOrBuilder
Represents a Python dict keyed by `str`. The comment on Unicode from Value.string_value applies analogously.Protobuf type
tensorflow.DictValue-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()booleancontainsFields(String key) map<string, .tensorflow.StructuredValue> fields = 1;static final Descriptors.DescriptorDeprecated.intmap<string, .tensorflow.StructuredValue> fields = 1;map<string, .tensorflow.StructuredValue> fields = 1;getFieldsOrDefault(String key, Struct.StructuredValue defaultValue) map<string, .tensorflow.StructuredValue> fields = 1;getFieldsOrThrow(String key) map<string, .tensorflow.StructuredValue> fields = 1;Deprecated.protected GeneratedMessage.FieldAccessorTableprotected MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) mergeFrom(Struct.DictValue other) putAllFields(Map<String, Struct.StructuredValue> values) map<string, .tensorflow.StructuredValue> fields = 1;putFields(String key, Struct.StructuredValue value) map<string, .tensorflow.StructuredValue> fields = 1;map<string, .tensorflow.StructuredValue> fields = 1;removeFields(String key) map<string, .tensorflow.StructuredValue> fields = 1;Methods inherited from class GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
-
Method Details
-
getDescriptor
-
internalGetMapFieldReflection
- Overrides:
internalGetMapFieldReflectionin classGeneratedMessage.Builder<Struct.DictValue.Builder>
-
internalGetMutableMapFieldReflection
- Overrides:
internalGetMutableMapFieldReflectionin classGeneratedMessage.Builder<Struct.DictValue.Builder>
-
internalGetFieldAccessorTable
- Specified by:
internalGetFieldAccessorTablein classGeneratedMessage.Builder<Struct.DictValue.Builder>
-
clear
- Specified by:
clearin interfaceMessage.Builder- Specified by:
clearin interfaceMessageLite.Builder- Overrides:
clearin classGeneratedMessage.Builder<Struct.DictValue.Builder>
-
getDescriptorForType
- Specified by:
getDescriptorForTypein interfaceMessage.Builder- Specified by:
getDescriptorForTypein interfaceMessageOrBuilder- Overrides:
getDescriptorForTypein classGeneratedMessage.Builder<Struct.DictValue.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-
build
- Specified by:
buildin interfaceMessage.Builder- Specified by:
buildin interfaceMessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfaceMessage.Builder- Specified by:
buildPartialin interfaceMessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfaceMessage.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<Struct.DictValue.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessage.Builder<Struct.DictValue.Builder>
-
mergeFrom
public Struct.DictValue.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfaceMessage.Builder- Specified by:
mergeFromin interfaceMessageLite.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<Struct.DictValue.Builder>- Throws:
IOException
-
getFieldsCount
public int getFieldsCount()Description copied from interface:Struct.DictValueOrBuildermap<string, .tensorflow.StructuredValue> fields = 1;- Specified by:
getFieldsCountin interfaceStruct.DictValueOrBuilder
-
containsFields
map<string, .tensorflow.StructuredValue> fields = 1;- Specified by:
containsFieldsin interfaceStruct.DictValueOrBuilder
-
getFields
Deprecated.UsegetFieldsMap()instead.- Specified by:
getFieldsin interfaceStruct.DictValueOrBuilder
-
getFieldsMap
map<string, .tensorflow.StructuredValue> fields = 1;- Specified by:
getFieldsMapin interfaceStruct.DictValueOrBuilder
-
getFieldsOrDefault
map<string, .tensorflow.StructuredValue> fields = 1;- Specified by:
getFieldsOrDefaultin interfaceStruct.DictValueOrBuilder
-
getFieldsOrThrow
map<string, .tensorflow.StructuredValue> fields = 1;- Specified by:
getFieldsOrThrowin interfaceStruct.DictValueOrBuilder
-
clearFields
-
removeFields
map<string, .tensorflow.StructuredValue> fields = 1; -
getMutableFields
Deprecated.Use alternate mutation accessors instead. -
putFields
map<string, .tensorflow.StructuredValue> fields = 1; -
putAllFields
map<string, .tensorflow.StructuredValue> fields = 1; -
putFieldsBuilderIfAbsent
map<string, .tensorflow.StructuredValue> fields = 1;
-