publicfinalclass OperationMetadataextendsGeneratedMessageV3implementsOperationMetadataOrBuilder
Represents the metadata of the long-running operation.
Protobuf type google.cloud.functions.v2.OperationMetadata
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
publicstaticfinalintAPI_VERSION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
publicstaticfinalintBUILD_NAME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
publicstaticfinalintCANCEL_REQUESTED_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
publicstaticfinalintCREATE_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
publicstaticfinalintEND_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
publicstaticfinalintOPERATION_TYPE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
publicstaticfinalintREQUEST_RESOURCE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
publicstaticfinalintSOURCE_TOKEN_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
publicstaticfinalintSTAGES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
publicstaticfinalintSTATUS_DETAIL_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
publicstaticfinalintTARGET_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
publicstaticfinalintVERB_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
Static Methods
publicstaticOperationMetadatagetDefaultInstance()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
publicstaticOperationMetadata.BuildernewBuilder()
publicstaticOperationMetadata.BuildernewBuilder(OperationMetadataprototype)
publicstaticOperationMetadataparseDelimitedFrom(InputStreaminput)
publicstaticOperationMetadataparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
publicstaticOperationMetadataparseFrom(byte[]data)
| Parameter |
| Name |
Description |
data |
byte[]
|
publicstaticOperationMetadataparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
publicstaticOperationMetadataparseFrom(ByteStringdata)
publicstaticOperationMetadataparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
publicstaticOperationMetadataparseFrom(CodedInputStreaminput)
publicstaticOperationMetadataparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
publicstaticOperationMetadataparseFrom(InputStreaminput)
publicstaticOperationMetadataparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
publicstaticOperationMetadataparseFrom(ByteBufferdata)
publicstaticOperationMetadataparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
publicstaticParser<OperationMetadata>parser()
Methods
publicbooleanequals(Objectobj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
publicStringgetApiVersion()
API version used to start the operation.
string api_version = 7;
| Returns |
| Type |
Description |
String |
The apiVersion.
|
publicByteStringgetApiVersionBytes()
API version used to start the operation.
string api_version = 7;
| Returns |
| Type |
Description |
ByteString |
The bytes for apiVersion.
|
publicStringgetBuildName()
The build name of the function for create and update operations.
string build_name = 13;
| Returns |
| Type |
Description |
String |
The buildName.
|
publicByteStringgetBuildNameBytes()
The build name of the function for create and update operations.
string build_name = 13;
| Returns |
| Type |
Description |
ByteString |
The bytes for buildName.
|
publicbooleangetCancelRequested()
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.
|
publicTimestampgetCreateTime()
The time the operation was created.
.google.protobuf.Timestamp create_time = 1;
| Returns |
| Type |
Description |
Timestamp |
The createTime.
|
publicTimestampOrBuildergetCreateTimeOrBuilder()
The time the operation was created.
.google.protobuf.Timestamp create_time = 1;
publicOperationMetadatagetDefaultInstanceForType()
publicTimestampgetEndTime()
The time the operation finished running.
.google.protobuf.Timestamp end_time = 2;
| Returns |
| Type |
Description |
Timestamp |
The endTime.
|
publicTimestampOrBuildergetEndTimeOrBuilder()
The time the operation finished running.
.google.protobuf.Timestamp end_time = 2;
publicOperationTypegetOperationType()
The operation type.
.google.cloud.functions.v2.OperationType operation_type = 11;
publicintgetOperationTypeValue()
The operation type.
.google.cloud.functions.v2.OperationType operation_type = 11;
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for operationType.
|
publicParser<OperationMetadata>getParserForType()
Overrides
publicAnygetRequestResource()
The original request that started the operation.
.google.protobuf.Any request_resource = 8;
| Returns |
| Type |
Description |
Any |
The requestResource.
|
publicAnyOrBuildergetRequestResourceOrBuilder()
The original request that started the operation.
.google.protobuf.Any request_resource = 8;
publicintgetSerializedSize()
| Returns |
| Type |
Description |
int |
Overrides
publicStringgetSourceToken()
An identifier for Firebase function sources. Disclaimer: This field is only
supported for Firebase function deployments.
string source_token = 10;
| Returns |
| Type |
Description |
String |
The sourceToken.
|
publicByteStringgetSourceTokenBytes()
An identifier for Firebase function sources. Disclaimer: This field is only
supported for Firebase function deployments.
string source_token = 10;
| Returns |
| Type |
Description |
ByteString |
The bytes for sourceToken.
|
publicStagegetStages(intindex)
Mechanism for reporting in-progress stages
repeated .google.cloud.functions.v2.Stage stages = 9;
| Parameter |
| Name |
Description |
index |
int
|
| Returns |
| Type |
Description |
Stage |
publicintgetStagesCount()
Mechanism for reporting in-progress stages
repeated .google.cloud.functions.v2.Stage stages = 9;
| Returns |
| Type |
Description |
int |
publicList<Stage>getStagesList()
Mechanism for reporting in-progress stages
repeated .google.cloud.functions.v2.Stage stages = 9;
publicStageOrBuildergetStagesOrBuilder(intindex)
Mechanism for reporting in-progress stages
repeated .google.cloud.functions.v2.Stage stages = 9;
| Parameter |
| Name |
Description |
index |
int
|
publicList<?extendsStageOrBuilder>getStagesOrBuilderList()
Mechanism for reporting in-progress stages
repeated .google.cloud.functions.v2.Stage stages = 9;
| Returns |
| Type |
Description |
List<? extends com.google.cloud.functions.v2.StageOrBuilder> |
publicStringgetStatusDetail()
Human-readable status of the operation, if any.
string status_detail = 5;
| Returns |
| Type |
Description |
String |
The statusDetail.
|
publicByteStringgetStatusDetailBytes()
Human-readable status of the operation, if any.
string status_detail = 5;
| Returns |
| Type |
Description |
ByteString |
The bytes for statusDetail.
|
Server-defined resource path for the target of the operation.
string target = 3;
| Returns |
| Type |
Description |
String |
The target.
|
publicByteStringgetTargetBytes()
Server-defined resource path for the target of the operation.
string target = 3;
| Returns |
| Type |
Description |
ByteString |
The bytes for target.
|
Name of the verb executed by the operation.
string verb = 4;
| Returns |
| Type |
Description |
String |
The verb.
|
publicByteStringgetVerbBytes()
Name of the verb executed by the operation.
string verb = 4;
| Returns |
| Type |
Description |
ByteString |
The bytes for verb.
|
publicbooleanhasCreateTime()
The time the operation was created.
.google.protobuf.Timestamp create_time = 1;
| Returns |
| Type |
Description |
boolean |
Whether the createTime field is set.
|
publicbooleanhasEndTime()
The time the operation finished running.
.google.protobuf.Timestamp end_time = 2;
| Returns |
| Type |
Description |
boolean |
Whether the endTime field is set.
|
publicbooleanhasRequestResource()
The original request that started the operation.
.google.protobuf.Any request_resource = 8;
| Returns |
| Type |
Description |
boolean |
Whether the requestResource field is set.
|
| Returns |
| Type |
Description |
int |
Overrides
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
publicfinalbooleanisInitialized()
Overrides
publicOperationMetadata.BuildernewBuilderForType()
protectedOperationMetadata.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Overrides
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
| Returns |
| Type |
Description |
Object |
Overrides
publicOperationMetadata.BuildertoBuilder()
publicvoidwriteTo(CodedOutputStreamoutput)
Overrides