Package com.google.longrunning
Interface WaitOperationRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
WaitOperationRequest
,WaitOperationRequest.Builder
public interface WaitOperationRequestOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
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.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getName
String getName()The name of the operation resource to wait on.
string name = 1 [json_name = "name"];
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()The name of the operation resource to wait on.
string name = 1 [json_name = "name"];
- Returns:
- The bytes for name.
-
hasTimeout
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"];
- Returns:
- Whether the timeout field is set.
-
getTimeout
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"];
- Returns:
- The timeout.
-