public static final class CustomEmoji.Builder extends GeneratedMessageV3.Builder<CustomEmoji.Builder> implements CustomEmojiOrBuilder
Represents a custom emoji.
Protobuf type google.chat.v1.CustomEmoji
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CustomEmoji.BuilderImplements
CustomEmojiOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CustomEmoji.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
CustomEmoji.Builder |
build()
public CustomEmoji build()
Returns | |
---|---|
Type | Description |
CustomEmoji |
buildPartial()
public CustomEmoji buildPartial()
Returns | |
---|---|
Type | Description |
CustomEmoji |
clear()
public CustomEmoji.Builder clear()
Returns | |
---|---|
Type | Description |
CustomEmoji.Builder |
clearField(Descriptors.FieldDescriptor field)
public CustomEmoji.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
CustomEmoji.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public CustomEmoji.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
CustomEmoji.Builder |
clearUid()
public CustomEmoji.Builder clearUid()
Output only. Unique key for the custom emoji resource.
string uid = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
Returns | |
---|---|
Type | Description |
CustomEmoji.Builder |
This builder for chaining. |
clone()
public CustomEmoji.Builder clone()
Returns | |
---|---|
Type | Description |
CustomEmoji.Builder |
getDefaultInstanceForType()
public CustomEmoji getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
CustomEmoji |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getUid()
public String getUid()
Output only. Unique key for the custom emoji resource.
string uid = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
Returns | |
---|---|
Type | Description |
String |
The uid. |
getUidBytes()
public ByteString getUidBytes()
Output only. Unique key for the custom emoji resource.
string uid = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for uid. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(CustomEmoji other)
public CustomEmoji.Builder mergeFrom(CustomEmoji other)
Parameter | |
---|---|
Name | Description |
other |
CustomEmoji |
Returns | |
---|---|
Type | Description |
CustomEmoji.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CustomEmoji.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CustomEmoji.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public CustomEmoji.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
CustomEmoji.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CustomEmoji.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CustomEmoji.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public CustomEmoji.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
CustomEmoji.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CustomEmoji.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
CustomEmoji.Builder |
setUid(String value)
public CustomEmoji.Builder setUid(String value)
Output only. Unique key for the custom emoji resource.
string uid = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The uid to set. |
Returns | |
---|---|
Type | Description |
CustomEmoji.Builder |
This builder for chaining. |
setUidBytes(ByteString value)
public CustomEmoji.Builder setUidBytes(ByteString value)
Output only. Unique key for the custom emoji resource.
string uid = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for uid to set. |
Returns | |
---|---|
Type | Description |
CustomEmoji.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final CustomEmoji.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CustomEmoji.Builder |