public static final class Struct.DictValue.Builder extends com.google.protobuf.GeneratedMessageV3.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| Modifier and Type | Method and Description |
|---|---|
Struct.DictValue.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Struct.DictValue |
build() |
Struct.DictValue |
buildPartial() |
Struct.DictValue.Builder |
clear() |
Struct.DictValue.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Struct.DictValue.Builder |
clearFields() |
Struct.DictValue.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Struct.DictValue.Builder |
clone() |
boolean |
containsFields(java.lang.String key)
map<string, .tensorflow.StructuredValue> fields = 1; |
Struct.DictValue |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.util.Map<java.lang.String,Struct.StructuredValue> |
getFields()
Deprecated.
|
int |
getFieldsCount()
map<string, .tensorflow.StructuredValue> fields = 1; |
java.util.Map<java.lang.String,Struct.StructuredValue> |
getFieldsMap()
map<string, .tensorflow.StructuredValue> fields = 1; |
Struct.StructuredValue |
getFieldsOrDefault(java.lang.String key,
Struct.StructuredValue defaultValue)
map<string, .tensorflow.StructuredValue> fields = 1; |
Struct.StructuredValue |
getFieldsOrThrow(java.lang.String key)
map<string, .tensorflow.StructuredValue> fields = 1; |
java.util.Map<java.lang.String,Struct.StructuredValue> |
getMutableFields()
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() |
Struct.DictValue.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Struct.DictValue.Builder |
mergeFrom(com.google.protobuf.Message other) |
Struct.DictValue.Builder |
mergeFrom(Struct.DictValue other) |
Struct.DictValue.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Struct.DictValue.Builder |
putAllFields(java.util.Map<java.lang.String,Struct.StructuredValue> values)
map<string, .tensorflow.StructuredValue> fields = 1; |
Struct.DictValue.Builder |
putFields(java.lang.String key,
Struct.StructuredValue value)
map<string, .tensorflow.StructuredValue> fields = 1; |
Struct.DictValue.Builder |
removeFields(java.lang.String key)
map<string, .tensorflow.StructuredValue> fields = 1; |
Struct.DictValue.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Struct.DictValue.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Struct.DictValue.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<Struct.DictValue.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Struct.DictValue.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Struct.DictValue.Builder>public Struct.DictValue.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Struct.DictValue.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<Struct.DictValue.Builder>public Struct.DictValue getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Struct.DictValue build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Struct.DictValue buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Struct.DictValue.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Struct.DictValue.Builder>public Struct.DictValue.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<Struct.DictValue.Builder>public Struct.DictValue.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Struct.DictValue.Builder>public Struct.DictValue.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Struct.DictValue.Builder>public Struct.DictValue.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<Struct.DictValue.Builder>public Struct.DictValue.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<Struct.DictValue.Builder>public Struct.DictValue.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Struct.DictValue.Builder>public Struct.DictValue.Builder mergeFrom(Struct.DictValue other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Struct.DictValue.Builder>public Struct.DictValue.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<Struct.DictValue.Builder>java.io.IOExceptionpublic int getFieldsCount()
Struct.DictValueOrBuildermap<string, .tensorflow.StructuredValue> fields = 1;getFieldsCount in interface Struct.DictValueOrBuilderpublic boolean containsFields(java.lang.String key)
map<string, .tensorflow.StructuredValue> fields = 1;containsFields in interface Struct.DictValueOrBuilder@Deprecated public java.util.Map<java.lang.String,Struct.StructuredValue> getFields()
getFieldsMap() instead.getFields in interface Struct.DictValueOrBuilderpublic java.util.Map<java.lang.String,Struct.StructuredValue> getFieldsMap()
map<string, .tensorflow.StructuredValue> fields = 1;getFieldsMap in interface Struct.DictValueOrBuilderpublic Struct.StructuredValue getFieldsOrDefault(java.lang.String key, Struct.StructuredValue defaultValue)
map<string, .tensorflow.StructuredValue> fields = 1;getFieldsOrDefault in interface Struct.DictValueOrBuilderpublic Struct.StructuredValue getFieldsOrThrow(java.lang.String key)
map<string, .tensorflow.StructuredValue> fields = 1;getFieldsOrThrow in interface Struct.DictValueOrBuilderpublic Struct.DictValue.Builder clearFields()
public Struct.DictValue.Builder removeFields(java.lang.String key)
map<string, .tensorflow.StructuredValue> fields = 1;@Deprecated public java.util.Map<java.lang.String,Struct.StructuredValue> getMutableFields()
public Struct.DictValue.Builder putFields(java.lang.String key, Struct.StructuredValue value)
map<string, .tensorflow.StructuredValue> fields = 1;public Struct.DictValue.Builder putAllFields(java.util.Map<java.lang.String,Struct.StructuredValue> values)
map<string, .tensorflow.StructuredValue> fields = 1;public final Struct.DictValue.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Struct.DictValue.Builder>public final Struct.DictValue.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Struct.DictValue.Builder>