Class MembershipBatchUpdatedEventData (0.18.0)

public final class MembershipBatchUpdatedEventData extends GeneratedMessageV3 implements MembershipBatchUpdatedEventDataOrBuilder

Event payload for multiple updated memberships.

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

Protobuf type google.chat.v1.MembershipBatchUpdatedEventData

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > MembershipBatchUpdatedEventData

Static Fields

MEMBERSHIPS_FIELD_NUMBER

public static final int MEMBERSHIPS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static MembershipBatchUpdatedEventData getDefaultInstance()
Returns
Type Description
MembershipBatchUpdatedEventData

getDescriptor()

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

newBuilder()

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

newBuilder(MembershipBatchUpdatedEventData prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public MembershipBatchUpdatedEventData getDefaultInstanceForType()
Returns
Type Description
MembershipBatchUpdatedEventData

getMemberships(int index)

public MembershipUpdatedEventData getMemberships(int index)

A list of updated memberships.

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

Parameter
Name Description
index int
Returns
Type Description
MembershipUpdatedEventData

getMembershipsCount()

public int getMembershipsCount()

A list of updated memberships.

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

Returns
Type Description
int

getMembershipsList()

public List<MembershipUpdatedEventData> getMembershipsList()

A list of updated memberships.

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

Returns
Type Description
List<MembershipUpdatedEventData>

getMembershipsOrBuilder(int index)

public MembershipUpdatedEventDataOrBuilder getMembershipsOrBuilder(int index)

A list of updated memberships.

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

Parameter
Name Description
index int
Returns
Type Description
MembershipUpdatedEventDataOrBuilder

getMembershipsOrBuilderList()

public List<? extends MembershipUpdatedEventDataOrBuilder> getMembershipsOrBuilderList()

A list of updated memberships.

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

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

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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 MembershipBatchUpdatedEventData.Builder newBuilderForType()
Returns
Type Description
MembershipBatchUpdatedEventData.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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