Class RunEvaluationOperationMetadata.Builder (0.3.0)

public static final class RunEvaluationOperationMetadata.Builder extends GeneratedMessage.Builder<RunEvaluationOperationMetadata.Builder> implements RunEvaluationOperationMetadataOrBuilder

Operation metadata for EvaluationService.RunEvaluation

Protobuf type google.cloud.ces.v1beta.RunEvaluationOperationMetadata

Static Methods

getDescriptor()

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

Methods

addAllEvaluations(Iterable<String> values)

public RunEvaluationOperationMetadata.Builder addAllEvaluations(Iterable<String> values)

Output only. The list of evaluations that were run. Format: projects/{project}/locations/{location}/apps/{app}/evaluations/{evaluation}

repeated string evaluations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
values Iterable<String>

The evaluations to add.

Returns
Type Description
RunEvaluationOperationMetadata.Builder

This builder for chaining.

addEvaluations(String value)

public RunEvaluationOperationMetadata.Builder addEvaluations(String value)

Output only. The list of evaluations that were run. Format: projects/{project}/locations/{location}/apps/{app}/evaluations/{evaluation}

repeated string evaluations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The evaluations to add.

Returns
Type Description
RunEvaluationOperationMetadata.Builder

This builder for chaining.

addEvaluationsBytes(ByteString value)

public RunEvaluationOperationMetadata.Builder addEvaluationsBytes(ByteString value)

Output only. The list of evaluations that were run. Format: projects/{project}/locations/{location}/apps/{app}/evaluations/{evaluation}

repeated string evaluations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes of the evaluations to add.

Returns
Type Description
RunEvaluationOperationMetadata.Builder

This builder for chaining.

build()

public RunEvaluationOperationMetadata build()
Returns
Type Description
RunEvaluationOperationMetadata

buildPartial()

public RunEvaluationOperationMetadata buildPartial()
Returns
Type Description
RunEvaluationOperationMetadata

clear()

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

clearCancelRequested()

public RunEvaluationOperationMetadata.Builder clearCancelRequested()

Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have google.longrunning.Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.

bool cancel_requested = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
RunEvaluationOperationMetadata.Builder

This builder for chaining.

clearCreateTime()

public RunEvaluationOperationMetadata.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
RunEvaluationOperationMetadata.Builder

clearEndTime()

public RunEvaluationOperationMetadata.Builder clearEndTime()

Output only. The time the operation completed.

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

Returns
Type Description
RunEvaluationOperationMetadata.Builder

clearEvaluationRun()

public RunEvaluationOperationMetadata.Builder clearEvaluationRun()

Output only. The evaluation run that was created. Format: projects/{project}/locations/{location}/apps/{app}/evaluationRuns/{evaluation_run}

string evaluation_run = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
RunEvaluationOperationMetadata.Builder

This builder for chaining.

clearEvaluations()

public RunEvaluationOperationMetadata.Builder clearEvaluations()

Output only. The list of evaluations that were run. Format: projects/{project}/locations/{location}/apps/{app}/evaluations/{evaluation}

repeated string evaluations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
RunEvaluationOperationMetadata.Builder

This builder for chaining.

clearVerb()

public RunEvaluationOperationMetadata.Builder clearVerb()

Output only. The verb of the operation.

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

Returns
Type Description
RunEvaluationOperationMetadata.Builder

This builder for chaining.

getCancelRequested()

public boolean getCancelRequested()

Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have google.longrunning.Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.

bool cancel_requested = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The cancelRequested.

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 RunEvaluationOperationMetadata getDefaultInstanceForType()
Returns
Type Description
RunEvaluationOperationMetadata

getDescriptorForType()

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

getEndTime()

public Timestamp getEndTime()

Output only. The time the operation completed.

.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 completed.

.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 completed.

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

Returns
Type Description
TimestampOrBuilder

getEvaluationRun()

public String getEvaluationRun()

Output only. The evaluation run that was created. Format: projects/{project}/locations/{location}/apps/{app}/evaluationRuns/{evaluation_run}

string evaluation_run = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The evaluationRun.

getEvaluationRunBytes()

public ByteString getEvaluationRunBytes()

Output only. The evaluation run that was created. Format: projects/{project}/locations/{location}/apps/{app}/evaluationRuns/{evaluation_run}

string evaluation_run = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for evaluationRun.

getEvaluations(int index)

public String getEvaluations(int index)

Output only. The list of evaluations that were run. Format: projects/{project}/locations/{location}/apps/{app}/evaluations/{evaluation}

repeated string evaluations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The evaluations at the given index.

getEvaluationsBytes(int index)

public ByteString getEvaluationsBytes(int index)

Output only. The list of evaluations that were run. Format: projects/{project}/locations/{location}/apps/{app}/evaluations/{evaluation}

repeated string evaluations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the evaluations at the given index.

getEvaluationsCount()

public int getEvaluationsCount()

Output only. The list of evaluations that were run. Format: projects/{project}/locations/{location}/apps/{app}/evaluations/{evaluation}

repeated string evaluations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
int

The count of evaluations.

getEvaluationsList()

public ProtocolStringList getEvaluationsList()

Output only. The list of evaluations that were run. Format: projects/{project}/locations/{location}/apps/{app}/evaluations/{evaluation}

repeated string evaluations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ProtocolStringList

A list containing the evaluations.

getVerb()

public String getVerb()

Output only. The verb of the operation.

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

Returns
Type Description
String

The verb.

getVerbBytes()

public ByteString getVerbBytes()

Output only. The verb of the operation.

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

Returns
Type Description
ByteString

The bytes for verb.

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 completed.

.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 RunEvaluationOperationMetadata.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
RunEvaluationOperationMetadata.Builder

mergeEndTime(Timestamp value)

public RunEvaluationOperationMetadata.Builder mergeEndTime(Timestamp value)

Output only. The time the operation completed.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
RunEvaluationOperationMetadata.Builder

mergeFrom(RunEvaluationOperationMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setCancelRequested(boolean value)

public RunEvaluationOperationMetadata.Builder setCancelRequested(boolean value)

Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have google.longrunning.Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.

bool cancel_requested = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value boolean

The cancelRequested to set.

Returns
Type Description
RunEvaluationOperationMetadata.Builder

This builder for chaining.

setCreateTime(Timestamp value)

public RunEvaluationOperationMetadata.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
RunEvaluationOperationMetadata.Builder

setCreateTime(Timestamp.Builder builderForValue)

public RunEvaluationOperationMetadata.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
RunEvaluationOperationMetadata.Builder

setEndTime(Timestamp value)

public RunEvaluationOperationMetadata.Builder setEndTime(Timestamp value)

Output only. The time the operation completed.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
RunEvaluationOperationMetadata.Builder

setEndTime(Timestamp.Builder builderForValue)

public RunEvaluationOperationMetadata.Builder setEndTime(Timestamp.Builder builderForValue)

Output only. The time the operation completed.

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
RunEvaluationOperationMetadata.Builder

setEvaluationRun(String value)

public RunEvaluationOperationMetadata.Builder setEvaluationRun(String value)

Output only. The evaluation run that was created. Format: projects/{project}/locations/{location}/apps/{app}/evaluationRuns/{evaluation_run}

string evaluation_run = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The evaluationRun to set.

Returns
Type Description
RunEvaluationOperationMetadata.Builder

This builder for chaining.

setEvaluationRunBytes(ByteString value)

public RunEvaluationOperationMetadata.Builder setEvaluationRunBytes(ByteString value)

Output only. The evaluation run that was created. Format: projects/{project}/locations/{location}/apps/{app}/evaluationRuns/{evaluation_run}

string evaluation_run = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for evaluationRun to set.

Returns
Type Description
RunEvaluationOperationMetadata.Builder

This builder for chaining.

setEvaluations(int index, String value)

public RunEvaluationOperationMetadata.Builder setEvaluations(int index, String value)

Output only. The list of evaluations that were run. Format: projects/{project}/locations/{location}/apps/{app}/evaluations/{evaluation}

repeated string evaluations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameters
Name Description
index int

The index to set the value at.

value String

The evaluations to set.

Returns
Type Description
RunEvaluationOperationMetadata.Builder

This builder for chaining.

setVerb(String value)

public RunEvaluationOperationMetadata.Builder setVerb(String value)

Output only. The verb of the operation.

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

Parameter
Name Description
value String

The verb to set.

Returns
Type Description
RunEvaluationOperationMetadata.Builder

This builder for chaining.

setVerbBytes(ByteString value)

public RunEvaluationOperationMetadata.Builder setVerbBytes(ByteString value)

Output only. The verb of the operation.

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

Parameter
Name Description
value ByteString

The bytes for verb to set.

Returns
Type Description
RunEvaluationOperationMetadata.Builder

This builder for chaining.