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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > MembershipCreatedEventData.BuilderImplements
MembershipCreatedEventDataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MembershipCreatedEventData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
MembershipCreatedEventData.Builder |
build()
public MembershipCreatedEventData build()
Returns | |
---|---|
Type | Description |
MembershipCreatedEventData |
buildPartial()
public MembershipCreatedEventData buildPartial()
Returns | |
---|---|
Type | Description |
MembershipCreatedEventData |
clear()
public MembershipCreatedEventData.Builder clear()
Returns | |
---|---|
Type | Description |
MembershipCreatedEventData.Builder |
clearField(Descriptors.FieldDescriptor field)
public MembershipCreatedEventData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
MembershipCreatedEventData.Builder |
clearMembership()
public MembershipCreatedEventData.Builder clearMembership()
The new membership.
.google.chat.v1.Membership membership = 1;
Returns | |
---|---|
Type | Description |
MembershipCreatedEventData.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public MembershipCreatedEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
MembershipCreatedEventData.Builder |
clone()
public MembershipCreatedEventData.Builder clone()
Returns | |
---|---|
Type | Description |
MembershipCreatedEventData.Builder |
getDefaultInstanceForType()
public MembershipCreatedEventData getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
MembershipCreatedEventData |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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;
Returns | |
---|---|
Type | Description |
Membership.Builder |
getMembershipOrBuilder()
public MembershipOrBuilder getMembershipOrBuilder()
The new membership.
.google.chat.v1.Membership membership = 1;
Returns | |
---|---|
Type | Description |
MembershipOrBuilder |
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()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(MembershipCreatedEventData other)
public MembershipCreatedEventData.Builder mergeFrom(MembershipCreatedEventData other)
Parameter | |
---|---|
Name | Description |
other |
MembershipCreatedEventData |
Returns | |
---|---|
Type | Description |
MembershipCreatedEventData.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MembershipCreatedEventData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
MembershipCreatedEventData.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public MembershipCreatedEventData.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
MembershipCreatedEventData.Builder |
mergeMembership(Membership value)
public MembershipCreatedEventData.Builder mergeMembership(Membership value)
The new membership.
.google.chat.v1.Membership membership = 1;
Parameter | |
---|---|
Name | Description |
value |
Membership |
Returns | |
---|---|
Type | Description |
MembershipCreatedEventData.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MembershipCreatedEventData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
MembershipCreatedEventData.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public MembershipCreatedEventData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
MembershipCreatedEventData.Builder |
setMembership(Membership value)
public MembershipCreatedEventData.Builder setMembership(Membership value)
The new membership.
.google.chat.v1.Membership membership = 1;
Parameter | |
---|---|
Name | Description |
value |
Membership |
Returns | |
---|---|
Type | Description |
MembershipCreatedEventData.Builder |
setMembership(Membership.Builder builderForValue)
public MembershipCreatedEventData.Builder setMembership(Membership.Builder builderForValue)
The new membership.
.google.chat.v1.Membership membership = 1;
Parameter | |
---|---|
Name | Description |
builderForValue |
Membership.Builder |
Returns | |
---|---|
Type | Description |
MembershipCreatedEventData.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MembershipCreatedEventData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
MembershipCreatedEventData.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final MembershipCreatedEventData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
MembershipCreatedEventData.Builder |