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()
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>
|
addAnswerRecords(AnswerRecord value)
public ListAnswerRecordsResponse.Builder addAnswerRecords(AnswerRecord value)
The list of answer records.
repeated .google.cloud.dialogflow.v2beta1.AnswerRecord answer_records = 1;
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;
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;
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;
addAnswerRecordsBuilder()
public AnswerRecord.Builder addAnswerRecordsBuilder()
The list of answer records.
repeated .google.cloud.dialogflow.v2beta1.AnswerRecord answer_records = 1;
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
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListAnswerRecordsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListAnswerRecordsResponse build()
buildPartial()
public ListAnswerRecordsResponse buildPartial()
clear()
public ListAnswerRecordsResponse.Builder clear()
Overrides
clearAnswerRecords()
public ListAnswerRecordsResponse.Builder clearAnswerRecords()
The list of answer records.
repeated .google.cloud.dialogflow.v2beta1.AnswerRecord answer_records = 1;
clearField(Descriptors.FieldDescriptor field)
public ListAnswerRecordsResponse.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListAnswerRecordsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListAnswerRecordsResponse.Builder clone()
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
|
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
|
getAnswerRecordsBuilderList()
public List<AnswerRecord.Builder> getAnswerRecordsBuilderList()
The list of answer records.
repeated .google.cloud.dialogflow.v2beta1.AnswerRecord answer_records = 1;
getAnswerRecordsCount()
public int getAnswerRecordsCount()
The list of answer records.
repeated .google.cloud.dialogflow.v2beta1.AnswerRecord answer_records = 1;
Returns |
Type |
Description |
int |
|
getAnswerRecordsList()
public List<AnswerRecord> getAnswerRecordsList()
The list of answer records.
repeated .google.cloud.dialogflow.v2beta1.AnswerRecord answer_records = 1;
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
|
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListAnswerRecordsResponse other)
public ListAnswerRecordsResponse.Builder mergeFrom(ListAnswerRecordsResponse other)
public ListAnswerRecordsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListAnswerRecordsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListAnswerRecordsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
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;
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;
setField(Descriptors.FieldDescriptor field, Object value)
public ListAnswerRecordsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListAnswerRecordsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListAnswerRecordsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides