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 type
com.daml.ledger.api.v1.CreateCommand| Modifier and Type | Method and 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(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CommandsOuterClass.CreateCommand.Builder |
mergeFrom(CommandsOuterClass.CreateCommand other) |
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.Builder builderForValue)
The arguments required for creating a contract from this template.
|
CommandsOuterClass.CreateCommand.Builder |
setCreateArguments(ValueOuterClass.Record value)
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.Builder builderForValue)
The template of contract the client wants to create.
|
CommandsOuterClass.CreateCommand.Builder |
setTemplateId(ValueOuterClass.Identifier value)
The template of contract the client wants to create.
|
CommandsOuterClass.CreateCommand.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.CreateCommand.Builder>public CommandsOuterClass.CreateCommand.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.CreateCommand.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.CreateCommand.Builder>public CommandsOuterClass.CreateCommand getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CommandsOuterClass.CreateCommand build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CommandsOuterClass.CreateCommand buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CommandsOuterClass.CreateCommand.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.CreateCommand.Builder>public CommandsOuterClass.CreateCommand.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.CreateCommand.Builder>public CommandsOuterClass.CreateCommand.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.CreateCommand.Builder>public CommandsOuterClass.CreateCommand.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.CreateCommand.Builder>public CommandsOuterClass.CreateCommand.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.CreateCommand.Builder>public CommandsOuterClass.CreateCommand.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.CreateCommand.Builder>public CommandsOuterClass.CreateCommand.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CommandsOuterClass.CreateCommand.Builder>public CommandsOuterClass.CreateCommand.Builder mergeFrom(CommandsOuterClass.CreateCommand other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.CreateCommand.Builder>public CommandsOuterClass.CreateCommand.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CommandsOuterClass.CreateCommand.Builder>java.io.IOExceptionpublic boolean hasTemplateId()
The template of contract the client wants to create. Required
.com.daml.ledger.api.v1.Identifier template_id = 1 [json_name = "templateId"];hasTemplateId in interface CommandsOuterClass.CreateCommandOrBuilderpublic 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"];getTemplateId in interface CommandsOuterClass.CreateCommandOrBuilderpublic 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"];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"];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"];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"];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"];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"];getTemplateIdOrBuilder in interface CommandsOuterClass.CreateCommandOrBuilderpublic 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"];hasCreateArguments in interface CommandsOuterClass.CreateCommandOrBuilderpublic 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"];getCreateArguments in interface CommandsOuterClass.CreateCommandOrBuilderpublic 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"];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"];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"];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"];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"];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"];getCreateArgumentsOrBuilder in interface CommandsOuterClass.CreateCommandOrBuilderpublic final CommandsOuterClass.CreateCommand.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.CreateCommand.Builder>public final CommandsOuterClass.CreateCommand.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.CreateCommand.Builder>