Class OperationMetadataV1 (2.42.0)

public final class OperationMetadataV1 extends GeneratedMessageV3 implements OperationMetadataV1OrBuilder

Metadata for the given google.longrunning.Operation.

Protobuf type google.appengine.v1.OperationMetadataV1

Static Fields

CREATE_VERSION_METADATA_FIELD_NUMBER

public static final int CREATE_VERSION_METADATA_FIELD_NUMBER
Field Value
Type Description
int

END_TIME_FIELD_NUMBER

public static final int END_TIME_FIELD_NUMBER
Field Value
Type Description
int

EPHEMERAL_MESSAGE_FIELD_NUMBER

public static final int EPHEMERAL_MESSAGE_FIELD_NUMBER
Field Value
Type Description
int

INSERT_TIME_FIELD_NUMBER

public static final int INSERT_TIME_FIELD_NUMBER
Field Value
Type Description
int

METHOD_FIELD_NUMBER

public static final int METHOD_FIELD_NUMBER
Field Value
Type Description
int

TARGET_FIELD_NUMBER

public static final int TARGET_FIELD_NUMBER
Field Value
Type Description
int

USER_FIELD_NUMBER

public static final int USER_FIELD_NUMBER
Field Value
Type Description
int

WARNING_FIELD_NUMBER

public static final int WARNING_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

getCreateVersionMetadata()

public CreateVersionMetadataV1 getCreateVersionMetadata()

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

Returns
Type Description
CreateVersionMetadataV1

The createVersionMetadata.

getCreateVersionMetadataOrBuilder()

public CreateVersionMetadataV1OrBuilder getCreateVersionMetadataOrBuilder()

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

Returns
Type Description
CreateVersionMetadataV1OrBuilder

getDefaultInstanceForType()

public OperationMetadataV1 getDefaultInstanceForType()
Returns
Type Description
OperationMetadataV1

getEndTime()

public Timestamp getEndTime()

Time that this operation completed.

@OutputOnly

.google.protobuf.Timestamp end_time = 3;

Returns
Type Description
Timestamp

The endTime.

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

Time that this operation completed.

@OutputOnly

.google.protobuf.Timestamp end_time = 3;

Returns
Type Description
TimestampOrBuilder

getEphemeralMessage()

public String getEphemeralMessage()

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

string ephemeral_message = 6;

Returns
Type Description
String

The ephemeralMessage.

getEphemeralMessageBytes()

public ByteString getEphemeralMessageBytes()

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()

public Timestamp getInsertTime()

Time that this operation was created.

@OutputOnly

.google.protobuf.Timestamp insert_time = 2;

Returns
Type Description
Timestamp

The insertTime.

getInsertTimeOrBuilder()

public TimestampOrBuilder getInsertTimeOrBuilder()

Time that this operation was created.

@OutputOnly

.google.protobuf.Timestamp insert_time = 2;

Returns
Type Description
TimestampOrBuilder

getMethod()

public String getMethod()

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

@OutputOnly

string method = 1;

Returns
Type Description
String

The method.

getMethodBytes()

public ByteString getMethodBytes()

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()

public OperationMetadataV1.MethodMetadataCase getMethodMetadataCase()
Returns
Type Description
OperationMetadataV1.MethodMetadataCase

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTarget()

public String getTarget()

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()

public ByteString getTargetBytes()

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()

public String getUser()

User who requested this operation.

@OutputOnly

string user = 4;

Returns
Type Description
String

The user.

getUserBytes()

public ByteString getUserBytes()

User who requested this operation.

@OutputOnly

string user = 4;

Returns
Type Description
ByteString

The bytes for user.

getWarning(int index)

public String getWarning(int index)

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)

public ByteString getWarningBytes(int index)

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()

public int getWarningCount()

Durable messages that persist on every operation poll. @OutputOnly

repeated string warning = 7;

Returns
Type Description
int

The count of warning.

getWarningList()

public ProtocolStringList getWarningList()

Durable messages that persist on every operation poll. @OutputOnly

repeated string warning = 7;

Returns
Type Description
ProtocolStringList

A list containing the warning.

hasCreateVersionMetadata()

public boolean hasCreateVersionMetadata()

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

Returns
Type Description
boolean

Whether the createVersionMetadata field is set.

hasEndTime()

public boolean hasEndTime()

Time that this operation completed.

@OutputOnly

.google.protobuf.Timestamp end_time = 3;

Returns
Type Description
boolean

Whether the endTime field is set.

hasInsertTime()

public boolean hasInsertTime()

Time that this operation was created.

@OutputOnly

.google.protobuf.Timestamp insert_time = 2;

Returns
Type Description
boolean

Whether the insertTime 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