Package com.daml.ledger.api.v1
Class ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder>
-
- com.daml.ledger.api.v1.ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder
-
- All Implemented Interfaces:
ActiveContractsServiceOuterClass.GetActiveContractsRequestOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- ActiveContractsServiceOuterClass.GetActiveContractsRequest
public static final class ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder> implements ActiveContractsServiceOuterClass.GetActiveContractsRequestOrBuilder
Protobuf typecom.daml.ledger.api.v1.GetActiveContractsRequest
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
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<ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder>
-
clear
public ActiveContractsServiceOuterClass.GetActiveContractsRequest.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<ActiveContractsServiceOuterClass.GetActiveContractsRequest.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<ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder>
-
getDefaultInstanceForType
public ActiveContractsServiceOuterClass.GetActiveContractsRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ActiveContractsServiceOuterClass.GetActiveContractsRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ActiveContractsServiceOuterClass.GetActiveContractsRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ActiveContractsServiceOuterClass.GetActiveContractsRequest.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<ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder>
-
setField
public ActiveContractsServiceOuterClass.GetActiveContractsRequest.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<ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder>
-
clearField
public ActiveContractsServiceOuterClass.GetActiveContractsRequest.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<ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder>
-
clearOneof
public ActiveContractsServiceOuterClass.GetActiveContractsRequest.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<ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder>
-
setRepeatedField
public ActiveContractsServiceOuterClass.GetActiveContractsRequest.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<ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder>
-
addRepeatedField
public ActiveContractsServiceOuterClass.GetActiveContractsRequest.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<ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder>
-
mergeFrom
public ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder>
-
mergeFrom
public ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder mergeFrom(ActiveContractsServiceOuterClass.GetActiveContractsRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder>
-
mergeFrom
public ActiveContractsServiceOuterClass.GetActiveContractsRequest.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<ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder>
- Throws:
java.io.IOException
-
getLedgerId
public java.lang.String getLedgerId()
Must correspond to the ledger ID reported by the Ledger Identification Service. Must be a valid LedgerString (as described in ``value.proto``). Optional
string ledger_id = 1 [json_name = "ledgerId"];
- Specified by:
getLedgerId
in interfaceActiveContractsServiceOuterClass.GetActiveContractsRequestOrBuilder
- Returns:
- The ledgerId.
-
getLedgerIdBytes
public com.google.protobuf.ByteString getLedgerIdBytes()
Must correspond to the ledger ID reported by the Ledger Identification Service. Must be a valid LedgerString (as described in ``value.proto``). Optional
string ledger_id = 1 [json_name = "ledgerId"];
- Specified by:
getLedgerIdBytes
in interfaceActiveContractsServiceOuterClass.GetActiveContractsRequestOrBuilder
- Returns:
- The bytes for ledgerId.
-
setLedgerId
public ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder setLedgerId(java.lang.String value)
Must correspond to the ledger ID reported by the Ledger Identification Service. Must be a valid LedgerString (as described in ``value.proto``). Optional
string ledger_id = 1 [json_name = "ledgerId"];
- Parameters:
value
- The ledgerId to set.- Returns:
- This builder for chaining.
-
clearLedgerId
public ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder clearLedgerId()
Must correspond to the ledger ID reported by the Ledger Identification Service. Must be a valid LedgerString (as described in ``value.proto``). Optional
string ledger_id = 1 [json_name = "ledgerId"];
- Returns:
- This builder for chaining.
-
setLedgerIdBytes
public ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder setLedgerIdBytes(com.google.protobuf.ByteString value)
Must correspond to the ledger ID reported by the Ledger Identification Service. Must be a valid LedgerString (as described in ``value.proto``). Optional
string ledger_id = 1 [json_name = "ledgerId"];
- Parameters:
value
- The bytes for ledgerId to set.- Returns:
- This builder for chaining.
-
hasFilter
public boolean hasFilter()
Templates to include in the served snapshot, per party. Required
.com.daml.ledger.api.v1.TransactionFilter filter = 2 [json_name = "filter"];
- Specified by:
hasFilter
in interfaceActiveContractsServiceOuterClass.GetActiveContractsRequestOrBuilder
- Returns:
- Whether the filter field is set.
-
getFilter
public TransactionFilterOuterClass.TransactionFilter getFilter()
Templates to include in the served snapshot, per party. Required
.com.daml.ledger.api.v1.TransactionFilter filter = 2 [json_name = "filter"];
- Specified by:
getFilter
in interfaceActiveContractsServiceOuterClass.GetActiveContractsRequestOrBuilder
- Returns:
- The filter.
-
setFilter
public ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder setFilter(TransactionFilterOuterClass.TransactionFilter value)
Templates to include in the served snapshot, per party. Required
.com.daml.ledger.api.v1.TransactionFilter filter = 2 [json_name = "filter"];
-
setFilter
public ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder setFilter(TransactionFilterOuterClass.TransactionFilter.Builder builderForValue)
Templates to include in the served snapshot, per party. Required
.com.daml.ledger.api.v1.TransactionFilter filter = 2 [json_name = "filter"];
-
mergeFilter
public ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder mergeFilter(TransactionFilterOuterClass.TransactionFilter value)
Templates to include in the served snapshot, per party. Required
.com.daml.ledger.api.v1.TransactionFilter filter = 2 [json_name = "filter"];
-
clearFilter
public ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder clearFilter()
Templates to include in the served snapshot, per party. Required
.com.daml.ledger.api.v1.TransactionFilter filter = 2 [json_name = "filter"];
-
getFilterBuilder
public TransactionFilterOuterClass.TransactionFilter.Builder getFilterBuilder()
Templates to include in the served snapshot, per party. Required
.com.daml.ledger.api.v1.TransactionFilter filter = 2 [json_name = "filter"];
-
getFilterOrBuilder
public TransactionFilterOuterClass.TransactionFilterOrBuilder getFilterOrBuilder()
Templates to include in the served snapshot, per party. Required
.com.daml.ledger.api.v1.TransactionFilter filter = 2 [json_name = "filter"];
- Specified by:
getFilterOrBuilder
in interfaceActiveContractsServiceOuterClass.GetActiveContractsRequestOrBuilder
-
getVerbose
public boolean getVerbose()
If enabled, values served over the API will contain more information than strictly necessary to interpret the data. In particular, setting the verbose flag to true triggers the ledger to include labels for record fields. Optional
bool verbose = 3 [json_name = "verbose"];
- Specified by:
getVerbose
in interfaceActiveContractsServiceOuterClass.GetActiveContractsRequestOrBuilder
- Returns:
- The verbose.
-
setVerbose
public ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder setVerbose(boolean value)
If enabled, values served over the API will contain more information than strictly necessary to interpret the data. In particular, setting the verbose flag to true triggers the ledger to include labels for record fields. Optional
bool verbose = 3 [json_name = "verbose"];
- Parameters:
value
- The verbose to set.- Returns:
- This builder for chaining.
-
clearVerbose
public ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder clearVerbose()
If enabled, values served over the API will contain more information than strictly necessary to interpret the data. In particular, setting the verbose flag to true triggers the ledger to include labels for record fields. Optional
bool verbose = 3 [json_name = "verbose"];
- Returns:
- This builder for chaining.
-
setUnknownFields
public final ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder>
-
mergeUnknownFields
public final ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ActiveContractsServiceOuterClass.GetActiveContractsRequest.Builder>
-
-