Class MembershipUpdatedEventData.Builder (0.15.0)

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

Static 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
Overrides

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
Overrides

clearField(Descriptors.FieldDescriptor field)

public MembershipUpdatedEventData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
MembershipUpdatedEventData.Builder
Overrides

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
Overrides

clone()

public MembershipUpdatedEventData.Builder clone()
Returns
Type Description
MembershipUpdatedEventData.Builder
Overrides

getDefaultInstanceForType()

public MembershipUpdatedEventData getDefaultInstanceForType()
Returns
Type Description
MembershipUpdatedEventData

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public MembershipUpdatedEventData.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
MembershipUpdatedEventData.Builder
Overrides

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
Overrides

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
Overrides

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
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final MembershipUpdatedEventData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
MembershipUpdatedEventData.Builder
Overrides