public static final class ListMessagesResponse.Builder extends GeneratedMessageV3.Builder<ListMessagesResponse.Builder> implements ListMessagesResponseOrBuilder
Protobuf type google.chat.v1.ListMessagesResponse
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
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllMessages(Iterable<? extends Message> values)
public ListMessagesResponse.Builder addAllMessages(Iterable<? extends Message> values)
List of messages.
repeated .google.chat.v1.Message messages = 1;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.chat.v1.Message>
|
addMessages(Message value)
public ListMessagesResponse.Builder addMessages(Message value)
List of messages.
repeated .google.chat.v1.Message messages = 1;
Parameter |
---|
Name | Description |
value | Message
|
addMessages(Message.Builder builderForValue)
public ListMessagesResponse.Builder addMessages(Message.Builder builderForValue)
List of messages.
repeated .google.chat.v1.Message messages = 1;
addMessages(int index, Message value)
public ListMessagesResponse.Builder addMessages(int index, Message value)
List of messages.
repeated .google.chat.v1.Message messages = 1;
addMessages(int index, Message.Builder builderForValue)
public ListMessagesResponse.Builder addMessages(int index, Message.Builder builderForValue)
List of messages.
repeated .google.chat.v1.Message messages = 1;
addMessagesBuilder()
public Message.Builder addMessagesBuilder()
List of messages.
repeated .google.chat.v1.Message messages = 1;
addMessagesBuilder(int index)
public Message.Builder addMessagesBuilder(int index)
List of messages.
repeated .google.chat.v1.Message messages = 1;
Parameter |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListMessagesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListMessagesResponse build()
buildPartial()
public ListMessagesResponse buildPartial()
clear()
public ListMessagesResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListMessagesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearMessages()
public ListMessagesResponse.Builder clearMessages()
List of messages.
repeated .google.chat.v1.Message messages = 1;
clearNextPageToken()
public ListMessagesResponse.Builder clearNextPageToken()
You can send a token as pageToken
to retrieve the next page of
results. If empty, there are no subsequent pages.
string next_page_token = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListMessagesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListMessagesResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListMessagesResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMessages(int index)
public Message getMessages(int index)
List of messages.
repeated .google.chat.v1.Message messages = 1;
Parameter |
---|
Name | Description |
index | int
|
getMessagesBuilder(int index)
public Message.Builder getMessagesBuilder(int index)
List of messages.
repeated .google.chat.v1.Message messages = 1;
Parameter |
---|
Name | Description |
index | int
|
getMessagesBuilderList()
public List<Message.Builder> getMessagesBuilderList()
List of messages.
repeated .google.chat.v1.Message messages = 1;
getMessagesCount()
public int getMessagesCount()
List of messages.
repeated .google.chat.v1.Message messages = 1;
Returns |
---|
Type | Description |
int | |
getMessagesList()
public List<Message> getMessagesList()
List of messages.
repeated .google.chat.v1.Message messages = 1;
getMessagesOrBuilder(int index)
public MessageOrBuilder getMessagesOrBuilder(int index)
List of messages.
repeated .google.chat.v1.Message messages = 1;
Parameter |
---|
Name | Description |
index | int
|
getMessagesOrBuilderList()
public List<? extends MessageOrBuilder> getMessagesOrBuilderList()
List of messages.
repeated .google.chat.v1.Message messages = 1;
Returns |
---|
Type | Description |
List<? extends com.google.chat.v1.MessageOrBuilder> | |
getNextPageToken()
public String getNextPageToken()
You can send a token as pageToken
to retrieve the next page of
results. If empty, there are no subsequent pages.
string next_page_token = 2;
Returns |
---|
Type | Description |
String | The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
You can send a token as pageToken
to retrieve the next page of
results. If empty, there are no subsequent pages.
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(ListMessagesResponse other)
public ListMessagesResponse.Builder mergeFrom(ListMessagesResponse other)
public ListMessagesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListMessagesResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListMessagesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeMessages(int index)
public ListMessagesResponse.Builder removeMessages(int index)
List of messages.
repeated .google.chat.v1.Message messages = 1;
Parameter |
---|
Name | Description |
index | int
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListMessagesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setMessages(int index, Message value)
public ListMessagesResponse.Builder setMessages(int index, Message value)
List of messages.
repeated .google.chat.v1.Message messages = 1;
setMessages(int index, Message.Builder builderForValue)
public ListMessagesResponse.Builder setMessages(int index, Message.Builder builderForValue)
List of messages.
repeated .google.chat.v1.Message messages = 1;
setNextPageToken(String value)
public ListMessagesResponse.Builder setNextPageToken(String value)
You can send a token as pageToken
to retrieve the next page of
results. If empty, there are no subsequent pages.
string next_page_token = 2;
Parameter |
---|
Name | Description |
value | String
The nextPageToken to set.
|
setNextPageTokenBytes(ByteString value)
public ListMessagesResponse.Builder setNextPageTokenBytes(ByteString value)
You can send a token as pageToken
to retrieve the next page of
results. If empty, there are no subsequent pages.
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 ListMessagesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListMessagesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides