Interface OperationMetadataOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
OperationMetadata,OperationMetadata.Builder
@Generated
public interface OperationMetadataOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionAPI version used to start the operation.com.google.protobuf.ByteStringAPI version used to start the operation.The build name of the function for create and update operations.com.google.protobuf.ByteStringThe build name of the function for create and update operations.booleanIdentifies whether the user has requested cancellation of the operation.com.google.protobuf.TimestampThe time the operation was created.com.google.protobuf.TimestampOrBuilderThe time the operation was created.com.google.protobuf.TimestampThe time the operation finished running.com.google.protobuf.TimestampOrBuilderThe time the operation finished running.The operation type.intThe operation type.com.google.protobuf.AnyThe original request that started the operation.com.google.protobuf.AnyOrBuilderThe original request that started the operation.getStages(int index) Mechanism for reporting in-progress stagesintMechanism for reporting in-progress stagesMechanism for reporting in-progress stagesgetStagesOrBuilder(int index) Mechanism for reporting in-progress stagesList<? extends StageOrBuilder>Mechanism for reporting in-progress stagesHuman-readable status of the operation, if any.com.google.protobuf.ByteStringHuman-readable status of the operation, if any.Server-defined resource path for the target of the operation.com.google.protobuf.ByteStringServer-defined resource path for the target of the operation.getVerb()Name of the verb executed by the operation.com.google.protobuf.ByteStringName of the verb executed by the operation.booleanThe time the operation was created.booleanThe time the operation finished running.booleanThe original request that started the operation.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasCreateTime
boolean hasCreateTime()The time the operation was created.
.google.protobuf.Timestamp create_time = 1;- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()The time the operation was created.
.google.protobuf.Timestamp create_time = 1;- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()The time the operation was created.
.google.protobuf.Timestamp create_time = 1; -
hasEndTime
boolean hasEndTime()The time the operation finished running.
.google.protobuf.Timestamp end_time = 2;- Returns:
- Whether the endTime field is set.
-
getEndTime
com.google.protobuf.Timestamp getEndTime()The time the operation finished running.
.google.protobuf.Timestamp end_time = 2;- Returns:
- The endTime.
-
getEndTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()The time the operation finished running.
.google.protobuf.Timestamp end_time = 2; -
getTarget
String getTarget()Server-defined resource path for the target of the operation.
string target = 3;- Returns:
- The target.
-
getTargetBytes
com.google.protobuf.ByteString getTargetBytes()Server-defined resource path for the target of the operation.
string target = 3;- Returns:
- The bytes for target.
-
getVerb
String getVerb()Name of the verb executed by the operation.
string verb = 4;- Returns:
- The verb.
-
getVerbBytes
com.google.protobuf.ByteString getVerbBytes()Name of the verb executed by the operation.
string verb = 4;- Returns:
- The bytes for verb.
-
getStatusDetail
String getStatusDetail()Human-readable status of the operation, if any.
string status_detail = 5;- Returns:
- The statusDetail.
-
getStatusDetailBytes
com.google.protobuf.ByteString getStatusDetailBytes()Human-readable status of the operation, if any.
string status_detail = 5;- Returns:
- The bytes for statusDetail.
-
getCancelRequested
boolean getCancelRequested()Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have [google.longrunning.Operation.error][google.longrunning.Operation.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`.
bool cancel_requested = 6;- Returns:
- The cancelRequested.
-
getApiVersion
String getApiVersion()API version used to start the operation.
string api_version = 7;- Returns:
- The apiVersion.
-
getApiVersionBytes
com.google.protobuf.ByteString getApiVersionBytes()API version used to start the operation.
string api_version = 7;- Returns:
- The bytes for apiVersion.
-
hasRequestResource
boolean hasRequestResource()The original request that started the operation.
.google.protobuf.Any request_resource = 8;- Returns:
- Whether the requestResource field is set.
-
getRequestResource
com.google.protobuf.Any getRequestResource()The original request that started the operation.
.google.protobuf.Any request_resource = 8;- Returns:
- The requestResource.
-
getRequestResourceOrBuilder
com.google.protobuf.AnyOrBuilder getRequestResourceOrBuilder()The original request that started the operation.
.google.protobuf.Any request_resource = 8; -
getStagesList
Mechanism for reporting in-progress stages
repeated .google.cloud.functions.v2beta.Stage stages = 9; -
getStages
Mechanism for reporting in-progress stages
repeated .google.cloud.functions.v2beta.Stage stages = 9; -
getStagesCount
int getStagesCount()Mechanism for reporting in-progress stages
repeated .google.cloud.functions.v2beta.Stage stages = 9; -
getStagesOrBuilderList
List<? extends StageOrBuilder> getStagesOrBuilderList()Mechanism for reporting in-progress stages
repeated .google.cloud.functions.v2beta.Stage stages = 9; -
getStagesOrBuilder
Mechanism for reporting in-progress stages
repeated .google.cloud.functions.v2beta.Stage stages = 9; -
getBuildName
String getBuildName()The build name of the function for create and update operations.
string build_name = 13;- Returns:
- The buildName.
-
getBuildNameBytes
com.google.protobuf.ByteString getBuildNameBytes()The build name of the function for create and update operations.
string build_name = 13;- Returns:
- The bytes for buildName.
-
getOperationTypeValue
int getOperationTypeValue()The operation type.
.google.cloud.functions.v2beta.OperationType operation_type = 11;- Returns:
- The enum numeric value on the wire for operationType.
-
getOperationType
OperationType getOperationType()The operation type.
.google.cloud.functions.v2beta.OperationType operation_type = 11;- Returns:
- The operationType.
-