Interface Evaluation.EvaluationSpecOrBuilder (0.45.0)

public static interface Evaluation.EvaluationSpecOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getQuerySetSpec()

public abstract Evaluation.EvaluationSpec.QuerySetSpec getQuerySetSpec()

Required. The specification of the query set.

.google.cloud.discoveryengine.v1beta.Evaluation.EvaluationSpec.QuerySetSpec query_set_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Evaluation.EvaluationSpec.QuerySetSpec

The querySetSpec.

getQuerySetSpecOrBuilder()

public abstract Evaluation.EvaluationSpec.QuerySetSpecOrBuilder getQuerySetSpecOrBuilder()

Required. The specification of the query set.

.google.cloud.discoveryengine.v1beta.Evaluation.EvaluationSpec.QuerySetSpec query_set_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Evaluation.EvaluationSpec.QuerySetSpecOrBuilder

getSearchRequest()

public abstract SearchRequest getSearchRequest()

Required. The search request that is used to perform the evaluation.

Only the following fields within SearchRequest are supported; if any other fields are provided, an UNSUPPORTED error will be returned:

  • SearchRequest.serving_config
  • SearchRequest.branch
  • SearchRequest.canonical_filter
  • SearchRequest.query_expansion_spec
  • SearchRequest.spell_correction_spec
  • SearchRequest.content_search_spec
  • SearchRequest.user_pseudo_id

.google.cloud.discoveryengine.v1beta.SearchRequest search_request = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SearchRequest

The searchRequest.

getSearchRequestOrBuilder()

public abstract SearchRequestOrBuilder getSearchRequestOrBuilder()

Required. The search request that is used to perform the evaluation.

Only the following fields within SearchRequest are supported; if any other fields are provided, an UNSUPPORTED error will be returned:

  • SearchRequest.serving_config
  • SearchRequest.branch
  • SearchRequest.canonical_filter
  • SearchRequest.query_expansion_spec
  • SearchRequest.spell_correction_spec
  • SearchRequest.content_search_spec
  • SearchRequest.user_pseudo_id

.google.cloud.discoveryengine.v1beta.SearchRequest search_request = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SearchRequestOrBuilder

getSearchSpecCase()

public abstract Evaluation.EvaluationSpec.SearchSpecCase getSearchSpecCase()
Returns
Type Description
Evaluation.EvaluationSpec.SearchSpecCase

hasQuerySetSpec()

public abstract boolean hasQuerySetSpec()

Required. The specification of the query set.

.google.cloud.discoveryengine.v1beta.Evaluation.EvaluationSpec.QuerySetSpec query_set_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the querySetSpec field is set.

hasSearchRequest()

public abstract boolean hasSearchRequest()

Required. The search request that is used to perform the evaluation.

Only the following fields within SearchRequest are supported; if any other fields are provided, an UNSUPPORTED error will be returned:

  • SearchRequest.serving_config
  • SearchRequest.branch
  • SearchRequest.canonical_filter
  • SearchRequest.query_expansion_spec
  • SearchRequest.spell_correction_spec
  • SearchRequest.content_search_spec
  • SearchRequest.user_pseudo_id

.google.cloud.discoveryengine.v1beta.SearchRequest search_request = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the searchRequest field is set.