Send feedback
Class Operation.Builder (3.14.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.14.0 keyboard_arrow_down
public static final class Operation . Builder
A builder for Operation
objects.
Methods
build()
Creates an Operation
object for this builder.
Returns
setFirst(boolean first)
public Operation . Builder setFirst ( boolean first )
Sets whether the corresponding entry is the first log entry in the operation. If not set,
false
is used.
Parameter
Returns
setId(String id)
public Operation . Builder setId ( String id )
Sets the operation identifier. Log entries with the same identifier are assumed to be part of
the same operation. The combination of id and producer must be globally unique.
Parameter
Returns
setLast(boolean last)
public Operation . Builder setLast ( boolean last )
Sets whether the corresponding entry is the last log entry in the operation. If not set,
false
is used.
Parameter
Returns
setProducer(String producer)
public Operation . Builder setProducer ( String producer )
Sets an arbitrary producer identifier. The combination of producer and id must be globally
unique. Examples: MyDivision.MyBigCompany.com
,
github.com/MyProject/MyApplication
.
Parameter
Returns
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-10 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{"lastModified": "Last updated 2024-09-10 UTC."}