Class InteractiveSubmissionDataOuterClass.QueryByKey
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.daml.ledger.api.v2.interactive.transaction.v1.InteractiveSubmissionDataOuterClass.QueryByKey
- All Implemented Interfaces:
InteractiveSubmissionDataOuterClass.QueryByKeyOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
InteractiveSubmissionDataOuterClass
public static final class InteractiveSubmissionDataOuterClass.QueryByKey
extends com.google.protobuf.GeneratedMessageV3
implements InteractiveSubmissionDataOuterClass.QueryByKeyOrBuilder
Protobuf type
com.daml.ledger.api.v2.interactive.transaction.v1.QueryByKey- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typecom.daml.ledger.api.v2.interactive.transaction.v1.QueryByKeyNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic final com.google.protobuf.Descriptors.DescriptorbooleanRequiredgetKey()key to query for Requiredkey to query for RequiredSpecific LF serialization version of the node Requiredcom.google.protobuf.ByteStringSpecific LF serialization version of the node RequiredRequiredcom.google.protobuf.ByteStringRequiredcom.google.protobuf.Parser<InteractiveSubmissionDataOuterClass.QueryByKey> getResult(int index) Result of the query: list of contract Ids matching the query Optional: can be emptycom.google.protobuf.ByteStringgetResultBytes(int index) Result of the query: list of contract Ids matching the query Optional: can be emptyintResult of the query: list of contract Ids matching the query Optional: can be emptycom.google.protobuf.ProtocolStringListResult of the query: list of contract Ids matching the query Optional: can be emptyintcom.daml.ledger.api.v2.ValueOuterClass.IdentifierThe identifier uses the package-id reference format.com.daml.ledger.api.v2.ValueOuterClass.IdentifierOrBuilderThe identifier uses the package-id reference format.inthashCode()booleanhasKey()key to query for RequiredbooleanThe identifier uses the package-id reference format.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<InteractiveSubmissionDataOuterClass.QueryByKey> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
LF_VERSION_FIELD_NUMBER
public static final int LF_VERSION_FIELD_NUMBER- See Also:
-
PACKAGE_NAME_FIELD_NUMBER
public static final int PACKAGE_NAME_FIELD_NUMBER- See Also:
-
TEMPLATE_ID_FIELD_NUMBER
public static final int TEMPLATE_ID_FIELD_NUMBER- See Also:
-
EXHAUSTIVE_FIELD_NUMBER
public static final int EXHAUSTIVE_FIELD_NUMBER- See Also:
-
KEY_FIELD_NUMBER
public static final int KEY_FIELD_NUMBER- See Also:
-
RESULT_FIELD_NUMBER
public static final int RESULT_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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
-
getLfVersion
Specific LF serialization version of the node Required
string lf_version = 1;- Specified by:
getLfVersionin interfaceInteractiveSubmissionDataOuterClass.QueryByKeyOrBuilder- Returns:
- The lfVersion.
-
getLfVersionBytes
public com.google.protobuf.ByteString getLfVersionBytes()Specific LF serialization version of the node Required
string lf_version = 1;- Specified by:
getLfVersionBytesin interfaceInteractiveSubmissionDataOuterClass.QueryByKeyOrBuilder- Returns:
- The bytes for lfVersion.
-
getPackageName
Required
string package_name = 2;- Specified by:
getPackageNamein interfaceInteractiveSubmissionDataOuterClass.QueryByKeyOrBuilder- Returns:
- The packageName.
-
getPackageNameBytes
public com.google.protobuf.ByteString getPackageNameBytes()Required
string package_name = 2;- Specified by:
getPackageNameBytesin interfaceInteractiveSubmissionDataOuterClass.QueryByKeyOrBuilder- Returns:
- The bytes for packageName.
-
hasTemplateId
public boolean hasTemplateId()The identifier uses the package-id reference format. Required
.com.daml.ledger.api.v2.Identifier template_id = 3;- Specified by:
hasTemplateIdin interfaceInteractiveSubmissionDataOuterClass.QueryByKeyOrBuilder- Returns:
- Whether the templateId field is set.
-
getTemplateId
public com.daml.ledger.api.v2.ValueOuterClass.Identifier getTemplateId()The identifier uses the package-id reference format. Required
.com.daml.ledger.api.v2.Identifier template_id = 3;- Specified by:
getTemplateIdin interfaceInteractiveSubmissionDataOuterClass.QueryByKeyOrBuilder- Returns:
- The templateId.
-
getTemplateIdOrBuilder
public com.daml.ledger.api.v2.ValueOuterClass.IdentifierOrBuilder getTemplateIdOrBuilder()The identifier uses the package-id reference format. Required
.com.daml.ledger.api.v2.Identifier template_id = 3;- Specified by:
getTemplateIdOrBuilderin interfaceInteractiveSubmissionDataOuterClass.QueryByKeyOrBuilder
-
getExhaustive
public boolean getExhaustive()Required
bool exhaustive = 4;- Specified by:
getExhaustivein interfaceInteractiveSubmissionDataOuterClass.QueryByKeyOrBuilder- Returns:
- The exhaustive.
-
hasKey
public boolean hasKey()key to query for Required
.com.daml.ledger.api.v2.interactive.GlobalKeyWithMaintainers key = 5;- Specified by:
hasKeyin interfaceInteractiveSubmissionDataOuterClass.QueryByKeyOrBuilder- Returns:
- Whether the key field is set.
-
getKey
key to query for Required
.com.daml.ledger.api.v2.interactive.GlobalKeyWithMaintainers key = 5;- Specified by:
getKeyin interfaceInteractiveSubmissionDataOuterClass.QueryByKeyOrBuilder- Returns:
- The key.
-
getKeyOrBuilder
public InteractiveSubmissionCommonDataOuterClass.GlobalKeyWithMaintainersOrBuilder getKeyOrBuilder()key to query for Required
.com.daml.ledger.api.v2.interactive.GlobalKeyWithMaintainers key = 5;- Specified by:
getKeyOrBuilderin interfaceInteractiveSubmissionDataOuterClass.QueryByKeyOrBuilder
-
getResultList
public com.google.protobuf.ProtocolStringList getResultList()Result of the query: list of contract Ids matching the query Optional: can be empty
repeated string result = 6;- Specified by:
getResultListin interfaceInteractiveSubmissionDataOuterClass.QueryByKeyOrBuilder- Returns:
- A list containing the result.
-
getResultCount
public int getResultCount()Result of the query: list of contract Ids matching the query Optional: can be empty
repeated string result = 6;- Specified by:
getResultCountin interfaceInteractiveSubmissionDataOuterClass.QueryByKeyOrBuilder- Returns:
- The count of result.
-
getResult
Result of the query: list of contract Ids matching the query Optional: can be empty
repeated string result = 6;- Specified by:
getResultin interfaceInteractiveSubmissionDataOuterClass.QueryByKeyOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The result at the given index.
-
getResultBytes
public com.google.protobuf.ByteString getResultBytes(int index) Result of the query: list of contract Ids matching the query Optional: can be empty
repeated string result = 6;- Specified by:
getResultBytesin interfaceInteractiveSubmissionDataOuterClass.QueryByKeyOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the result at the given index.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static InteractiveSubmissionDataOuterClass.QueryByKey parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InteractiveSubmissionDataOuterClass.QueryByKey parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InteractiveSubmissionDataOuterClass.QueryByKey parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InteractiveSubmissionDataOuterClass.QueryByKey parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InteractiveSubmissionDataOuterClass.QueryByKey parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InteractiveSubmissionDataOuterClass.QueryByKey parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InteractiveSubmissionDataOuterClass.QueryByKey parseFrom(InputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static InteractiveSubmissionDataOuterClass.QueryByKey parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static InteractiveSubmissionDataOuterClass.QueryByKey parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static InteractiveSubmissionDataOuterClass.QueryByKey parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static InteractiveSubmissionDataOuterClass.QueryByKey parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static InteractiveSubmissionDataOuterClass.QueryByKey parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static InteractiveSubmissionDataOuterClass.QueryByKey.Builder newBuilder(InteractiveSubmissionDataOuterClass.QueryByKey prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected InteractiveSubmissionDataOuterClass.QueryByKey.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
public com.google.protobuf.Parser<InteractiveSubmissionDataOuterClass.QueryByKey> getParserForType()- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-