Class OperationMetadataV1.Builder (2.11.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
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
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
OperationMetadataV1.Builder

This builder for chaining.

clearUser()

public OperationMetadataV1.Builder clearUser()

User who requested this operation. @OutputOnly

string user = 4;

Returns
TypeDescription
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
TypeDescription
OperationMetadataV1.Builder

This builder for chaining.

clone()

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

getCreateVersionMetadata()

public CreateVersionMetadataV1 getCreateVersionMetadata()

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

Returns
TypeDescription
CreateVersionMetadataV1

The createVersionMetadata.

getCreateVersionMetadataBuilder()

public CreateVersionMetadataV1.Builder getCreateVersionMetadataBuilder()

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

Returns
TypeDescription
CreateVersionMetadataV1.Builder

getCreateVersionMetadataOrBuilder()

public CreateVersionMetadataV1OrBuilder getCreateVersionMetadataOrBuilder()

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

Returns
TypeDescription
CreateVersionMetadataV1OrBuilder

getDefaultInstanceForType()

public OperationMetadataV1 getDefaultInstanceForType()
Returns
TypeDescription
OperationMetadataV1

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEndTime()

public Timestamp getEndTime()

Time that this operation completed. @OutputOnly

.google.protobuf.Timestamp end_time = 3;

Returns
TypeDescription
Timestamp

The endTime.

getEndTimeBuilder()

public Timestamp.Builder getEndTimeBuilder()

Time that this operation completed. @OutputOnly

.google.protobuf.Timestamp end_time = 3;

Returns
TypeDescription
Builder

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.

getInsertTimeBuilder()

public Timestamp.Builder getInsertTimeBuilder()

Time that this operation was created. @OutputOnly

.google.protobuf.Timestamp insert_time = 2;

Returns
TypeDescription
Builder

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

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.

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCreateVersionMetadata(CreateVersionMetadataV1 value)

public OperationMetadataV1.Builder mergeCreateVersionMetadata(CreateVersionMetadataV1 value)

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

Parameter
NameDescription
valueCreateVersionMetadataV1
Returns
TypeDescription
OperationMetadataV1.Builder

mergeEndTime(Timestamp value)

public OperationMetadataV1.Builder mergeEndTime(Timestamp value)

Time that this operation completed. @OutputOnly

.google.protobuf.Timestamp end_time = 3;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
OperationMetadataV1.Builder

mergeFrom(OperationMetadataV1 other)

public OperationMetadataV1.Builder mergeFrom(OperationMetadataV1 other)
Parameter
NameDescription
otherOperationMetadataV1
Returns
TypeDescription
OperationMetadataV1.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public OperationMetadataV1.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OperationMetadataV1.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public OperationMetadataV1.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
OperationMetadataV1.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final OperationMetadataV1.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
OperationMetadataV1.Builder
Overrides

setCreateVersionMetadata(CreateVersionMetadataV1 value)

public OperationMetadataV1.Builder setCreateVersionMetadata(CreateVersionMetadataV1 value)

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

Parameter
NameDescription
valueCreateVersionMetadataV1
Returns
TypeDescription
OperationMetadataV1.Builder

setCreateVersionMetadata(CreateVersionMetadataV1.Builder builderForValue)

public OperationMetadataV1.Builder setCreateVersionMetadata(CreateVersionMetadataV1.Builder builderForValue)

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

Parameter
NameDescription
builderForValueCreateVersionMetadataV1.Builder
Returns
TypeDescription
OperationMetadataV1.Builder

setEndTime(Timestamp value)

public OperationMetadataV1.Builder setEndTime(Timestamp value)

Time that this operation completed. @OutputOnly

.google.protobuf.Timestamp end_time = 3;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueString

The ephemeralMessage to set.

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

The bytes for ephemeralMessage to set.

Returns
TypeDescription
OperationMetadataV1.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

The method to set.

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

The bytes for method to set.

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

The target to set.

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

The bytes for target to set.

Returns
TypeDescription
OperationMetadataV1.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final OperationMetadataV1.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
OperationMetadataV1.Builder
Overrides

setUser(String value)

public OperationMetadataV1.Builder setUser(String value)

User who requested this operation. @OutputOnly

string user = 4;

Parameter
NameDescription
valueString

The user to set.

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

The bytes for user to set.

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

The index to set the value at.

valueString

The warning to set.

Returns
TypeDescription
OperationMetadataV1.Builder

This builder for chaining.