Class OperationMetadataV1 (2.50.0)

public final class OperationMetadataV1 extends GeneratedMessageV3 implements OperationMetadataV1OrBuilder

Metadata describing an Operation

Protobuf type google.cloud.functions.v1.OperationMetadataV1

Static Fields

BUILD_ID_FIELD_NUMBER

public static final int BUILD_ID_FIELD_NUMBER
Field Value
Type Description
int

BUILD_NAME_FIELD_NUMBER

public static final int BUILD_NAME_FIELD_NUMBER
Field Value
Type Description
int

REQUEST_FIELD_NUMBER

public static final int REQUEST_FIELD_NUMBER
Field Value
Type Description
int

SOURCE_TOKEN_FIELD_NUMBER

public static final int SOURCE_TOKEN_FIELD_NUMBER
Field Value
Type Description
int

TARGET_FIELD_NUMBER

public static final int TARGET_FIELD_NUMBER
Field Value
Type Description
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_TIME_FIELD_NUMBER

public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

VERSION_ID_FIELD_NUMBER

public static final int VERSION_ID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static OperationMetadataV1 getDefaultInstance()
Returns
Type Description
OperationMetadataV1

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static OperationMetadataV1.Builder newBuilder()
Returns
Type Description
OperationMetadataV1.Builder

newBuilder(OperationMetadataV1 prototype)

public static OperationMetadataV1.Builder newBuilder(OperationMetadataV1 prototype)
Parameter
Name Description
prototype OperationMetadataV1
Returns
Type Description
OperationMetadataV1.Builder

parseDelimitedFrom(InputStream input)

public static OperationMetadataV1 parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
OperationMetadataV1
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static OperationMetadataV1 parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OperationMetadataV1
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static OperationMetadataV1 parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
OperationMetadataV1
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static OperationMetadataV1 parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OperationMetadataV1
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static OperationMetadataV1 parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
OperationMetadataV1
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static OperationMetadataV1 parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OperationMetadataV1
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static OperationMetadataV1 parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
OperationMetadataV1
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static OperationMetadataV1 parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OperationMetadataV1
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static OperationMetadataV1 parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
OperationMetadataV1
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static OperationMetadataV1 parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OperationMetadataV1
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static OperationMetadataV1 parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
OperationMetadataV1
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static OperationMetadataV1 parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OperationMetadataV1
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<OperationMetadataV1> parser()
Returns
Type Description
Parser<OperationMetadataV1>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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

getParserForType()

public Parser<OperationMetadataV1> getParserForType()
Returns
Type Description
Parser<OperationMetadataV1>
Overrides

getRequest()

public Any getRequest()

The original request that started the operation.

.google.protobuf.Any request = 3;

Returns
Type Description
Any

The request.

getRequestOrBuilder()

public AnyOrBuilder getRequestOrBuilder()

The original request that started the operation.

.google.protobuf.Any request = 3;

Returns
Type Description
AnyOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public OperationMetadataV1.Builder newBuilderForType()
Returns
Type Description
OperationMetadataV1.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected OperationMetadataV1.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
OperationMetadataV1.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public OperationMetadataV1.Builder toBuilder()
Returns
Type Description
OperationMetadataV1.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException