public static final class WaitOperationRequest.Builder extends GeneratedMessageV3.Builder<WaitOperationRequest.Builder> implements WaitOperationRequestOrBuilder
The request message for Operations.WaitOperation.
Protobuf type google.longrunning.WaitOperationRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public WaitOperationRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public WaitOperationRequest build()
buildPartial()
public WaitOperationRequest buildPartial()
clear()
public WaitOperationRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public WaitOperationRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearName()
public WaitOperationRequest.Builder clearName()
The name of the operation resource to wait on.
string name = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public WaitOperationRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
clone()
public WaitOperationRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public WaitOperationRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
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;
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;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(WaitOperationRequest other)
public WaitOperationRequest.Builder mergeFrom(WaitOperationRequest other)
public WaitOperationRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public WaitOperationRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final WaitOperationRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public WaitOperationRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public WaitOperationRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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;
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
|
setUnknownFields(UnknownFieldSet unknownFields)
public final WaitOperationRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides