Class WaitOperationRequest.Builder (2.45.1)

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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public WaitOperationRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
WaitOperationRequest.Builder
Overrides

build()

public WaitOperationRequest build()
Returns
Type Description
WaitOperationRequest

buildPartial()

public WaitOperationRequest buildPartial()
Returns
Type Description
WaitOperationRequest

clear()

public WaitOperationRequest.Builder clear()
Returns
Type Description
WaitOperationRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public WaitOperationRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
WaitOperationRequest.Builder
Overrides

clearName()

public WaitOperationRequest.Builder clearName()

The name of the operation resource to wait on.

string name = 1;

Returns
Type Description
WaitOperationRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public WaitOperationRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
WaitOperationRequest.Builder
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
Type Description
WaitOperationRequest.Builder

clone()

public WaitOperationRequest.Builder clone()
Returns
Type Description
WaitOperationRequest.Builder
Overrides

getDefaultInstanceForType()

public WaitOperationRequest getDefaultInstanceForType()
Returns
Type Description
WaitOperationRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getName()

public String 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
Type Description
ByteString

The bytes for name.

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
Type Description
Duration

The timeout.

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
Type Description
Builder

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
Type Description
DurationOrBuilder

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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(WaitOperationRequest other)

public WaitOperationRequest.Builder mergeFrom(WaitOperationRequest other)
Parameter
Name Description
other WaitOperationRequest
Returns
Type Description
WaitOperationRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public WaitOperationRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WaitOperationRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public WaitOperationRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
WaitOperationRequest.Builder
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
Name Description
value Duration
Returns
Type Description
WaitOperationRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final WaitOperationRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
WaitOperationRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public WaitOperationRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
WaitOperationRequest.Builder
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
Type Description
WaitOperationRequest.Builder

This builder for chaining.

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
Type Description
WaitOperationRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public WaitOperationRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
WaitOperationRequest.Builder
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
Name Description
value Duration
Returns
Type Description
WaitOperationRequest.Builder

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
Type Description
WaitOperationRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final WaitOperationRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
WaitOperationRequest.Builder
Overrides