public final class OperationMetadataV1 extends GeneratedMessageV3 implements OperationMetadataV1OrBuilder
Metadata describing an Operation
Protobuf type google.cloud.functions.v1.OperationMetadataV1
Static Fields
public static final int BUILD_ID_FIELD_NUMBER
Field Value
public static final int BUILD_NAME_FIELD_NUMBER
Field Value
public static final int REQUEST_FIELD_NUMBER
Field Value
public static final int SOURCE_TOKEN_FIELD_NUMBER
Field Value
public static final int TARGET_FIELD_NUMBER
Field Value
public static final int TYPE_FIELD_NUMBER
Field Value
public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
public static final int VERSION_ID_FIELD_NUMBER
Field Value
Static Methods
public static OperationMetadataV1 getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static OperationMetadataV1.Builder newBuilder()
Returns
public static OperationMetadataV1.Builder newBuilder(OperationMetadataV1 prototype)
Parameter
Returns
public static OperationMetadataV1 parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static OperationMetadataV1 parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static OperationMetadataV1 parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static OperationMetadataV1 parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static OperationMetadataV1 parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static OperationMetadataV1 parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static OperationMetadataV1 parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static OperationMetadataV1 parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static OperationMetadataV1 parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static OperationMetadataV1 parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static OperationMetadataV1 parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static OperationMetadataV1 parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<OperationMetadataV1> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
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
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
public OperationMetadataV1 getDefaultInstanceForType()
Returns
public Parser<OperationMetadataV1> getParserForType()
Returns
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;
Returns
public int getSerializedSize()
Returns
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
public OperationType getType()
Type of operation.
.google.cloud.functions.v1.OperationType type = 2;
Returns
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 final UnknownFieldSet getUnknownFields()
Returns
Overrides
public Timestamp getUpdateTime()
The last update timestamp of the operation.
.google.protobuf.Timestamp update_time = 5;
Returns
public TimestampOrBuilder getUpdateTimeOrBuilder()
The last update timestamp of the operation.
.google.protobuf.Timestamp update_time = 5;
Returns
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
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public OperationMetadataV1.Builder newBuilderForType()
Returns
protected OperationMetadataV1.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public OperationMetadataV1.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions