T
- Proto message typeC
- extended type@NotThreadSafe public class OperationContext<T extends com.google.protobuf.GeneratedMessageV3.Builder,C extends OperationContext> extends Object
Constructor and Description |
---|
OperationContext(T optionsBuilder)
Creates an instance with given proto message.
|
Modifier and Type | Method and Description |
---|---|
List<CallTracker> |
getCancelledTrackers() |
T |
getOptions() |
C |
withTracker(CallTracker tracker)
Updates this context with a new tracker.
|
public OperationContext(T optionsBuilder)
optionsBuilder
- Internal proto message builder instancepublic T getOptions()
public C withTracker(CallTracker tracker)
tracker
- the new call trackerpublic List<CallTracker> getCancelledTrackers()
Copyright © 2023. All Rights Reserved.