Interface OperationInfoOrBuilder (2.24.0)

public interface OperationInfoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMetadataType()

public abstract String getMetadataType()

Required. The message name of the metadata type for this long-running operation.

If the response is in a different package from the rpc, a fully-qualified message name must be used (e.g. google.protobuf.Struct).

Note: Altering this value constitutes a breaking change.

string metadata_type = 2;

Returns
TypeDescription
String

The metadataType.

getMetadataTypeBytes()

public abstract ByteString getMetadataTypeBytes()

Required. The message name of the metadata type for this long-running operation.

If the response is in a different package from the rpc, a fully-qualified message name must be used (e.g. google.protobuf.Struct).

Note: Altering this value constitutes a breaking change.

string metadata_type = 2;

Returns
TypeDescription
ByteString

The bytes for metadataType.

getResponseType()

public abstract String getResponseType()

Required. The message name of the primary return type for this long-running operation. This type will be used to deserialize the LRO's response.

If the response is in a different package from the rpc, a fully-qualified message name must be used (e.g. google.protobuf.Struct).

Note: Altering this value constitutes a breaking change.

string response_type = 1;

Returns
TypeDescription
String

The responseType.

getResponseTypeBytes()

public abstract ByteString getResponseTypeBytes()

Required. The message name of the primary return type for this long-running operation. This type will be used to deserialize the LRO's response.

If the response is in a different package from the rpc, a fully-qualified message name must be used (e.g. google.protobuf.Struct).

Note: Altering this value constitutes a breaking change.

string response_type = 1;

Returns
TypeDescription
ByteString

The bytes for responseType.