public class DeleteContext extends OperationContext<DeletePOptions.Builder,DeleteContext>
DeletePOptions
.Modifier and Type | Method and Description |
---|---|
static DeleteContext |
create(DeletePOptions.Builder optionsBuilder) |
static DeleteContext |
defaults() |
OperationId |
getOperationId()
Get embedded operation id, passed via proto options.
|
boolean |
isMetadataLoad() |
static DeleteContext |
mergeFrom(DeletePOptions.Builder optionsBuilder)
Merges and embeds the given
DeletePOptions with the corresponding master options. |
DeleteContext |
setMetadataLoad(boolean metadataLoad) |
String |
toString() |
getCancelledTrackers, getOptions, withTracker
public static DeleteContext create(DeletePOptions.Builder optionsBuilder)
optionsBuilder
- Builder for proto DeletePOptions
DeleteContext
with given optionspublic static DeleteContext mergeFrom(DeletePOptions.Builder optionsBuilder)
DeletePOptions
with the corresponding master options.optionsBuilder
- Builder for proto DeletePOptions
to merge with defaultsDeleteContext
with default values for masterpublic static DeleteContext defaults()
DeleteContext
with default values for masterpublic OperationId getOperationId()
OperationContext
getOperationId
in class OperationContext<DeletePOptions.Builder,DeleteContext>
null
if not foundpublic DeleteContext setMetadataLoad(boolean metadataLoad)
metadataLoad
- the flag value to use; if true, the operation is a result of a metadata
loadpublic boolean isMetadataLoad()
Copyright © 2023. All Rights Reserved.