Package com.daml.ledger.api.v2
Class CommandsOuterClass.PrefetchContractKey.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.PrefetchContractKey.Builder>
com.daml.ledger.api.v2.CommandsOuterClass.PrefetchContractKey.Builder
- All Implemented Interfaces:
CommandsOuterClass.PrefetchContractKeyOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- CommandsOuterClass.PrefetchContractKey
public static final class CommandsOuterClass.PrefetchContractKey.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.PrefetchContractKey.Builder>
implements CommandsOuterClass.PrefetchContractKeyOrBuilder
Preload contractsProtobuf type
com.daml.ledger.api.v2.PrefetchContractKey
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
The key of the contract the client wants to prefetch.clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) The template of contract the client wants to prefetch.clone()
The key of the contract the client wants to prefetch.The key of the contract the client wants to prefetch.The key of the contract the client wants to prefetch.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
The template of contract the client wants to prefetch.The template of contract the client wants to prefetch.The template of contract the client wants to prefetch.boolean
The key of the contract the client wants to prefetch.boolean
The template of contract the client wants to prefetch.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
The key of the contract the client wants to prefetch.mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) The template of contract the client wants to prefetch.mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) The key of the contract the client wants to prefetch.setContractKey
(ValueOuterClass.Value.Builder builderForValue) The key of the contract the client wants to prefetch.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) The template of contract the client wants to prefetch.setTemplateId
(ValueOuterClass.Identifier.Builder builderForValue) The template of contract the client wants to prefetch.setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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<CommandsOuterClass.PrefetchContractKey.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<CommandsOuterClass.PrefetchContractKey.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<CommandsOuterClass.PrefetchContractKey.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.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<CommandsOuterClass.PrefetchContractKey.Builder>
-
setField
public CommandsOuterClass.PrefetchContractKey.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.PrefetchContractKey.Builder>
-
clearField
public CommandsOuterClass.PrefetchContractKey.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<CommandsOuterClass.PrefetchContractKey.Builder>
-
clearOneof
public CommandsOuterClass.PrefetchContractKey.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<CommandsOuterClass.PrefetchContractKey.Builder>
-
setRepeatedField
public CommandsOuterClass.PrefetchContractKey.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.PrefetchContractKey.Builder>
-
addRepeatedField
public CommandsOuterClass.PrefetchContractKey.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.PrefetchContractKey.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<CommandsOuterClass.PrefetchContractKey.Builder>
-
mergeFrom
public CommandsOuterClass.PrefetchContractKey.Builder mergeFrom(CommandsOuterClass.PrefetchContractKey other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.PrefetchContractKey.Builder>
-
mergeFrom
public CommandsOuterClass.PrefetchContractKey.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws 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<CommandsOuterClass.PrefetchContractKey.Builder>
- Throws:
IOException
-
hasTemplateId
public boolean hasTemplateId()The template of contract the client wants to prefetch. Both package-name and package-id reference identifier formats for the template-id are supported. Note: The package-id reference identifier format is deprecated. We plan to end support for this format in version 3.4. Required
.com.daml.ledger.api.v2.Identifier template_id = 1 [json_name = "templateId"];
- Specified by:
hasTemplateId
in interfaceCommandsOuterClass.PrefetchContractKeyOrBuilder
- Returns:
- Whether the templateId field is set.
-
getTemplateId
The template of contract the client wants to prefetch. Both package-name and package-id reference identifier formats for the template-id are supported. Note: The package-id reference identifier format is deprecated. We plan to end support for this format in version 3.4. Required
.com.daml.ledger.api.v2.Identifier template_id = 1 [json_name = "templateId"];
- Specified by:
getTemplateId
in interfaceCommandsOuterClass.PrefetchContractKeyOrBuilder
- Returns:
- The templateId.
-
setTemplateId
public CommandsOuterClass.PrefetchContractKey.Builder setTemplateId(ValueOuterClass.Identifier value) The template of contract the client wants to prefetch. Both package-name and package-id reference identifier formats for the template-id are supported. Note: The package-id reference identifier format is deprecated. We plan to end support for this format in version 3.4. Required
.com.daml.ledger.api.v2.Identifier template_id = 1 [json_name = "templateId"];
-
setTemplateId
public CommandsOuterClass.PrefetchContractKey.Builder setTemplateId(ValueOuterClass.Identifier.Builder builderForValue) The template of contract the client wants to prefetch. Both package-name and package-id reference identifier formats for the template-id are supported. Note: The package-id reference identifier format is deprecated. We plan to end support for this format in version 3.4. Required
.com.daml.ledger.api.v2.Identifier template_id = 1 [json_name = "templateId"];
-
mergeTemplateId
public CommandsOuterClass.PrefetchContractKey.Builder mergeTemplateId(ValueOuterClass.Identifier value) The template of contract the client wants to prefetch. Both package-name and package-id reference identifier formats for the template-id are supported. Note: The package-id reference identifier format is deprecated. We plan to end support for this format in version 3.4. Required
.com.daml.ledger.api.v2.Identifier template_id = 1 [json_name = "templateId"];
-
clearTemplateId
The template of contract the client wants to prefetch. Both package-name and package-id reference identifier formats for the template-id are supported. Note: The package-id reference identifier format is deprecated. We plan to end support for this format in version 3.4. Required
.com.daml.ledger.api.v2.Identifier template_id = 1 [json_name = "templateId"];
-
getTemplateIdBuilder
The template of contract the client wants to prefetch. Both package-name and package-id reference identifier formats for the template-id are supported. Note: The package-id reference identifier format is deprecated. We plan to end support for this format in version 3.4. Required
.com.daml.ledger.api.v2.Identifier template_id = 1 [json_name = "templateId"];
-
getTemplateIdOrBuilder
The template of contract the client wants to prefetch. Both package-name and package-id reference identifier formats for the template-id are supported. Note: The package-id reference identifier format is deprecated. We plan to end support for this format in version 3.4. Required
.com.daml.ledger.api.v2.Identifier template_id = 1 [json_name = "templateId"];
- Specified by:
getTemplateIdOrBuilder
in interfaceCommandsOuterClass.PrefetchContractKeyOrBuilder
-
hasContractKey
public boolean hasContractKey()The key of the contract the client wants to prefetch. Required
.com.daml.ledger.api.v2.Value contract_key = 2 [json_name = "contractKey"];
- Specified by:
hasContractKey
in interfaceCommandsOuterClass.PrefetchContractKeyOrBuilder
- Returns:
- Whether the contractKey field is set.
-
getContractKey
The key of the contract the client wants to prefetch. Required
.com.daml.ledger.api.v2.Value contract_key = 2 [json_name = "contractKey"];
- Specified by:
getContractKey
in interfaceCommandsOuterClass.PrefetchContractKeyOrBuilder
- Returns:
- The contractKey.
-
setContractKey
The key of the contract the client wants to prefetch. Required
.com.daml.ledger.api.v2.Value contract_key = 2 [json_name = "contractKey"];
-
setContractKey
public CommandsOuterClass.PrefetchContractKey.Builder setContractKey(ValueOuterClass.Value.Builder builderForValue) The key of the contract the client wants to prefetch. Required
.com.daml.ledger.api.v2.Value contract_key = 2 [json_name = "contractKey"];
-
mergeContractKey
The key of the contract the client wants to prefetch. Required
.com.daml.ledger.api.v2.Value contract_key = 2 [json_name = "contractKey"];
-
clearContractKey
The key of the contract the client wants to prefetch. Required
.com.daml.ledger.api.v2.Value contract_key = 2 [json_name = "contractKey"];
-
getContractKeyBuilder
The key of the contract the client wants to prefetch. Required
.com.daml.ledger.api.v2.Value contract_key = 2 [json_name = "contractKey"];
-
getContractKeyOrBuilder
The key of the contract the client wants to prefetch. Required
.com.daml.ledger.api.v2.Value contract_key = 2 [json_name = "contractKey"];
- Specified by:
getContractKeyOrBuilder
in interfaceCommandsOuterClass.PrefetchContractKeyOrBuilder
-
setUnknownFields
public final CommandsOuterClass.PrefetchContractKey.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.PrefetchContractKey.Builder>
-
mergeUnknownFields
public final CommandsOuterClass.PrefetchContractKey.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.PrefetchContractKey.Builder>
-