public class RenameContext extends OperationContext<RenamePOptions.Builder>
RenamePOptions
.Modifier and Type | Method and Description |
---|---|
static RenameContext |
create(RenamePOptions.Builder optionsBuilder) |
static RenameContext |
defaults() |
long |
getOperationTimeMs() |
boolean |
getPersist() |
static RenameContext |
mergeFrom(RenamePOptions.Builder optionsBuilder)
Merges and embeds the given
RenamePOptions with the corresponding master options. |
RenameContext |
setOperationTimeMs(long operationTimeMs)
Sets operation time.
|
String |
toString() |
getOptions, isCancelled
public static RenameContext create(RenamePOptions.Builder optionsBuilder)
optionsBuilder
- Builder for proto RenamePOptions
RenameContext
with the given optionspublic static RenameContext mergeFrom(RenamePOptions.Builder optionsBuilder)
RenamePOptions
with the corresponding master options.optionsBuilder
- Builder for proto RenamePOptions
to merge with defaultsRenameContext
with default values for masterpublic static RenameContext defaults()
RenameContext
with default values for masterpublic long getOperationTimeMs()
public boolean getPersist()
public RenameContext setOperationTimeMs(long operationTimeMs)
operationTimeMs
- operation system time in msCopyright © 2023. All Rights Reserved.