public static final class AnswerQueryRequest.RelatedQuestionsSpec.Builder extends GeneratedMessageV3.Builder<AnswerQueryRequest.RelatedQuestionsSpec.Builder> implements AnswerQueryRequest.RelatedQuestionsSpecOrBuilder
Related questions specification.
Protobuf type
google.cloud.discoveryengine.v1alpha.AnswerQueryRequest.RelatedQuestionsSpec
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
public static final Descriptors.Descriptor getDescriptor()
Methods
public AnswerQueryRequest.RelatedQuestionsSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public AnswerQueryRequest.RelatedQuestionsSpec build()
public AnswerQueryRequest.RelatedQuestionsSpec buildPartial()
public AnswerQueryRequest.RelatedQuestionsSpec.Builder clear()
Overrides
public AnswerQueryRequest.RelatedQuestionsSpec.Builder clearEnable()
Enable related questions feature if true.
bool enable = 1;
public AnswerQueryRequest.RelatedQuestionsSpec.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public AnswerQueryRequest.RelatedQuestionsSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public AnswerQueryRequest.RelatedQuestionsSpec.Builder clone()
Overrides
public AnswerQueryRequest.RelatedQuestionsSpec getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public boolean getEnable()
Enable related questions feature if true.
bool enable = 1;
Returns |
Type |
Description |
boolean |
The enable.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public AnswerQueryRequest.RelatedQuestionsSpec.Builder mergeFrom(AnswerQueryRequest.RelatedQuestionsSpec other)
public AnswerQueryRequest.RelatedQuestionsSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public AnswerQueryRequest.RelatedQuestionsSpec.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final AnswerQueryRequest.RelatedQuestionsSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public AnswerQueryRequest.RelatedQuestionsSpec.Builder setEnable(boolean value)
Enable related questions feature if true.
bool enable = 1;
Parameter |
Name |
Description |
value |
boolean
The enable to set.
|
public AnswerQueryRequest.RelatedQuestionsSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public AnswerQueryRequest.RelatedQuestionsSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final AnswerQueryRequest.RelatedQuestionsSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides