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.
|
@CanIgnoreReturnValue public Operation.Builder setId(String id)
@CanIgnoreReturnValue public Operation.Builder setProducer(String producer)
MyDivision.MyBigCompany.com
, github.com/MyProject/MyApplication
.@CanIgnoreReturnValue public Operation.Builder setFirst(boolean first)
false
is used.@CanIgnoreReturnValue public Operation.Builder setLast(boolean last)
false
is used.public Operation build()
Operation
object for this builder.Copyright © 2023 Google LLC. All rights reserved.