Package org.platanios.tensorflow.proto
Class Struct.DictValue.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Struct.DictValue.Builder>
-
- org.platanios.tensorflow.proto.Struct.DictValue.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
,Struct.DictValueOrBuilder
- Enclosing class:
- Struct.DictValue
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 typeorg.platanios.tensorflow.proto.DictValue
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method 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, .org.platanios.tensorflow.proto.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, .org.platanios.tensorflow.proto.StructuredValue> fields = 1;
java.util.Map<java.lang.String,Struct.StructuredValue>
getFieldsMap()
map<string, .org.platanios.tensorflow.proto.StructuredValue> fields = 1;
Struct.StructuredValue
getFieldsOrDefault(java.lang.String key, Struct.StructuredValue defaultValue)
map<string, .org.platanios.tensorflow.proto.StructuredValue> fields = 1;
Struct.StructuredValue
getFieldsOrThrow(java.lang.String key)
map<string, .org.platanios.tensorflow.proto.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, .org.platanios.tensorflow.proto.StructuredValue> fields = 1;
Struct.DictValue.Builder
putFields(java.lang.String key, Struct.StructuredValue value)
map<string, .org.platanios.tensorflow.proto.StructuredValue> fields = 1;
Struct.DictValue.Builder
removeFields(java.lang.String key)
map<string, .org.platanios.tensorflow.proto.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)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Struct.DictValue.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Struct.DictValue.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Struct.DictValue.Builder>
-
clear
public Struct.DictValue.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Struct.DictValue.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Struct.DictValue.Builder>
-
getDefaultInstanceForType
public Struct.DictValue getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Struct.DictValue build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Struct.DictValue buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Struct.DictValue.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Struct.DictValue.Builder>
-
setField
public Struct.DictValue.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Struct.DictValue.Builder>
-
clearField
public Struct.DictValue.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Struct.DictValue.Builder>
-
clearOneof
public Struct.DictValue.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Struct.DictValue.Builder>
-
setRepeatedField
public Struct.DictValue.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Struct.DictValue.Builder>
-
addRepeatedField
public Struct.DictValue.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Struct.DictValue.Builder>
-
mergeFrom
public Struct.DictValue.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Struct.DictValue.Builder>
-
mergeFrom
public Struct.DictValue.Builder mergeFrom(Struct.DictValue other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Struct.DictValue.Builder>
-
mergeFrom
public Struct.DictValue.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Struct.DictValue.Builder>
- Throws:
java.io.IOException
-
getFieldsCount
public int getFieldsCount()
Description copied from interface:Struct.DictValueOrBuilder
map<string, .org.platanios.tensorflow.proto.StructuredValue> fields = 1;
- Specified by:
getFieldsCount
in interfaceStruct.DictValueOrBuilder
-
containsFields
public boolean containsFields(java.lang.String key)
map<string, .org.platanios.tensorflow.proto.StructuredValue> fields = 1;
- Specified by:
containsFields
in interfaceStruct.DictValueOrBuilder
-
getFields
@Deprecated public java.util.Map<java.lang.String,Struct.StructuredValue> getFields()
Deprecated.UsegetFieldsMap()
instead.- Specified by:
getFields
in interfaceStruct.DictValueOrBuilder
-
getFieldsMap
public java.util.Map<java.lang.String,Struct.StructuredValue> getFieldsMap()
map<string, .org.platanios.tensorflow.proto.StructuredValue> fields = 1;
- Specified by:
getFieldsMap
in interfaceStruct.DictValueOrBuilder
-
getFieldsOrDefault
public Struct.StructuredValue getFieldsOrDefault(java.lang.String key, Struct.StructuredValue defaultValue)
map<string, .org.platanios.tensorflow.proto.StructuredValue> fields = 1;
- Specified by:
getFieldsOrDefault
in interfaceStruct.DictValueOrBuilder
-
getFieldsOrThrow
public Struct.StructuredValue getFieldsOrThrow(java.lang.String key)
map<string, .org.platanios.tensorflow.proto.StructuredValue> fields = 1;
- Specified by:
getFieldsOrThrow
in interfaceStruct.DictValueOrBuilder
-
clearFields
public Struct.DictValue.Builder clearFields()
-
removeFields
public Struct.DictValue.Builder removeFields(java.lang.String key)
map<string, .org.platanios.tensorflow.proto.StructuredValue> fields = 1;
-
getMutableFields
@Deprecated public java.util.Map<java.lang.String,Struct.StructuredValue> getMutableFields()
Deprecated.Use alternate mutation accessors instead.
-
putFields
public Struct.DictValue.Builder putFields(java.lang.String key, Struct.StructuredValue value)
map<string, .org.platanios.tensorflow.proto.StructuredValue> fields = 1;
-
putAllFields
public Struct.DictValue.Builder putAllFields(java.util.Map<java.lang.String,Struct.StructuredValue> values)
map<string, .org.platanios.tensorflow.proto.StructuredValue> fields = 1;
-
setUnknownFields
public final Struct.DictValue.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Struct.DictValue.Builder>
-
mergeUnknownFields
public final Struct.DictValue.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Struct.DictValue.Builder>
-
-