Package com.daml.ledger.api.v2
Class TransactionFilterOuterClass.InterfaceFilter.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<TransactionFilterOuterClass.InterfaceFilter.Builder>
com.daml.ledger.api.v2.TransactionFilterOuterClass.InterfaceFilter.Builder
- All Implemented Interfaces:
TransactionFilterOuterClass.InterfaceFilterOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- TransactionFilterOuterClass.InterfaceFilter
public static final class TransactionFilterOuterClass.InterfaceFilter.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<TransactionFilterOuterClass.InterfaceFilter.Builder>
implements TransactionFilterOuterClass.InterfaceFilterOrBuilder
This filter matches contracts that implement a specific interface.Protobuf type
com.daml.ledger.api.v2.InterfaceFilter-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Whether to include a ``created_event_blob`` in the returned ``CreatedEvent``.Whether to include the interface view on the contract in the returned ``CreatedEvent``.The interface that a matching contract must implement.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanWhether to include a ``created_event_blob`` in the returned ``CreatedEvent``.booleanWhether to include the interface view on the contract in the returned ``CreatedEvent``.The interface that a matching contract must implement.The interface that a matching contract must implement.The interface that a matching contract must implement.booleanThe interface that a matching contract must implement.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) The interface that a matching contract must implement.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setIncludeCreatedEventBlob(boolean value) Whether to include a ``created_event_blob`` in the returned ``CreatedEvent``.setIncludeInterfaceView(boolean value) Whether to include the interface view on the contract in the returned ``CreatedEvent``.The interface that a matching contract must implement.setInterfaceId(ValueOuterClass.Identifier.Builder builderForValue) The interface that a matching contract must implement.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<TransactionFilterOuterClass.InterfaceFilter.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<TransactionFilterOuterClass.InterfaceFilter.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<TransactionFilterOuterClass.InterfaceFilter.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<TransactionFilterOuterClass.InterfaceFilter.Builder>
-
setField
public TransactionFilterOuterClass.InterfaceFilter.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<TransactionFilterOuterClass.InterfaceFilter.Builder>
-
clearField
public TransactionFilterOuterClass.InterfaceFilter.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionFilterOuterClass.InterfaceFilter.Builder>
-
clearOneof
public TransactionFilterOuterClass.InterfaceFilter.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionFilterOuterClass.InterfaceFilter.Builder>
-
setRepeatedField
public TransactionFilterOuterClass.InterfaceFilter.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<TransactionFilterOuterClass.InterfaceFilter.Builder>
-
addRepeatedField
public TransactionFilterOuterClass.InterfaceFilter.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<TransactionFilterOuterClass.InterfaceFilter.Builder>
-
mergeFrom
public TransactionFilterOuterClass.InterfaceFilter.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TransactionFilterOuterClass.InterfaceFilter.Builder>
-
mergeFrom
public TransactionFilterOuterClass.InterfaceFilter.Builder mergeFrom(TransactionFilterOuterClass.InterfaceFilter other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionFilterOuterClass.InterfaceFilter.Builder>
-
mergeFrom
public TransactionFilterOuterClass.InterfaceFilter.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<TransactionFilterOuterClass.InterfaceFilter.Builder>- Throws:
IOException
-
hasInterfaceId
public boolean hasInterfaceId()The interface that a matching contract must implement. The ``interface_id`` needs to be valid: corresponding interface should be defined in one of the available packages at the time of the query. Both package-name and package-id reference formats for the identifier are supported. Note: The package-id reference identifier format is deprecated. We plan to end support for this format in version 3.4. Required
.com.daml.ledger.api.v2.Identifier interface_id = 1 [json_name = "interfaceId"];- Specified by:
hasInterfaceIdin interfaceTransactionFilterOuterClass.InterfaceFilterOrBuilder- Returns:
- Whether the interfaceId field is set.
-
getInterfaceId
The interface that a matching contract must implement. The ``interface_id`` needs to be valid: corresponding interface should be defined in one of the available packages at the time of the query. Both package-name and package-id reference formats for the identifier are supported. Note: The package-id reference identifier format is deprecated. We plan to end support for this format in version 3.4. Required
.com.daml.ledger.api.v2.Identifier interface_id = 1 [json_name = "interfaceId"];- Specified by:
getInterfaceIdin interfaceTransactionFilterOuterClass.InterfaceFilterOrBuilder- Returns:
- The interfaceId.
-
setInterfaceId
public TransactionFilterOuterClass.InterfaceFilter.Builder setInterfaceId(ValueOuterClass.Identifier value) The interface that a matching contract must implement. The ``interface_id`` needs to be valid: corresponding interface should be defined in one of the available packages at the time of the query. Both package-name and package-id reference formats for the identifier are supported. Note: The package-id reference identifier format is deprecated. We plan to end support for this format in version 3.4. Required
.com.daml.ledger.api.v2.Identifier interface_id = 1 [json_name = "interfaceId"]; -
setInterfaceId
public TransactionFilterOuterClass.InterfaceFilter.Builder setInterfaceId(ValueOuterClass.Identifier.Builder builderForValue) The interface that a matching contract must implement. The ``interface_id`` needs to be valid: corresponding interface should be defined in one of the available packages at the time of the query. Both package-name and package-id reference formats for the identifier are supported. Note: The package-id reference identifier format is deprecated. We plan to end support for this format in version 3.4. Required
.com.daml.ledger.api.v2.Identifier interface_id = 1 [json_name = "interfaceId"]; -
mergeInterfaceId
public TransactionFilterOuterClass.InterfaceFilter.Builder mergeInterfaceId(ValueOuterClass.Identifier value) The interface that a matching contract must implement. The ``interface_id`` needs to be valid: corresponding interface should be defined in one of the available packages at the time of the query. Both package-name and package-id reference formats for the identifier are supported. Note: The package-id reference identifier format is deprecated. We plan to end support for this format in version 3.4. Required
.com.daml.ledger.api.v2.Identifier interface_id = 1 [json_name = "interfaceId"]; -
clearInterfaceId
The interface that a matching contract must implement. The ``interface_id`` needs to be valid: corresponding interface should be defined in one of the available packages at the time of the query. Both package-name and package-id reference formats for the identifier are supported. Note: The package-id reference identifier format is deprecated. We plan to end support for this format in version 3.4. Required
.com.daml.ledger.api.v2.Identifier interface_id = 1 [json_name = "interfaceId"]; -
getInterfaceIdBuilder
The interface that a matching contract must implement. The ``interface_id`` needs to be valid: corresponding interface should be defined in one of the available packages at the time of the query. Both package-name and package-id reference formats for the identifier are supported. Note: The package-id reference identifier format is deprecated. We plan to end support for this format in version 3.4. Required
.com.daml.ledger.api.v2.Identifier interface_id = 1 [json_name = "interfaceId"]; -
getInterfaceIdOrBuilder
The interface that a matching contract must implement. The ``interface_id`` needs to be valid: corresponding interface should be defined in one of the available packages at the time of the query. Both package-name and package-id reference formats for the identifier are supported. Note: The package-id reference identifier format is deprecated. We plan to end support for this format in version 3.4. Required
.com.daml.ledger.api.v2.Identifier interface_id = 1 [json_name = "interfaceId"];- Specified by:
getInterfaceIdOrBuilderin interfaceTransactionFilterOuterClass.InterfaceFilterOrBuilder
-
getIncludeInterfaceView
public boolean getIncludeInterfaceView()Whether to include the interface view on the contract in the returned ``CreatedEvent``. Use this to access contract data in a uniform manner in your API client. Optional
bool include_interface_view = 2 [json_name = "includeInterfaceView"];- Specified by:
getIncludeInterfaceViewin interfaceTransactionFilterOuterClass.InterfaceFilterOrBuilder- Returns:
- The includeInterfaceView.
-
setIncludeInterfaceView
Whether to include the interface view on the contract in the returned ``CreatedEvent``. Use this to access contract data in a uniform manner in your API client. Optional
bool include_interface_view = 2 [json_name = "includeInterfaceView"];- Parameters:
value- The includeInterfaceView to set.- Returns:
- This builder for chaining.
-
clearIncludeInterfaceView
Whether to include the interface view on the contract in the returned ``CreatedEvent``. Use this to access contract data in a uniform manner in your API client. Optional
bool include_interface_view = 2 [json_name = "includeInterfaceView"];- Returns:
- This builder for chaining.
-
getIncludeCreatedEventBlob
public boolean getIncludeCreatedEventBlob()Whether to include a ``created_event_blob`` in the returned ``CreatedEvent``. Use this to access the contract create event payload in your API client for submitting it as a disclosed contract with future commands. Optional
bool include_created_event_blob = 3 [json_name = "includeCreatedEventBlob"];- Specified by:
getIncludeCreatedEventBlobin interfaceTransactionFilterOuterClass.InterfaceFilterOrBuilder- Returns:
- The includeCreatedEventBlob.
-
setIncludeCreatedEventBlob
public TransactionFilterOuterClass.InterfaceFilter.Builder setIncludeCreatedEventBlob(boolean value) Whether to include a ``created_event_blob`` in the returned ``CreatedEvent``. Use this to access the contract create event payload in your API client for submitting it as a disclosed contract with future commands. Optional
bool include_created_event_blob = 3 [json_name = "includeCreatedEventBlob"];- Parameters:
value- The includeCreatedEventBlob to set.- Returns:
- This builder for chaining.
-
clearIncludeCreatedEventBlob
Whether to include a ``created_event_blob`` in the returned ``CreatedEvent``. Use this to access the contract create event payload in your API client for submitting it as a disclosed contract with future commands. Optional
bool include_created_event_blob = 3 [json_name = "includeCreatedEventBlob"];- Returns:
- This builder for chaining.
-
setUnknownFields
public final TransactionFilterOuterClass.InterfaceFilter.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionFilterOuterClass.InterfaceFilter.Builder>
-
mergeUnknownFields
public final TransactionFilterOuterClass.InterfaceFilter.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionFilterOuterClass.InterfaceFilter.Builder>
-