public static final class Evaluation.EvaluationSpec extends GeneratedMessageV3 implements Evaluation.EvaluationSpecOrBuilder
Describes the specification of the evaluation.
Protobuf type google.cloud.discoveryengine.v1alpha.Evaluation.EvaluationSpec
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
QUERY_SET_SPEC_FIELD_NUMBER
public static final int QUERY_SET_SPEC_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SEARCH_REQUEST_FIELD_NUMBER
public static final int SEARCH_REQUEST_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Evaluation.EvaluationSpec getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Evaluation.EvaluationSpec.Builder newBuilder()
newBuilder(Evaluation.EvaluationSpec prototype)
public static Evaluation.EvaluationSpec.Builder newBuilder(Evaluation.EvaluationSpec prototype)
public static Evaluation.EvaluationSpec parseDelimitedFrom(InputStream input)
public static Evaluation.EvaluationSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Evaluation.EvaluationSpec parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Evaluation.EvaluationSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Evaluation.EvaluationSpec parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Evaluation.EvaluationSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Evaluation.EvaluationSpec parseFrom(CodedInputStream input)
public static Evaluation.EvaluationSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Evaluation.EvaluationSpec parseFrom(InputStream input)
public static Evaluation.EvaluationSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Evaluation.EvaluationSpec parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Evaluation.EvaluationSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Evaluation.EvaluationSpec> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public Evaluation.EvaluationSpec getDefaultInstanceForType()
getParserForType()
public Parser<Evaluation.EvaluationSpec> getParserForType()
Overrides
getQuerySetSpec()
public Evaluation.EvaluationSpec.QuerySetSpec getQuerySetSpec()
Required. The specification of the query set.
.google.cloud.discoveryengine.v1alpha.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.v1alpha.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.v1alpha.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.v1alpha.SearchRequest search_request = 2 [(.google.api.field_behavior) = REQUIRED];
getSearchSpecCase()
public Evaluation.EvaluationSpec.SearchSpecCase getSearchSpecCase()
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hasQuerySetSpec()
public boolean hasQuerySetSpec()
Required. The specification of the query set.
.google.cloud.discoveryengine.v1alpha.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.v1alpha.SearchRequest search_request = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the searchRequest field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Evaluation.EvaluationSpec.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Evaluation.EvaluationSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Evaluation.EvaluationSpec.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides