public static final class MembershipUpdatedEventData.Builder extends GeneratedMessageV3.Builder<MembershipUpdatedEventData.Builder> implements MembershipUpdatedEventDataOrBuilder
Event payload for an updated membership.
Event type: google.workspace.chat.membership.v1.updated
Protobuf type google.chat.v1.MembershipUpdatedEventData
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > MembershipUpdatedEventData.BuilderImplements
MembershipUpdatedEventDataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MembershipUpdatedEventData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
MembershipUpdatedEventData.Builder |
build()
public MembershipUpdatedEventData build()
Returns | |
---|---|
Type | Description |
MembershipUpdatedEventData |
buildPartial()
public MembershipUpdatedEventData buildPartial()
Returns | |
---|---|
Type | Description |
MembershipUpdatedEventData |
clear()
public MembershipUpdatedEventData.Builder clear()
Returns | |
---|---|
Type | Description |
MembershipUpdatedEventData.Builder |
clearField(Descriptors.FieldDescriptor field)
public MembershipUpdatedEventData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
MembershipUpdatedEventData.Builder |
clearMembership()
public MembershipUpdatedEventData.Builder clearMembership()
The updated membership.
.google.chat.v1.Membership membership = 1;
Returns | |
---|---|
Type | Description |
MembershipUpdatedEventData.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public MembershipUpdatedEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
MembershipUpdatedEventData.Builder |
clone()
public MembershipUpdatedEventData.Builder clone()
Returns | |
---|---|
Type | Description |
MembershipUpdatedEventData.Builder |
getDefaultInstanceForType()
public MembershipUpdatedEventData getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
MembershipUpdatedEventData |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getMembership()
public Membership getMembership()
The updated membership.
.google.chat.v1.Membership membership = 1;
Returns | |
---|---|
Type | Description |
Membership |
The membership. |
getMembershipBuilder()
public Membership.Builder getMembershipBuilder()
The updated membership.
.google.chat.v1.Membership membership = 1;
Returns | |
---|---|
Type | Description |
Membership.Builder |
getMembershipOrBuilder()
public MembershipOrBuilder getMembershipOrBuilder()
The updated membership.
.google.chat.v1.Membership membership = 1;
Returns | |
---|---|
Type | Description |
MembershipOrBuilder |
hasMembership()
public boolean hasMembership()
The updated membership.
.google.chat.v1.Membership membership = 1;
Returns | |
---|---|
Type | Description |
boolean |
Whether the membership field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(MembershipUpdatedEventData other)
public MembershipUpdatedEventData.Builder mergeFrom(MembershipUpdatedEventData other)
Parameter | |
---|---|
Name | Description |
other |
MembershipUpdatedEventData |
Returns | |
---|---|
Type | Description |
MembershipUpdatedEventData.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MembershipUpdatedEventData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
MembershipUpdatedEventData.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public MembershipUpdatedEventData.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
MembershipUpdatedEventData.Builder |
mergeMembership(Membership value)
public MembershipUpdatedEventData.Builder mergeMembership(Membership value)
The updated membership.
.google.chat.v1.Membership membership = 1;
Parameter | |
---|---|
Name | Description |
value |
Membership |
Returns | |
---|---|
Type | Description |
MembershipUpdatedEventData.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MembershipUpdatedEventData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
MembershipUpdatedEventData.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public MembershipUpdatedEventData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
MembershipUpdatedEventData.Builder |
setMembership(Membership value)
public MembershipUpdatedEventData.Builder setMembership(Membership value)
The updated membership.
.google.chat.v1.Membership membership = 1;
Parameter | |
---|---|
Name | Description |
value |
Membership |
Returns | |
---|---|
Type | Description |
MembershipUpdatedEventData.Builder |
setMembership(Membership.Builder builderForValue)
public MembershipUpdatedEventData.Builder setMembership(Membership.Builder builderForValue)
The updated membership.
.google.chat.v1.Membership membership = 1;
Parameter | |
---|---|
Name | Description |
builderForValue |
Membership.Builder |
Returns | |
---|---|
Type | Description |
MembershipUpdatedEventData.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MembershipUpdatedEventData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
MembershipUpdatedEventData.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final MembershipUpdatedEventData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
MembershipUpdatedEventData.Builder |