Class MembershipDeletedEventData.Builder (0.12.0)

public static final class MembershipDeletedEventData.Builder extends GeneratedMessageV3.Builder<MembershipDeletedEventData.Builder> implements MembershipDeletedEventDataOrBuilder

Event payload for a deleted membership.

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

Protobuf type google.chat.v1.MembershipDeletedEventData

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public MembershipDeletedEventData build()
Returns
Type Description
MembershipDeletedEventData

buildPartial()

public MembershipDeletedEventData buildPartial()
Returns
Type Description
MembershipDeletedEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearMembership()

public MembershipDeletedEventData.Builder clearMembership()

The deleted membership. Only the name and state fields are populated.

.google.chat.v1.Membership membership = 1;

Returns
Type Description
MembershipDeletedEventData.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public MembershipDeletedEventData getDefaultInstanceForType()
Returns
Type Description
MembershipDeletedEventData

getDescriptorForType()

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

getMembership()

public Membership getMembership()

The deleted membership. Only the name and state fields are populated.

.google.chat.v1.Membership membership = 1;

Returns
Type Description
Membership

The membership.

getMembershipBuilder()

public Membership.Builder getMembershipBuilder()

The deleted membership. Only the name and state fields are populated.

.google.chat.v1.Membership membership = 1;

Returns
Type Description
Membership.Builder

getMembershipOrBuilder()

public MembershipOrBuilder getMembershipOrBuilder()

The deleted membership. Only the name and state fields are populated.

.google.chat.v1.Membership membership = 1;

Returns
Type Description
MembershipOrBuilder

hasMembership()

public boolean hasMembership()

The deleted membership. Only the name and state fields are populated.

.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(MembershipDeletedEventData other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeMembership(Membership value)

public MembershipDeletedEventData.Builder mergeMembership(Membership value)

The deleted membership. Only the name and state fields are populated.

.google.chat.v1.Membership membership = 1;

Parameter
Name Description
value Membership
Returns
Type Description
MembershipDeletedEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setMembership(Membership value)

public MembershipDeletedEventData.Builder setMembership(Membership value)

The deleted membership. Only the name and state fields are populated.

.google.chat.v1.Membership membership = 1;

Parameter
Name Description
value Membership
Returns
Type Description
MembershipDeletedEventData.Builder

setMembership(Membership.Builder builderForValue)

public MembershipDeletedEventData.Builder setMembership(Membership.Builder builderForValue)

The deleted membership. Only the name and state fields are populated.

.google.chat.v1.Membership membership = 1;

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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