public static final class ListMessagesResponse.Builder extends GeneratedMessageV3.Builder<ListMessagesResponse.Builder> implements ListMessagesResponseOrBuilder
The response message for [Conversations.ListMessages][google.cloud.dialogflow.v2beta1.Conversations.ListMessages].Protobuf type
google.cloud.dialogflow.v2beta1.ListMessagesResponse
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<ListMessagesResponse.Builder>
public ListMessagesResponse.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<ListMessagesResponse.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<ListMessagesResponse.Builder>
public ListMessagesResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public ListMessagesResponse build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public ListMessagesResponse buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public ListMessagesResponse.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<ListMessagesResponse.Builder>
public ListMessagesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<ListMessagesResponse.Builder>
public ListMessagesResponse.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<ListMessagesResponse.Builder>
public ListMessagesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<ListMessagesResponse.Builder>
public ListMessagesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<ListMessagesResponse.Builder>
public ListMessagesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<ListMessagesResponse.Builder>
public ListMessagesResponse.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<ListMessagesResponse.Builder>
public ListMessagesResponse.Builder mergeFrom(ListMessagesResponse other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<ListMessagesResponse.Builder>
public ListMessagesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<ListMessagesResponse.Builder>
IOException
public List<Message> getMessagesList()
Required. The list of messages. There will be a maximum number of items returned based on the page_size field in the request. `messages` is sorted by `create_time` in descending order.
repeated .google.cloud.dialogflow.v2beta1.Message messages = 1;
getMessagesList
in interface ListMessagesResponseOrBuilder
public int getMessagesCount()
Required. The list of messages. There will be a maximum number of items returned based on the page_size field in the request. `messages` is sorted by `create_time` in descending order.
repeated .google.cloud.dialogflow.v2beta1.Message messages = 1;
getMessagesCount
in interface ListMessagesResponseOrBuilder
public Message getMessages(int index)
Required. The list of messages. There will be a maximum number of items returned based on the page_size field in the request. `messages` is sorted by `create_time` in descending order.
repeated .google.cloud.dialogflow.v2beta1.Message messages = 1;
getMessages
in interface ListMessagesResponseOrBuilder
public ListMessagesResponse.Builder setMessages(int index, Message value)
Required. The list of messages. There will be a maximum number of items returned based on the page_size field in the request. `messages` is sorted by `create_time` in descending order.
repeated .google.cloud.dialogflow.v2beta1.Message messages = 1;
public ListMessagesResponse.Builder setMessages(int index, Message.Builder builderForValue)
Required. The list of messages. There will be a maximum number of items returned based on the page_size field in the request. `messages` is sorted by `create_time` in descending order.
repeated .google.cloud.dialogflow.v2beta1.Message messages = 1;
public ListMessagesResponse.Builder addMessages(Message value)
Required. The list of messages. There will be a maximum number of items returned based on the page_size field in the request. `messages` is sorted by `create_time` in descending order.
repeated .google.cloud.dialogflow.v2beta1.Message messages = 1;
public ListMessagesResponse.Builder addMessages(int index, Message value)
Required. The list of messages. There will be a maximum number of items returned based on the page_size field in the request. `messages` is sorted by `create_time` in descending order.
repeated .google.cloud.dialogflow.v2beta1.Message messages = 1;
public ListMessagesResponse.Builder addMessages(Message.Builder builderForValue)
Required. The list of messages. There will be a maximum number of items returned based on the page_size field in the request. `messages` is sorted by `create_time` in descending order.
repeated .google.cloud.dialogflow.v2beta1.Message messages = 1;
public ListMessagesResponse.Builder addMessages(int index, Message.Builder builderForValue)
Required. The list of messages. There will be a maximum number of items returned based on the page_size field in the request. `messages` is sorted by `create_time` in descending order.
repeated .google.cloud.dialogflow.v2beta1.Message messages = 1;
public ListMessagesResponse.Builder addAllMessages(Iterable<? extends Message> values)
Required. The list of messages. There will be a maximum number of items returned based on the page_size field in the request. `messages` is sorted by `create_time` in descending order.
repeated .google.cloud.dialogflow.v2beta1.Message messages = 1;
public ListMessagesResponse.Builder clearMessages()
Required. The list of messages. There will be a maximum number of items returned based on the page_size field in the request. `messages` is sorted by `create_time` in descending order.
repeated .google.cloud.dialogflow.v2beta1.Message messages = 1;
public ListMessagesResponse.Builder removeMessages(int index)
Required. The list of messages. There will be a maximum number of items returned based on the page_size field in the request. `messages` is sorted by `create_time` in descending order.
repeated .google.cloud.dialogflow.v2beta1.Message messages = 1;
public Message.Builder getMessagesBuilder(int index)
Required. The list of messages. There will be a maximum number of items returned based on the page_size field in the request. `messages` is sorted by `create_time` in descending order.
repeated .google.cloud.dialogflow.v2beta1.Message messages = 1;
public MessageOrBuilder getMessagesOrBuilder(int index)
Required. The list of messages. There will be a maximum number of items returned based on the page_size field in the request. `messages` is sorted by `create_time` in descending order.
repeated .google.cloud.dialogflow.v2beta1.Message messages = 1;
getMessagesOrBuilder
in interface ListMessagesResponseOrBuilder
public List<? extends MessageOrBuilder> getMessagesOrBuilderList()
Required. The list of messages. There will be a maximum number of items returned based on the page_size field in the request. `messages` is sorted by `create_time` in descending order.
repeated .google.cloud.dialogflow.v2beta1.Message messages = 1;
getMessagesOrBuilderList
in interface ListMessagesResponseOrBuilder
public Message.Builder addMessagesBuilder()
Required. The list of messages. There will be a maximum number of items returned based on the page_size field in the request. `messages` is sorted by `create_time` in descending order.
repeated .google.cloud.dialogflow.v2beta1.Message messages = 1;
public Message.Builder addMessagesBuilder(int index)
Required. The list of messages. There will be a maximum number of items returned based on the page_size field in the request. `messages` is sorted by `create_time` in descending order.
repeated .google.cloud.dialogflow.v2beta1.Message messages = 1;
public List<Message.Builder> getMessagesBuilderList()
Required. The list of messages. There will be a maximum number of items returned based on the page_size field in the request. `messages` is sorted by `create_time` in descending order.
repeated .google.cloud.dialogflow.v2beta1.Message messages = 1;
public String getNextPageToken()
Optional. Token to retrieve the next page of results, or empty if there are no more results in the list.
string next_page_token = 2;
getNextPageToken
in interface ListMessagesResponseOrBuilder
public ByteString getNextPageTokenBytes()
Optional. Token to retrieve the next page of results, or empty if there are no more results in the list.
string next_page_token = 2;
getNextPageTokenBytes
in interface ListMessagesResponseOrBuilder
public ListMessagesResponse.Builder setNextPageToken(String value)
Optional. Token to retrieve the next page of results, or empty if there are no more results in the list.
string next_page_token = 2;
value
- The nextPageToken to set.public ListMessagesResponse.Builder clearNextPageToken()
Optional. Token to retrieve the next page of results, or empty if there are no more results in the list.
string next_page_token = 2;
public ListMessagesResponse.Builder setNextPageTokenBytes(ByteString value)
Optional. Token to retrieve the next page of results, or empty if there are no more results in the list.
string next_page_token = 2;
value
- The bytes for nextPageToken to set.public final ListMessagesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<ListMessagesResponse.Builder>
public final ListMessagesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<ListMessagesResponse.Builder>
Copyright © 2022 Google LLC. All rights reserved.