Package com.daml.ledger.api.v1
Class ValueOuterClass.Map.Entry.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.Map.Entry.Builder>
-
- com.daml.ledger.api.v1.ValueOuterClass.Map.Entry.Builder
-
- All Implemented Interfaces:
ValueOuterClass.Map.EntryOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- ValueOuterClass.Map.Entry
public static final class ValueOuterClass.Map.Entry.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.Map.Entry.Builder> implements ValueOuterClass.Map.EntryOrBuilder
Protobuf typecom.daml.ledger.api.v1.Map.Entry
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ValueOuterClass.Map.Entry.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
ValueOuterClass.Map.Entry
build()
ValueOuterClass.Map.Entry
buildPartial()
ValueOuterClass.Map.Entry.Builder
clear()
ValueOuterClass.Map.Entry.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ValueOuterClass.Map.Entry.Builder
clearKey()
string key = 1 [json_name = "key"];
ValueOuterClass.Map.Entry.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ValueOuterClass.Map.Entry.Builder
clearValue()
.com.daml.ledger.api.v1.Value value = 2 [json_name = "value"];
ValueOuterClass.Map.Entry.Builder
clone()
ValueOuterClass.Map.Entry
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getKey()
string key = 1 [json_name = "key"];
com.google.protobuf.ByteString
getKeyBytes()
string key = 1 [json_name = "key"];
ValueOuterClass.Value
getValue()
.com.daml.ledger.api.v1.Value value = 2 [json_name = "value"];
ValueOuterClass.Value.Builder
getValueBuilder()
.com.daml.ledger.api.v1.Value value = 2 [json_name = "value"];
ValueOuterClass.ValueOrBuilder
getValueOrBuilder()
.com.daml.ledger.api.v1.Value value = 2 [json_name = "value"];
boolean
hasValue()
.com.daml.ledger.api.v1.Value value = 2 [json_name = "value"];
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ValueOuterClass.Map.Entry.Builder
mergeFrom(ValueOuterClass.Map.Entry other)
ValueOuterClass.Map.Entry.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ValueOuterClass.Map.Entry.Builder
mergeFrom(com.google.protobuf.Message other)
ValueOuterClass.Map.Entry.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ValueOuterClass.Map.Entry.Builder
mergeValue(ValueOuterClass.Value value)
.com.daml.ledger.api.v1.Value value = 2 [json_name = "value"];
ValueOuterClass.Map.Entry.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
ValueOuterClass.Map.Entry.Builder
setKey(java.lang.String value)
string key = 1 [json_name = "key"];
ValueOuterClass.Map.Entry.Builder
setKeyBytes(com.google.protobuf.ByteString value)
string key = 1 [json_name = "key"];
ValueOuterClass.Map.Entry.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
ValueOuterClass.Map.Entry.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ValueOuterClass.Map.Entry.Builder
setValue(ValueOuterClass.Value value)
.com.daml.ledger.api.v1.Value value = 2 [json_name = "value"];
ValueOuterClass.Map.Entry.Builder
setValue(ValueOuterClass.Value.Builder builderForValue)
.com.daml.ledger.api.v1.Value value = 2 [json_name = "value"];
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, 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()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.Map.Entry.Builder>
-
clear
public ValueOuterClass.Map.Entry.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<ValueOuterClass.Map.Entry.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<ValueOuterClass.Map.Entry.Builder>
-
getDefaultInstanceForType
public ValueOuterClass.Map.Entry getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ValueOuterClass.Map.Entry build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ValueOuterClass.Map.Entry buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ValueOuterClass.Map.Entry.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<ValueOuterClass.Map.Entry.Builder>
-
setField
public ValueOuterClass.Map.Entry.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<ValueOuterClass.Map.Entry.Builder>
-
clearField
public ValueOuterClass.Map.Entry.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<ValueOuterClass.Map.Entry.Builder>
-
clearOneof
public ValueOuterClass.Map.Entry.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<ValueOuterClass.Map.Entry.Builder>
-
setRepeatedField
public ValueOuterClass.Map.Entry.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<ValueOuterClass.Map.Entry.Builder>
-
addRepeatedField
public ValueOuterClass.Map.Entry.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<ValueOuterClass.Map.Entry.Builder>
-
mergeFrom
public ValueOuterClass.Map.Entry.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ValueOuterClass.Map.Entry.Builder>
-
mergeFrom
public ValueOuterClass.Map.Entry.Builder mergeFrom(ValueOuterClass.Map.Entry other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.Map.Entry.Builder>
-
mergeFrom
public ValueOuterClass.Map.Entry.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<ValueOuterClass.Map.Entry.Builder>
- Throws:
java.io.IOException
-
getKey
public java.lang.String getKey()
string key = 1 [json_name = "key"];
- Specified by:
getKey
in interfaceValueOuterClass.Map.EntryOrBuilder
- Returns:
- The key.
-
getKeyBytes
public com.google.protobuf.ByteString getKeyBytes()
string key = 1 [json_name = "key"];
- Specified by:
getKeyBytes
in interfaceValueOuterClass.Map.EntryOrBuilder
- Returns:
- The bytes for key.
-
setKey
public ValueOuterClass.Map.Entry.Builder setKey(java.lang.String value)
string key = 1 [json_name = "key"];
- Parameters:
value
- The key to set.- Returns:
- This builder for chaining.
-
clearKey
public ValueOuterClass.Map.Entry.Builder clearKey()
string key = 1 [json_name = "key"];
- Returns:
- This builder for chaining.
-
setKeyBytes
public ValueOuterClass.Map.Entry.Builder setKeyBytes(com.google.protobuf.ByteString value)
string key = 1 [json_name = "key"];
- Parameters:
value
- The bytes for key to set.- Returns:
- This builder for chaining.
-
hasValue
public boolean hasValue()
.com.daml.ledger.api.v1.Value value = 2 [json_name = "value"];
- Specified by:
hasValue
in interfaceValueOuterClass.Map.EntryOrBuilder
- Returns:
- Whether the value field is set.
-
getValue
public ValueOuterClass.Value getValue()
.com.daml.ledger.api.v1.Value value = 2 [json_name = "value"];
- Specified by:
getValue
in interfaceValueOuterClass.Map.EntryOrBuilder
- Returns:
- The value.
-
setValue
public ValueOuterClass.Map.Entry.Builder setValue(ValueOuterClass.Value value)
.com.daml.ledger.api.v1.Value value = 2 [json_name = "value"];
-
setValue
public ValueOuterClass.Map.Entry.Builder setValue(ValueOuterClass.Value.Builder builderForValue)
.com.daml.ledger.api.v1.Value value = 2 [json_name = "value"];
-
mergeValue
public ValueOuterClass.Map.Entry.Builder mergeValue(ValueOuterClass.Value value)
.com.daml.ledger.api.v1.Value value = 2 [json_name = "value"];
-
clearValue
public ValueOuterClass.Map.Entry.Builder clearValue()
.com.daml.ledger.api.v1.Value value = 2 [json_name = "value"];
-
getValueBuilder
public ValueOuterClass.Value.Builder getValueBuilder()
.com.daml.ledger.api.v1.Value value = 2 [json_name = "value"];
-
getValueOrBuilder
public ValueOuterClass.ValueOrBuilder getValueOrBuilder()
.com.daml.ledger.api.v1.Value value = 2 [json_name = "value"];
- Specified by:
getValueOrBuilder
in interfaceValueOuterClass.Map.EntryOrBuilder
-
setUnknownFields
public final ValueOuterClass.Map.Entry.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.Map.Entry.Builder>
-
mergeUnknownFields
public final ValueOuterClass.Map.Entry.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.Map.Entry.Builder>
-
-