Class OperationMetadataV1 (2.23.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
TypeDescription
int

BUILD_NAME_FIELD_NUMBER

public static final int BUILD_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

REQUEST_FIELD_NUMBER

public static final int REQUEST_FIELD_NUMBER
Field Value
TypeDescription
int

SOURCE_TOKEN_FIELD_NUMBER

public static final int SOURCE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

TARGET_FIELD_NUMBER

public static final int TARGET_FIELD_NUMBER
Field Value
TypeDescription
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

UPDATE_TIME_FIELD_NUMBER

public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

VERSION_ID_FIELD_NUMBER

public static final int VERSION_ID_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static OperationMetadataV1 getDefaultInstance()
Returns
TypeDescription
OperationMetadataV1

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static OperationMetadataV1.Builder newBuilder()
Returns
TypeDescription
OperationMetadataV1.Builder

newBuilder(OperationMetadataV1 prototype)

public static OperationMetadataV1.Builder newBuilder(OperationMetadataV1 prototype)
Parameter
NameDescription
prototypeOperationMetadataV1
Returns
TypeDescription
OperationMetadataV1.Builder

parseDelimitedFrom(InputStream input)

public static OperationMetadataV1 parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
OperationMetadataV1
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static OperationMetadataV1 parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OperationMetadataV1
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static OperationMetadataV1 parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
OperationMetadataV1
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static OperationMetadataV1 parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OperationMetadataV1
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static OperationMetadataV1 parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
OperationMetadataV1
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static OperationMetadataV1 parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OperationMetadataV1
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static OperationMetadataV1 parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
OperationMetadataV1
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static OperationMetadataV1 parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OperationMetadataV1
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static OperationMetadataV1 parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
OperationMetadataV1
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static OperationMetadataV1 parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OperationMetadataV1
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static OperationMetadataV1 parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
OperationMetadataV1
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static OperationMetadataV1 parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OperationMetadataV1
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<OperationMetadataV1> parser()
Returns
TypeDescription
Parser<OperationMetadataV1>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for buildName.

getDefaultInstanceForType()

public OperationMetadataV1 getDefaultInstanceForType()
Returns
TypeDescription
OperationMetadataV1

getParserForType()

public Parser<OperationMetadataV1> getParserForType()
Returns
TypeDescription
Parser<OperationMetadataV1>
Overrides

getRequest()

public Any getRequest()

The original request that started the operation.

.google.protobuf.Any request = 3;

Returns
TypeDescription
Any

The request.

getRequestOrBuilder()

public AnyOrBuilder getRequestOrBuilder()

The original request that started the operation.

.google.protobuf.Any request = 3;

Returns
TypeDescription
AnyOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for target.

getType()

public OperationType getType()

Type of operation.

.google.cloud.functions.v1.OperationType type = 2;

Returns
TypeDescription
OperationType

The type.

getTypeValue()

public int getTypeValue()

Type of operation.

.google.cloud.functions.v1.OperationType type = 2;

Returns
TypeDescription
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
TypeDescription
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

The last update timestamp of the operation.

.google.protobuf.Timestamp update_time = 5;

Returns
TypeDescription
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
TypeDescription
long

The versionId.

hasRequest()

public boolean hasRequest()

The original request that started the operation.

.google.protobuf.Any request = 3;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the updateTime field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public OperationMetadataV1.Builder newBuilderForType()
Returns
TypeDescription
OperationMetadataV1.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected OperationMetadataV1.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
OperationMetadataV1.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public OperationMetadataV1.Builder toBuilder()
Returns
TypeDescription
OperationMetadataV1.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException