Class OperationMetadataV1.Builder (2.55.0)

publicstaticfinalclass OperationMetadataV1.BuilderextendsGeneratedMessageV3.Builder<OperationMetadataV1.Builder>implementsOperationMetadataV1OrBuilder

Metadata for the given google.longrunning.Operation.

Protobuf type google.appengine.v1.OperationMetadataV1

Inherited Members

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

Methods

addAllWarning(Iterable<String> values)

publicOperationMetadataV1.BuilderaddAllWarning(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)

publicOperationMetadataV1.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
OperationMetadataV1.Builder
Overrides

addWarning(String value)

publicOperationMetadataV1.BuilderaddWarning(Stringvalue)

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)

publicOperationMetadataV1.BuilderaddWarningBytes(ByteStringvalue)

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

publicOperationMetadataV1build()
Returns
Type Description
OperationMetadataV1

buildPartial()

publicOperationMetadataV1buildPartial()
Returns
Type Description
OperationMetadataV1

clear()

publicOperationMetadataV1.Builderclear()
Returns
Type Description
OperationMetadataV1.Builder
Overrides

clearCreateVersionMetadata()

publicOperationMetadataV1.BuilderclearCreateVersionMetadata()

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

Returns
Type Description
OperationMetadataV1.Builder

clearEndTime()

publicOperationMetadataV1.BuilderclearEndTime()

Time that this operation completed.

@OutputOnly

.google.protobuf.Timestamp end_time = 3;

Returns
Type Description
OperationMetadataV1.Builder

clearEphemeralMessage()

publicOperationMetadataV1.BuilderclearEphemeralMessage()

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)

publicOperationMetadataV1.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
OperationMetadataV1.Builder
Overrides

clearInsertTime()

publicOperationMetadataV1.BuilderclearInsertTime()

Time that this operation was created.

@OutputOnly

.google.protobuf.Timestamp insert_time = 2;

Returns
Type Description
OperationMetadataV1.Builder

clearMethod()

publicOperationMetadataV1.BuilderclearMethod()

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

publicOperationMetadataV1.BuilderclearMethodMetadata()
Returns
Type Description
OperationMetadataV1.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

publicOperationMetadataV1.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
OperationMetadataV1.Builder
Overrides

clearTarget()

publicOperationMetadataV1.BuilderclearTarget()

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

publicOperationMetadataV1.BuilderclearUser()

User who requested this operation.

@OutputOnly

string user = 4;

Returns
Type Description
OperationMetadataV1.Builder

This builder for chaining.

clearWarning()

publicOperationMetadataV1.BuilderclearWarning()

Durable messages that persist on every operation poll. @OutputOnly

repeated string warning = 7;

Returns
Type Description
OperationMetadataV1.Builder

This builder for chaining.

clone()

publicOperationMetadataV1.Builderclone()
Returns
Type Description
OperationMetadataV1.Builder
Overrides

getCreateVersionMetadata()

publicCreateVersionMetadataV1getCreateVersionMetadata()

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

Returns
Type Description
CreateVersionMetadataV1

The createVersionMetadata.

getCreateVersionMetadataBuilder()

publicCreateVersionMetadataV1.BuildergetCreateVersionMetadataBuilder()

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

Returns
Type Description
CreateVersionMetadataV1.Builder

getCreateVersionMetadataOrBuilder()

publicCreateVersionMetadataV1OrBuildergetCreateVersionMetadataOrBuilder()

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

Returns
Type Description
CreateVersionMetadataV1OrBuilder

getDefaultInstanceForType()

publicOperationMetadataV1getDefaultInstanceForType()
Returns
Type Description
OperationMetadataV1

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEndTime()

publicTimestampgetEndTime()

Time that this operation completed.

@OutputOnly

.google.protobuf.Timestamp end_time = 3;

Returns
Type Description
Timestamp

The endTime.

getEndTimeBuilder()

publicTimestamp.BuildergetEndTimeBuilder()

Time that this operation completed.

@OutputOnly

.google.protobuf.Timestamp end_time = 3;

Returns
Type Description
Builder

getEndTimeOrBuilder()

publicTimestampOrBuildergetEndTimeOrBuilder()

Time that this operation completed.

@OutputOnly

.google.protobuf.Timestamp end_time = 3;

Returns
Type Description
TimestampOrBuilder

getEphemeralMessage()

publicStringgetEphemeralMessage()

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

string ephemeral_message = 6;

Returns
Type Description
String

The ephemeralMessage.

getEphemeralMessageBytes()

publicByteStringgetEphemeralMessageBytes()

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

publicTimestampgetInsertTime()

Time that this operation was created.

@OutputOnly

.google.protobuf.Timestamp insert_time = 2;

Returns
Type Description
Timestamp

The insertTime.

getInsertTimeBuilder()

publicTimestamp.BuildergetInsertTimeBuilder()

Time that this operation was created.

@OutputOnly

.google.protobuf.Timestamp insert_time = 2;

Returns
Type Description
Builder

getInsertTimeOrBuilder()

publicTimestampOrBuildergetInsertTimeOrBuilder()

Time that this operation was created.

@OutputOnly

.google.protobuf.Timestamp insert_time = 2;

Returns
Type Description
TimestampOrBuilder

getMethod()

publicStringgetMethod()

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

@OutputOnly

string method = 1;

Returns
Type Description
String

The method.

getMethodBytes()

publicByteStringgetMethodBytes()

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

publicOperationMetadataV1.MethodMetadataCasegetMethodMetadataCase()
Returns
Type Description
OperationMetadataV1.MethodMetadataCase

getTarget()

publicStringgetTarget()

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

publicByteStringgetTargetBytes()

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

publicStringgetUser()

User who requested this operation.

@OutputOnly

string user = 4;

Returns
Type Description
String

The user.

getUserBytes()

publicByteStringgetUserBytes()

User who requested this operation.

@OutputOnly

string user = 4;

Returns
Type Description
ByteString

The bytes for user.

getWarning(int index)

publicStringgetWarning(intindex)

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)

publicByteStringgetWarningBytes(intindex)

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

publicintgetWarningCount()

Durable messages that persist on every operation poll. @OutputOnly

repeated string warning = 7;

Returns
Type Description
int

The count of warning.

getWarningList()

publicProtocolStringListgetWarningList()

Durable messages that persist on every operation poll. @OutputOnly

repeated string warning = 7;

Returns
Type Description
ProtocolStringList

A list containing the warning.

hasCreateVersionMetadata()

publicbooleanhasCreateVersionMetadata()

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

Returns
Type Description
boolean

Whether the createVersionMetadata field is set.

hasEndTime()

publicbooleanhasEndTime()

Time that this operation completed.

@OutputOnly

.google.protobuf.Timestamp end_time = 3;

Returns
Type Description
boolean

Whether the endTime field is set.

hasInsertTime()

publicbooleanhasInsertTime()

Time that this operation was created.

@OutputOnly

.google.protobuf.Timestamp insert_time = 2;

Returns
Type Description
boolean

Whether the insertTime field is set.

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateVersionMetadata(CreateVersionMetadataV1 value)

publicOperationMetadataV1.BuildermergeCreateVersionMetadata(CreateVersionMetadataV1value)

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

Parameter
Name Description
value CreateVersionMetadataV1
Returns
Type Description
OperationMetadataV1.Builder

mergeEndTime(Timestamp value)

publicOperationMetadataV1.BuildermergeEndTime(Timestampvalue)

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)

publicOperationMetadataV1.BuildermergeFrom(OperationMetadataV1other)
Parameter
Name Description
other OperationMetadataV1
Returns
Type Description
OperationMetadataV1.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicOperationMetadataV1.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OperationMetadataV1.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

publicOperationMetadataV1.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
OperationMetadataV1.Builder
Overrides

mergeInsertTime(Timestamp value)

publicOperationMetadataV1.BuildermergeInsertTime(Timestampvalue)

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)

publicfinalOperationMetadataV1.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
OperationMetadataV1.Builder
Overrides

setCreateVersionMetadata(CreateVersionMetadataV1 value)

publicOperationMetadataV1.BuildersetCreateVersionMetadata(CreateVersionMetadataV1value)

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

Parameter
Name Description
value CreateVersionMetadataV1
Returns
Type Description
OperationMetadataV1.Builder

setCreateVersionMetadata(CreateVersionMetadataV1.Builder builderForValue)

publicOperationMetadataV1.BuildersetCreateVersionMetadata(CreateVersionMetadataV1.BuilderbuilderForValue)

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

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

setEndTime(Timestamp value)

publicOperationMetadataV1.BuildersetEndTime(Timestampvalue)

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)

publicOperationMetadataV1.BuildersetEndTime(Timestamp.BuilderbuilderForValue)

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)

publicOperationMetadataV1.BuildersetEphemeralMessage(Stringvalue)

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)

publicOperationMetadataV1.BuildersetEphemeralMessageBytes(ByteStringvalue)

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)

publicOperationMetadataV1.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
OperationMetadataV1.Builder
Overrides

setInsertTime(Timestamp value)

publicOperationMetadataV1.BuildersetInsertTime(Timestampvalue)

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)

publicOperationMetadataV1.BuildersetInsertTime(Timestamp.BuilderbuilderForValue)

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)

publicOperationMetadataV1.BuildersetMethod(Stringvalue)

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)

publicOperationMetadataV1.BuildersetMethodBytes(ByteStringvalue)

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)

publicOperationMetadataV1.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
OperationMetadataV1.Builder
Overrides

setTarget(String value)

publicOperationMetadataV1.BuildersetTarget(Stringvalue)

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)

publicOperationMetadataV1.BuildersetTargetBytes(ByteStringvalue)

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)

publicfinalOperationMetadataV1.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
OperationMetadataV1.Builder
Overrides

setUser(String value)

publicOperationMetadataV1.BuildersetUser(Stringvalue)

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)

publicOperationMetadataV1.BuildersetUserBytes(ByteStringvalue)

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)

publicOperationMetadataV1.BuildersetWarning(intindex,Stringvalue)

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.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.