Package com.daml.ledger.api.v1
Class CommandsOuterClass.CreateCommand.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.CreateCommand.Builder>
-
- com.daml.ledger.api.v1.CommandsOuterClass.CreateCommand.Builder
-
- All Implemented Interfaces:
CommandsOuterClass.CreateCommandOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- CommandsOuterClass.CreateCommand
public static final class CommandsOuterClass.CreateCommand.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.CreateCommand.Builder> implements CommandsOuterClass.CreateCommandOrBuilder
Create a new contract instance based on a template.
Protobuf typecom.daml.ledger.api.v1.CreateCommand
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CommandsOuterClass.CreateCommand.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
CommandsOuterClass.CreateCommand
build()
CommandsOuterClass.CreateCommand
buildPartial()
CommandsOuterClass.CreateCommand.Builder
clear()
CommandsOuterClass.CreateCommand.Builder
clearCreateArguments()
The arguments required for creating a contract from this template.CommandsOuterClass.CreateCommand.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
CommandsOuterClass.CreateCommand.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
CommandsOuterClass.CreateCommand.Builder
clearTemplateId()
The template of contract the client wants to create.CommandsOuterClass.CreateCommand.Builder
clone()
ValueOuterClass.Record
getCreateArguments()
The arguments required for creating a contract from this template.ValueOuterClass.Record.Builder
getCreateArgumentsBuilder()
The arguments required for creating a contract from this template.ValueOuterClass.RecordOrBuilder
getCreateArgumentsOrBuilder()
The arguments required for creating a contract from this template.CommandsOuterClass.CreateCommand
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
ValueOuterClass.Identifier
getTemplateId()
The template of contract the client wants to create.ValueOuterClass.Identifier.Builder
getTemplateIdBuilder()
The template of contract the client wants to create.ValueOuterClass.IdentifierOrBuilder
getTemplateIdOrBuilder()
The template of contract the client wants to create.boolean
hasCreateArguments()
The arguments required for creating a contract from this template.boolean
hasTemplateId()
The template of contract the client wants to create.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
CommandsOuterClass.CreateCommand.Builder
mergeCreateArguments(ValueOuterClass.Record value)
The arguments required for creating a contract from this template.CommandsOuterClass.CreateCommand.Builder
mergeFrom(CommandsOuterClass.CreateCommand other)
CommandsOuterClass.CreateCommand.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
CommandsOuterClass.CreateCommand.Builder
mergeFrom(com.google.protobuf.Message other)
CommandsOuterClass.CreateCommand.Builder
mergeTemplateId(ValueOuterClass.Identifier value)
The template of contract the client wants to create.CommandsOuterClass.CreateCommand.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
CommandsOuterClass.CreateCommand.Builder
setCreateArguments(ValueOuterClass.Record value)
The arguments required for creating a contract from this template.CommandsOuterClass.CreateCommand.Builder
setCreateArguments(ValueOuterClass.Record.Builder builderForValue)
The arguments required for creating a contract from this template.CommandsOuterClass.CreateCommand.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
CommandsOuterClass.CreateCommand.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
CommandsOuterClass.CreateCommand.Builder
setTemplateId(ValueOuterClass.Identifier value)
The template of contract the client wants to create.CommandsOuterClass.CreateCommand.Builder
setTemplateId(ValueOuterClass.Identifier.Builder builderForValue)
The template of contract the client wants to create.CommandsOuterClass.CreateCommand.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, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, 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
-
-
-
-
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<CommandsOuterClass.CreateCommand.Builder>
-
clear
public CommandsOuterClass.CreateCommand.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.CreateCommand.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.CreateCommand.Builder>
-
getDefaultInstanceForType
public CommandsOuterClass.CreateCommand getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public CommandsOuterClass.CreateCommand build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public CommandsOuterClass.CreateCommand buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public CommandsOuterClass.CreateCommand.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.CreateCommand.Builder>
-
setField
public CommandsOuterClass.CreateCommand.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<CommandsOuterClass.CreateCommand.Builder>
-
clearField
public CommandsOuterClass.CreateCommand.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.CreateCommand.Builder>
-
clearOneof
public CommandsOuterClass.CreateCommand.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.CreateCommand.Builder>
-
setRepeatedField
public CommandsOuterClass.CreateCommand.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<CommandsOuterClass.CreateCommand.Builder>
-
addRepeatedField
public CommandsOuterClass.CreateCommand.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<CommandsOuterClass.CreateCommand.Builder>
-
mergeFrom
public CommandsOuterClass.CreateCommand.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<CommandsOuterClass.CreateCommand.Builder>
-
mergeFrom
public CommandsOuterClass.CreateCommand.Builder mergeFrom(CommandsOuterClass.CreateCommand other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.CreateCommand.Builder>
-
mergeFrom
public CommandsOuterClass.CreateCommand.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<CommandsOuterClass.CreateCommand.Builder>
- Throws:
java.io.IOException
-
hasTemplateId
public boolean hasTemplateId()
The template of contract the client wants to create. Required
.com.daml.ledger.api.v1.Identifier template_id = 1 [json_name = "templateId"];
- Specified by:
hasTemplateId
in interfaceCommandsOuterClass.CreateCommandOrBuilder
- Returns:
- Whether the templateId field is set.
-
getTemplateId
public ValueOuterClass.Identifier getTemplateId()
The template of contract the client wants to create. Required
.com.daml.ledger.api.v1.Identifier template_id = 1 [json_name = "templateId"];
- Specified by:
getTemplateId
in interfaceCommandsOuterClass.CreateCommandOrBuilder
- Returns:
- The templateId.
-
setTemplateId
public CommandsOuterClass.CreateCommand.Builder setTemplateId(ValueOuterClass.Identifier value)
The template of contract the client wants to create. Required
.com.daml.ledger.api.v1.Identifier template_id = 1 [json_name = "templateId"];
-
setTemplateId
public CommandsOuterClass.CreateCommand.Builder setTemplateId(ValueOuterClass.Identifier.Builder builderForValue)
The template of contract the client wants to create. Required
.com.daml.ledger.api.v1.Identifier template_id = 1 [json_name = "templateId"];
-
mergeTemplateId
public CommandsOuterClass.CreateCommand.Builder mergeTemplateId(ValueOuterClass.Identifier value)
The template of contract the client wants to create. Required
.com.daml.ledger.api.v1.Identifier template_id = 1 [json_name = "templateId"];
-
clearTemplateId
public CommandsOuterClass.CreateCommand.Builder clearTemplateId()
The template of contract the client wants to create. Required
.com.daml.ledger.api.v1.Identifier template_id = 1 [json_name = "templateId"];
-
getTemplateIdBuilder
public ValueOuterClass.Identifier.Builder getTemplateIdBuilder()
The template of contract the client wants to create. Required
.com.daml.ledger.api.v1.Identifier template_id = 1 [json_name = "templateId"];
-
getTemplateIdOrBuilder
public ValueOuterClass.IdentifierOrBuilder getTemplateIdOrBuilder()
The template of contract the client wants to create. Required
.com.daml.ledger.api.v1.Identifier template_id = 1 [json_name = "templateId"];
- Specified by:
getTemplateIdOrBuilder
in interfaceCommandsOuterClass.CreateCommandOrBuilder
-
hasCreateArguments
public boolean hasCreateArguments()
The arguments required for creating a contract from this template. Required
.com.daml.ledger.api.v1.Record create_arguments = 2 [json_name = "createArguments"];
- Specified by:
hasCreateArguments
in interfaceCommandsOuterClass.CreateCommandOrBuilder
- Returns:
- Whether the createArguments field is set.
-
getCreateArguments
public ValueOuterClass.Record getCreateArguments()
The arguments required for creating a contract from this template. Required
.com.daml.ledger.api.v1.Record create_arguments = 2 [json_name = "createArguments"];
- Specified by:
getCreateArguments
in interfaceCommandsOuterClass.CreateCommandOrBuilder
- Returns:
- The createArguments.
-
setCreateArguments
public CommandsOuterClass.CreateCommand.Builder setCreateArguments(ValueOuterClass.Record value)
The arguments required for creating a contract from this template. Required
.com.daml.ledger.api.v1.Record create_arguments = 2 [json_name = "createArguments"];
-
setCreateArguments
public CommandsOuterClass.CreateCommand.Builder setCreateArguments(ValueOuterClass.Record.Builder builderForValue)
The arguments required for creating a contract from this template. Required
.com.daml.ledger.api.v1.Record create_arguments = 2 [json_name = "createArguments"];
-
mergeCreateArguments
public CommandsOuterClass.CreateCommand.Builder mergeCreateArguments(ValueOuterClass.Record value)
The arguments required for creating a contract from this template. Required
.com.daml.ledger.api.v1.Record create_arguments = 2 [json_name = "createArguments"];
-
clearCreateArguments
public CommandsOuterClass.CreateCommand.Builder clearCreateArguments()
The arguments required for creating a contract from this template. Required
.com.daml.ledger.api.v1.Record create_arguments = 2 [json_name = "createArguments"];
-
getCreateArgumentsBuilder
public ValueOuterClass.Record.Builder getCreateArgumentsBuilder()
The arguments required for creating a contract from this template. Required
.com.daml.ledger.api.v1.Record create_arguments = 2 [json_name = "createArguments"];
-
getCreateArgumentsOrBuilder
public ValueOuterClass.RecordOrBuilder getCreateArgumentsOrBuilder()
The arguments required for creating a contract from this template. Required
.com.daml.ledger.api.v1.Record create_arguments = 2 [json_name = "createArguments"];
- Specified by:
getCreateArgumentsOrBuilder
in interfaceCommandsOuterClass.CreateCommandOrBuilder
-
setUnknownFields
public final CommandsOuterClass.CreateCommand.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.CreateCommand.Builder>
-
mergeUnknownFields
public final CommandsOuterClass.CreateCommand.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.CreateCommand.Builder>
-
-