Class OperationMetadataV1.Builder (2.6.0)

Stay organized with collections Save and categorize content based on your preferences.
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
TypeDescription
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
NameDescription
valuesIterable<String>

The warning to add.

Returns
TypeDescription
OperationMetadataV1.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public OperationMetadataV1.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The warning to add.

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

The bytes of the warning to add.

Returns
TypeDescription
OperationMetadataV1.Builder

This builder for chaining.

build()

public OperationMetadataV1 build()
Returns
TypeDescription
OperationMetadataV1

buildPartial()

public OperationMetadataV1 buildPartial()
Returns
TypeDescription
OperationMetadataV1

clear()

public OperationMetadataV1.Builder clear()
Returns
TypeDescription
OperationMetadataV1.Builder
Overrides

clearCreateVersionMetadata()

public OperationMetadataV1.Builder clearCreateVersionMetadata()

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

Returns
TypeDescription
OperationMetadataV1.Builder

clearEndTime()

public OperationMetadataV1.Builder clearEndTime()

Time that this operation completed. @OutputOnly

.google.protobuf.Timestamp end_time = 3;

Returns
TypeDescription
OperationMetadataV1.Builder

clearEphemeralMessage()

public OperationMetadataV1.Builder clearEphemeralMessage()

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

string ephemeral_message = 6;

Returns
TypeDescription
OperationMetadataV1.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public OperationMetadataV1.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
OperationMetadataV1.Builder
Overrides

clearInsertTime()

public OperationMetadataV1.Builder clearInsertTime()

Time that this operation was created. @OutputOnly

.google.protobuf.Timestamp insert_time = 2;

Returns
TypeDescription
OperationMetadataV1.Builder

clearMethod()

public OperationMetadataV1.Builder clearMethod()

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

string method = 1;

Returns
TypeDescription
OperationMetadataV1.Builder

This builder for chaining.

clearMethodMetadata()

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

clearOneof(Descriptors.OneofDescriptor oneof)

public OperationMetadataV1.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter