Interface EvaluationExpectationOrBuilder (0.3.0)

public interface EvaluationExpectationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCreateTime()

public abstract Timestamp getCreateTime()

Output only. Timestamp when the evaluation expectation was created.

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

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Timestamp when the evaluation expectation was created.

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

Returns
Type Description
TimestampOrBuilder

getCriteriaCase()

public abstract EvaluationExpectation.CriteriaCase getCriteriaCase()
Returns
Type Description
EvaluationExpectation.CriteriaCase

getDisplayName()

public abstract String getDisplayName()

Required. User-defined display name. Must be unique within the app.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

Required. User-defined display name. Must be unique within the app.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for displayName.

getEtag()

public abstract String getEtag()

Output only. Etag used to ensure the object hasn't changed during a read-modify-write operation. If the etag is empty, the update will overwrite any concurrent changes.

string etag = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The etag.

getEtagBytes()

public abstract ByteString getEtagBytes()

Output only. Etag used to ensure the object hasn't changed during a read-modify-write operation. If the etag is empty, the update will overwrite any concurrent changes.

string etag = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for etag.

getLlmCriteria()

public abstract EvaluationExpectation.LlmCriteria getLlmCriteria()

Optional. Evaluation criteria based on an LLM prompt.

.google.cloud.ces.v1beta.EvaluationExpectation.LlmCriteria llm_criteria = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EvaluationExpectation.LlmCriteria

The llmCriteria.

getLlmCriteriaOrBuilder()

public abstract EvaluationExpectation.LlmCriteriaOrBuilder getLlmCriteriaOrBuilder()

Optional. Evaluation criteria based on an LLM prompt.

.google.cloud.ces.v1beta.EvaluationExpectation.LlmCriteria llm_criteria = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EvaluationExpectation.LlmCriteriaOrBuilder

getName()

public abstract String getName()

Identifier. The unique identifier of this evaluation expectation. Format: projects/{project}/locations/{location}/apps/{app}/evaluationExpectations/{evaluation_expectation}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Identifier. The unique identifier of this evaluation expectation. Format: projects/{project}/locations/{location}/apps/{app}/evaluationExpectations/{evaluation_expectation}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getTags(int index)

public abstract String getTags(int index)

Optional. User-defined tags for expectations. Can be used to filter expectations.

repeated string tags = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The tags at the given index.

getTagsBytes(int index)

public abstract ByteString getTagsBytes(int index)

Optional. User-defined tags for expectations. Can be used to filter expectations.

repeated string tags = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the tags at the given index.

getTagsCount()

public abstract int getTagsCount()

Optional. User-defined tags for expectations. Can be used to filter expectations.

repeated string tags = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of tags.

getTagsList()

public abstract List<String> getTagsList()

Optional. User-defined tags for expectations. Can be used to filter expectations.

repeated string tags = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<String>

A list containing the tags.

getUpdateTime()

public abstract Timestamp getUpdateTime()

Output only. Timestamp when the evaluation expectation was last updated.

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Timestamp when the evaluation expectation was last updated.

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasCreateTime()

public abstract boolean hasCreateTime()

Output only. Timestamp when the evaluation expectation was created.

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

Returns
Type Description
boolean

Whether the createTime field is set.

hasLlmCriteria()

public abstract boolean hasLlmCriteria()

Optional. Evaluation criteria based on an LLM prompt.

.google.cloud.ces.v1beta.EvaluationExpectation.LlmCriteria llm_criteria = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the llmCriteria field is set.

hasUpdateTime()

public abstract boolean hasUpdateTime()

Output only. Timestamp when the evaluation expectation was last updated.

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.