Class GenerateAppResourceOperationMetadata.Builder (0.7.0)

public static final class GenerateAppResourceOperationMetadata.Builder extends GeneratedMessage.Builder<GenerateAppResourceOperationMetadata.Builder> implements GenerateAppResourceOperationMetadataOrBuilder

Operation metadata for AgentService.GenerateAppResource.

Protobuf type google.cloud.ces.v1beta.GenerateAppResourceOperationMetadata

Static Methods

getDescriptor()

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

Methods

addAllPartialErrors(Iterable<? extends Status> values)

public GenerateAppResourceOperationMetadata.Builder addAllPartialErrors(Iterable<? extends Status> values)

Output only. Error messages from the resource generation process.

repeated .google.rpc.Status partial_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.rpc.Status>
Returns
Type Description
GenerateAppResourceOperationMetadata.Builder

addPartialErrors(Status value)

public GenerateAppResourceOperationMetadata.Builder addPartialErrors(Status value)

Output only. Error messages from the resource generation process.

repeated .google.rpc.Status partial_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value com.google.rpc.Status
Returns
Type Description
GenerateAppResourceOperationMetadata.Builder

addPartialErrors(Status.Builder builderForValue)

public GenerateAppResourceOperationMetadata.Builder addPartialErrors(Status.Builder builderForValue)

Output only. Error messages from the resource generation process.

repeated .google.rpc.Status partial_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue com.google.rpc.Status.Builder
Returns
Type Description
GenerateAppResourceOperationMetadata.Builder

addPartialErrors(int index, Status value)

public GenerateAppResourceOperationMetadata.Builder addPartialErrors(int index, Status value)

Output only. Error messages from the resource generation process.

repeated .google.rpc.Status partial_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value com.google.rpc.Status
Returns
Type Description
GenerateAppResourceOperationMetadata.Builder

addPartialErrors(int index, Status.Builder builderForValue)

public GenerateAppResourceOperationMetadata.Builder addPartialErrors(int index, Status.Builder builderForValue)

Output only. Error messages from the resource generation process.

repeated .google.rpc.Status partial_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue com.google.rpc.Status.Builder
Returns
Type Description
GenerateAppResourceOperationMetadata.Builder

addPartialErrorsBuilder()

public Status.Builder addPartialErrorsBuilder()

Output only. Error messages from the resource generation process.

repeated .google.rpc.Status partial_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.rpc.Status.Builder

addPartialErrorsBuilder(int index)

public Status.Builder addPartialErrorsBuilder(int index)

Output only. Error messages from the resource generation process.

repeated .google.rpc.Status partial_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
com.google.rpc.Status.Builder

build()

public GenerateAppResourceOperationMetadata build()
Returns
Type Description
GenerateAppResourceOperationMetadata

buildPartial()

public GenerateAppResourceOperationMetadata buildPartial()
Returns
Type Description
GenerateAppResourceOperationMetadata

clear()

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

clearCreateTime()

public GenerateAppResourceOperationMetadata.Builder clearCreateTime()

Output only. The time the operation was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
GenerateAppResourceOperationMetadata.Builder

clearEndTime()

public GenerateAppResourceOperationMetadata.Builder clearEndTime()

Output only. The time the operation finished running.

.google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
GenerateAppResourceOperationMetadata.Builder

clearGenerationType()

public GenerateAppResourceOperationMetadata.Builder clearGenerationType()

Output only. The type of the operation.

.google.cloud.ces.v1beta.GenerateAppResourceOperationMetadata.GenerationType generation_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
GenerateAppResourceOperationMetadata.Builder

This builder for chaining.

clearMessage()

public GenerateAppResourceOperationMetadata.Builder clearMessage()

Output only. Human-readable status of the operation, if any.

string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
GenerateAppResourceOperationMetadata.Builder

This builder for chaining.

clearPartialErrors()

public GenerateAppResourceOperationMetadata.Builder clearPartialErrors()

Output only. Error messages from the resource generation process.

repeated .google.rpc.Status partial_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
GenerateAppResourceOperationMetadata.Builder

clearTarget()

public GenerateAppResourceOperationMetadata.Builder clearTarget()

Output only. The resource name of the app that the operation is associated with. Format: projects/{project}/locations/{location}/apps/{app}.

string target = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
GenerateAppResourceOperationMetadata.Builder

This builder for chaining.

getCreateTime()

public Timestamp getCreateTime()

Output only. The time the operation was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. The time the operation was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The time the operation was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public GenerateAppResourceOperationMetadata getDefaultInstanceForType()
Returns
Type Description
GenerateAppResourceOperationMetadata

getDescriptorForType()

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

getEndTime()

public Timestamp getEndTime()

Output only. The time the operation finished running.

.google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The endTime.

getEndTimeBuilder()

public Timestamp.Builder getEndTimeBuilder()

Output only. The time the operation finished running.

.google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

Output only. The time the operation finished running.

.google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getGenerationType()

public GenerateAppResourceOperationMetadata.GenerationType getGenerationType()

Output only. The type of the operation.

.google.cloud.ces.v1beta.GenerateAppResourceOperationMetadata.GenerationType generation_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
GenerateAppResourceOperationMetadata.GenerationType

The generationType.

getGenerationTypeValue()

public int getGenerationTypeValue()

Output only. The type of the operation.

.google.cloud.ces.v1beta.GenerateAppResourceOperationMetadata.GenerationType generation_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for generationType.

getMessage()

public String getMessage()

Output only. Human-readable status of the operation, if any.

string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The message.

getMessageBytes()

public ByteString getMessageBytes()

Output only. Human-readable status of the operation, if any.

string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for message.

getPartialErrors(int index)

public Status getPartialErrors(int index)

Output only. Error messages from the resource generation process.

repeated .google.rpc.Status partial_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
com.google.rpc.Status

getPartialErrorsBuilder(int index)

public Status.Builder getPartialErrorsBuilder(int index)

Output only. Error messages from the resource generation process.

repeated .google.rpc.Status partial_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
com.google.rpc.Status.Builder

getPartialErrorsBuilderList()

public List<Status.Builder> getPartialErrorsBuilderList()

Output only. Error messages from the resource generation process.

repeated .google.rpc.Status partial_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<com.google.rpc.Status.Builder>

getPartialErrorsCount()

public int getPartialErrorsCount()

Output only. Error messages from the resource generation process.

repeated .google.rpc.Status partial_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getPartialErrorsList()

public List<Status> getPartialErrorsList()

Output only. Error messages from the resource generation process.

repeated .google.rpc.Status partial_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<com.google.rpc.Status>

getPartialErrorsOrBuilder(int index)

public StatusOrBuilder getPartialErrorsOrBuilder(int index)

Output only. Error messages from the resource generation process.

repeated .google.rpc.Status partial_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
com.google.rpc.StatusOrBuilder

getPartialErrorsOrBuilderList()

public List<? extends StatusOrBuilder> getPartialErrorsOrBuilderList()

Output only. Error messages from the resource generation process.

repeated .google.rpc.Status partial_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.rpc.StatusOrBuilder>

getTarget()

public String getTarget()

Output only. The resource name of the app that the operation is associated with. Format: projects/{project}/locations/{location}/apps/{app}.

string target = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The target.

getTargetBytes()

public ByteString getTargetBytes()

Output only. The resource name of the app that the operation is associated with. Format: projects/{project}/locations/{location}/apps/{app}.

string target = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for target.

hasCreateTime()

public boolean hasCreateTime()

Output only. The time the operation was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasEndTime()

public boolean hasEndTime()

Output only. The time the operation finished running.

.google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the endTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public GenerateAppResourceOperationMetadata.Builder mergeCreateTime(Timestamp value)

Output only. The time the operation was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
GenerateAppResourceOperationMetadata.Builder

mergeEndTime(Timestamp value)

public GenerateAppResourceOperationMetadata.Builder mergeEndTime(Timestamp value)

Output only. The time the operation finished running.

.google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
GenerateAppResourceOperationMetadata.Builder

mergeFrom(GenerateAppResourceOperationMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removePartialErrors(int index)

public GenerateAppResourceOperationMetadata.Builder removePartialErrors(int index)

Output only. Error messages from the resource generation process.

repeated .google.rpc.Status partial_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
GenerateAppResourceOperationMetadata.Builder

setCreateTime(Timestamp value)

public GenerateAppResourceOperationMetadata.Builder setCreateTime(Timestamp value)

Output only. The time the operation was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
GenerateAppResourceOperationMetadata.Builder

setCreateTime(Timestamp.Builder builderForValue)

public GenerateAppResourceOperationMetadata.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. The time the operation was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
GenerateAppResourceOperationMetadata.Builder

setEndTime(Timestamp value)

public GenerateAppResourceOperationMetadata.Builder setEndTime(Timestamp value)

Output only. The time the operation finished running.

.google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
GenerateAppResourceOperationMetadata.Builder

setEndTime(Timestamp.Builder builderForValue)

public GenerateAppResourceOperationMetadata.Builder setEndTime(Timestamp.Builder builderForValue)

Output only. The time the operation finished running.

.google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
GenerateAppResourceOperationMetadata.Builder

setGenerationType(GenerateAppResourceOperationMetadata.GenerationType value)

public GenerateAppResourceOperationMetadata.Builder setGenerationType(GenerateAppResourceOperationMetadata.GenerationType value)

Output only. The type of the operation.

.google.cloud.ces.v1beta.GenerateAppResourceOperationMetadata.GenerationType generation_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value GenerateAppResourceOperationMetadata.GenerationType

The generationType to set.

Returns
Type Description
GenerateAppResourceOperationMetadata.Builder

This builder for chaining.

setGenerationTypeValue(int value)

public GenerateAppResourceOperationMetadata.Builder setGenerationTypeValue(int value)

Output only. The type of the operation.

.google.cloud.ces.v1beta.GenerateAppResourceOperationMetadata.GenerationType generation_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for generationType to set.

Returns
Type Description
GenerateAppResourceOperationMetadata.Builder

This builder for chaining.

setMessage(String value)

public GenerateAppResourceOperationMetadata.Builder setMessage(String value)

Output only. Human-readable status of the operation, if any.

string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The message to set.

Returns
Type Description
GenerateAppResourceOperationMetadata.Builder

This builder for chaining.

setMessageBytes(ByteString value)

public GenerateAppResourceOperationMetadata.Builder setMessageBytes(ByteString value)

Output only. Human-readable status of the operation, if any.

string message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for message to set.

Returns
Type Description
GenerateAppResourceOperationMetadata.Builder

This builder for chaining.

setPartialErrors(int index, Status value)

public GenerateAppResourceOperationMetadata.Builder setPartialErrors(int index, Status value)

Output only. Error messages from the resource generation process.

repeated .google.rpc.Status partial_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value com.google.rpc.Status
Returns
Type Description
GenerateAppResourceOperationMetadata.Builder

setPartialErrors(int index, Status.Builder builderForValue)

public GenerateAppResourceOperationMetadata.Builder setPartialErrors(int index, Status.Builder builderForValue)

Output only. Error messages from the resource generation process.

repeated .google.rpc.Status partial_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue com.google.rpc.Status.Builder
Returns
Type Description
GenerateAppResourceOperationMetadata.Builder

setTarget(String value)

public GenerateAppResourceOperationMetadata.Builder setTarget(String value)

Output only. The resource name of the app that the operation is associated with. Format: projects/{project}/locations/{location}/apps/{app}.

string target = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The target to set.

Returns
Type Description
GenerateAppResourceOperationMetadata.Builder

This builder for chaining.

setTargetBytes(ByteString value)

public GenerateAppResourceOperationMetadata.Builder setTargetBytes(ByteString value)

Output only. The resource name of the app that the operation is associated with. Format: projects/{project}/locations/{location}/apps/{app}.

string target = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for target to set.

Returns
Type Description
GenerateAppResourceOperationMetadata.Builder

This builder for chaining.