Package com.daml.ledger.api.v2
Class ContractServiceOuterClass.GetContractRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<ContractServiceOuterClass.GetContractRequest.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<ContractServiceOuterClass.GetContractRequest.Builder>
com.daml.ledger.api.v2.ContractServiceOuterClass.GetContractRequest.Builder
- All Implemented Interfaces:
ContractServiceOuterClass.GetContractRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
ContractServiceOuterClass.GetContractRequest
public static final class ContractServiceOuterClass.GetContractRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ContractServiceOuterClass.GetContractRequest.Builder>
implements ContractServiceOuterClass.GetContractRequestOrBuilder
Protobuf type
com.daml.ledger.api.v2.GetContractRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAllQueryingParties(Iterable<String> values) The list of querying parties The stakeholders of the referenced contract must have an intersection with any of these parties to return the result.addQueryingParties(String value) The list of querying parties The stakeholders of the referenced contract must have an intersection with any of these parties to return the result.addQueryingPartiesBytes(com.google.protobuf.ByteString value) The list of querying parties The stakeholders of the referenced contract must have an intersection with any of these parties to return the result.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()The ID of the contract.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The list of querying parties The stakeholders of the referenced contract must have an intersection with any of these parties to return the result.clone()The ID of the contract.com.google.protobuf.ByteStringThe ID of the contract.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetQueryingParties(int index) The list of querying parties The stakeholders of the referenced contract must have an intersection with any of these parties to return the result.com.google.protobuf.ByteStringgetQueryingPartiesBytes(int index) The list of querying parties The stakeholders of the referenced contract must have an intersection with any of these parties to return the result.intThe list of querying parties The stakeholders of the referenced contract must have an intersection with any of these parties to return the result.com.google.protobuf.ProtocolStringListThe list of querying parties The stakeholders of the referenced contract must have an intersection with any of these parties to return the result.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setContractId(String value) The ID of the contract.setContractIdBytes(com.google.protobuf.ByteString value) The ID of the contract.setQueryingParties(int index, String value) The list of querying parties The stakeholders of the referenced contract must have an intersection with any of these parties to return the result.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) 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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ContractServiceOuterClass.GetContractRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ContractServiceOuterClass.GetContractRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ContractServiceOuterClass.GetContractRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ContractServiceOuterClass.GetContractRequest.Builder>
-
setField
public ContractServiceOuterClass.GetContractRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ContractServiceOuterClass.GetContractRequest.Builder>
-
clearField
public ContractServiceOuterClass.GetContractRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ContractServiceOuterClass.GetContractRequest.Builder>
-
clearOneof
public ContractServiceOuterClass.GetContractRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ContractServiceOuterClass.GetContractRequest.Builder>
-
setRepeatedField
public ContractServiceOuterClass.GetContractRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ContractServiceOuterClass.GetContractRequest.Builder>
-
addRepeatedField
public ContractServiceOuterClass.GetContractRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ContractServiceOuterClass.GetContractRequest.Builder>
-
mergeFrom
public ContractServiceOuterClass.GetContractRequest.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ContractServiceOuterClass.GetContractRequest.Builder>
-
mergeFrom
public ContractServiceOuterClass.GetContractRequest.Builder mergeFrom(ContractServiceOuterClass.GetContractRequest other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ContractServiceOuterClass.GetContractRequest.Builder>
-
mergeFrom
public ContractServiceOuterClass.GetContractRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ContractServiceOuterClass.GetContractRequest.Builder>- Throws:
IOException
-
getContractId
The ID of the contract. Must be a valid LedgerString (as described in ``value.proto``). Required
string contract_id = 1;- Specified by:
getContractIdin interfaceContractServiceOuterClass.GetContractRequestOrBuilder- Returns:
- The contractId.
-
getContractIdBytes
public com.google.protobuf.ByteString getContractIdBytes()The ID of the contract. Must be a valid LedgerString (as described in ``value.proto``). Required
string contract_id = 1;- Specified by:
getContractIdBytesin interfaceContractServiceOuterClass.GetContractRequestOrBuilder- Returns:
- The bytes for contractId.
-
setContractId
The ID of the contract. Must be a valid LedgerString (as described in ``value.proto``). Required
string contract_id = 1;- Parameters:
value- The contractId to set.- Returns:
- This builder for chaining.
-
clearContractId
The ID of the contract. Must be a valid LedgerString (as described in ``value.proto``). Required
string contract_id = 1;- Returns:
- This builder for chaining.
-
setContractIdBytes
public ContractServiceOuterClass.GetContractRequest.Builder setContractIdBytes(com.google.protobuf.ByteString value) The ID of the contract. Must be a valid LedgerString (as described in ``value.proto``). Required
string contract_id = 1;- Parameters:
value- The bytes for contractId to set.- Returns:
- This builder for chaining.
-
getQueryingPartiesList
public com.google.protobuf.ProtocolStringList getQueryingPartiesList()The list of querying parties The stakeholders of the referenced contract must have an intersection with any of these parties to return the result. If no querying_parties specified, all possible contracts could be returned. Optional: can be empty
repeated string querying_parties = 2;- Specified by:
getQueryingPartiesListin interfaceContractServiceOuterClass.GetContractRequestOrBuilder- Returns:
- A list containing the queryingParties.
-
getQueryingPartiesCount
public int getQueryingPartiesCount()The list of querying parties The stakeholders of the referenced contract must have an intersection with any of these parties to return the result. If no querying_parties specified, all possible contracts could be returned. Optional: can be empty
repeated string querying_parties = 2;- Specified by:
getQueryingPartiesCountin interfaceContractServiceOuterClass.GetContractRequestOrBuilder- Returns:
- The count of queryingParties.
-
getQueryingParties
The list of querying parties The stakeholders of the referenced contract must have an intersection with any of these parties to return the result. If no querying_parties specified, all possible contracts could be returned. Optional: can be empty
repeated string querying_parties = 2;- Specified by:
getQueryingPartiesin interfaceContractServiceOuterClass.GetContractRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The queryingParties at the given index.
-
getQueryingPartiesBytes
public com.google.protobuf.ByteString getQueryingPartiesBytes(int index) The list of querying parties The stakeholders of the referenced contract must have an intersection with any of these parties to return the result. If no querying_parties specified, all possible contracts could be returned. Optional: can be empty
repeated string querying_parties = 2;- Specified by:
getQueryingPartiesBytesin interfaceContractServiceOuterClass.GetContractRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the queryingParties at the given index.
-
setQueryingParties
public ContractServiceOuterClass.GetContractRequest.Builder setQueryingParties(int index, String value) The list of querying parties The stakeholders of the referenced contract must have an intersection with any of these parties to return the result. If no querying_parties specified, all possible contracts could be returned. Optional: can be empty
repeated string querying_parties = 2;- Parameters:
index- The index to set the value at.value- The queryingParties to set.- Returns:
- This builder for chaining.
-
addQueryingParties
The list of querying parties The stakeholders of the referenced contract must have an intersection with any of these parties to return the result. If no querying_parties specified, all possible contracts could be returned. Optional: can be empty
repeated string querying_parties = 2;- Parameters:
value- The queryingParties to add.- Returns:
- This builder for chaining.
-
addAllQueryingParties
public ContractServiceOuterClass.GetContractRequest.Builder addAllQueryingParties(Iterable<String> values) The list of querying parties The stakeholders of the referenced contract must have an intersection with any of these parties to return the result. If no querying_parties specified, all possible contracts could be returned. Optional: can be empty
repeated string querying_parties = 2;- Parameters:
values- The queryingParties to add.- Returns:
- This builder for chaining.
-
clearQueryingParties
The list of querying parties The stakeholders of the referenced contract must have an intersection with any of these parties to return the result. If no querying_parties specified, all possible contracts could be returned. Optional: can be empty
repeated string querying_parties = 2;- Returns:
- This builder for chaining.
-
addQueryingPartiesBytes
public ContractServiceOuterClass.GetContractRequest.Builder addQueryingPartiesBytes(com.google.protobuf.ByteString value) The list of querying parties The stakeholders of the referenced contract must have an intersection with any of these parties to return the result. If no querying_parties specified, all possible contracts could be returned. Optional: can be empty
repeated string querying_parties = 2;- Parameters:
value- The bytes of the queryingParties to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ContractServiceOuterClass.GetContractRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ContractServiceOuterClass.GetContractRequest.Builder>
-
mergeUnknownFields
public final ContractServiceOuterClass.GetContractRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ContractServiceOuterClass.GetContractRequest.Builder>
-