java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<ScheduledOrder,ScheduledOrder.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<ScheduledOrder,ScheduledOrder.Builder>
com.hedera.hashgraph.sdk.proto.ScheduledOrder.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,ScheduledOrderOrBuilder,Cloneable
- Enclosing class:
ScheduledOrder
public static final class ScheduledOrder.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<ScheduledOrder,ScheduledOrder.Builder>
implements ScheduledOrderOrBuilder
* An ordering for a scheduled transaction.<br/> This establishes the order in which scheduled transactions intended to execute at a particular consensus second will be executed. Scheduled transactions that have the same `expiry_second` SHALL execute in ascending order of `order_number`.Protobuf type
proto.ScheduledOrder-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescription* A consensus second in which the transaction is to be executed.An ordered position within a conceptual list.<br/> This is the ordered position within the consensus second when the associated transaction will be executed.long* A consensus second in which the transaction is to be executed.intAn ordered position within a conceptual list.<br/> This is the ordered position within the consensus second when the associated transaction will be executed.setExpirySecond(long value) * A consensus second in which the transaction is to be executed.setOrderNumber(int value) An ordered position within a conceptual list.<br/> This is the ordered position within the consensus second when the associated transaction will be executed.Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getExpirySecond
public long getExpirySecond()* A consensus second in which the transaction is to be executed. This is _also_ the consensus time when the transaction will expire if it has not gathered enough signatures in time.
uint64 expiry_second = 1;- Specified by:
getExpirySecondin interfaceScheduledOrderOrBuilder- Returns:
- The expirySecond.
-
setExpirySecond
* A consensus second in which the transaction is to be executed. This is _also_ the consensus time when the transaction will expire if it has not gathered enough signatures in time.
uint64 expiry_second = 1;- Parameters:
value- The expirySecond to set.- Returns:
- This builder for chaining.
-
clearExpirySecond
* A consensus second in which the transaction is to be executed. This is _also_ the consensus time when the transaction will expire if it has not gathered enough signatures in time.
uint64 expiry_second = 1;- Returns:
- This builder for chaining.
-
getOrderNumber
public int getOrderNumber()An ordered position within a conceptual list.<br/> This is the ordered position within the consensus second when the associated transaction will be executed.
uint32 order_number = 2;- Specified by:
getOrderNumberin interfaceScheduledOrderOrBuilder- Returns:
- The orderNumber.
-
setOrderNumber
An ordered position within a conceptual list.<br/> This is the ordered position within the consensus second when the associated transaction will be executed.
uint32 order_number = 2;- Parameters:
value- The orderNumber to set.- Returns:
- This builder for chaining.
-
clearOrderNumber
An ordered position within a conceptual list.<br/> This is the ordered position within the consensus second when the associated transaction will be executed.
uint32 order_number = 2;- Returns:
- This builder for chaining.
-