Modifier and Type | Method and Description |
---|---|
Operation |
build()
Creates an
Operation object for this builder. |
Operation.Builder |
setFirst(boolean first)
Sets whether the corresponding entry is the first log entry in the operation.
|
Operation.Builder |
setId(String id)
Sets the operation identifier.
|
Operation.Builder |
setLast(boolean last)
Sets whether the corresponding entry is the last log entry in the operation.
|
Operation.Builder |
setProducer(String producer)
Sets an arbitrary producer identifier.
|
public Operation.Builder setId(String id)
public Operation.Builder setProducer(String producer)
MyDivision.MyBigCompany.com
, github.com/MyProject/MyApplication
.public Operation.Builder setFirst(boolean first)
false
is used.public Operation.Builder setLast(boolean last)
false
is used.public Operation build()
Operation
object for this builder.Copyright © 2019 Google LLC. All rights reserved.