Class MembershipUpdatedEventData (0.13.0)

public final class MembershipUpdatedEventData extends GeneratedMessageV3 implements MembershipUpdatedEventDataOrBuilder

Event payload for an updated membership.

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

Protobuf type google.chat.v1.MembershipUpdatedEventData

Static Fields

MEMBERSHIP_FIELD_NUMBER

public static final int MEMBERSHIP_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static MembershipUpdatedEventData getDefaultInstance()
Returns
Type Description
MembershipUpdatedEventData

getDescriptor()

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

newBuilder()

public static MembershipUpdatedEventData.Builder newBuilder()
Returns
Type Description
MembershipUpdatedEventData.Builder

newBuilder(MembershipUpdatedEventData prototype)

public static MembershipUpdatedEventData.Builder newBuilder(MembershipUpdatedEventData prototype)
Parameter
Name Description
prototype MembershipUpdatedEventData
Returns
Type Description
MembershipUpdatedEventData.Builder

parseDelimitedFrom(InputStream input)

public static MembershipUpdatedEventData parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
MembershipUpdatedEventData
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MembershipUpdatedEventData parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MembershipUpdatedEventData
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static MembershipUpdatedEventData parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
MembershipUpdatedEventData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static MembershipUpdatedEventData parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MembershipUpdatedEventData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static MembershipUpdatedEventData parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
MembershipUpdatedEventData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static MembershipUpdatedEventData parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MembershipUpdatedEventData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static MembershipUpdatedEventData parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
MembershipUpdatedEventData
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static MembershipUpdatedEventData parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MembershipUpdatedEventData
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static MembershipUpdatedEventData parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
MembershipUpdatedEventData
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MembershipUpdatedEventData parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MembershipUpdatedEventData
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static MembershipUpdatedEventData parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
MembershipUpdatedEventData
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static MembershipUpdatedEventData parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MembershipUpdatedEventData
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<MembershipUpdatedEventData> parser()
Returns
Type Description
Parser<MembershipUpdatedEventData>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public MembershipUpdatedEventData getDefaultInstanceForType()
Returns
Type Description
MembershipUpdatedEventData

getMembership()

public Membership getMembership()

The updated membership.

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

Returns
Type Description
Membership

The membership.

getMembershipOrBuilder()

public MembershipOrBuilder getMembershipOrBuilder()

The updated membership.

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

Returns
Type Description
MembershipOrBuilder

getParserForType()

public Parser<MembershipUpdatedEventData> getParserForType()
Returns
Type Description
Parser<MembershipUpdatedEventData>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasMembership()

public boolean hasMembership()

The updated membership.

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

Returns
Type Description
boolean

Whether the membership field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public MembershipUpdatedEventData.Builder newBuilderForType()
Returns
Type Description
MembershipUpdatedEventData.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected MembershipUpdatedEventData.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
MembershipUpdatedEventData.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public MembershipUpdatedEventData.Builder toBuilder()
Returns
Type Description
MembershipUpdatedEventData.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException