public static final class ListAnswerRecordsResponse.Builder extends GeneratedMessageV3.Builder<ListAnswerRecordsResponse.Builder> implements ListAnswerRecordsResponseOrBuilder
Response message for
AnswerRecords.ListAnswerRecords.
Protobuf type google.cloud.dialogflow.v2beta1.ListAnswerRecordsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
Methods
addAllAnswerRecords(Iterable<? extends AnswerRecord> values)
public ListAnswerRecordsResponse.Builder addAllAnswerRecords(Iterable<? extends AnswerRecord> values)
The list of answer records.
repeated .google.cloud.dialogflow.v2beta1.AnswerRecord answer_records = 1;
Parameter
Name |
Description |
values |
Iterable<? extends com.google.cloud.dialogflow.v2beta1.AnswerRecord>
|
Returns
addAnswerRecords(AnswerRecord value)
public ListAnswerRecordsResponse.Builder addAnswerRecords(AnswerRecord value)
The list of answer records.
repeated .google.cloud.dialogflow.v2beta1.AnswerRecord answer_records = 1;
Parameter
Returns
addAnswerRecords(AnswerRecord.Builder builderForValue)
public ListAnswerRecordsResponse.Builder addAnswerRecords(AnswerRecord.Builder builderForValue)
The list of answer records.
repeated .google.cloud.dialogflow.v2beta1.AnswerRecord answer_records = 1;
Parameter
Returns
addAnswerRecords(int index, AnswerRecord value)
public ListAnswerRecordsResponse.Builder addAnswerRecords(int index, AnswerRecord value)
The list of answer records.
repeated .google.cloud.dialogflow.v2beta1.AnswerRecord answer_records = 1;
Parameters
Returns
addAnswerRecords(int index, AnswerRecord.Builder builderForValue)
public ListAnswerRecordsResponse.Builder addAnswerRecords(int index, AnswerRecord.Builder builderForValue)
The list of answer records.
repeated .google.cloud.dialogflow.v2beta1.AnswerRecord answer_records = 1;
Parameters
Returns
addAnswerRecordsBuilder()
public AnswerRecord.Builder addAnswerRecordsBuilder()
The list of answer records.
repeated .google.cloud.dialogflow.v2beta1.AnswerRecord answer_records = 1;
Returns
addAnswerRecordsBuilder(int index)
public AnswerRecord.Builder addAnswerRecordsBuilder(int index)
The list of answer records.
repeated .google.cloud.dialogflow.v2beta1.AnswerRecord answer_records = 1;
Parameter
Name |
Description |
index |
int
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListAnswerRecordsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListAnswerRecordsResponse build()
Returns
buildPartial()
public ListAnswerRecordsResponse buildPartial()
Returns
clear()
public ListAnswerRecordsResponse.Builder clear()
Returns
Overrides
clearAnswerRecords()
public ListAnswerRecordsResponse.Builder clearAnswerRecords()
The list of answer records.
repeated .google.cloud.dialogflow.v2beta1.AnswerRecord answer_records = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public ListAnswerRecordsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNextPageToken()
public ListAnswerRecordsResponse.Builder clearNextPageToken()
A token to retrieve next page of results. Or empty if there are no more
results.
Pass this value in the
ListAnswerRecordsRequest.page_token
field in the subsequent call to ListAnswerRecords
method to retrieve the
next page of results.
string next_page_token = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ListAnswerRecordsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ListAnswerRecordsResponse.Builder clone()
Returns
Overrides
getAnswerRecords(int index)
public AnswerRecord getAnswerRecords(int index)
The list of answer records.
repeated .google.cloud.dialogflow.v2beta1.AnswerRecord answer_records = 1;
Parameter
Name |
Description |
index |
int
|
Returns
getAnswerRecordsBuilder(int index)
public AnswerRecord.Builder getAnswerRecordsBuilder(int index)
The list of answer records.
repeated .google.cloud.dialogflow.v2beta1.AnswerRecord answer_records = 1;
Parameter
Name |
Description |
index |
int
|
Returns
getAnswerRecordsBuilderList()
public List<AnswerRecord.Builder> getAnswerRecordsBuilderList()
The list of answer records.
repeated .google.cloud.dialogflow.v2beta1.AnswerRecord answer_records = 1;
Returns
getAnswerRecordsCount()
public int getAnswerRecordsCount()
The list of answer records.
repeated .google.cloud.dialogflow.v2beta1.AnswerRecord answer_records = 1;
Returns
getAnswerRecordsList()
public List<AnswerRecord> getAnswerRecordsList()
The list of answer records.
repeated .google.cloud.dialogflow.v2beta1.AnswerRecord answer_records = 1;
Returns
getAnswerRecordsOrBuilder(int index)
public AnswerRecordOrBuilder getAnswerRecordsOrBuilder(int index)
The list of answer records.
repeated .google.cloud.dialogflow.v2beta1.AnswerRecord answer_records = 1;
Parameter
Name |
Description |
index |
int
|
Returns
getAnswerRecordsOrBuilderList()
public List<? extends AnswerRecordOrBuilder> getAnswerRecordsOrBuilderList()
The list of answer records.
repeated .google.cloud.dialogflow.v2beta1.AnswerRecord answer_records = 1;
Returns
Type |
Description |
List<? extends com.google.cloud.dialogflow.v2beta1.AnswerRecordOrBuilder> |
|
getDefaultInstanceForType()
public ListAnswerRecordsResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getNextPageToken()
public String getNextPageToken()
A token to retrieve next page of results. Or empty if there are no more
results.
Pass this value in the
ListAnswerRecordsRequest.page_token
field in the subsequent call to ListAnswerRecords
method to retrieve the
next page of results.
string next_page_token = 2;
Returns
Type |
Description |
String |
The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
A token to retrieve next page of results. Or empty if there are no more
results.
Pass this value in the
ListAnswerRecordsRequest.page_token
field in the subsequent call to ListAnswerRecords
method to retrieve the
next page of results.
string next_page_token = 2;
Returns
Type |
Description |
ByteString |
The bytes for nextPageToken.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListAnswerRecordsResponse other)
public ListAnswerRecordsResponse.Builder mergeFrom(ListAnswerRecordsResponse other)
Parameter
Returns
public ListAnswerRecordsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListAnswerRecordsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListAnswerRecordsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeAnswerRecords(int index)
public ListAnswerRecordsResponse.Builder removeAnswerRecords(int index)
The list of answer records.
repeated .google.cloud.dialogflow.v2beta1.AnswerRecord answer_records = 1;
Parameter
Name |
Description |
index |
int
|
Returns
setAnswerRecords(int index, AnswerRecord value)
public ListAnswerRecordsResponse.Builder setAnswerRecords(int index, AnswerRecord value)
The list of answer records.
repeated .google.cloud.dialogflow.v2beta1.AnswerRecord answer_records = 1;
Parameters
Returns
setAnswerRecords(int index, AnswerRecord.Builder builderForValue)
public ListAnswerRecordsResponse.Builder setAnswerRecords(int index, AnswerRecord.Builder builderForValue)
The list of answer records.
repeated .google.cloud.dialogflow.v2beta1.AnswerRecord answer_records = 1;
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListAnswerRecordsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNextPageToken(String value)
public ListAnswerRecordsResponse.Builder setNextPageToken(String value)
A token to retrieve next page of results. Or empty if there are no more
results.
Pass this value in the
ListAnswerRecordsRequest.page_token
field in the subsequent call to ListAnswerRecords
method to retrieve the
next page of results.
string next_page_token = 2;
Parameter
Name |
Description |
value |
String
The nextPageToken to set.
|
Returns
setNextPageTokenBytes(ByteString value)
public ListAnswerRecordsResponse.Builder setNextPageTokenBytes(ByteString value)
A token to retrieve next page of results. Or empty if there are no more
results.
Pass this value in the
ListAnswerRecordsRequest.page_token
field in the subsequent call to ListAnswerRecords
method to retrieve the
next page of results.
string next_page_token = 2;
Parameter
Name |
Description |
value |
ByteString
The bytes for nextPageToken to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListAnswerRecordsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListAnswerRecordsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides