Class OperationMetadataV1.Builder (2.44.0)

public static final class OperationMetadataV1.Builder extends GeneratedMessageV3.Builder<OperationMetadataV1.Builder> implements OperationMetadataV1OrBuilder

Metadata for the given google.longrunning.Operation.

Protobuf type google.appengine.v1.OperationMetadataV1

Static Methods

getDescriptor()

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

Methods

addAllWarning(Iterable<String> values)

public OperationMetadataV1.Builder addAllWarning(Iterable<String> values)

Durable messages that persist on every operation poll. @OutputOnly

repeated string warning = 7;

Parameter
Name Description
values Iterable<String>

The warning to add.

Returns
Type Description
OperationMetadataV1.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public OperationMetadataV1.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
OperationMetadataV1.Builder
Overrides

addWarning(String value)

public OperationMetadataV1.Builder addWarning(String value)

Durable messages that persist on every operation poll. @OutputOnly

repeated string warning = 7;

Parameter
Name Description
value String

The warning to add.

Returns
Type Description
OperationMetadataV1.Builder

This builder for chaining.

addWarningBytes(ByteString value)

public OperationMetadataV1.Builder addWarningBytes(ByteString value)

Durable messages that persist on every operation poll. @OutputOnly

repeated string warning = 7;

Parameter
Name Description
value ByteString

The bytes of the warning to add.

Returns
Type Description
OperationMetadataV1.Builder

This builder for chaining.

build()

public OperationMetadataV1 build()
Returns
Type Description
OperationMetadataV1

buildPartial()

public OperationMetadataV1 buildPartial()
Returns
Type Description
OperationMetadataV1

clear()

public OperationMetadataV1.Builder clear()
Returns
Type Description
OperationMetadataV1.Builder
Overrides

clearCreateVersionMetadata()

public OperationMetadataV1.Builder clearCreateVersionMetadata()

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

Returns
Type Description
OperationMetadataV1.Builder

clearEndTime()

public OperationMetadataV1.Builder clearEndTime()

Time that this operation completed.

@OutputOnly

.google.protobuf.Timestamp end_time = 3;

Returns
Type Description
OperationMetadataV1.Builder

clearEphemeralMessage()

public OperationMetadataV1.Builder clearEphemeralMessage()

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

string ephemeral_message = 6;

Returns
Type Description
OperationMetadataV1.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public OperationMetadataV1.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
OperationMetadataV1.Builder
Overrides

clearInsertTime()

public OperationMetadataV1.Builder clearInsertTime()

Time that this operation was created.

@OutputOnly

.google.protobuf.Timestamp insert_time = 2;

Returns
Type Description
OperationMetadataV1.Builder

clearMethod()

public OperationMetadataV1.Builder clearMethod()

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

@OutputOnly

string method = 1;

Returns
Type Description
OperationMetadataV1.Builder

This builder for chaining.

clearMethodMetadata()

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

clearOneof(Descriptors.OneofDescriptor oneof)

public OperationMetadataV1.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
OperationMetadataV1.Builder
Overrides

clearTarget()

public OperationMetadataV1.Builder clearTarget()

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

@OutputOnly

string target = 5;

Returns
Type Description
OperationMetadataV1.Builder

This builder for chaining.

clearUser()

public OperationMetadataV1.Builder clearUser()

User who requested this operation.

@OutputOnly

string user = 4;

Returns
Type Description
OperationMetadataV1.Builder

This builder for chaining.

clearWarning()

public OperationMetadataV1.Builder clearWarning()

Durable messages that persist on every operation poll. @OutputOnly

repeated string warning = 7;

Returns
Type Description
OperationMetadataV1.Builder

This builder for chaining.

clone()

public OperationMetadataV1.Builder clone()
Returns
Type Description
OperationMetadataV1.Builder
Overrides

getCreateVersionMetadata()

public CreateVersionMetadataV1 getCreateVersionMetadata()

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

Returns
Type Description
CreateVersionMetadataV1

The createVersionMetadata.

getCreateVersionMetadataBuilder()

public CreateVersionMetadataV1.Builder getCreateVersionMetadataBuilder()

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

Returns
Type Description
CreateVersionMetadataV1.Builder

getCreateVersionMetadataOrBuilder()

public CreateVersionMetadataV1OrBuilder getCreateVersionMetadataOrBuilder()

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

Returns
Type Description
CreateVersionMetadataV1OrBuilder

getDefaultInstanceForType()

public OperationMetadataV1 getDefaultInstanceForType()
Returns
Type Description
OperationMetadataV1

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEndTime()

public Timestamp getEndTime()

Time that this operation completed.

@OutputOnly

.google.protobuf.Timestamp end_time = 3;

Returns
Type Description
Timestamp

The endTime.

getEndTimeBuilder()

public Timestamp.Builder getEndTimeBuilder()

Time that this operation completed.

@OutputOnly

.google.protobuf.Timestamp end_time = 3;

Returns
Type Description
Builder

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.

getInsertTimeBuilder()

public Timestamp.Builder getInsertTimeBuilder()

Time that this operation was created.

@OutputOnly

.google.protobuf.Timestamp insert_time = 2;

Returns
Type Description
Builder

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

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateVersionMetadata(CreateVersionMetadataV1 value)

public OperationMetadataV1.Builder mergeCreateVersionMetadata(CreateVersionMetadataV1 value)

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

Parameter
Name Description
value CreateVersionMetadataV1
Returns
Type Description
OperationMetadataV1.Builder

mergeEndTime(Timestamp value)

public OperationMetadataV1.Builder mergeEndTime(Timestamp value)

Time that this operation completed.

@OutputOnly

.google.protobuf.Timestamp end_time = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
OperationMetadataV1.Builder

mergeFrom(OperationMetadataV1 other)

public OperationMetadataV1.Builder mergeFrom(OperationMetadataV1 other)
Parameter
Name Description
other OperationMetadataV1
Returns
Type Description
OperationMetadataV1.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public OperationMetadataV1.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OperationMetadataV1.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public OperationMetadataV1.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
OperationMetadataV1.Builder
Overrides

mergeInsertTime(Timestamp value)

public OperationMetadataV1.Builder mergeInsertTime(Timestamp value)

Time that this operation was created.

@OutputOnly

.google.protobuf.Timestamp insert_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
OperationMetadataV1.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final OperationMetadataV1.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
OperationMetadataV1.Builder
Overrides

setCreateVersionMetadata(CreateVersionMetadataV1 value)

public OperationMetadataV1.Builder setCreateVersionMetadata(CreateVersionMetadataV1 value)

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

Parameter
Name Description
value CreateVersionMetadataV1
Returns
Type Description
OperationMetadataV1.Builder

setCreateVersionMetadata(CreateVersionMetadataV1.Builder builderForValue)

public OperationMetadataV1.Builder setCreateVersionMetadata(CreateVersionMetadataV1.Builder builderForValue)

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

Parameter
Name Description
builderForValue CreateVersionMetadataV1.Builder
Returns
Type Description
OperationMetadataV1.Builder

setEndTime(Timestamp value)

public OperationMetadataV1.Builder setEndTime(Timestamp value)

Time that this operation completed.

@OutputOnly

.google.protobuf.Timestamp end_time = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
OperationMetadataV1.Builder

setEndTime(Timestamp.Builder builderForValue)

public OperationMetadataV1.Builder setEndTime(Timestamp.Builder builderForValue)

Time that this operation completed.

@OutputOnly

.google.protobuf.Timestamp end_time = 3;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
OperationMetadataV1.Builder

setEphemeralMessage(String value)

public OperationMetadataV1.Builder setEphemeralMessage(String value)

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

string ephemeral_message = 6;

Parameter
Name Description
value String

The ephemeralMessage to set.

Returns
Type Description
OperationMetadataV1.Builder

This builder for chaining.

setEphemeralMessageBytes(ByteString value)

public OperationMetadataV1.Builder setEphemeralMessageBytes(ByteString value)

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

string ephemeral_message = 6;

Parameter
Name Description
value ByteString

The bytes for ephemeralMessage to set.

Returns
Type Description
OperationMetadataV1.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public OperationMetadataV1.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
OperationMetadataV1.Builder
Overrides

setInsertTime(Timestamp value)

public OperationMetadataV1.Builder setInsertTime(Timestamp value)

Time that this operation was created.

@OutputOnly

.google.protobuf.Timestamp insert_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
OperationMetadataV1.Builder

setInsertTime(Timestamp.Builder builderForValue)

public OperationMetadataV1.Builder setInsertTime(Timestamp.Builder builderForValue)

Time that this operation was created.

@OutputOnly

.google.protobuf.Timestamp insert_time = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
OperationMetadataV1.Builder

setMethod(String value)

public OperationMetadataV1.Builder setMethod(String value)

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

@OutputOnly

string method = 1;

Parameter
Name Description
value String

The method to set.

Returns
Type Description
OperationMetadataV1.Builder

This builder for chaining.

setMethodBytes(ByteString value)

public OperationMetadataV1.Builder setMethodBytes(ByteString value)

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

@OutputOnly

string method = 1;

Parameter
Name Description
value ByteString

The bytes for method to set.

Returns
Type Description
OperationMetadataV1.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public OperationMetadataV1.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
OperationMetadataV1.Builder
Overrides

setTarget(String value)

public OperationMetadataV1.Builder setTarget(String value)

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

@OutputOnly

string target = 5;

Parameter
Name Description
value String

The target to set.

Returns
Type Description
OperationMetadataV1.Builder

This builder for chaining.

setTargetBytes(ByteString value)

public OperationMetadataV1.Builder setTargetBytes(ByteString value)

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

@OutputOnly

string target = 5;

Parameter
Name Description
value ByteString

The bytes for target to set.

Returns
Type Description
OperationMetadataV1.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final OperationMetadataV1.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
OperationMetadataV1.Builder
Overrides

setUser(String value)

public OperationMetadataV1.Builder setUser(String value)

User who requested this operation.

@OutputOnly

string user = 4;

Parameter
Name Description
value String

The user to set.

Returns
Type Description
OperationMetadataV1.Builder

This builder for chaining.

setUserBytes(ByteString value)

public OperationMetadataV1.Builder setUserBytes(ByteString value)

User who requested this operation.

@OutputOnly

string user = 4;

Parameter
Name Description
value ByteString

The bytes for user to set.

Returns
Type Description
OperationMetadataV1.Builder

This builder for chaining.

setWarning(int index, String value)

public OperationMetadataV1.Builder setWarning(int index, String value)

Durable messages that persist on every operation poll. @OutputOnly

repeated string warning = 7;

Parameters
Name Description
index int

The index to set the value at.

value String

The warning to set.

Returns
Type Description
OperationMetadataV1.Builder

This builder for chaining.