Package com.google.longrunning
Interface OperationInfoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
OperationInfo
,OperationInfo.Builder
public interface OperationInfoOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.com.google.protobuf.ByteString
Required.Required.com.google.protobuf.ByteString
Required.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getResponseType
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 [json_name = "responseType"];
- Returns:
- The responseType.
-
getResponseTypeBytes
com.google.protobuf.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 [json_name = "responseType"];
- Returns:
- The bytes for responseType.
-
getMetadataType
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 [json_name = "metadataType"];
- Returns:
- The metadataType.
-
getMetadataTypeBytes
com.google.protobuf.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 [json_name = "metadataType"];
- Returns:
- The bytes for metadataType.
-