public static final class ListCustomEmojisResponse.Builder extends GeneratedMessageV3.Builder<ListCustomEmojisResponse.Builder> implements ListCustomEmojisResponseOrBuilder
A response to list custom emojis.
Protobuf type google.chat.v1.ListCustomEmojisResponse
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
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>
|
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];
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];
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];
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];
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];
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
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListCustomEmojisResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListCustomEmojisResponse build()
buildPartial()
public ListCustomEmojisResponse buildPartial()
clear()
public ListCustomEmojisResponse.Builder clear()
Overrides
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];
clearField(Descriptors.FieldDescriptor field)
public ListCustomEmojisResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListCustomEmojisResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListCustomEmojisResponse.Builder clone()
Overrides
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
|
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
|
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];
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];
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
|
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListCustomEmojisResponse other)
public ListCustomEmojisResponse.Builder mergeFrom(ListCustomEmojisResponse other)
public ListCustomEmojisResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListCustomEmojisResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListCustomEmojisResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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
|
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];
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];
setField(Descriptors.FieldDescriptor field, Object value)
public ListCustomEmojisResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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 |
String
The nextPageToken to set.
|
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 |
ByteString
The bytes for nextPageToken to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListCustomEmojisResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListCustomEmojisResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides