public static final class ListCustomEmojisResponse.Builder extends GeneratedMessage.Builder<ListCustomEmojisResponse.Builder> implements ListCustomEmojisResponseOrBuilderA response to list custom emojis.
Protobuf type google.chat.v1.ListCustomEmojisResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListCustomEmojisResponse.BuilderImplements
ListCustomEmojisResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllCustomEmojis(Iterable<? extends CustomEmoji> values)
public ListCustomEmojisResponse.Builder addAllCustomEmojis(Iterable<? extends CustomEmoji> values)Unordered list. List of custom emojis.
repeated .google.chat.v1.CustomEmoji custom_emojis = 1 [(.google.api.field_behavior) = UNORDERED_LIST];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.chat.v1.CustomEmoji> |
| Returns | |
|---|---|
| Type | Description |
ListCustomEmojisResponse.Builder |
|
addCustomEmojis(CustomEmoji value)
public ListCustomEmojisResponse.Builder addCustomEmojis(CustomEmoji value)Unordered list. List of custom emojis.
repeated .google.chat.v1.CustomEmoji custom_emojis = 1 [(.google.api.field_behavior) = UNORDERED_LIST];
| Parameter | |
|---|---|
| Name | Description |
value |
CustomEmoji |
| Returns | |
|---|---|
| Type | Description |
ListCustomEmojisResponse.Builder |
|
addCustomEmojis(CustomEmoji.Builder builderForValue)
public ListCustomEmojisResponse.Builder addCustomEmojis(CustomEmoji.Builder builderForValue)Unordered list. List of custom emojis.
repeated .google.chat.v1.CustomEmoji custom_emojis = 1 [(.google.api.field_behavior) = UNORDERED_LIST];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
CustomEmoji.Builder |
| Returns | |
|---|---|
| Type | Description |
ListCustomEmojisResponse.Builder |
|
addCustomEmojis(int index, CustomEmoji value)
public ListCustomEmojisResponse.Builder addCustomEmojis(int index, CustomEmoji value)Unordered list. List of custom emojis.
repeated .google.chat.v1.CustomEmoji custom_emojis = 1 [(.google.api.field_behavior) = UNORDERED_LIST];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
CustomEmoji |
| Returns | |
|---|---|
| Type | Description |
ListCustomEmojisResponse.Builder |
|
addCustomEmojis(int index, CustomEmoji.Builder builderForValue)
public ListCustomEmojisResponse.Builder addCustomEmojis(int index, CustomEmoji.Builder builderForValue)Unordered list. List of custom emojis.
repeated .google.chat.v1.CustomEmoji custom_emojis = 1 [(.google.api.field_behavior) = UNORDERED_LIST];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
CustomEmoji.Builder |
| Returns | |
|---|---|
| Type | Description |
ListCustomEmojisResponse.Builder |
|
addCustomEmojisBuilder()
public CustomEmoji.Builder addCustomEmojisBuilder()Unordered list. List of custom emojis.
repeated .google.chat.v1.CustomEmoji custom_emojis = 1 [(.google.api.field_behavior) = UNORDERED_LIST];
| Returns | |
|---|---|
| Type | Description |
CustomEmoji.Builder |
|
addCustomEmojisBuilder(int index)
public CustomEmoji.Builder addCustomEmojisBuilder(int index)Unordered list. List of custom emojis.
repeated .google.chat.v1.CustomEmoji custom_emojis = 1 [(.google.api.field_behavior) = UNORDERED_LIST];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
CustomEmoji.Builder |
|
build()
public ListCustomEmojisResponse build()| Returns | |
|---|---|
| Type | Description |
ListCustomEmojisResponse |
|
buildPartial()
public ListCustomEmojisResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ListCustomEmojisResponse |
|
clear()
public ListCustomEmojisResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListCustomEmojisResponse.Builder |
|
clearCustomEmojis()
public ListCustomEmojisResponse.Builder clearCustomEmojis()Unordered list. List of custom emojis.
repeated .google.chat.v1.CustomEmoji custom_emojis = 1 [(.google.api.field_behavior) = UNORDERED_LIST];
| Returns | |
|---|---|
| Type | Description |
ListCustomEmojisResponse.Builder |
|
clearNextPageToken()
public ListCustomEmojisResponse.Builder clearNextPageToken() A token that you can send as pageToken to retrieve the next page of
results. If empty, there are no subsequent pages.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
ListCustomEmojisResponse.Builder |
This builder for chaining. |
getCustomEmojis(int index)
public CustomEmoji getCustomEmojis(int index)Unordered list. List of custom emojis.
repeated .google.chat.v1.CustomEmoji custom_emojis = 1 [(.google.api.field_behavior) = UNORDERED_LIST];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
CustomEmoji |
|
getCustomEmojisBuilder(int index)
public CustomEmoji.Builder getCustomEmojisBuilder(int index)Unordered list. List of custom emojis.
repeated .google.chat.v1.CustomEmoji custom_emojis = 1 [(.google.api.field_behavior) = UNORDERED_LIST];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
CustomEmoji.Builder |
|
getCustomEmojisBuilderList()
public List<CustomEmoji.Builder> getCustomEmojisBuilderList()Unordered list. List of custom emojis.
repeated .google.chat.v1.CustomEmoji custom_emojis = 1 [(.google.api.field_behavior) = UNORDERED_LIST];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getCustomEmojisCount()
public int getCustomEmojisCount()Unordered list. List of custom emojis.
repeated .google.chat.v1.CustomEmoji custom_emojis = 1 [(.google.api.field_behavior) = UNORDERED_LIST];
| Returns | |
|---|---|
| Type | Description |
int |
|
getCustomEmojisList()
public List<CustomEmoji> getCustomEmojisList()Unordered list. List of custom emojis.
repeated .google.chat.v1.CustomEmoji custom_emojis = 1 [(.google.api.field_behavior) = UNORDERED_LIST];
| Returns | |
|---|---|
| Type | Description |
List<CustomEmoji> |
|
getCustomEmojisOrBuilder(int index)
public CustomEmojiOrBuilder getCustomEmojisOrBuilder(int index)Unordered list. List of custom emojis.
repeated .google.chat.v1.CustomEmoji custom_emojis = 1 [(.google.api.field_behavior) = UNORDERED_LIST];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
CustomEmojiOrBuilder |
|
getCustomEmojisOrBuilderList()
public List<? extends CustomEmojiOrBuilder> getCustomEmojisOrBuilderList()Unordered list. List of custom emojis.
repeated .google.chat.v1.CustomEmoji custom_emojis = 1 [(.google.api.field_behavior) = UNORDERED_LIST];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.chat.v1.CustomEmojiOrBuilder> |
|
getDefaultInstanceForType()
public ListCustomEmojisResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListCustomEmojisResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getNextPageToken()
public String getNextPageToken() A token that you can send 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() A token that you can send 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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ListCustomEmojisResponse other)
public ListCustomEmojisResponse.Builder mergeFrom(ListCustomEmojisResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListCustomEmojisResponse |
| Returns | |
|---|---|
| Type | Description |
ListCustomEmojisResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListCustomEmojisResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListCustomEmojisResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListCustomEmojisResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListCustomEmojisResponse.Builder |
|
removeCustomEmojis(int index)
public ListCustomEmojisResponse.Builder removeCustomEmojis(int index)Unordered list. List of custom emojis.
repeated .google.chat.v1.CustomEmoji custom_emojis = 1 [(.google.api.field_behavior) = UNORDERED_LIST];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ListCustomEmojisResponse.Builder |
|
setCustomEmojis(int index, CustomEmoji value)
public ListCustomEmojisResponse.Builder setCustomEmojis(int index, CustomEmoji value)Unordered list. List of custom emojis.
repeated .google.chat.v1.CustomEmoji custom_emojis = 1 [(.google.api.field_behavior) = UNORDERED_LIST];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
CustomEmoji |
| Returns | |
|---|---|
| Type | Description |
ListCustomEmojisResponse.Builder |
|
setCustomEmojis(int index, CustomEmoji.Builder builderForValue)
public ListCustomEmojisResponse.Builder setCustomEmojis(int index, CustomEmoji.Builder builderForValue)Unordered list. List of custom emojis.
repeated .google.chat.v1.CustomEmoji custom_emojis = 1 [(.google.api.field_behavior) = UNORDERED_LIST];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
CustomEmoji.Builder |
| Returns | |
|---|---|
| Type | Description |
ListCustomEmojisResponse.Builder |
|
setNextPageToken(String value)
public ListCustomEmojisResponse.Builder setNextPageToken(String value) A token that you can send 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 |
StringThe nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListCustomEmojisResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListCustomEmojisResponse.Builder setNextPageTokenBytes(ByteString value) A token that you can send 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 |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListCustomEmojisResponse.Builder |
This builder for chaining. |