Package com.daml.ledger.api.v2
Class UpdateServiceOuterClass.GetUpdatesRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<UpdateServiceOuterClass.GetUpdatesRequest.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<UpdateServiceOuterClass.GetUpdatesRequest.Builder>
com.daml.ledger.api.v2.UpdateServiceOuterClass.GetUpdatesRequest.Builder
- All Implemented Interfaces:
UpdateServiceOuterClass.GetUpdatesRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
UpdateServiceOuterClass.GetUpdatesRequest
public static final class UpdateServiceOuterClass.GetUpdatesRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<UpdateServiceOuterClass.GetUpdatesRequest.Builder>
implements UpdateServiceOuterClass.GetUpdatesRequestOrBuilder
Exclusive lower bound offset of the requested ledger section (non-negative integer). The response will only contain transactions whose offset is strictly greater than this. If set to zero, the lower bound is set to the beginning of the ledger. If the participant has been pruned, this parameter must be greater or equal than the pruning offset.Protobuf type
com.daml.ledger.api.v2.GetUpdatesRequest-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()RequiredIf set, the stream will populate the elements in descending order.Inclusive higher bound offset of the requested ledger section.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The update format for this request Requiredclone()longRequiredbooleanIf set, the stream will populate the elements in descending order.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorlongInclusive higher bound offset of the requested ledger section.The update format for this request RequiredThe update format for this request RequiredThe update format for this request RequiredbooleanInclusive higher bound offset of the requested ledger section.booleanThe update format for this request Requiredprotected 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) The update format for this request RequiredsetBeginExclusive(long value) RequiredsetDescendingOrder(boolean value) If set, the stream will populate the elements in descending order.setEndInclusive(long value) Inclusive higher bound offset of the requested ledger section.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) The update format for this request RequiredsetUpdateFormat(TransactionFilterOuterClass.UpdateFormat.Builder builderForValue) The update format for this request RequiredMethods 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<UpdateServiceOuterClass.GetUpdatesRequest.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<UpdateServiceOuterClass.GetUpdatesRequest.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<UpdateServiceOuterClass.GetUpdatesRequest.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<UpdateServiceOuterClass.GetUpdatesRequest.Builder>
-
setField
public UpdateServiceOuterClass.GetUpdatesRequest.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<UpdateServiceOuterClass.GetUpdatesRequest.Builder>
-
clearField
public UpdateServiceOuterClass.GetUpdatesRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateServiceOuterClass.GetUpdatesRequest.Builder>
-
clearOneof
public UpdateServiceOuterClass.GetUpdatesRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateServiceOuterClass.GetUpdatesRequest.Builder>
-
setRepeatedField
public UpdateServiceOuterClass.GetUpdatesRequest.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<UpdateServiceOuterClass.GetUpdatesRequest.Builder>
-
addRepeatedField
public UpdateServiceOuterClass.GetUpdatesRequest.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<UpdateServiceOuterClass.GetUpdatesRequest.Builder>
-
mergeFrom
public UpdateServiceOuterClass.GetUpdatesRequest.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UpdateServiceOuterClass.GetUpdatesRequest.Builder>
-
mergeFrom
public UpdateServiceOuterClass.GetUpdatesRequest.Builder mergeFrom(UpdateServiceOuterClass.GetUpdatesRequest other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateServiceOuterClass.GetUpdatesRequest.Builder>
-
mergeFrom
public UpdateServiceOuterClass.GetUpdatesRequest.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<UpdateServiceOuterClass.GetUpdatesRequest.Builder>- Throws:
IOException
-
getBeginExclusive
public long getBeginExclusive()Required
int64 begin_exclusive = 1;- Specified by:
getBeginExclusivein interfaceUpdateServiceOuterClass.GetUpdatesRequestOrBuilder- Returns:
- The beginExclusive.
-
setBeginExclusive
Required
int64 begin_exclusive = 1;- Parameters:
value- The beginExclusive to set.- Returns:
- This builder for chaining.
-
clearBeginExclusive
Required
int64 begin_exclusive = 1;- Returns:
- This builder for chaining.
-
hasEndInclusive
public boolean hasEndInclusive()Inclusive higher bound offset of the requested ledger section. If specified the response will only contain transactions whose offset is less than or equal to this. If not specified, - the descending_order must not be selected, - the stream will not terminate. Optional
optional int64 end_inclusive = 2;- Specified by:
hasEndInclusivein interfaceUpdateServiceOuterClass.GetUpdatesRequestOrBuilder- Returns:
- Whether the endInclusive field is set.
-
getEndInclusive
public long getEndInclusive()Inclusive higher bound offset of the requested ledger section. If specified the response will only contain transactions whose offset is less than or equal to this. If not specified, - the descending_order must not be selected, - the stream will not terminate. Optional
optional int64 end_inclusive = 2;- Specified by:
getEndInclusivein interfaceUpdateServiceOuterClass.GetUpdatesRequestOrBuilder- Returns:
- The endInclusive.
-
setEndInclusive
Inclusive higher bound offset of the requested ledger section. If specified the response will only contain transactions whose offset is less than or equal to this. If not specified, - the descending_order must not be selected, - the stream will not terminate. Optional
optional int64 end_inclusive = 2;- Parameters:
value- The endInclusive to set.- Returns:
- This builder for chaining.
-
clearEndInclusive
Inclusive higher bound offset of the requested ledger section. If specified the response will only contain transactions whose offset is less than or equal to this. If not specified, - the descending_order must not be selected, - the stream will not terminate. Optional
optional int64 end_inclusive = 2;- Returns:
- This builder for chaining.
-
hasUpdateFormat
public boolean hasUpdateFormat()The update format for this request Required
.com.daml.ledger.api.v2.UpdateFormat update_format = 5;- Specified by:
hasUpdateFormatin interfaceUpdateServiceOuterClass.GetUpdatesRequestOrBuilder- Returns:
- Whether the updateFormat field is set.
-
getUpdateFormat
The update format for this request Required
.com.daml.ledger.api.v2.UpdateFormat update_format = 5;- Specified by:
getUpdateFormatin interfaceUpdateServiceOuterClass.GetUpdatesRequestOrBuilder- Returns:
- The updateFormat.
-
setUpdateFormat
public UpdateServiceOuterClass.GetUpdatesRequest.Builder setUpdateFormat(TransactionFilterOuterClass.UpdateFormat value) The update format for this request Required
.com.daml.ledger.api.v2.UpdateFormat update_format = 5; -
setUpdateFormat
public UpdateServiceOuterClass.GetUpdatesRequest.Builder setUpdateFormat(TransactionFilterOuterClass.UpdateFormat.Builder builderForValue) The update format for this request Required
.com.daml.ledger.api.v2.UpdateFormat update_format = 5; -
mergeUpdateFormat
public UpdateServiceOuterClass.GetUpdatesRequest.Builder mergeUpdateFormat(TransactionFilterOuterClass.UpdateFormat value) The update format for this request Required
.com.daml.ledger.api.v2.UpdateFormat update_format = 5; -
clearUpdateFormat
The update format for this request Required
.com.daml.ledger.api.v2.UpdateFormat update_format = 5; -
getUpdateFormatBuilder
The update format for this request Required
.com.daml.ledger.api.v2.UpdateFormat update_format = 5; -
getUpdateFormatOrBuilder
The update format for this request Required
.com.daml.ledger.api.v2.UpdateFormat update_format = 5;- Specified by:
getUpdateFormatOrBuilderin interfaceUpdateServiceOuterClass.GetUpdatesRequestOrBuilder
-
getDescendingOrder
public boolean getDescendingOrder()If set, the stream will populate the elements in descending order. Optional
bool descending_order = 6;- Specified by:
getDescendingOrderin interfaceUpdateServiceOuterClass.GetUpdatesRequestOrBuilder- Returns:
- The descendingOrder.
-
setDescendingOrder
If set, the stream will populate the elements in descending order. Optional
bool descending_order = 6;- Parameters:
value- The descendingOrder to set.- Returns:
- This builder for chaining.
-
clearDescendingOrder
If set, the stream will populate the elements in descending order. Optional
bool descending_order = 6;- Returns:
- This builder for chaining.
-
setUnknownFields
public final UpdateServiceOuterClass.GetUpdatesRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateServiceOuterClass.GetUpdatesRequest.Builder>
-
mergeUnknownFields
public final UpdateServiceOuterClass.GetUpdatesRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateServiceOuterClass.GetUpdatesRequest.Builder>
-