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

END_TIME_FIELD_NUMBER

public static final int END_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

EPHEMERAL_MESSAGE_FIELD_NUMBER

public static final int EPHEMERAL_MESSAGE_FIELD_NUMBER
Field Value
TypeDescription
int

INSERT_TIME_FIELD_NUMBER

public static final int INSERT_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

METHOD_FIELD_NUMBER

public static final int METHOD_FIELD_NUMBER
Field Value
TypeDescription
int

TARGET_FIELD_NUMBER

public static final int TARGET_FIELD_NUMBER
Field Value
TypeDescription
int

USER_FIELD_NUMBER

public static final int USER_FIELD_NUMBER
Field Value
TypeDescription
int

WARNING_FIELD_NUMBER

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

getCreateVersionMetadata()

public CreateVersionMetadataV1 getCreateVersionMetadata()

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

Returns
TypeDescription
CreateVersionMetadataV1

The createVersionMetadata.

getCreateVersionMetadataOrBuilder()

public CreateVersionMetadataV1OrBuilder getCreateVersionMetadataOrBuilder()

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

Returns
TypeDescription
CreateVersionMetadataV1OrBuilder

getDefaultInstanceForType()

public OperationMetadataV1 getDefaultInstanceForType()
Returns
TypeDescription
OperationMetadataV1

getEndTime()

public Timestamp getEndTime()

Time that this operation completed. @OutputOnly

.google.protobuf.Timestamp end_time = 3;

Returns
TypeDescription
Timestamp

The endTime.

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

Time that this operation completed. @OutputOnly

.google.protobuf.Timestamp end_time = 3;

Returns
TypeDescription
TimestampOrBuilder

getEphemeralMessage()

public String getEphemeralMessage()

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

string ephemeral_message = 6;

Returns
TypeDescription
String

The ephemeralMessage.

getEphemeralMessageBytes()

public ByteString getEphemeralMessageBytes()

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

string ephemeral_message = 6;

Returns
TypeDescription
ByteString

The bytes for ephemeralMessage.

getInsertTime()

public Timestamp getInsertTime()

Time that this operation was created. @OutputOnly

.google.protobuf.Timestamp insert_time = 2;

Returns
TypeDescription
Timestamp

The insertTime.

getInsertTimeOrBuilder()

public TimestampOrBuilder getInsertTimeOrBuilder()

Time that this operation was created. @OutputOnly

.google.protobuf.Timestamp insert_time = 2;

Returns
TypeDescription
TimestampOrBuilder

getMethod()

public String getMethod()

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

string method = 1;

Returns
TypeDescription
String

The method.

getMethodBytes()

public ByteString getMethodBytes()

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

string method = 1;

Returns
TypeDescription
ByteString

The bytes for method.

getMethodMetadataCase()

public OperationMetadataV1.MethodMetadataCase getMethodMetadataCase()
Returns
TypeDescription
OperationMetadataV1.MethodMetadataCase

getParserForType()

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

getSerializedSize()

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

The bytes for target.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getUser()

public String getUser()

User who requested this operation. @OutputOnly

string user = 4;

Returns
TypeDescription
String

The user.

getUserBytes()

public ByteString getUserBytes()

User who requested this operation. @OutputOnly

string user = 4;

Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

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

The count of warning.

getWarningList()

public ProtocolStringList getWarningList()

Durable messages that persist on every operation poll. @OutputOnly

repeated string warning = 7;

Returns
TypeDescription
ProtocolStringList

A list containing the warning.

hasCreateVersionMetadata()

public boolean hasCreateVersionMetadata()

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

Returns
TypeDescription
boolean

Whether the createVersionMetadata field is set.

hasEndTime()

public boolean hasEndTime()

Time that this operation completed. @OutputOnly

.google.protobuf.Timestamp end_time = 3;

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

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