public static final class AnswerQueryRequest.QueryUnderstandingSpec.Builder extends GeneratedMessageV3.Builder<AnswerQueryRequest.QueryUnderstandingSpec.Builder> implements AnswerQueryRequest.QueryUnderstandingSpecOrBuilder
Query understanding specification.
Protobuf type
google.cloud.discoveryengine.v1.AnswerQueryRequest.QueryUnderstandingSpec
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 AnswerQueryRequest.QueryUnderstandingSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public AnswerQueryRequest.QueryUnderstandingSpec build()
buildPartial()
public AnswerQueryRequest.QueryUnderstandingSpec buildPartial()
clear()
public AnswerQueryRequest.QueryUnderstandingSpec.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public AnswerQueryRequest.QueryUnderstandingSpec.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AnswerQueryRequest.QueryUnderstandingSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearQueryClassificationSpec()
public AnswerQueryRequest.QueryUnderstandingSpec.Builder clearQueryClassificationSpec()
Query classification specification.
.google.cloud.discoveryengine.v1.AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpec query_classification_spec = 1;
clearQueryRephraserSpec()
public AnswerQueryRequest.QueryUnderstandingSpec.Builder clearQueryRephraserSpec()
Query rephraser specification.
.google.cloud.discoveryengine.v1.AnswerQueryRequest.QueryUnderstandingSpec.QueryRephraserSpec query_rephraser_spec = 2;
clone()
public AnswerQueryRequest.QueryUnderstandingSpec.Builder clone()
Overrides
getDefaultInstanceForType()
public AnswerQueryRequest.QueryUnderstandingSpec getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getQueryClassificationSpec()
public AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpec getQueryClassificationSpec()
Query classification specification.
.google.cloud.discoveryengine.v1.AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpec query_classification_spec = 1;
getQueryClassificationSpecBuilder()
public AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpec.Builder getQueryClassificationSpecBuilder()
Query classification specification.
.google.cloud.discoveryengine.v1.AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpec query_classification_spec = 1;
getQueryClassificationSpecOrBuilder()
public AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpecOrBuilder getQueryClassificationSpecOrBuilder()
Query classification specification.
.google.cloud.discoveryengine.v1.AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpec query_classification_spec = 1;
getQueryRephraserSpec()
public AnswerQueryRequest.QueryUnderstandingSpec.QueryRephraserSpec getQueryRephraserSpec()
Query rephraser specification.
.google.cloud.discoveryengine.v1.AnswerQueryRequest.QueryUnderstandingSpec.QueryRephraserSpec query_rephraser_spec = 2;
getQueryRephraserSpecBuilder()
public AnswerQueryRequest.QueryUnderstandingSpec.QueryRephraserSpec.Builder getQueryRephraserSpecBuilder()
Query rephraser specification.
.google.cloud.discoveryengine.v1.AnswerQueryRequest.QueryUnderstandingSpec.QueryRephraserSpec query_rephraser_spec = 2;
getQueryRephraserSpecOrBuilder()
public AnswerQueryRequest.QueryUnderstandingSpec.QueryRephraserSpecOrBuilder getQueryRephraserSpecOrBuilder()
Query rephraser specification.
.google.cloud.discoveryengine.v1.AnswerQueryRequest.QueryUnderstandingSpec.QueryRephraserSpec query_rephraser_spec = 2;
hasQueryClassificationSpec()
public boolean hasQueryClassificationSpec()
Query classification specification.
.google.cloud.discoveryengine.v1.AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpec query_classification_spec = 1;
Returns |
Type |
Description |
boolean |
Whether the queryClassificationSpec field is set.
|
hasQueryRephraserSpec()
public boolean hasQueryRephraserSpec()
Query rephraser specification.
.google.cloud.discoveryengine.v1.AnswerQueryRequest.QueryUnderstandingSpec.QueryRephraserSpec query_rephraser_spec = 2;
Returns |
Type |
Description |
boolean |
Whether the queryRephraserSpec field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(AnswerQueryRequest.QueryUnderstandingSpec other)
public AnswerQueryRequest.QueryUnderstandingSpec.Builder mergeFrom(AnswerQueryRequest.QueryUnderstandingSpec other)
public AnswerQueryRequest.QueryUnderstandingSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AnswerQueryRequest.QueryUnderstandingSpec.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeQueryClassificationSpec(AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpec value)
public AnswerQueryRequest.QueryUnderstandingSpec.Builder mergeQueryClassificationSpec(AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpec value)
Query classification specification.
.google.cloud.discoveryengine.v1.AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpec query_classification_spec = 1;
mergeQueryRephraserSpec(AnswerQueryRequest.QueryUnderstandingSpec.QueryRephraserSpec value)
public AnswerQueryRequest.QueryUnderstandingSpec.Builder mergeQueryRephraserSpec(AnswerQueryRequest.QueryUnderstandingSpec.QueryRephraserSpec value)
Query rephraser specification.
.google.cloud.discoveryengine.v1.AnswerQueryRequest.QueryUnderstandingSpec.QueryRephraserSpec query_rephraser_spec = 2;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AnswerQueryRequest.QueryUnderstandingSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public AnswerQueryRequest.QueryUnderstandingSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setQueryClassificationSpec(AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpec value)
public AnswerQueryRequest.QueryUnderstandingSpec.Builder setQueryClassificationSpec(AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpec value)
Query classification specification.
.google.cloud.discoveryengine.v1.AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpec query_classification_spec = 1;
setQueryClassificationSpec(AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpec.Builder builderForValue)
public AnswerQueryRequest.QueryUnderstandingSpec.Builder setQueryClassificationSpec(AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpec.Builder builderForValue)
Query classification specification.
.google.cloud.discoveryengine.v1.AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpec query_classification_spec = 1;
setQueryRephraserSpec(AnswerQueryRequest.QueryUnderstandingSpec.QueryRephraserSpec value)
public AnswerQueryRequest.QueryUnderstandingSpec.Builder setQueryRephraserSpec(AnswerQueryRequest.QueryUnderstandingSpec.QueryRephraserSpec value)
Query rephraser specification.
.google.cloud.discoveryengine.v1.AnswerQueryRequest.QueryUnderstandingSpec.QueryRephraserSpec query_rephraser_spec = 2;
setQueryRephraserSpec(AnswerQueryRequest.QueryUnderstandingSpec.QueryRephraserSpec.Builder builderForValue)
public AnswerQueryRequest.QueryUnderstandingSpec.Builder setQueryRephraserSpec(AnswerQueryRequest.QueryUnderstandingSpec.QueryRephraserSpec.Builder builderForValue)
Query rephraser specification.
.google.cloud.discoveryengine.v1.AnswerQueryRequest.QueryUnderstandingSpec.QueryRephraserSpec query_rephraser_spec = 2;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AnswerQueryRequest.QueryUnderstandingSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AnswerQueryRequest.QueryUnderstandingSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides