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
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 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>
|
public ListQaQuestionsResponse.Builder addQaQuestions(QaQuestion value)
The QaQuestions under the parent.
repeated .google.cloud.contactcenterinsights.v1.QaQuestion qa_questions = 1;
public ListQaQuestionsResponse.Builder addQaQuestions(QaQuestion.Builder builderForValue)
The QaQuestions under the parent.
repeated .google.cloud.contactcenterinsights.v1.QaQuestion qa_questions = 1;
public ListQaQuestionsResponse.Builder addQaQuestions(int index, QaQuestion value)
The QaQuestions under the parent.
repeated .google.cloud.contactcenterinsights.v1.QaQuestion qa_questions = 1;
public ListQaQuestionsResponse.Builder addQaQuestions(int index, QaQuestion.Builder builderForValue)
The QaQuestions under the parent.
repeated .google.cloud.contactcenterinsights.v1.QaQuestion qa_questions = 1;
public QaQuestion.Builder addQaQuestionsBuilder()
The QaQuestions under the parent.
repeated .google.cloud.contactcenterinsights.v1.QaQuestion qa_questions = 1;
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
|
public ListQaQuestionsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ListQaQuestionsResponse build()
public ListQaQuestionsResponse buildPartial()
public ListQaQuestionsResponse.Builder clear()
Overrides
public ListQaQuestionsResponse.Builder clearField(Descriptors.FieldDescriptor field)
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;
public ListQaQuestionsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ListQaQuestionsResponse.Builder clearQaQuestions()
The QaQuestions under the parent.
repeated .google.cloud.contactcenterinsights.v1.QaQuestion qa_questions = 1;
public ListQaQuestionsResponse.Builder clone()
Overrides
public ListQaQuestionsResponse getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
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.
|
public QaQuestion getQaQuestions(int index)
The QaQuestions under the parent.
repeated .google.cloud.contactcenterinsights.v1.QaQuestion qa_questions = 1;
Parameter |
Name |
Description |
index |
int
|
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
|
public List<QaQuestion.Builder> getQaQuestionsBuilderList()
The QaQuestions under the parent.
repeated .google.cloud.contactcenterinsights.v1.QaQuestion qa_questions = 1;
public int getQaQuestionsCount()
The QaQuestions under the parent.
repeated .google.cloud.contactcenterinsights.v1.QaQuestion qa_questions = 1;
Returns |
Type |
Description |
int |
|
public List<QaQuestion> getQaQuestionsList()
The QaQuestions under the parent.
repeated .google.cloud.contactcenterinsights.v1.QaQuestion qa_questions = 1;
public QaQuestionOrBuilder getQaQuestionsOrBuilder(int index)
The QaQuestions under the parent.
repeated .google.cloud.contactcenterinsights.v1.QaQuestion qa_questions = 1;
Parameter |
Name |
Description |
index |
int
|
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> |
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ListQaQuestionsResponse.Builder mergeFrom(ListQaQuestionsResponse other)
public ListQaQuestionsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ListQaQuestionsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final ListQaQuestionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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
|
public ListQaQuestionsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
public ListQaQuestionsResponse.Builder setQaQuestions(int index, QaQuestion value)
The QaQuestions under the parent.
repeated .google.cloud.contactcenterinsights.v1.QaQuestion qa_questions = 1;
public ListQaQuestionsResponse.Builder setQaQuestions(int index, QaQuestion.Builder builderForValue)
The QaQuestions under the parent.
repeated .google.cloud.contactcenterinsights.v1.QaQuestion qa_questions = 1;
public ListQaQuestionsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final ListQaQuestionsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides