Class OperationMetadataV1.Builder (2.14.0)

publicstaticfinalclass OperationMetadataV1.BuilderextendsGeneratedMessageV3.Builder<OperationMetadataV1.Builder>implementsOperationMetadataV1OrBuilder

Metadata describing an Operation

Protobuf type google.cloud.functions.v1.OperationMetadataV1

Inherited Members

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicOperationMetadataV1.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
value Object
Returns
Type Description
Overrides

build()

publicOperationMetadataV1build()
Returns
Type Description

buildPartial()

publicOperationMetadataV1buildPartial()
Returns
Type Description

clear()

publicOperationMetadataV1.Builderclear()
Returns
Type Description
Overrides

clearBuildId()

publicOperationMetadataV1.BuilderclearBuildId()

The Cloud Build ID of the function created or updated by an API call. This field is only populated for Create and Update operations.

string build_id = 6;

Returns
Type Description
OperationMetadataV1.Builder

This builder for chaining.

clearBuildName()

publicOperationMetadataV1.BuilderclearBuildName()

The Cloud Build Name of the function deployment. This field is only populated for Create and Update operations. projects/<project-number>/locations/<region>/builds/<build-id>.

string build_name = 8;

Returns
Type Description
OperationMetadataV1.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

publicOperationMetadataV1.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
Returns
Type Description
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

publicOperationMetadataV1.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
Returns
Type Description
Overrides

clearRequest()

publicOperationMetadataV1.BuilderclearRequest()

The original request that started the operation.

.google.protobuf.Any request = 3;

Returns
Type Description

clearSourceToken()

publicOperationMetadataV1.BuilderclearSourceToken()

An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.

string source_token = 7;

Returns
Type Description
OperationMetadataV1.Builder

This builder for chaining.

clearTarget()

publicOperationMetadataV1.BuilderclearTarget()

Target of the operation - for example projects/project-1/locations/region-1/functions/function-1

string target = 1;

Returns
Type Description
OperationMetadataV1.Builder

This builder for chaining.

clearType()

publicOperationMetadataV1.BuilderclearType()

Type of operation.

.google.cloud.functions.v1.OperationType type = 2;

Returns
Type Description
OperationMetadataV1.Builder

This builder for chaining.

clearUpdateTime()

publicOperationMetadataV1.BuilderclearUpdateTime()

The last update timestamp of the operation.

.google.protobuf.Timestamp update_time = 5;

Returns
Type Description

clearVersionId()

publicOperationMetadataV1.BuilderclearVersionId()

Version id of the function created or updated by an API call. This field is only populated for Create and Update operations.

int64 version_id = 4;

Returns
Type Description
OperationMetadataV1.Builder

This builder for chaining.

clone()

publicOperationMetadataV1.Builderclone()
Returns
Type Description
Overrides

getBuildId()

publicStringgetBuildId()

The Cloud Build ID of the function created or updated by an API call. This field is only populated for Create and Update operations.

string build_id = 6;

Returns
Type Description
String

The buildId.

getBuildIdBytes()

publicByteStringgetBuildIdBytes()

The Cloud Build ID of the function created or updated by an API call. This field is only populated for Create and Update operations.

string build_id = 6;

Returns
Type Description
ByteString

The bytes for buildId.

getBuildName()

publicStringgetBuildName()

The Cloud Build Name of the function deployment. This field is only populated for Create and Update operations. projects/<project-number>/locations/<region>/builds/<build-id>.

string build_name = 8;

Returns
Type Description
String

The buildName.

getBuildNameBytes()

publicByteStringgetBuildNameBytes()

The Cloud Build Name of the function deployment. This field is only populated for Create and Update operations. projects/<project-number>/locations/<region>/builds/<build-id>.

string build_name = 8;

Returns
Type Description
ByteString

The bytes for buildName.

getDefaultInstanceForType()

publicOperationMetadataV1getDefaultInstanceForType()
Returns
Type Description

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Overrides

getRequest()

publicAnygetRequest()

The original request that started the operation.

.google.protobuf.Any request = 3;

Returns
Type Description
Any

The request.

getRequestBuilder()

publicAny.BuildergetRequestBuilder()

The original request that started the operation.

.google.protobuf.Any request = 3;

Returns
Type Description

getRequestOrBuilder()

publicAnyOrBuildergetRequestOrBuilder()

The original request that started the operation.

.google.protobuf.Any request = 3;

Returns
Type Description

getSourceToken()

publicStringgetSourceToken()

An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.

string source_token = 7;

Returns
Type Description
String

The sourceToken.

getSourceTokenBytes()

publicByteStringgetSourceTokenBytes()

An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.

string source_token = 7;

Returns
Type Description
ByteString

The bytes for sourceToken.

getTarget()

publicStringgetTarget()

Target of the operation - for example projects/project-1/locations/region-1/functions/function-1

string target = 1;

Returns
Type Description
String

The target.

getTargetBytes()

publicByteStringgetTargetBytes()

Target of the operation - for example projects/project-1/locations/region-1/functions/function-1

string target = 1;

Returns
Type Description
ByteString

The bytes for target.

getType()

publicOperationTypegetType()

Type of operation.

.google.cloud.functions.v1.OperationType type = 2;

Returns
Type Description
OperationType

The type.

getTypeValue()

publicintgetTypeValue()

Type of operation.

.google.cloud.functions.v1.OperationType type = 2;

Returns
Type Description
int

The enum numeric value on the wire for type.

getUpdateTime()

publicTimestampgetUpdateTime()

The last update timestamp of the operation.

.google.protobuf.Timestamp update_time = 5;

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

publicTimestamp.BuildergetUpdateTimeBuilder()

The last update timestamp of the operation.

.google.protobuf.Timestamp update_time = 5;

Returns
Type Description

getUpdateTimeOrBuilder()

publicTimestampOrBuildergetUpdateTimeOrBuilder()

The last update timestamp of the operation.

.google.protobuf.Timestamp update_time = 5;

Returns
Type Description

getVersionId()

publiclonggetVersionId()

Version id of the function created or updated by an API call. This field is only populated for Create and Update operations.

int64 version_id = 4;

Returns
Type Description
long

The versionId.

hasRequest()

publicbooleanhasRequest()

The original request that started the operation.

.google.protobuf.Any request = 3;

Returns
Type Description
boolean

Whether the request field is set.

hasUpdateTime()

publicbooleanhasUpdateTime()

The last update timestamp of the operation.

.google.protobuf.Timestamp update_time = 5;

Returns
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
Overrides

mergeFrom(OperationMetadataV1 other)

publicOperationMetadataV1.BuildermergeFrom(OperationMetadataV1other)
Parameter
Name Description
Returns
Type Description

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicOperationMetadataV1.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Overrides Exceptions
Type Description

mergeFrom(Message other)

publicOperationMetadataV1.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
Overrides

mergeRequest(Any value)

publicOperationMetadataV1.BuildermergeRequest(Anyvalue)

The original request that started the operation.

.google.protobuf.Any request = 3;

Parameter
Name Description
value Any
Returns
Type Description

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalOperationMetadataV1.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Overrides

mergeUpdateTime(Timestamp value)

publicOperationMetadataV1.BuildermergeUpdateTime(Timestampvalue)

The last update timestamp of the operation.

.google.protobuf.Timestamp update_time = 5;

Parameter
Name Description
value Timestamp
Returns
Type Description

setBuildId(String value)

publicOperationMetadataV1.BuildersetBuildId(Stringvalue)

The Cloud Build ID of the function created or updated by an API call. This field is only populated for Create and Update operations.

string build_id = 6;

Parameter
Name Description
value String

The buildId to set.

Returns
Type Description
OperationMetadataV1.Builder

This builder for chaining.

setBuildIdBytes(ByteString value)

publicOperationMetadataV1.BuildersetBuildIdBytes(ByteStringvalue)

The Cloud Build ID of the function created or updated by an API call. This field is only populated for Create and Update operations.

string build_id = 6;

Parameter
Name Description
value ByteString

The bytes for buildId to set.

Returns
Type Description
OperationMetadataV1.Builder

This builder for chaining.

setBuildName(String value)

publicOperationMetadataV1.BuildersetBuildName(Stringvalue)

The Cloud Build Name of the function deployment. This field is only populated for Create and Update operations. projects/<project-number>/locations/<region>/builds/<build-id>.

string build_name = 8;

Parameter
Name Description
value String

The buildName to set.

Returns
Type Description
OperationMetadataV1.Builder

This builder for chaining.

setBuildNameBytes(ByteString value)

publicOperationMetadataV1.BuildersetBuildNameBytes(ByteStringvalue)

The Cloud Build Name of the function deployment. This field is only populated for Create and Update operations. projects/<project-number>/locations/<region>/builds/<build-id>.

string build_name = 8;

Parameter
Name Description
value ByteString

The bytes for buildName to set.

Returns
Type Description
OperationMetadataV1.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

publicOperationMetadataV1.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
value Object
Returns
Type Description
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

publicOperationMetadataV1.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
index int
value Object
Returns
Type Description
Overrides

setRequest(Any value)

publicOperationMetadataV1.BuildersetRequest(Anyvalue)

The original request that started the operation.

.google.protobuf.Any request = 3;

Parameter
Name Description
value Any
Returns
Type Description

setRequest(Any.Builder builderForValue)

publicOperationMetadataV1.BuildersetRequest(Any.BuilderbuilderForValue)

The original request that started the operation.

.google.protobuf.Any request = 3;

Parameter
Name Description
builderForValue Builder
Returns
Type Description

setSourceToken(String value)

publicOperationMetadataV1.BuildersetSourceToken(Stringvalue)

An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.

string source_token = 7;

Parameter
Name Description
value String

The sourceToken to set.

Returns
Type Description
OperationMetadataV1.Builder

This builder for chaining.

setSourceTokenBytes(ByteString value)

publicOperationMetadataV1.BuildersetSourceTokenBytes(ByteStringvalue)

An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments.

string source_token = 7;

Parameter
Name Description
value ByteString

The bytes for sourceToken to set.

Returns
Type Description
OperationMetadataV1.Builder

This builder for chaining.

setTarget(String value)

publicOperationMetadataV1.BuildersetTarget(Stringvalue)

Target of the operation - for example projects/project-1/locations/region-1/functions/function-1

string target = 1;

Parameter
Name Description
value String

The target to set.

Returns
Type Description
OperationMetadataV1.Builder

This builder for chaining.

setTargetBytes(ByteString value)

publicOperationMetadataV1.BuildersetTargetBytes(ByteStringvalue)

Target of the operation - for example projects/project-1/locations/region-1/functions/function-1

string target = 1;

Parameter
Name Description
value ByteString

The bytes for target to set.

Returns
Type Description
OperationMetadataV1.Builder

This builder for chaining.

setType(OperationType value)

publicOperationMetadataV1.BuildersetType(OperationTypevalue)

Type of operation.

.google.cloud.functions.v1.OperationType type = 2;

Parameter
Name Description
value OperationType

The type to set.

Returns
Type Description
OperationMetadataV1.Builder

This builder for chaining.

setTypeValue(int value)

publicOperationMetadataV1.BuildersetTypeValue(intvalue)

Type of operation.

.google.cloud.functions.v1.OperationType type = 2;

Parameter
Name Description
value int

The enum numeric value on the wire for type to set.

Returns
Type Description
OperationMetadataV1.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalOperationMetadataV1.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Overrides

setUpdateTime(Timestamp value)

publicOperationMetadataV1.BuildersetUpdateTime(Timestampvalue)

The last update timestamp of the operation.

.google.protobuf.Timestamp update_time = 5;

Parameter
Name Description
value Timestamp
Returns
Type Description

setUpdateTime(Timestamp.Builder builderForValue)

publicOperationMetadataV1.BuildersetUpdateTime(Timestamp.BuilderbuilderForValue)

The last update timestamp of the operation.

.google.protobuf.Timestamp update_time = 5;

Parameter
Name Description
builderForValue Builder
Returns
Type Description

setVersionId(long value)

publicOperationMetadataV1.BuildersetVersionId(longvalue)

Version id of the function created or updated by an API call. This field is only populated for Create and Update operations.

int64 version_id = 4;

Parameter
Name Description
value long

The versionId to set.

Returns
Type Description
OperationMetadataV1.Builder

This builder for chaining.

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.