public static final class Evaluation.EvaluationSpec.Builder extends GeneratedMessageV3.Builder<Evaluation.EvaluationSpec.Builder> implements Evaluation.EvaluationSpecOrBuilder
Describes the specification of the evaluation.
Protobuf type google.cloud.discoveryengine.v1beta.Evaluation.EvaluationSpec
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Evaluation.EvaluationSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Evaluation.EvaluationSpec build()
buildPartial()
public Evaluation.EvaluationSpec buildPartial()
clear()
public Evaluation.EvaluationSpec.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Evaluation.EvaluationSpec.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Evaluation.EvaluationSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearQuerySetSpec()
public Evaluation.EvaluationSpec.Builder clearQuerySetSpec()
Required. The specification of the query set.
.google.cloud.discoveryengine.v1beta.Evaluation.EvaluationSpec.QuerySetSpec query_set_spec = 1 [(.google.api.field_behavior) = REQUIRED];
clearSearchRequest()
public Evaluation.EvaluationSpec.Builder clearSearchRequest()
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];
clearSearchSpec()
public Evaluation.EvaluationSpec.Builder clearSearchSpec()
clone()
public Evaluation.EvaluationSpec.Builder clone()
Overrides
getDefaultInstanceForType()
public Evaluation.EvaluationSpec getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getQuerySetSpec()
public 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];
getQuerySetSpecBuilder()
public Evaluation.EvaluationSpec.QuerySetSpec.Builder getQuerySetSpecBuilder()
Required. The specification of the query set.
.google.cloud.discoveryengine.v1beta.Evaluation.EvaluationSpec.QuerySetSpec query_set_spec = 1 [(.google.api.field_behavior) = REQUIRED];
getQuerySetSpecOrBuilder()
public 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];
getSearchRequest()
public 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];
getSearchRequestBuilder()
public SearchRequest.Builder getSearchRequestBuilder()
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];
getSearchRequestOrBuilder()
public 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];
getSearchSpecCase()
public Evaluation.EvaluationSpec.SearchSpecCase getSearchSpecCase()
hasQuerySetSpec()
public 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 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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Evaluation.EvaluationSpec other)
public Evaluation.EvaluationSpec.Builder mergeFrom(Evaluation.EvaluationSpec other)
public Evaluation.EvaluationSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Evaluation.EvaluationSpec.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeQuerySetSpec(Evaluation.EvaluationSpec.QuerySetSpec value)
public Evaluation.EvaluationSpec.Builder mergeQuerySetSpec(Evaluation.EvaluationSpec.QuerySetSpec value)
Required. The specification of the query set.
.google.cloud.discoveryengine.v1beta.Evaluation.EvaluationSpec.QuerySetSpec query_set_spec = 1 [(.google.api.field_behavior) = REQUIRED];
mergeSearchRequest(SearchRequest value)
public Evaluation.EvaluationSpec.Builder mergeSearchRequest(SearchRequest value)
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];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Evaluation.EvaluationSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Evaluation.EvaluationSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setQuerySetSpec(Evaluation.EvaluationSpec.QuerySetSpec value)
public Evaluation.EvaluationSpec.Builder setQuerySetSpec(Evaluation.EvaluationSpec.QuerySetSpec value)
Required. The specification of the query set.
.google.cloud.discoveryengine.v1beta.Evaluation.EvaluationSpec.QuerySetSpec query_set_spec = 1 [(.google.api.field_behavior) = REQUIRED];
setQuerySetSpec(Evaluation.EvaluationSpec.QuerySetSpec.Builder builderForValue)
public Evaluation.EvaluationSpec.Builder setQuerySetSpec(Evaluation.EvaluationSpec.QuerySetSpec.Builder builderForValue)
Required. The specification of the query set.
.google.cloud.discoveryengine.v1beta.Evaluation.EvaluationSpec.QuerySetSpec query_set_spec = 1 [(.google.api.field_behavior) = REQUIRED];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Evaluation.EvaluationSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSearchRequest(SearchRequest value)
public Evaluation.EvaluationSpec.Builder setSearchRequest(SearchRequest value)
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];
setSearchRequest(SearchRequest.Builder builderForValue)
public Evaluation.EvaluationSpec.Builder setSearchRequest(SearchRequest.Builder builderForValue)
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];
setUnknownFields(UnknownFieldSet unknownFields)
public final Evaluation.EvaluationSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides