Class MembershipBatchCreatedEventData (0.13.0)

public final class MembershipBatchCreatedEventData extends GeneratedMessageV3 implements MembershipBatchCreatedEventDataOrBuilder

Event payload for multiple new memberships.

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

Protobuf type google.chat.v1.MembershipBatchCreatedEventData

Inheritance

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

Static Fields

MEMBERSHIPS_FIELD_NUMBER

public static final int MEMBERSHIPS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static MembershipBatchCreatedEventData getDefaultInstance()
Returns
Type Description
MembershipBatchCreatedEventData

getDescriptor()

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

newBuilder()

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

newBuilder(MembershipBatchCreatedEventData prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public MembershipBatchCreatedEventData getDefaultInstanceForType()
Returns
Type Description
MembershipBatchCreatedEventData

getMemberships(int index)

public MembershipCreatedEventData getMemberships(int index)

A list of new memberships.

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

Parameter
Name Description
index int
Returns
Type Description
MembershipCreatedEventData

getMembershipsCount()

public int getMembershipsCount()

A list of new memberships.

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

Returns
Type Description
int

getMembershipsList()

public List<MembershipCreatedEventData> getMembershipsList()

A list of new memberships.

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

Returns
Type Description
List<MembershipCreatedEventData>

getMembershipsOrBuilder(int index)

public MembershipCreatedEventDataOrBuilder getMembershipsOrBuilder(int index)

A list of new memberships.

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

Parameter
Name Description
index int
Returns
Type Description
MembershipCreatedEventDataOrBuilder

getMembershipsOrBuilderList()

public List<? extends MembershipCreatedEventDataOrBuilder> getMembershipsOrBuilderList()

A list of new memberships.

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

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

getParserForType()

public Parser<MembershipBatchCreatedEventData> getParserForType()
Returns
Type Description
Parser<MembershipBatchCreatedEventData>
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 MembershipBatchCreatedEventData.Builder newBuilderForType()
Returns
Type Description
MembershipBatchCreatedEventData.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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