Class WaitOperationRequest (2.41.0)

public final class WaitOperationRequest extends GeneratedMessageV3 implements WaitOperationRequestOrBuilder

The request message for Operations.WaitOperation.

Protobuf type google.longrunning.WaitOperationRequest

Static Fields

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

TIMEOUT_FIELD_NUMBER

public static final int TIMEOUT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static WaitOperationRequest getDefaultInstance()
Returns
Type Description
WaitOperationRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static WaitOperationRequest.Builder newBuilder()
Returns
Type Description
WaitOperationRequest.Builder

newBuilder(WaitOperationRequest prototype)

public static WaitOperationRequest.Builder newBuilder(WaitOperationRequest prototype)
Parameter
Name Description
prototype WaitOperationRequest
Returns
Type Description
WaitOperationRequest.Builder

parseDelimitedFrom(InputStream input)

public static WaitOperationRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
WaitOperationRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WaitOperationRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WaitOperationRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static WaitOperationRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
WaitOperationRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static WaitOperationRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WaitOperationRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static WaitOperationRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
WaitOperationRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static WaitOperationRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WaitOperationRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static WaitOperationRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
WaitOperationRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static WaitOperationRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WaitOperationRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static WaitOperationRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
WaitOperationRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WaitOperationRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WaitOperationRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static WaitOperationRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
WaitOperationRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static WaitOperationRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WaitOperationRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<WaitOperationRequest> parser()
Returns
Type Description
Parser<WaitOperationRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public WaitOperationRequest getDefaultInstanceForType()
Returns
Type Description
WaitOperationRequest

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.

getParserForType()

public Parser<WaitOperationRequest> getParserForType()
Returns
Type Description
Parser<WaitOperationRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public WaitOperationRequest.Builder newBuilderForType()
Returns
Type Description
WaitOperationRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected WaitOperationRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
WaitOperationRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public WaitOperationRequest.Builder toBuilder()
Returns
Type Description
WaitOperationRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException