Class MembershipBatchDeletedEventData.Builder (0.18.0)

public static final class MembershipBatchDeletedEventData.Builder extends GeneratedMessageV3.Builder<MembershipBatchDeletedEventData.Builder> implements MembershipBatchDeletedEventDataOrBuilder

Event payload for multiple deleted memberships.

Event type: google.workspace.chat.membership.v1.batchDeleted

Protobuf type google.chat.v1.MembershipBatchDeletedEventData

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllMemberships(Iterable<? extends MembershipDeletedEventData> values)

public MembershipBatchDeletedEventData.Builder addAllMemberships(Iterable<? extends MembershipDeletedEventData> values)

A list of deleted memberships.

repeated .google.chat.v1.MembershipDeletedEventData memberships = 1;

Parameter
Name Description
values Iterable<? extends com.google.chat.v1.MembershipDeletedEventData>
Returns
Type Description
MembershipBatchDeletedEventData.Builder

addMemberships(MembershipDeletedEventData value)

public MembershipBatchDeletedEventData.Builder addMemberships(MembershipDeletedEventData value)

A list of deleted memberships.

repeated .google.chat.v1.MembershipDeletedEventData memberships = 1;

Parameter
Name Description
value MembershipDeletedEventData
Returns
Type Description
MembershipBatchDeletedEventData.Builder

addMemberships(MembershipDeletedEventData.Builder builderForValue)

public MembershipBatchDeletedEventData.Builder addMemberships(MembershipDeletedEventData.Builder builderForValue)

A list of deleted memberships.

repeated .google.chat.v1.MembershipDeletedEventData memberships = 1;

Parameter
Name Description
builderForValue MembershipDeletedEventData.Builder
Returns
Type Description
MembershipBatchDeletedEventData.Builder

addMemberships(int index, MembershipDeletedEventData value)

public MembershipBatchDeletedEventData.Builder addMemberships(int index, MembershipDeletedEventData value)

A list of deleted memberships.

repeated .google.chat.v1.MembershipDeletedEventData memberships = 1;

Parameters
Name Description
index int
value MembershipDeletedEventData
Returns
Type Description
MembershipBatchDeletedEventData.Builder

addMemberships(int index, MembershipDeletedEventData.Builder builderForValue)

public MembershipBatchDeletedEventData.Builder addMemberships(int index, MembershipDeletedEventData.Builder builderForValue)

A list of deleted memberships.

repeated .google.chat.v1.MembershipDeletedEventData memberships = 1;

Parameters
Name Description
index int
builderForValue MembershipDeletedEventData.Builder
Returns
Type Description
MembershipBatchDeletedEventData.Builder

addMembershipsBuilder()

public MembershipDeletedEventData.Builder addMembershipsBuilder()

A list of deleted memberships.

repeated .google.chat.v1.MembershipDeletedEventData memberships = 1;

Returns
Type Description
MembershipDeletedEventData.Builder

addMembershipsBuilder(int index)

public MembershipDeletedEventData.Builder addMembershipsBuilder(int index)

A list of deleted memberships.

repeated .google.chat.v1.MembershipDeletedEventData memberships = 1;

Parameter
Name Description
index int
Returns
Type Description
MembershipDeletedEventData.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public MembershipBatchDeletedEventData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
MembershipBatchDeletedEventData.Builder
Overrides

build()

public MembershipBatchDeletedEventData build()
Returns
Type Description
MembershipBatchDeletedEventData

buildPartial()

public MembershipBatchDeletedEventData buildPartial()
Returns
Type Description
MembershipBatchDeletedEventData

clear()

public MembershipBatchDeletedEventData.Builder clear()
Returns
Type Description
MembershipBatchDeletedEventData.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearMemberships()

public MembershipBatchDeletedEventData.Builder clearMemberships()

A list of deleted memberships.

repeated .google.chat.v1.MembershipDeletedEventData memberships = 1;

Returns
Type Description
MembershipBatchDeletedEventData.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public MembershipBatchDeletedEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
MembershipBatchDeletedEventData.Builder
Overrides

clone()

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

getDefaultInstanceForType()

public MembershipBatchDeletedEventData getDefaultInstanceForType()
Returns
Type Description
MembershipBatchDeletedEventData

getDescriptorForType()

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

getMemberships(int index)

public MembershipDeletedEventData getMemberships(int index)

A list of deleted memberships.

repeated .google.chat.v1.MembershipDeletedEventData memberships = 1;

Parameter
Name Description
index int
Returns
Type Description
MembershipDeletedEventData

getMembershipsBuilder(int index)

public MembershipDeletedEventData.Builder getMembershipsBuilder(int index)

A list of deleted memberships.

repeated .google.chat.v1.MembershipDeletedEventData memberships = 1;

Parameter
Name Description
index int
Returns
Type Description
MembershipDeletedEventData.Builder

getMembershipsBuilderList()

public List<MembershipDeletedEventData.Builder> getMembershipsBuilderList()

A list of deleted memberships.

repeated .google.chat.v1.MembershipDeletedEventData memberships = 1;

Returns
Type Description
List<Builder>

getMembershipsCount()

public int getMembershipsCount()

A list of deleted memberships.

repeated .google.chat.v1.MembershipDeletedEventData memberships = 1;

Returns
Type Description
int

getMembershipsList()

public List<MembershipDeletedEventData> getMembershipsList()

A list of deleted memberships.

repeated .google.chat.v1.MembershipDeletedEventData memberships = 1;

Returns
Type Description
List<MembershipDeletedEventData>

getMembershipsOrBuilder(int index)

public MembershipDeletedEventDataOrBuilder getMembershipsOrBuilder(int index)

A list of deleted memberships.

repeated .google.chat.v1.MembershipDeletedEventData memberships = 1;

Parameter
Name Description
index int
Returns
Type Description
MembershipDeletedEventDataOrBuilder

getMembershipsOrBuilderList()

public List<? extends MembershipDeletedEventDataOrBuilder> getMembershipsOrBuilderList()

A list of deleted memberships.

repeated .google.chat.v1.MembershipDeletedEventData memberships = 1;

Returns
Type Description
List<? extends com.google.chat.v1.MembershipDeletedEventDataOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(MembershipBatchDeletedEventData other)

public MembershipBatchDeletedEventData.Builder mergeFrom(MembershipBatchDeletedEventData other)
Parameter
Name Description
other MembershipBatchDeletedEventData
Returns
Type Description
MembershipBatchDeletedEventData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public MembershipBatchDeletedEventData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MembershipBatchDeletedEventData.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final MembershipBatchDeletedEventData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
MembershipBatchDeletedEventData.Builder
Overrides

removeMemberships(int index)

public MembershipBatchDeletedEventData.Builder removeMemberships(int index)

A list of deleted memberships.

repeated .google.chat.v1.MembershipDeletedEventData memberships = 1;

Parameter
Name Description
index int
Returns
Type Description
MembershipBatchDeletedEventData.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public MembershipBatchDeletedEventData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
MembershipBatchDeletedEventData.Builder
Overrides

setMemberships(int index, MembershipDeletedEventData value)

public MembershipBatchDeletedEventData.Builder setMemberships(int index, MembershipDeletedEventData value)

A list of deleted memberships.

repeated .google.chat.v1.MembershipDeletedEventData memberships = 1;

Parameters
Name Description
index int
value MembershipDeletedEventData
Returns
Type Description
MembershipBatchDeletedEventData.Builder

setMemberships(int index, MembershipDeletedEventData.Builder builderForValue)

public MembershipBatchDeletedEventData.Builder setMemberships(int index, MembershipDeletedEventData.Builder builderForValue)

A list of deleted memberships.

repeated .google.chat.v1.MembershipDeletedEventData memberships = 1;

Parameters
Name Description
index int
builderForValue MembershipDeletedEventData.Builder
Returns
Type Description
MembershipBatchDeletedEventData.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public MembershipBatchDeletedEventData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
MembershipBatchDeletedEventData.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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