Class ListQaQuestionsResponse.Builder (2.55.0)

public static final class ListQaQuestionsResponse.Builder extends GeneratedMessageV3.Builder<ListQaQuestionsResponse.Builder> implements ListQaQuestionsResponseOrBuilder

The response from a ListQaQuestions request.

Protobuf type google.cloud.contactcenterinsights.v1.ListQaQuestionsResponse

Static Methods

getDescriptor()

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

Methods

addAllQaQuestions(Iterable<? extends QaQuestion> values)

public ListQaQuestionsResponse.Builder addAllQaQuestions(Iterable<? extends QaQuestion> values)

The QaQuestions under the parent.

repeated .google.cloud.contactcenterinsights.v1.QaQuestion qa_questions = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.contactcenterinsights.v1.QaQuestion>
Returns
Type Description
ListQaQuestionsResponse.Builder

addQaQuestions(QaQuestion value)

public ListQaQuestionsResponse.Builder addQaQuestions(QaQuestion value)

The QaQuestions under the parent.

repeated .google.cloud.contactcenterinsights.v1.QaQuestion qa_questions = 1;

Parameter
Name Description
value QaQuestion
Returns
Type Description
ListQaQuestionsResponse.Builder

addQaQuestions(QaQuestion.Builder builderForValue)

public ListQaQuestionsResponse.Builder addQaQuestions(QaQuestion.Builder builderForValue)

The QaQuestions under the parent.

repeated .google.cloud.contactcenterinsights.v1.QaQuestion qa_questions = 1;

Parameter
Name Description
builderForValue QaQuestion.Builder
Returns
Type Description
ListQaQuestionsResponse.Builder

addQaQuestions(int index, QaQuestion value)

public ListQaQuestionsResponse.Builder addQaQuestions(int index, QaQuestion value)

The QaQuestions under the parent.

repeated .google.cloud.contactcenterinsights.v1.QaQuestion qa_questions = 1;

Parameters
Name Description
index int
value QaQuestion
Returns
Type Description
ListQaQuestionsResponse.Builder

addQaQuestions(int index, QaQuestion.Builder builderForValue)

public ListQaQuestionsResponse.Builder addQaQuestions(int index, QaQuestion.Builder builderForValue)

The QaQuestions under the parent.

repeated .google.cloud.contactcenterinsights.v1.QaQuestion qa_questions = 1;

Parameters
Name Description
index int
builderForValue QaQuestion.Builder
Returns
Type Description
ListQaQuestionsResponse.Builder

addQaQuestionsBuilder()

public QaQuestion.Builder addQaQuestionsBuilder()

The QaQuestions under the parent.

repeated .google.cloud.contactcenterinsights.v1.QaQuestion qa_questions = 1;

Returns
Type Description
QaQuestion.Builder

addQaQuestionsBuilder(int index)

public QaQuestion.Builder addQaQuestionsBuilder(int index)

The QaQuestions under the parent.

repeated .google.cloud.contactcenterinsights.v1.QaQuestion qa_questions = 1;

Parameter
Name Description
index int
Returns
Type Description
QaQuestion.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListQaQuestionsResponse build()
Returns
Type Description
ListQaQuestionsResponse

buildPartial()

public ListQaQuestionsResponse buildPartial()
Returns
Type Description
ListQaQuestionsResponse

clear()

public ListQaQuestionsResponse.Builder clear()
Returns
Type Description
ListQaQuestionsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListQaQuestionsResponse.Builder clearNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ListQaQuestionsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearQaQuestions()

public ListQaQuestionsResponse.Builder clearQaQuestions()

The QaQuestions under the parent.

repeated .google.cloud.contactcenterinsights.v1.QaQuestion qa_questions = 1;

Returns
Type Description
ListQaQuestionsResponse.Builder

clone()

public ListQaQuestionsResponse.Builder clone()
Returns
Type Description
ListQaQuestionsResponse.Builder
Overrides

getDefaultInstanceForType()

public ListQaQuestionsResponse getDefaultInstanceForType()
Returns
Type Description
ListQaQuestionsResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getQaQuestions(int index)

public QaQuestion getQaQuestions(int index)

The QaQuestions under the parent.

repeated .google.cloud.contactcenterinsights.v1.QaQuestion qa_questions = 1;

Parameter
Name Description
index int
Returns
Type Description
QaQuestion

getQaQuestionsBuilder(int index)

public QaQuestion.Builder getQaQuestionsBuilder(int index)

The QaQuestions under the parent.

repeated .google.cloud.contactcenterinsights.v1.QaQuestion qa_questions = 1;

Parameter
Name Description
index int
Returns
Type Description
QaQuestion.Builder

getQaQuestionsBuilderList()

public List<QaQuestion.Builder> getQaQuestionsBuilderList()

The QaQuestions under the parent.

repeated .google.cloud.contactcenterinsights.v1.QaQuestion qa_questions = 1;

Returns
Type Description
List<Builder>

getQaQuestionsCount()

public int getQaQuestionsCount()

The QaQuestions under the parent.

repeated .google.cloud.contactcenterinsights.v1.QaQuestion qa_questions = 1;

Returns
Type Description
int

getQaQuestionsList()

public List<QaQuestion> getQaQuestionsList()

The QaQuestions under the parent.

repeated .google.cloud.contactcenterinsights.v1.QaQuestion qa_questions = 1;

Returns
Type Description
List<QaQuestion>

getQaQuestionsOrBuilder(int index)

public QaQuestionOrBuilder getQaQuestionsOrBuilder(int index)

The QaQuestions under the parent.

repeated .google.cloud.contactcenterinsights.v1.QaQuestion qa_questions = 1;

Parameter
Name Description
index int
Returns
Type Description
QaQuestionOrBuilder

getQaQuestionsOrBuilderList()

public List<? extends QaQuestionOrBuilder> getQaQuestionsOrBuilderList()

The QaQuestions under the parent.

repeated .google.cloud.contactcenterinsights.v1.QaQuestion qa_questions = 1;

Returns
Type Description
List<? extends com.google.cloud.contactcenterinsights.v1.QaQuestionOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListQaQuestionsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeQaQuestions(int index)

public ListQaQuestionsResponse.Builder removeQaQuestions(int index)

The QaQuestions under the parent.

repeated .google.cloud.contactcenterinsights.v1.QaQuestion qa_questions = 1;

Parameter
Name Description
index int
Returns
Type Description
ListQaQuestionsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListQaQuestionsResponse.Builder setNextPageToken(String value)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListQaQuestionsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListQaQuestionsResponse.Builder setNextPageTokenBytes(ByteString value)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListQaQuestionsResponse.Builder

This builder for chaining.

setQaQuestions(int index, QaQuestion value)

public ListQaQuestionsResponse.Builder setQaQuestions(int index, QaQuestion value)

The QaQuestions under the parent.

repeated .google.cloud.contactcenterinsights.v1.QaQuestion qa_questions = 1;

Parameters
Name Description
index int
value QaQuestion
Returns
Type Description
ListQaQuestionsResponse.Builder

setQaQuestions(int index, QaQuestion.Builder builderForValue)

public ListQaQuestionsResponse.Builder setQaQuestions(int index, QaQuestion.Builder builderForValue)

The QaQuestions under the parent.

repeated .google.cloud.contactcenterinsights.v1.QaQuestion qa_questions = 1;

Parameters
Name Description
index int
builderForValue QaQuestion.Builder
Returns
Type Description
ListQaQuestionsResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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