Class OperationMetadataV1.Builder (2.76.0)
Stay organized with collections
Save and categorize content based on your preferences.
- 2.80.0 (latest)
- 2.78.0
- 2.77.0
- 2.76.0
- 2.75.0
- 2.74.0
- 2.72.0
- 2.70.0
- 2.69.0
- 2.66.0
- 2.65.0
- 2.64.0
- 2.62.0
- 2.61.0
- 2.60.0
- 2.59.0
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.4
- 2.4.3
- 2.3.6
publicstaticfinalclass OperationMetadataV1.BuilderextendsGeneratedMessageV3.Builder<OperationMetadataV1.Builder>implementsOperationMetadataV1OrBuilderMetadata describing an Operation
Protobuf type google.cloud.functions.v1.OperationMetadataV1
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > OperationMetadataV1.BuilderImplements
OperationMetadataV1OrBuilderInherited Members
Static Methods
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicOperationMetadataV1.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
OperationMetadataV1.Builder |
|
build()
publicOperationMetadataV1build()| Returns | |
|---|---|
| Type | Description |
OperationMetadataV1 |
|
buildPartial()
publicOperationMetadataV1buildPartial()| Returns | |
|---|---|
| Type | Description |
OperationMetadataV1 |
|
clear()
publicOperationMetadataV1.Builderclear()| Returns | |
|---|---|
| Type | Description |
OperationMetadataV1.Builder |
|
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 |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
OperationMetadataV1.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
publicOperationMetadataV1.BuilderclearOneof(Descriptors.OneofDescriptoroneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
OperationMetadataV1.Builder |
|
clearRequest()
publicOperationMetadataV1.BuilderclearRequest()The original request that started the operation.
.google.protobuf.Any request = 3;
| Returns | |
|---|---|
| Type | Description |
OperationMetadataV1.Builder |
|
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 |
OperationMetadataV1.Builder |
|
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 |
OperationMetadataV1.Builder |
|
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 |
OperationMetadataV1 |
|
getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 |
Builder |
|
getRequestOrBuilder()
publicAnyOrBuildergetRequestOrBuilder()The original request that started the operation.
.google.protobuf.Any request = 3;
| Returns | |
|---|---|
| Type | Description |
AnyOrBuilder |
|
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 |
Builder |
|
getUpdateTimeOrBuilder()
publicTimestampOrBuildergetUpdateTimeOrBuilder()The last update timestamp of the operation.
.google.protobuf.Timestamp update_time = 5;
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
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 |
FieldAccessorTable |
|
isInitialized()
publicfinalbooleanisInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(OperationMetadataV1 other)
publicOperationMetadataV1.BuildermergeFrom(OperationMetadataV1other)| Parameter | |
|---|---|
| Name | Description |
other |
OperationMetadataV1 |
| Returns | |
|---|---|
| Type | Description |
OperationMetadataV1.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
publicOperationMetadataV1.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
OperationMetadataV1.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
publicOperationMetadataV1.BuildermergeFrom(Messageother)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
OperationMetadataV1.Builder |
|
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 |
OperationMetadataV1.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalOperationMetadataV1.BuildermergeUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
OperationMetadataV1.Builder |
|
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 |
OperationMetadataV1.Builder |
|
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 |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
OperationMetadataV1.Builder |
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicOperationMetadataV1.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
OperationMetadataV1.Builder |
|
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 |
OperationMetadataV1.Builder |
|
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 |
OperationMetadataV1.Builder |
|
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 |
OperationMetadataV1.Builder |
|
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 |
OperationMetadataV1.Builder |
|
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 |
OperationMetadataV1.Builder |
|
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. |