Class WaitOperationRequest.Builder (2.8.3)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public WaitOperationRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
WaitOperationRequest.Builder
Overrides

build()

public WaitOperationRequest build()
Returns
TypeDescription
WaitOperationRequest

buildPartial()

public WaitOperationRequest buildPartial()
Returns
TypeDescription
WaitOperationRequest

clear()

public WaitOperationRequest.Builder clear()
Returns
TypeDescription
WaitOperationRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public WaitOperationRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
WaitOperationRequest.Builder
Overrides

clearName()

public WaitOperationRequest.Builder clearName()

The name of the operation resource to wait on.

string name = 1;

Returns
TypeDescription
WaitOperationRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public WaitOperationRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
WaitOperationRequest.Builder

clone()

public WaitOperationRequest.Builder clone()
Returns
TypeDescription
WaitOperationRequest.Builder
Overrides

getDefaultInstanceForType()

public WaitOperationRequest getDefaultInstanceForType()
Returns
TypeDescription
WaitOperationRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

The name of the operation resource to wait on.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

The name of the operation resource to wait on.

string name = 1;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the timeout field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(WaitOperationRequest other)

public WaitOperationRequest.Builder mergeFrom(WaitOperationRequest other)
Parameter
NameDescription
otherWaitOperationRequest
Returns
TypeDescription
WaitOperationRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public WaitOperationRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WaitOperationRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public WaitOperationRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueDuration
Returns
TypeDescription
WaitOperationRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final WaitOperationRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
WaitOperationRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public WaitOperationRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueDuration
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
WaitOperationRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final WaitOperationRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
WaitOperationRequest.Builder
Overrides