public static final class MessageUpdatedEventData.Builder extends GeneratedMessageV3.Builder<MessageUpdatedEventData.Builder> implements MessageUpdatedEventDataOrBuilder
Event payload for an updated message.
Event type: google.workspace.chat.message.v1.updated
Protobuf type google.chat.v1.MessageUpdatedEventData
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > MessageUpdatedEventData.BuilderImplements
MessageUpdatedEventDataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MessageUpdatedEventData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
MessageUpdatedEventData.Builder |
build()
public MessageUpdatedEventData build()
Returns | |
---|---|
Type | Description |
MessageUpdatedEventData |
buildPartial()
public MessageUpdatedEventData buildPartial()
Returns | |
---|---|
Type | Description |
MessageUpdatedEventData |
clear()
public MessageUpdatedEventData.Builder clear()
Returns | |
---|---|
Type | Description |
MessageUpdatedEventData.Builder |
clearField(Descriptors.FieldDescriptor field)
public MessageUpdatedEventData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
MessageUpdatedEventData.Builder |
clearMessage()
public MessageUpdatedEventData.Builder clearMessage()
The updated message.
.google.chat.v1.Message message = 1;
Returns | |
---|---|
Type | Description |
MessageUpdatedEventData.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public MessageUpdatedEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
MessageUpdatedEventData.Builder |
clone()
public MessageUpdatedEventData.Builder clone()
Returns | |
---|---|
Type | Description |
MessageUpdatedEventData.Builder |
getDefaultInstanceForType()
public MessageUpdatedEventData getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
MessageUpdatedEventData |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getMessage()
public Message getMessage()
The updated message.
.google.chat.v1.Message message = 1;
Returns | |
---|---|
Type | Description |
Message |
The message. |
getMessageBuilder()
public Message.Builder getMessageBuilder()
The updated message.
.google.chat.v1.Message message = 1;
Returns | |
---|---|
Type | Description |
Message.Builder |
getMessageOrBuilder()
public MessageOrBuilder getMessageOrBuilder()
The updated message.
.google.chat.v1.Message message = 1;
Returns | |
---|---|
Type | Description |
MessageOrBuilder |
hasMessage()
public boolean hasMessage()
The updated message.
.google.chat.v1.Message message = 1;
Returns | |
---|---|
Type | Description |
boolean |
Whether the message field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(MessageUpdatedEventData other)
public MessageUpdatedEventData.Builder mergeFrom(MessageUpdatedEventData other)
Parameter | |
---|---|
Name | Description |
other |
MessageUpdatedEventData |
Returns | |
---|---|
Type | Description |
MessageUpdatedEventData.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MessageUpdatedEventData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
MessageUpdatedEventData.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public MessageUpdatedEventData.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
MessageUpdatedEventData.Builder |
mergeMessage(Message value)
public MessageUpdatedEventData.Builder mergeMessage(Message value)
The updated message.
.google.chat.v1.Message message = 1;
Parameter | |
---|---|
Name | Description |
value |
Message |
Returns | |
---|---|
Type | Description |
MessageUpdatedEventData.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MessageUpdatedEventData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
MessageUpdatedEventData.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public MessageUpdatedEventData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
MessageUpdatedEventData.Builder |
setMessage(Message value)
public MessageUpdatedEventData.Builder setMessage(Message value)
The updated message.
.google.chat.v1.Message message = 1;
Parameter | |
---|---|
Name | Description |
value |
Message |
Returns | |
---|---|
Type | Description |
MessageUpdatedEventData.Builder |
setMessage(Message.Builder builderForValue)
public MessageUpdatedEventData.Builder setMessage(Message.Builder builderForValue)
The updated message.
.google.chat.v1.Message message = 1;
Parameter | |
---|---|
Name | Description |
builderForValue |
Message.Builder |
Returns | |
---|---|
Type | Description |
MessageUpdatedEventData.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MessageUpdatedEventData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
MessageUpdatedEventData.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final MessageUpdatedEventData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
MessageUpdatedEventData.Builder |