public static final class CustomEmoji.Builder extends GeneratedMessageV3.Builder<CustomEmoji.Builder> implements CustomEmojiOrBuilder
Represents a custom emoji.
Protobuf type google.chat.v1.CustomEmoji
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CustomEmoji.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CustomEmoji build()
buildPartial()
public CustomEmoji buildPartial()
clear()
public CustomEmoji.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CustomEmoji.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CustomEmoji.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearUid()
public CustomEmoji.Builder clearUid()
Unique key for the custom emoji resource.
string uid = 1;
clone()
public CustomEmoji.Builder clone()
Overrides
getDefaultInstanceForType()
public CustomEmoji getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getUid()
Unique key for the custom emoji resource.
string uid = 1;
Returns |
---|
Type | Description |
String | The uid.
|
getUidBytes()
public ByteString getUidBytes()
Unique key for the custom emoji resource.
string uid = 1;
Returns |
---|
Type | Description |
ByteString | The bytes for uid.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CustomEmoji other)
public CustomEmoji.Builder mergeFrom(CustomEmoji other)
public CustomEmoji.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CustomEmoji.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CustomEmoji.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CustomEmoji.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CustomEmoji.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUid(String value)
public CustomEmoji.Builder setUid(String value)
Unique key for the custom emoji resource.
string uid = 1;
Parameter |
---|
Name | Description |
value | String
The uid to set.
|
setUidBytes(ByteString value)
public CustomEmoji.Builder setUidBytes(ByteString value)
Unique key for the custom emoji resource.
string uid = 1;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for uid to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final CustomEmoji.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides