Package com.google.longrunning
Class WaitOperationRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<WaitOperationRequest,WaitOperationRequest.Builder>
com.google.longrunning.WaitOperationRequest.Builder
- All Implemented Interfaces:
WaitOperationRequestOrBuilder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
- Enclosing class:
- WaitOperationRequest
public static final class WaitOperationRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<WaitOperationRequest,WaitOperationRequest.Builder>
implements WaitOperationRequestOrBuilder
The request message for [Operations.WaitOperation][google.longrunning.Operations.WaitOperation].Protobuf type
google.longrunning.WaitOperationRequest
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the operation resource to wait on.The maximum duration to wait before timing out.getName()
The name of the operation resource to wait on.com.google.protobuf.ByteString
The name of the operation resource to wait on.com.google.protobuf.Duration
The maximum duration to wait before timing out.boolean
The maximum duration to wait before timing out.mergeTimeout
(com.google.protobuf.Duration value) The maximum duration to wait before timing out.The name of the operation resource to wait on.setNameBytes
(com.google.protobuf.ByteString value) The name of the operation resource to wait on.setTimeout
(com.google.protobuf.Duration value) The maximum duration to wait before timing out.setTimeout
(com.google.protobuf.Duration.Builder builderForValue) The maximum duration to wait before timing out.Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getName
The name of the operation resource to wait on.
string name = 1 [json_name = "name"];
- Specified by:
getName
in interfaceWaitOperationRequestOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()The name of the operation resource to wait on.
string name = 1 [json_name = "name"];
- Specified by:
getNameBytes
in interfaceWaitOperationRequestOrBuilder
- Returns:
- The bytes for name.
-
setName
The name of the operation resource to wait on.
string name = 1 [json_name = "name"];
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
The name of the operation resource to wait on.
string name = 1 [json_name = "name"];
- Returns:
- This builder for chaining.
-
setNameBytes
The name of the operation resource to wait on.
string name = 1 [json_name = "name"];
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasTimeout
public boolean hasTimeout()The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.
.google.protobuf.Duration timeout = 2 [json_name = "timeout"];
- Specified by:
hasTimeout
in interfaceWaitOperationRequestOrBuilder
- Returns:
- Whether the timeout field is set.
-
getTimeout
public com.google.protobuf.Duration getTimeout()The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.
.google.protobuf.Duration timeout = 2 [json_name = "timeout"];
- Specified by:
getTimeout
in interfaceWaitOperationRequestOrBuilder
- Returns:
- The timeout.
-
setTimeout
The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.
.google.protobuf.Duration timeout = 2 [json_name = "timeout"];
-
setTimeout
public WaitOperationRequest.Builder setTimeout(com.google.protobuf.Duration.Builder builderForValue) The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.
.google.protobuf.Duration timeout = 2 [json_name = "timeout"];
-
mergeTimeout
The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.
.google.protobuf.Duration timeout = 2 [json_name = "timeout"];
-
clearTimeout
The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.
.google.protobuf.Duration timeout = 2 [json_name = "timeout"];
-