Class MembershipCreatedEventData.Builder (0.11.0)

public static final class MembershipCreatedEventData.Builder extends GeneratedMessageV3.Builder<MembershipCreatedEventData.Builder> implements MembershipCreatedEventDataOrBuilder

Event payload for a new membership.

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

Protobuf type google.chat.v1.MembershipCreatedEventData

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public MembershipCreatedEventData build()
Returns
Type Description
MembershipCreatedEventData

buildPartial()

public MembershipCreatedEventData buildPartial()
Returns
Type Description
MembershipCreatedEventData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearMembership()

public MembershipCreatedEventData.Builder clearMembership()

The new membership.

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

Returns
Type Description
MembershipCreatedEventData.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public MembershipCreatedEventData getDefaultInstanceForType()
Returns
Type Description
MembershipCreatedEventData

getDescriptorForType()

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

getMembership()

public Membership getMembership()

The new membership.

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

Returns
Type Description
Membership

The membership.

getMembershipBuilder()

public Membership.Builder getMembershipBuilder()

The new membership.

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

Returns
Type Description
Membership.Builder

getMembershipOrBuilder()

public MembershipOrBuilder getMembershipOrBuilder()

The new membership.

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

Returns
Type Description
MembershipOrBuilder

hasMembership()

public boolean hasMembership()

The new 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(MembershipCreatedEventData other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeMembership(Membership value)

public MembershipCreatedEventData.Builder mergeMembership(Membership value)

The new membership.

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

Parameter
Name Description
value Membership
Returns
Type Description
MembershipCreatedEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setMembership(Membership value)

public MembershipCreatedEventData.Builder setMembership(Membership value)

The new membership.

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

Parameter
Name Description
value Membership
Returns
Type Description
MembershipCreatedEventData.Builder

setMembership(Membership.Builder builderForValue)

public MembershipCreatedEventData.Builder setMembership(Membership.Builder builderForValue)

The new membership.

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

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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