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,
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(String key)
map<string, .tensorflow.StructuredValue> fields = 1; |
Struct.DictValue |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Map<String,Struct.StructuredValue> |
getFields()
Deprecated.
|
int |
getFieldsCount()
map<string, .tensorflow.StructuredValue> fields = 1; |
Map<String,Struct.StructuredValue> |
getFieldsMap()
map<string, .tensorflow.StructuredValue> fields = 1; |
Struct.StructuredValue |
getFieldsOrDefault(String key,
Struct.StructuredValue defaultValue)
map<string, .tensorflow.StructuredValue> fields = 1; |
Struct.StructuredValue |
getFieldsOrThrow(String key)
map<string, .tensorflow.StructuredValue> fields = 1; |
Map<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(Map<String,Struct.StructuredValue> values)
map<string, .tensorflow.StructuredValue> fields = 1; |
Struct.DictValue.Builder |
putFields(String key,
Struct.StructuredValue value)
map<string, .tensorflow.StructuredValue> fields = 1; |
Struct.DictValue.Builder |
removeFields(String key)
map<string, .tensorflow.StructuredValue> fields = 1; |
Struct.DictValue.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Struct.DictValue.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public 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.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<Struct.DictValue.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<Struct.DictValue.Builder>
public Struct.DictValue getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Struct.DictValue build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Struct.DictValue buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Struct.DictValue.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<Struct.DictValue.Builder>
public Struct.DictValue.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
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.Builder
clearField
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.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<Struct.DictValue.Builder>
public Struct.DictValue.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Struct.DictValue.Builder>
public Struct.DictValue.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
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.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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 IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Struct.DictValue.Builder>
IOException
public int getFieldsCount()
Struct.DictValueOrBuilder
map<string, .tensorflow.StructuredValue> fields = 1;
getFieldsCount
in interface Struct.DictValueOrBuilder
public boolean containsFields(String key)
map<string, .tensorflow.StructuredValue> fields = 1;
containsFields
in interface Struct.DictValueOrBuilder
@Deprecated public Map<String,Struct.StructuredValue> getFields()
getFieldsMap()
instead.getFields
in interface Struct.DictValueOrBuilder
public Map<String,Struct.StructuredValue> getFieldsMap()
map<string, .tensorflow.StructuredValue> fields = 1;
getFieldsMap
in interface Struct.DictValueOrBuilder
public Struct.StructuredValue getFieldsOrDefault(String key, Struct.StructuredValue defaultValue)
map<string, .tensorflow.StructuredValue> fields = 1;
getFieldsOrDefault
in interface Struct.DictValueOrBuilder
public Struct.StructuredValue getFieldsOrThrow(String key)
map<string, .tensorflow.StructuredValue> fields = 1;
getFieldsOrThrow
in interface Struct.DictValueOrBuilder
public Struct.DictValue.Builder clearFields()
public Struct.DictValue.Builder removeFields(String key)
map<string, .tensorflow.StructuredValue> fields = 1;
@Deprecated public Map<String,Struct.StructuredValue> getMutableFields()
public Struct.DictValue.Builder putFields(String key, Struct.StructuredValue value)
map<string, .tensorflow.StructuredValue> fields = 1;
public Struct.DictValue.Builder putAllFields(Map<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.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Struct.DictValue.Builder>
Copyright © 2015–2019. All rights reserved.