Send feedback
Class OperationMetadataV1 (2.57.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.57.0 keyboard_arrow_down
public final class OperationMetadataV1 extends GeneratedMessageV3 implements OperationMetadataV1OrBuilder
Metadata describing an Operation
Protobuf type google.cloud.functions.v1.OperationMetadataV1
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
public static final int BUILD_ID_FIELD_NUMBER
Field Value
Type
Description
int
public static final int BUILD_NAME_FIELD_NUMBER
Field Value
Type
Description
int
public static final int REQUEST_FIELD_NUMBER
Field Value
Type
Description
int
public static final int SOURCE_TOKEN_FIELD_NUMBER
Field Value
Type
Description
int
public static final int TARGET_FIELD_NUMBER
Field Value
Type
Description
int
public static final int TYPE_FIELD_NUMBER
Field Value
Type
Description
int
public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
Type
Description
int
public static final int VERSION_ID_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static OperationMetadataV1 getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static OperationMetadataV1 . Builder newBuilder ()
public static OperationMetadataV1 . Builder newBuilder ( OperationMetadataV1 prototype )
public static OperationMetadataV1 parseDelimitedFrom ( InputStream input )
public static OperationMetadataV1 parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static OperationMetadataV1 parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static OperationMetadataV1 parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static OperationMetadataV1 parseFrom ( ByteString data )
public static OperationMetadataV1 parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static OperationMetadataV1 parseFrom ( CodedInputStream input )
public static OperationMetadataV1 parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static OperationMetadataV1 parseFrom ( InputStream input )
public static OperationMetadataV1 parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static OperationMetadataV1 parseFrom ( ByteBuffer data )
public static OperationMetadataV1 parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<OperationMetadataV1> parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
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.
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.
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.
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.
public OperationMetadataV1 getDefaultInstanceForType ()
public Parser<OperationMetadataV1> getParserForType ()
Overrides
The original request that started the operation.
.google.protobuf.Any request = 3;
Returns
Type
Description
Any
The request.
public AnyOrBuilder getRequestOrBuilder ()
The original request that started the operation.
.google.protobuf.Any request = 3;
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
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.
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.
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.
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.
public OperationType getType ()
Type of operation.
.google.cloud.functions.v1.OperationType type = 2;
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.
public Timestamp getUpdateTime ()
The last update timestamp of the operation.
.google.protobuf.Timestamp update_time = 5;
Returns
Type
Description
Timestamp
The updateTime.
public TimestampOrBuilder getUpdateTimeOrBuilder ()
The last update timestamp of the operation.
.google.protobuf.Timestamp update_time = 5;
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.
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.
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.
Returns
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public OperationMetadataV1 . Builder newBuilderForType ()
protected OperationMetadataV1 . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public OperationMetadataV1 . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
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-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]