- 2.55.0 (latest)
- 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
public static final class OperationMetadataV1.Builder extends GeneratedMessageV3.Builder<OperationMetadataV1.Builder> implements OperationMetadataV1OrBuilder
Metadata describing an Operation
Protobuf type google.cloud.functions.v1.OperationMetadataV1
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > OperationMetadataV1.BuilderImplements
OperationMetadataV1OrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
build()
public OperationMetadataV1 build()
Returns | |
---|---|
Type | Description |
OperationMetadataV1 |
buildPartial()
public OperationMetadataV1 buildPartial()
Returns | |
---|---|
Type | Description |
OperationMetadataV1 |
clear()
public OperationMetadataV1.Builder clear()
Returns | |
---|---|
Type | Description |
OperationMetadataV1.Builder |
clearBuildId()
public OperationMetadataV1.Builder clearBuildId()
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()
public OperationMetadataV1.Builder clearBuildName()
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. |
clearRequest()
public OperationMetadataV1.Builder clearRequest()
The original request that started the operation.
.google.protobuf.Any request = 3;
Returns | |
---|---|
Type | Description |
OperationMetadataV1.Builder |
clearSourceToken()
public OperationMetadataV1.Builder clearSourceToken()
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()
public OperationMetadataV1.Builder clearTarget()
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()
public OperationMetadataV1.Builder clearType()
Type of operation.
.google.cloud.functions.v1.OperationType type = 2;
Returns | |
---|---|
Type | Description |
OperationMetadataV1.Builder | This builder for chaining. |
clearUpdateTime()
public OperationMetadataV1.Builder clearUpdateTime()
The last update timestamp of the operation.
.google.protobuf.Timestamp update_time = 5;
Returns | |
---|---|
Type | Description |
OperationMetadataV1.Builder |
clearVersionId()
public OperationMetadataV1.Builder clearVersionId()
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. |
getBuildId()
public String getBuildId()
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()
public ByteString getBuildIdBytes()
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()
public String getBuildName()
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()
public ByteString getBuildNameBytes()
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()
public OperationMetadataV1 getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
OperationMetadataV1 |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getRequest()
public Any getRequest()
The original request that started the operation.
.google.protobuf.Any request = 3;
Returns | |
---|---|
Type | Description |
Any | The request. |
getRequestBuilder()
public Any.Builder getRequestBuilder()
The original request that started the operation.
.google.protobuf.Any request = 3;
Returns | |
---|---|
Type | Description |
Builder |
getRequestOrBuilder()
public AnyOrBuilder getRequestOrBuilder()
The original request that started the operation.
.google.protobuf.Any request = 3;
Returns | |
---|---|
Type | Description |
AnyOrBuilder |
getSourceToken()
public String getSourceToken()
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()
public ByteString getSourceTokenBytes()
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()
public String getTarget()
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()
public ByteString getTargetBytes()
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()
public OperationType getType()
Type of operation.
.google.cloud.functions.v1.OperationType type = 2;
Returns | |
---|---|
Type | Description |
OperationType | The type. |
getTypeValue()
public int getTypeValue()
Type of operation.
.google.cloud.functions.v1.OperationType type = 2;
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for type. |
getUpdateTime()
public Timestamp getUpdateTime()
The last update timestamp of the operation.
.google.protobuf.Timestamp update_time = 5;
Returns | |
---|---|
Type | Description |
Timestamp | The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
The last update timestamp of the operation.
.google.protobuf.Timestamp update_time = 5;
Returns | |
---|---|
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
The last update timestamp of the operation.
.google.protobuf.Timestamp update_time = 5;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getVersionId()
public long getVersionId()
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()
public boolean hasRequest()
The original request that started the operation.
.google.protobuf.Any request = 3;
Returns | |
---|---|
Type | Description |
boolean | Whether the request field is set. |
hasUpdateTime()
public boolean hasUpdateTime()
The last update timestamp of the operation.
.google.protobuf.Timestamp update_time = 5;
Returns | |
---|---|
Type | Description |
boolean | Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(OperationMetadataV1 other)
public OperationMetadataV1.Builder mergeFrom(OperationMetadataV1 other)
Parameter | |
---|---|
Name | Description |
other | OperationMetadataV1 |
Returns | |
---|---|
Type | Description |
OperationMetadataV1.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public OperationMetadataV1.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
OperationMetadataV1.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public OperationMetadataV1.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
OperationMetadataV1.Builder |
mergeRequest(Any value)
public OperationMetadataV1.Builder mergeRequest(Any value)
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)
public final OperationMetadataV1.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
OperationMetadataV1.Builder |
mergeUpdateTime(Timestamp value)
public OperationMetadataV1.Builder mergeUpdateTime(Timestamp value)
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)
public OperationMetadataV1.Builder setBuildId(String value)
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)
public OperationMetadataV1.Builder setBuildIdBytes(ByteString value)
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)
public OperationMetadataV1.Builder setBuildName(String value)
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)
public OperationMetadataV1.Builder setBuildNameBytes(ByteString value)
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. |
setRequest(Any value)
public OperationMetadataV1.Builder setRequest(Any value)
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)
public OperationMetadataV1.Builder setRequest(Any.Builder builderForValue)
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)
public OperationMetadataV1.Builder setSourceToken(String value)
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)
public OperationMetadataV1.Builder setSourceTokenBytes(ByteString value)
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)
public OperationMetadataV1.Builder setTarget(String value)
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)
public OperationMetadataV1.Builder setTargetBytes(ByteString value)
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)
public OperationMetadataV1.Builder setType(OperationType value)
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)
public OperationMetadataV1.Builder setTypeValue(int value)
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)
public final OperationMetadataV1.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
OperationMetadataV1.Builder |
setUpdateTime(Timestamp value)
public OperationMetadataV1.Builder setUpdateTime(Timestamp value)
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)
public OperationMetadataV1.Builder setUpdateTime(Timestamp.Builder builderForValue)
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)
public OperationMetadataV1.Builder setVersionId(long value)
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. |