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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public 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.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.CreateCommand.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.CreateCommand.Builder>
public CommandsOuterClass.CreateCommand getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public CommandsOuterClass.CreateCommand build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public CommandsOuterClass.CreateCommand buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public CommandsOuterClass.CreateCommand.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
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.Builder
setField
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.Builder
clearField
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.Builder
clearOneof
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.Builder
setRepeatedField
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.Builder
addRepeatedField
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.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<CommandsOuterClass.CreateCommand.Builder>
java.io.IOException
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"];
hasTemplateId
in interface CommandsOuterClass.CreateCommandOrBuilder
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"];
getTemplateId
in interface CommandsOuterClass.CreateCommandOrBuilder
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"];
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.CreateCommandOrBuilder
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"];
hasCreateArguments
in interface CommandsOuterClass.CreateCommandOrBuilder
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"];
getCreateArguments
in interface CommandsOuterClass.CreateCommandOrBuilder
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"];
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.CreateCommandOrBuilder
public final CommandsOuterClass.CreateCommand.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<CommandsOuterClass.CreateCommand.Builder>