public static final class WaitOperationRequest.Builder extends GeneratedMessageV3.Builder<WaitOperationRequest.Builder> implements WaitOperationRequestOrBuilder
The request message for Operations.WaitOperation.
Protobuf type google.longrunning.WaitOperationRequest
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public WaitOperationRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public WaitOperationRequest build()
Returns
buildPartial()
public WaitOperationRequest buildPartial()
Returns
clear()
public WaitOperationRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public WaitOperationRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearName()
public WaitOperationRequest.Builder clearName()
The name of the operation resource to wait on.
string name = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public WaitOperationRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearTimeout()
public WaitOperationRequest.Builder 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;
Returns
clone()
public WaitOperationRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public WaitOperationRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getName()
The name of the operation resource to wait on.
string name = 1;
Returns
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
The name of the operation resource to wait on.
string name = 1;
Returns
getTimeout()
public 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;
Returns
getTimeoutBuilder()
public Duration.Builder getTimeoutBuilder()
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;
Returns
getTimeoutOrBuilder()
public DurationOrBuilder getTimeoutOrBuilder()
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;
Returns
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;
Returns
Type | Description |
boolean | Whether the timeout field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(WaitOperationRequest other)
public WaitOperationRequest.Builder mergeFrom(WaitOperationRequest other)
Parameter
Returns
public WaitOperationRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public WaitOperationRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeTimeout(Duration value)
public WaitOperationRequest.Builder mergeTimeout(Duration value)
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;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final WaitOperationRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public WaitOperationRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setName(String value)
public WaitOperationRequest.Builder setName(String value)
The name of the operation resource to wait on.
string name = 1;
Parameter
Name | Description |
value | String
The name to set.
|
Returns
setNameBytes(ByteString value)
public WaitOperationRequest.Builder setNameBytes(ByteString value)
The name of the operation resource to wait on.
string name = 1;
Parameter
Name | Description |
value | ByteString
The bytes for name to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public WaitOperationRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setTimeout(Duration value)
public WaitOperationRequest.Builder setTimeout(Duration value)
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;
Parameter
Returns
setTimeout(Duration.Builder builderForValue)
public WaitOperationRequest.Builder setTimeout(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;
Parameter
Name | Description |
builderForValue | Builder
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final WaitOperationRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides