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
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MembershipCreatedEventData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public MembershipCreatedEventData build()
buildPartial()
public MembershipCreatedEventData buildPartial()
clear()
public MembershipCreatedEventData.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public MembershipCreatedEventData.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearMembership()
public MembershipCreatedEventData.Builder clearMembership()
The new membership.
.google.chat.v1.Membership membership = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public MembershipCreatedEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public MembershipCreatedEventData.Builder clone()
Overrides
getDefaultInstanceForType()
public MembershipCreatedEventData getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
getMembershipOrBuilder()
public MembershipOrBuilder getMembershipOrBuilder()
The new membership.
.google.chat.v1.Membership membership = 1;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(MembershipCreatedEventData other)
public MembershipCreatedEventData.Builder mergeFrom(MembershipCreatedEventData other)
public MembershipCreatedEventData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public MembershipCreatedEventData.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeMembership(Membership value)
public MembershipCreatedEventData.Builder mergeMembership(Membership value)
The new membership.
.google.chat.v1.Membership membership = 1;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MembershipCreatedEventData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public MembershipCreatedEventData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setMembership(Membership value)
public MembershipCreatedEventData.Builder setMembership(Membership value)
The new membership.
.google.chat.v1.Membership membership = 1;
setMembership(Membership.Builder builderForValue)
public MembershipCreatedEventData.Builder setMembership(Membership.Builder builderForValue)
The new membership.
.google.chat.v1.Membership membership = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MembershipCreatedEventData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final MembershipCreatedEventData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides