Package com.daml.ledger.api.v1
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.v1.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
,java.lang.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 typecom.daml.ledger.api.v1.InterfaceFilter
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TransactionFilterOuterClass.InterfaceFilter.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
TransactionFilterOuterClass.InterfaceFilter
build()
TransactionFilterOuterClass.InterfaceFilter
buildPartial()
TransactionFilterOuterClass.InterfaceFilter.Builder
clear()
TransactionFilterOuterClass.InterfaceFilter.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
TransactionFilterOuterClass.InterfaceFilter.Builder
clearIncludeCreatedEventBlob()
Whether to include a ``created_event_blob`` in the returned ``CreatedEvent``.TransactionFilterOuterClass.InterfaceFilter.Builder
clearIncludeInterfaceView()
Whether to include the interface view on the contract in the returned ``CreatedEvent``.TransactionFilterOuterClass.InterfaceFilter.Builder
clearInterfaceId()
The interface that a matching contract must implement.TransactionFilterOuterClass.InterfaceFilter.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
TransactionFilterOuterClass.InterfaceFilter.Builder
clone()
TransactionFilterOuterClass.InterfaceFilter
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
boolean
getIncludeCreatedEventBlob()
Whether to include a ``created_event_blob`` in the returned ``CreatedEvent``.boolean
getIncludeInterfaceView()
Whether to include the interface view on the contract in the returned ``CreatedEvent``.ValueOuterClass.Identifier
getInterfaceId()
The interface that a matching contract must implement.ValueOuterClass.Identifier.Builder
getInterfaceIdBuilder()
The interface that a matching contract must implement.ValueOuterClass.IdentifierOrBuilder
getInterfaceIdOrBuilder()
The interface that a matching contract must implement.boolean
hasInterfaceId()
The interface that a matching contract must implement.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
TransactionFilterOuterClass.InterfaceFilter.Builder
mergeFrom(TransactionFilterOuterClass.InterfaceFilter other)
TransactionFilterOuterClass.InterfaceFilter.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
TransactionFilterOuterClass.InterfaceFilter.Builder
mergeFrom(com.google.protobuf.Message other)
TransactionFilterOuterClass.InterfaceFilter.Builder
mergeInterfaceId(ValueOuterClass.Identifier value)
The interface that a matching contract must implement.TransactionFilterOuterClass.InterfaceFilter.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
TransactionFilterOuterClass.InterfaceFilter.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
TransactionFilterOuterClass.InterfaceFilter.Builder
setIncludeCreatedEventBlob(boolean value)
Whether to include a ``created_event_blob`` in the returned ``CreatedEvent``.TransactionFilterOuterClass.InterfaceFilter.Builder
setIncludeInterfaceView(boolean value)
Whether to include the interface view on the contract in the returned ``CreatedEvent``.TransactionFilterOuterClass.InterfaceFilter.Builder
setInterfaceId(ValueOuterClass.Identifier value)
The interface that a matching contract must implement.TransactionFilterOuterClass.InterfaceFilter.Builder
setInterfaceId(ValueOuterClass.Identifier.Builder builderForValue)
The interface that a matching contract must implement.TransactionFilterOuterClass.InterfaceFilter.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
TransactionFilterOuterClass.InterfaceFilter.Builder
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, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionFilterOuterClass.InterfaceFilter.Builder>
-
clear
public TransactionFilterOuterClass.InterfaceFilter.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionFilterOuterClass.InterfaceFilter.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionFilterOuterClass.InterfaceFilter.Builder>
-
getDefaultInstanceForType
public TransactionFilterOuterClass.InterfaceFilter getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public TransactionFilterOuterClass.InterfaceFilter build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public TransactionFilterOuterClass.InterfaceFilter buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public TransactionFilterOuterClass.InterfaceFilter.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionFilterOuterClass.InterfaceFilter.Builder>
-
setField
public TransactionFilterOuterClass.InterfaceFilter.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionFilterOuterClass.InterfaceFilter.Builder>
-
clearField
public TransactionFilterOuterClass.InterfaceFilter.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionFilterOuterClass.InterfaceFilter.Builder>
-
clearOneof
public TransactionFilterOuterClass.InterfaceFilter.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionFilterOuterClass.InterfaceFilter.Builder>
-
setRepeatedField
public TransactionFilterOuterClass.InterfaceFilter.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionFilterOuterClass.InterfaceFilter.Builder>
-
addRepeatedField
public TransactionFilterOuterClass.InterfaceFilter.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionFilterOuterClass.InterfaceFilter.Builder>
-
mergeFrom
public TransactionFilterOuterClass.InterfaceFilter.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<TransactionFilterOuterClass.InterfaceFilter.Builder>
-
mergeFrom
public TransactionFilterOuterClass.InterfaceFilter.Builder mergeFrom(TransactionFilterOuterClass.InterfaceFilter other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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 java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<TransactionFilterOuterClass.InterfaceFilter.Builder>
- Throws:
java.io.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. Required
.com.daml.ledger.api.v1.Identifier interface_id = 1 [json_name = "interfaceId"];
- Specified by:
hasInterfaceId
in interfaceTransactionFilterOuterClass.InterfaceFilterOrBuilder
- Returns:
- Whether the interfaceId field is set.
-
getInterfaceId
public ValueOuterClass.Identifier 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. Required
.com.daml.ledger.api.v1.Identifier interface_id = 1 [json_name = "interfaceId"];
- Specified by:
getInterfaceId
in 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. Required
.com.daml.ledger.api.v1.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. Required
.com.daml.ledger.api.v1.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. Required
.com.daml.ledger.api.v1.Identifier interface_id = 1 [json_name = "interfaceId"];
-
clearInterfaceId
public TransactionFilterOuterClass.InterfaceFilter.Builder 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. Required
.com.daml.ledger.api.v1.Identifier interface_id = 1 [json_name = "interfaceId"];
-
getInterfaceIdBuilder
public ValueOuterClass.Identifier.Builder 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. Required
.com.daml.ledger.api.v1.Identifier interface_id = 1 [json_name = "interfaceId"];
-
getInterfaceIdOrBuilder
public ValueOuterClass.IdentifierOrBuilder 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. Required
.com.daml.ledger.api.v1.Identifier interface_id = 1 [json_name = "interfaceId"];
- Specified by:
getInterfaceIdOrBuilder
in 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:
getIncludeInterfaceView
in interfaceTransactionFilterOuterClass.InterfaceFilterOrBuilder
- Returns:
- The includeInterfaceView.
-
setIncludeInterfaceView
public TransactionFilterOuterClass.InterfaceFilter.Builder setIncludeInterfaceView(boolean value)
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
public TransactionFilterOuterClass.InterfaceFilter.Builder 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 = 4 [json_name = "includeCreatedEventBlob"];
- Specified by:
getIncludeCreatedEventBlob
in 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 = 4 [json_name = "includeCreatedEventBlob"];
- Parameters:
value
- The includeCreatedEventBlob to set.- Returns:
- This builder for chaining.
-
clearIncludeCreatedEventBlob
public TransactionFilterOuterClass.InterfaceFilter.Builder 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 = 4 [json_name = "includeCreatedEventBlob"];
- Returns:
- This builder for chaining.
-
setUnknownFields
public final TransactionFilterOuterClass.InterfaceFilter.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionFilterOuterClass.InterfaceFilter.Builder>
-
mergeUnknownFields
public final TransactionFilterOuterClass.InterfaceFilter.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionFilterOuterClass.InterfaceFilter.Builder>
-
-