Interface OperationMetadataOrBuilder (2.56.0)

publicinterface OperationMetadataOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getApiVersion()

publicabstractStringgetApiVersion()

API version used to start the operation.

string api_version = 7;

Returns
Type Description
String

The apiVersion.

getApiVersionBytes()

publicabstractByteStringgetApiVersionBytes()

API version used to start the operation.

string api_version = 7;

Returns
Type Description
ByteString

The bytes for apiVersion.

getBuildName()

publicabstractStringgetBuildName()

The build name of the function for create and update operations.

string build_name = 13;

Returns
Type Description
String

The buildName.

getBuildNameBytes()

publicabstractByteStringgetBuildNameBytes()

The build name of the function for create and update operations.

string build_name = 13;

Returns
Type Description
ByteString

The bytes for buildName.

getCancelRequested()

publicabstractbooleangetCancelRequested()

Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have google.longrunning.Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.

bool cancel_requested = 6;

Returns
Type Description
boolean

The cancelRequested.

getCreateTime()

publicabstractTimestampgetCreateTime()

The time the operation was created.

.google.protobuf.Timestamp create_time = 1;

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

publicabstractTimestampOrBuildergetCreateTimeOrBuilder()

The time the operation was created.

.google.protobuf.Timestamp create_time = 1;

Returns
Type Description
TimestampOrBuilder

getEndTime()

publicabstractTimestampgetEndTime()

The time the operation finished running.

.google.protobuf.Timestamp end_time = 2;

Returns
Type Description
Timestamp

The endTime.

getEndTimeOrBuilder()

publicabstractTimestampOrBuildergetEndTimeOrBuilder()

The time the operation finished running.

.google.protobuf.Timestamp end_time = 2;

Returns
Type Description
TimestampOrBuilder

getOperationType()

publicabstractOperationTypegetOperationType()

The operation type.

.google.cloud.functions.v2beta.OperationType operation_type = 11;

Returns
Type Description
OperationType

The operationType.

getOperationTypeValue()

publicabstractintgetOperationTypeValue()

The operation type.

.google.cloud.functions.v2beta.OperationType operation_type = 11;

Returns
Type Description
int

The enum numeric value on the wire for operationType.

getRequestResource()

publicabstractAnygetRequestResource()

The original request that started the operation.

.google.protobuf.Any request_resource = 8;

Returns
Type Description
Any

The requestResource.

getRequestResourceOrBuilder()

publicabstractAnyOrBuildergetRequestResourceOrBuilder()

The original request that started the operation.

.google.protobuf.Any request_resource = 8;

Returns
Type Description
AnyOrBuilder

getStages(int index)

publicabstractStagegetStages(intindex)

Mechanism for reporting in-progress stages

repeated .google.cloud.functions.v2beta.Stage stages = 9;

Parameter
Name Description
index int
Returns
Type Description
Stage

getStagesCount()

publicabstractintgetStagesCount()

Mechanism for reporting in-progress stages

repeated .google.cloud.functions.v2beta.Stage stages = 9;

Returns
Type Description
int

getStagesList()

publicabstractList<Stage>getStagesList()

Mechanism for reporting in-progress stages

repeated .google.cloud.functions.v2beta.Stage stages = 9;

Returns
Type Description
List<Stage>

getStagesOrBuilder(int index)

publicabstractStageOrBuildergetStagesOrBuilder(intindex)

Mechanism for reporting in-progress stages

repeated .google.cloud.functions.v2beta.Stage stages = 9;

Parameter
Name Description
index int
Returns
Type Description
StageOrBuilder

getStagesOrBuilderList()

publicabstractList<?extendsStageOrBuilder>getStagesOrBuilderList()

Mechanism for reporting in-progress stages

repeated .google.cloud.functions.v2beta.Stage stages = 9;

Returns
Type Description
List<? extends com.google.cloud.functions.v2beta.StageOrBuilder>

getStatusDetail()

publicabstractStringgetStatusDetail()

Human-readable status of the operation, if any.

string status_detail = 5;

Returns
Type Description
String

The statusDetail.

getStatusDetailBytes()

publicabstractByteStringgetStatusDetailBytes()

Human-readable status of the operation, if any.

string status_detail = 5;

Returns
Type Description
ByteString

The bytes for statusDetail.

getTarget()

publicabstractStringgetTarget()

Server-defined resource path for the target of the operation.

string target = 3;

Returns
Type Description
String

The target.

getTargetBytes()

publicabstractByteStringgetTargetBytes()

Server-defined resource path for the target of the operation.

string target = 3;

Returns
Type Description
ByteString

The bytes for target.

getVerb()

publicabstractStringgetVerb()

Name of the verb executed by the operation.

string verb = 4;

Returns
Type Description
String

The verb.

getVerbBytes()

publicabstractByteStringgetVerbBytes()

Name of the verb executed by the operation.

string verb = 4;

Returns
Type Description
ByteString

The bytes for verb.

hasCreateTime()

publicabstractbooleanhasCreateTime()

The time the operation was created.

.google.protobuf.Timestamp create_time = 1;

Returns
Type Description
boolean

Whether the createTime field is set.

hasEndTime()

publicabstractbooleanhasEndTime()

The time the operation finished running.

.google.protobuf.Timestamp end_time = 2;

Returns
Type Description
boolean

Whether the endTime field is set.

hasRequestResource()

publicabstractbooleanhasRequestResource()

The original request that started the operation.

.google.protobuf.Any request_resource = 8;

Returns
Type Description
boolean

Whether the requestResource field is set.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.