public static final class MembershipBatchCreatedEventData.Builder extends GeneratedMessageV3.Builder<MembershipBatchCreatedEventData.Builder> implements MembershipBatchCreatedEventDataOrBuilder
Event payload for multiple new memberships.
Event type: google.workspace.chat.membership.v1.batchCreated
Protobuf type google.chat.v1.MembershipBatchCreatedEventData
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllMemberships(Iterable<? extends MembershipCreatedEventData> values)
public MembershipBatchCreatedEventData.Builder addAllMemberships(Iterable<? extends MembershipCreatedEventData> values)
A list of new memberships.
repeated .google.chat.v1.MembershipCreatedEventData memberships = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.chat.v1.MembershipCreatedEventData>
|
addMemberships(MembershipCreatedEventData value)
public MembershipBatchCreatedEventData.Builder addMemberships(MembershipCreatedEventData value)
A list of new memberships.
repeated .google.chat.v1.MembershipCreatedEventData memberships = 1;
addMemberships(MembershipCreatedEventData.Builder builderForValue)
public MembershipBatchCreatedEventData.Builder addMemberships(MembershipCreatedEventData.Builder builderForValue)
A list of new memberships.
repeated .google.chat.v1.MembershipCreatedEventData memberships = 1;
addMemberships(int index, MembershipCreatedEventData value)
public MembershipBatchCreatedEventData.Builder addMemberships(int index, MembershipCreatedEventData value)
A list of new memberships.
repeated .google.chat.v1.MembershipCreatedEventData memberships = 1;
addMemberships(int index, MembershipCreatedEventData.Builder builderForValue)
public MembershipBatchCreatedEventData.Builder addMemberships(int index, MembershipCreatedEventData.Builder builderForValue)
A list of new memberships.
repeated .google.chat.v1.MembershipCreatedEventData memberships = 1;
addMembershipsBuilder()
public MembershipCreatedEventData.Builder addMembershipsBuilder()
A list of new memberships.
repeated .google.chat.v1.MembershipCreatedEventData memberships = 1;
addMembershipsBuilder(int index)
public MembershipCreatedEventData.Builder addMembershipsBuilder(int index)
A list of new memberships.
repeated .google.chat.v1.MembershipCreatedEventData memberships = 1;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MembershipBatchCreatedEventData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public MembershipBatchCreatedEventData build()
buildPartial()
public MembershipBatchCreatedEventData buildPartial()
clear()
public MembershipBatchCreatedEventData.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public MembershipBatchCreatedEventData.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearMemberships()
public MembershipBatchCreatedEventData.Builder clearMemberships()
A list of new memberships.
repeated .google.chat.v1.MembershipCreatedEventData memberships = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public MembershipBatchCreatedEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public MembershipBatchCreatedEventData.Builder clone()
Overrides
getDefaultInstanceForType()
public MembershipBatchCreatedEventData getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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
|
getMembershipsBuilder(int index)
public MembershipCreatedEventData.Builder getMembershipsBuilder(int index)
A list of new memberships.
repeated .google.chat.v1.MembershipCreatedEventData memberships = 1;
Parameter |
Name |
Description |
index |
int
|
getMembershipsBuilderList()
public List<MembershipCreatedEventData.Builder> getMembershipsBuilderList()
A list of new memberships.
repeated .google.chat.v1.MembershipCreatedEventData memberships = 1;
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;
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
|
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> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(MembershipBatchCreatedEventData other)
public MembershipBatchCreatedEventData.Builder mergeFrom(MembershipBatchCreatedEventData other)
public MembershipBatchCreatedEventData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public MembershipBatchCreatedEventData.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MembershipBatchCreatedEventData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeMemberships(int index)
public MembershipBatchCreatedEventData.Builder removeMemberships(int index)
A list of new memberships.
repeated .google.chat.v1.MembershipCreatedEventData memberships = 1;
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public MembershipBatchCreatedEventData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setMemberships(int index, MembershipCreatedEventData value)
public MembershipBatchCreatedEventData.Builder setMemberships(int index, MembershipCreatedEventData value)
A list of new memberships.
repeated .google.chat.v1.MembershipCreatedEventData memberships = 1;
setMemberships(int index, MembershipCreatedEventData.Builder builderForValue)
public MembershipBatchCreatedEventData.Builder setMemberships(int index, MembershipCreatedEventData.Builder builderForValue)
A list of new memberships.
repeated .google.chat.v1.MembershipCreatedEventData memberships = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MembershipBatchCreatedEventData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final MembershipBatchCreatedEventData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides