Class Answer.QueryUnderstandingInfo.Builder (0.38.0)

public static final class Answer.QueryUnderstandingInfo.Builder extends GeneratedMessageV3.Builder<Answer.QueryUnderstandingInfo.Builder> implements Answer.QueryUnderstandingInfoOrBuilder

Query understanding information.

Protobuf type google.cloud.discoveryengine.v1beta.Answer.QueryUnderstandingInfo

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllQueryClassificationInfo(Iterable<? extends Answer.QueryUnderstandingInfo.QueryClassificationInfo> values)

public Answer.QueryUnderstandingInfo.Builder addAllQueryClassificationInfo(Iterable<? extends Answer.QueryUnderstandingInfo.QueryClassificationInfo> values)

Query classification information.

repeated .google.cloud.discoveryengine.v1beta.Answer.QueryUnderstandingInfo.QueryClassificationInfo query_classification_info = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.discoveryengine.v1beta.Answer.QueryUnderstandingInfo.QueryClassificationInfo>
Returns
Type Description
Answer.QueryUnderstandingInfo.Builder

addQueryClassificationInfo(Answer.QueryUnderstandingInfo.QueryClassificationInfo value)

public Answer.QueryUnderstandingInfo.Builder addQueryClassificationInfo(Answer.QueryUnderstandingInfo.QueryClassificationInfo value)

Query classification information.

repeated .google.cloud.discoveryengine.v1beta.Answer.QueryUnderstandingInfo.QueryClassificationInfo query_classification_info = 1;

Parameter
Name Description
value Answer.QueryUnderstandingInfo.QueryClassificationInfo
Returns
Type Description
Answer.QueryUnderstandingInfo.Builder

addQueryClassificationInfo(Answer.QueryUnderstandingInfo.QueryClassificationInfo.Builder builderForValue)

public Answer.QueryUnderstandingInfo.Builder addQueryClassificationInfo(Answer.QueryUnderstandingInfo.QueryClassificationInfo.Builder builderForValue)

Query classification information.

repeated .google.cloud.discoveryengine.v1beta.Answer.QueryUnderstandingInfo.QueryClassificationInfo query_classification_info = 1;

Parameter
Name Description
builderForValue Answer.QueryUnderstandingInfo.QueryClassificationInfo.Builder
Returns
Type Description
Answer.QueryUnderstandingInfo.Builder

addQueryClassificationInfo(int index, Answer.QueryUnderstandingInfo.QueryClassificationInfo value)

public Answer.QueryUnderstandingInfo.Builder addQueryClassificationInfo(int index, Answer.QueryUnderstandingInfo.QueryClassificationInfo value)

Query classification information.

repeated .google.cloud.discoveryengine.v1beta.Answer.QueryUnderstandingInfo.QueryClassificationInfo query_classification_info = 1;

Parameters
Name Description
index int
value Answer.QueryUnderstandingInfo.QueryClassificationInfo
Returns
Type Description
Answer.QueryUnderstandingInfo.Builder

addQueryClassificationInfo(int index, Answer.QueryUnderstandingInfo.QueryClassificationInfo.Builder builderForValue)

public Answer.QueryUnderstandingInfo.Builder addQueryClassificationInfo(int index, Answer.QueryUnderstandingInfo.QueryClassificationInfo.Builder builderForValue)

Query classification information.

repeated .google.cloud.discoveryengine.v1beta.Answer.QueryUnderstandingInfo.QueryClassificationInfo query_classification_info = 1;

Parameters
Name Description
index int
builderForValue Answer.QueryUnderstandingInfo.QueryClassificationInfo.Builder
Returns
Type Description
Answer.QueryUnderstandingInfo.Builder

addQueryClassificationInfoBuilder()

public Answer.QueryUnderstandingInfo.QueryClassificationInfo.Builder addQueryClassificationInfoBuilder()

Query classification information.

repeated .google.cloud.discoveryengine.v1beta.Answer.QueryUnderstandingInfo.QueryClassificationInfo query_classification_info = 1;

Returns
Type Description
Answer.QueryUnderstandingInfo.QueryClassificationInfo.Builder

addQueryClassificationInfoBuilder(int index)

public Answer.QueryUnderstandingInfo.QueryClassificationInfo.Builder addQueryClassificationInfoBuilder(int index)

Query classification information.

repeated .google.cloud.discoveryengine.v1beta.Answer.QueryUnderstandingInfo.QueryClassificationInfo query_classification_info = 1;

Parameter
Name Description
index int
Returns
Type Description
Answer.QueryUnderstandingInfo.QueryClassificationInfo.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Answer.QueryUnderstandingInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Answer.QueryUnderstandingInfo.Builder
Overrides

build()

public Answer.QueryUnderstandingInfo build()
Returns
Type Description
Answer.QueryUnderstandingInfo

buildPartial()

public Answer.QueryUnderstandingInfo buildPartial()
Returns
Type Description
Answer.QueryUnderstandingInfo

clear()

public Answer.QueryUnderstandingInfo.Builder clear()
Returns
Type Description
Answer.QueryUnderstandingInfo.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Answer.QueryUnderstandingInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Answer.QueryUnderstandingInfo.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Answer.QueryUnderstandingInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Answer.QueryUnderstandingInfo.Builder
Overrides

clearQueryClassificationInfo()

public Answer.QueryUnderstandingInfo.Builder clearQueryClassificationInfo()

Query classification information.

repeated .google.cloud.discoveryengine.v1beta.Answer.QueryUnderstandingInfo.QueryClassificationInfo query_classification_info = 1;

Returns
Type Description
Answer.QueryUnderstandingInfo.Builder

clone()

public Answer.QueryUnderstandingInfo.Builder clone()
Returns
Type Description
Answer.QueryUnderstandingInfo.Builder
Overrides

getDefaultInstanceForType()

public Answer.QueryUnderstandingInfo getDefaultInstanceForType()
Returns
Type Description
Answer.QueryUnderstandingInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getQueryClassificationInfo(int index)

public Answer.QueryUnderstandingInfo.QueryClassificationInfo getQueryClassificationInfo(int index)

Query classification information.

repeated .google.cloud.discoveryengine.v1beta.Answer.QueryUnderstandingInfo.QueryClassificationInfo query_classification_info = 1;

Parameter
Name Description
index int
Returns
Type Description
Answer.QueryUnderstandingInfo.QueryClassificationInfo

getQueryClassificationInfoBuilder(int index)

public Answer.QueryUnderstandingInfo.QueryClassificationInfo.Builder getQueryClassificationInfoBuilder(int index)

Query classification information.

repeated .google.cloud.discoveryengine.v1beta.Answer.QueryUnderstandingInfo.QueryClassificationInfo query_classification_info = 1;

Parameter
Name Description
index int
Returns
Type Description
Answer.QueryUnderstandingInfo.QueryClassificationInfo.Builder

getQueryClassificationInfoBuilderList()

public List<Answer.QueryUnderstandingInfo.QueryClassificationInfo.Builder> getQueryClassificationInfoBuilderList()

Query classification information.

repeated .google.cloud.discoveryengine.v1beta.Answer.QueryUnderstandingInfo.QueryClassificationInfo query_classification_info = 1;

Returns
Type Description
List<Builder>

getQueryClassificationInfoCount()

public int getQueryClassificationInfoCount()

Query classification information.

repeated .google.cloud.discoveryengine.v1beta.Answer.QueryUnderstandingInfo.QueryClassificationInfo query_classification_info = 1;

Returns
Type Description
int

getQueryClassificationInfoList()

public List<Answer.QueryUnderstandingInfo.QueryClassificationInfo> getQueryClassificationInfoList()

Query classification information.

repeated .google.cloud.discoveryengine.v1beta.Answer.QueryUnderstandingInfo.QueryClassificationInfo query_classification_info = 1;

Returns
Type Description
List<QueryClassificationInfo>

getQueryClassificationInfoOrBuilder(int index)

public Answer.QueryUnderstandingInfo.QueryClassificationInfoOrBuilder getQueryClassificationInfoOrBuilder(int index)

Query classification information.

repeated .google.cloud.discoveryengine.v1beta.Answer.QueryUnderstandingInfo.QueryClassificationInfo query_classification_info = 1;

Parameter
Name Description
index int
Returns
Type Description
Answer.QueryUnderstandingInfo.QueryClassificationInfoOrBuilder

getQueryClassificationInfoOrBuilderList()

public List<? extends Answer.QueryUnderstandingInfo.QueryClassificationInfoOrBuilder> getQueryClassificationInfoOrBuilderList()

Query classification information.

repeated .google.cloud.discoveryengine.v1beta.Answer.QueryUnderstandingInfo.QueryClassificationInfo query_classification_info = 1;

Returns
Type Description
List<? extends com.google.cloud.discoveryengine.v1beta.Answer.QueryUnderstandingInfo.QueryClassificationInfoOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Answer.QueryUnderstandingInfo other)

public Answer.QueryUnderstandingInfo.Builder mergeFrom(Answer.QueryUnderstandingInfo other)
Parameter
Name Description
other Answer.QueryUnderstandingInfo
Returns
Type Description
Answer.QueryUnderstandingInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Answer.QueryUnderstandingInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Answer.QueryUnderstandingInfo.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Answer.QueryUnderstandingInfo.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Answer.QueryUnderstandingInfo.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Answer.QueryUnderstandingInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Answer.QueryUnderstandingInfo.Builder
Overrides

removeQueryClassificationInfo(int index)

public Answer.QueryUnderstandingInfo.Builder removeQueryClassificationInfo(int index)

Query classification information.

repeated .google.cloud.discoveryengine.v1beta.Answer.QueryUnderstandingInfo.QueryClassificationInfo query_classification_info = 1;

Parameter
Name Description
index int
Returns
Type Description
Answer.QueryUnderstandingInfo.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Answer.QueryUnderstandingInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Answer.QueryUnderstandingInfo.Builder
Overrides

setQueryClassificationInfo(int index, Answer.QueryUnderstandingInfo.QueryClassificationInfo value)

public Answer.QueryUnderstandingInfo.Builder setQueryClassificationInfo(int index, Answer.QueryUnderstandingInfo.QueryClassificationInfo value)

Query classification information.

repeated .google.cloud.discoveryengine.v1beta.Answer.QueryUnderstandingInfo.QueryClassificationInfo query_classification_info = 1;

Parameters
Name Description
index int
value Answer.QueryUnderstandingInfo.QueryClassificationInfo
Returns
Type Description
Answer.QueryUnderstandingInfo.Builder

setQueryClassificationInfo(int index, Answer.QueryUnderstandingInfo.QueryClassificationInfo.Builder builderForValue)

public Answer.QueryUnderstandingInfo.Builder setQueryClassificationInfo(int index, Answer.QueryUnderstandingInfo.QueryClassificationInfo.Builder builderForValue)

Query classification information.

repeated .google.cloud.discoveryengine.v1beta.Answer.QueryUnderstandingInfo.QueryClassificationInfo query_classification_info = 1;

Parameters
Name Description
index int
builderForValue Answer.QueryUnderstandingInfo.QueryClassificationInfo.Builder
Returns
Type Description
Answer.QueryUnderstandingInfo.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Answer.QueryUnderstandingInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Answer.QueryUnderstandingInfo.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Answer.QueryUnderstandingInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Answer.QueryUnderstandingInfo.Builder
Overrides