Class OperationMetadataV1 (2.78.0)

publicfinalclass OperationMetadataV1extendsGeneratedMessageV3implementsOperationMetadataV1OrBuilder

Metadata for the given google.longrunning.Operation.

Protobuf type google.appengine.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

CREATE_VERSION_METADATA_FIELD_NUMBER

publicstaticfinalintCREATE_VERSION_METADATA_FIELD_NUMBER
Field Value
Type Description
int

END_TIME_FIELD_NUMBER

publicstaticfinalintEND_TIME_FIELD_NUMBER
Field Value
Type Description
int

EPHEMERAL_MESSAGE_FIELD_NUMBER

publicstaticfinalintEPHEMERAL_MESSAGE_FIELD_NUMBER
Field Value
Type Description
int

INSERT_TIME_FIELD_NUMBER

publicstaticfinalintINSERT_TIME_FIELD_NUMBER
Field Value
Type Description
int

METHOD_FIELD_NUMBER

publicstaticfinalintMETHOD_FIELD_NUMBER
Field Value
Type Description
int

TARGET_FIELD_NUMBER

publicstaticfinalintTARGET_FIELD_NUMBER
Field Value
Type Description
int

USER_FIELD_NUMBER

publicstaticfinalintUSER_FIELD_NUMBER
Field Value
Type Description
int

WARNING_FIELD_NUMBER

publicstaticfinalintWARNING_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticOperationMetadataV1getDefaultInstance()
Returns
Type Description
OperationMetadataV1

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticOperationMetadataV1.BuildernewBuilder()
Returns
Type Description
OperationMetadataV1.Builder

newBuilder(OperationMetadataV1 prototype)

publicstaticOperationMetadataV1.BuildernewBuilder(OperationMetadataV1prototype)
Parameter
Name Description
prototype OperationMetadataV1
Returns
Type Description
OperationMetadataV1.Builder

parseDelimitedFrom(InputStream input)

publicstaticOperationMetadataV1parseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
OperationMetadataV1
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticOperationMetadataV1parseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OperationMetadataV1
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticOperationMetadataV1parseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
OperationMetadataV1
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticOperationMetadataV1parseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OperationMetadataV1
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticOperationMetadataV1parseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
OperationMetadataV1
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticOperationMetadataV1parseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OperationMetadataV1
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticOperationMetadataV1parseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
OperationMetadataV1
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticOperationMetadataV1parseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OperationMetadataV1
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticOperationMetadataV1parseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
OperationMetadataV1
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticOperationMetadataV1parseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OperationMetadataV1
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticOperationMetadataV1parseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
OperationMetadataV1
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticOperationMetadataV1parseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OperationMetadataV1
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<OperationMetadataV1>parser()
Returns
Type Description
Parser<OperationMetadataV1>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCreateVersionMetadata()

publicCreateVersionMetadataV1getCreateVersionMetadata()

.google.appengine.v1.CreateVersionMetadataV1 create_version_metadata = 8;

Returns
Type Description
CreateVersionMetadataV1

The createVersionMetadata.

getCreateVersionMetadataOrBuilder()

publicCreateVersionMetadataV1OrBuildergetCreateVersionMetadataOrBuilder()

.google.appengine.v1.CreateVersionMetadataV1 create_version_metadata = 8;

Returns
Type Description
CreateVersionMetadataV1OrBuilder

getDefaultInstanceForType()

publicOperationMetadataV1getDefaultInstanceForType()
Returns
Type Description
OperationMetadataV1

getEndTime()

publicTimestampgetEndTime()

Time that this operation completed.

@OutputOnly

.google.protobuf.Timestamp end_time = 3;

Returns
Type Description
Timestamp

The endTime.

getEndTimeOrBuilder()

publicTimestampOrBuildergetEndTimeOrBuilder()

Time that this operation completed.

@OutputOnly

.google.protobuf.Timestamp end_time = 3;

Returns
Type Description
TimestampOrBuilder

getEphemeralMessage()

publicStringgetEphemeralMessage()

Ephemeral message that may change every time the operation is polled. @OutputOnly

string ephemeral_message = 6;

Returns
Type Description
String

The ephemeralMessage.

getEphemeralMessageBytes()

publicByteStringgetEphemeralMessageBytes()

Ephemeral message that may change every time the operation is polled. @OutputOnly

string ephemeral_message = 6;

Returns
Type Description
ByteString

The bytes for ephemeralMessage.

getInsertTime()

publicTimestampgetInsertTime()

Time that this operation was created.

@OutputOnly

.google.protobuf.Timestamp insert_time = 2;

Returns
Type Description
Timestamp

The insertTime.

getInsertTimeOrBuilder()

publicTimestampOrBuildergetInsertTimeOrBuilder()

Time that this operation was created.

@OutputOnly

.google.protobuf.Timestamp insert_time = 2;

Returns
Type Description
TimestampOrBuilder

getMethod()

publicStringgetMethod()

API method that initiated this operation. Example: google.appengine.v1.Versions.CreateVersion.

@OutputOnly

string method = 1;

Returns
Type Description
String

The method.

getMethodBytes()

publicByteStringgetMethodBytes()

API method that initiated this operation. Example: google.appengine.v1.Versions.CreateVersion.

@OutputOnly

string method = 1;

Returns
Type Description
ByteString

The bytes for method.

getMethodMetadataCase()

publicOperationMetadataV1.MethodMetadataCasegetMethodMetadataCase()
Returns
Type Description
OperationMetadataV1.MethodMetadataCase

getParserForType()

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

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

getTarget()

publicStringgetTarget()

Name of the resource that this operation is acting on. Example: apps/myapp/services/default.

@OutputOnly

string target = 5;

Returns
Type Description
String

The target.

getTargetBytes()

publicByteStringgetTargetBytes()

Name of the resource that this operation is acting on. Example: apps/myapp/services/default.

@OutputOnly

string target = 5;

Returns
Type Description
ByteString

The bytes for target.

getUser()

publicStringgetUser()

User who requested this operation.

@OutputOnly

string user = 4;

Returns
Type Description
String

The user.

getUserBytes()

publicByteStringgetUserBytes()

User who requested this operation.

@OutputOnly

string user = 4;

Returns
Type Description
ByteString

The bytes for user.

getWarning(int index)

publicStringgetWarning(intindex)

Durable messages that persist on every operation poll. @OutputOnly

repeated string warning = 7;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The warning at the given index.

getWarningBytes(int index)

publicByteStringgetWarningBytes(intindex)

Durable messages that persist on every operation poll. @OutputOnly

repeated string warning = 7;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the warning at the given index.

getWarningCount()

publicintgetWarningCount()

Durable messages that persist on every operation poll. @OutputOnly

repeated string warning = 7;

Returns
Type Description
int

The count of warning.

getWarningList()

publicProtocolStringListgetWarningList()

Durable messages that persist on every operation poll. @OutputOnly

repeated string warning = 7;

Returns
Type Description
ProtocolStringList

A list containing the warning.

hasCreateVersionMetadata()

publicbooleanhasCreateVersionMetadata()

.google.appengine.v1.CreateVersionMetadataV1 create_version_metadata = 8;

Returns
Type Description
boolean

Whether the createVersionMetadata field is set.

hasEndTime()

publicbooleanhasEndTime()

Time that this operation completed.

@OutputOnly

.google.protobuf.Timestamp end_time = 3;

Returns
Type Description
boolean

Whether the endTime field is set.

hasInsertTime()

publicbooleanhasInsertTime()

Time that this operation was created.

@OutputOnly

.google.protobuf.Timestamp insert_time = 2;

Returns
Type Description
boolean

Whether the insertTime field is set.

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicOperationMetadataV1.BuildernewBuilderForType()
Returns
Type Description
OperationMetadataV1.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedOperationMetadataV1.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
OperationMetadataV1.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicOperationMetadataV1.BuildertoBuilder()
Returns
Type Description
OperationMetadataV1.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

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年10月30日 UTC.