Class RunEvaluationOperationMetadata (0.3.0)

public final class RunEvaluationOperationMetadata extends GeneratedMessage implements RunEvaluationOperationMetadataOrBuilder

Operation metadata for EvaluationService.RunEvaluation

Protobuf type google.cloud.ces.v1beta.RunEvaluationOperationMetadata

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > RunEvaluationOperationMetadata

Static Fields

CANCEL_REQUESTED_FIELD_NUMBER

public static final int CANCEL_REQUESTED_FIELD_NUMBER
Field Value
Type Description
int

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

END_TIME_FIELD_NUMBER

public static final int END_TIME_FIELD_NUMBER
Field Value
Type Description
int

EVALUATIONS_FIELD_NUMBER

public static final int EVALUATIONS_FIELD_NUMBER
Field Value
Type Description
int

EVALUATION_RUN_FIELD_NUMBER

public static final int EVALUATION_RUN_FIELD_NUMBER
Field Value
Type Description
int

VERB_FIELD_NUMBER

public static final int VERB_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RunEvaluationOperationMetadata getDefaultInstance()
Returns
Type Description
RunEvaluationOperationMetadata

getDescriptor()

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

newBuilder()

public static RunEvaluationOperationMetadata.Builder newBuilder()
Returns
Type Description
RunEvaluationOperationMetadata.Builder

newBuilder(RunEvaluationOperationMetadata prototype)

public static RunEvaluationOperationMetadata.Builder newBuilder(RunEvaluationOperationMetadata prototype)
Parameter
Name Description
prototype RunEvaluationOperationMetadata
Returns
Type Description
RunEvaluationOperationMetadata.Builder

parseDelimitedFrom(InputStream input)

public static RunEvaluationOperationMetadata parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RunEvaluationOperationMetadata
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RunEvaluationOperationMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RunEvaluationOperationMetadata
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static RunEvaluationOperationMetadata parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
RunEvaluationOperationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RunEvaluationOperationMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RunEvaluationOperationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RunEvaluationOperationMetadata parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
RunEvaluationOperationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RunEvaluationOperationMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RunEvaluationOperationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RunEvaluationOperationMetadata parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
RunEvaluationOperationMetadata
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RunEvaluationOperationMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RunEvaluationOperationMetadata
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static RunEvaluationOperationMetadata parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RunEvaluationOperationMetadata
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RunEvaluationOperationMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RunEvaluationOperationMetadata
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static RunEvaluationOperationMetadata parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
RunEvaluationOperationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RunEvaluationOperationMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RunEvaluationOperationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<RunEvaluationOperationMetadata> parser()
Returns
Type Description
Parser<RunEvaluationOperationMetadata>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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.

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

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.

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.

getParserForType()

public Parser<RunEvaluationOperationMetadata> getParserForType()
Returns
Type Description
Parser<RunEvaluationOperationMetadata>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public RunEvaluationOperationMetadata.Builder newBuilderForType()
Returns
Type Description
RunEvaluationOperationMetadata.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected RunEvaluationOperationMetadata.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
RunEvaluationOperationMetadata.Builder
Overrides

toBuilder()

public RunEvaluationOperationMetadata.Builder toBuilder()
Returns
Type Description
RunEvaluationOperationMetadata.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException