public static final class MembershipDeletedEventData.Builder extends GeneratedMessageV3.Builder<MembershipDeletedEventData.Builder> implements MembershipDeletedEventDataOrBuilder
Event payload for a deleted membership.
Event type: google.workspace.chat.membership.v1.deleted
Protobuf type google.chat.v1.MembershipDeletedEventData
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > MembershipDeletedEventData.BuilderImplements
MembershipDeletedEventDataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MembershipDeletedEventData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
MembershipDeletedEventData.Builder |
build()
public MembershipDeletedEventData build()
Returns | |
---|---|
Type | Description |
MembershipDeletedEventData |
buildPartial()
public MembershipDeletedEventData buildPartial()
Returns | |
---|---|
Type | Description |
MembershipDeletedEventData |
clear()
public MembershipDeletedEventData.Builder clear()
Returns | |
---|---|
Type | Description |
MembershipDeletedEventData.Builder |
clearField(Descriptors.FieldDescriptor field)
public MembershipDeletedEventData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
MembershipDeletedEventData.Builder |
clearMembership()
public MembershipDeletedEventData.Builder clearMembership()
The deleted membership. Only the name
and state
fields are populated.
.google.chat.v1.Membership membership = 1;
Returns | |
---|---|
Type | Description |
MembershipDeletedEventData.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public MembershipDeletedEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
MembershipDeletedEventData.Builder |
clone()
public MembershipDeletedEventData.Builder clone()
Returns | |
---|---|
Type | Description |
MembershipDeletedEventData.Builder |
getDefaultInstanceForType()
public MembershipDeletedEventData getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
MembershipDeletedEventData |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getMembership()
public Membership getMembership()
The deleted membership. Only the name
and state
fields are populated.
.google.chat.v1.Membership membership = 1;
Returns | |
---|---|
Type | Description |
Membership |
The membership. |
getMembershipBuilder()
public Membership.Builder getMembershipBuilder()
The deleted membership. Only the name
and state
fields are populated.
.google.chat.v1.Membership membership = 1;
Returns | |
---|---|
Type | Description |
Membership.Builder |
getMembershipOrBuilder()
public MembershipOrBuilder getMembershipOrBuilder()
The deleted membership. Only the name
and state
fields are populated.
.google.chat.v1.Membership membership = 1;
Returns | |
---|---|
Type | Description |
MembershipOrBuilder |
hasMembership()
public boolean hasMembership()
The deleted membership. Only the name
and state
fields are populated.
.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(MembershipDeletedEventData other)
public MembershipDeletedEventData.Builder mergeFrom(MembershipDeletedEventData other)
Parameter | |
---|---|
Name | Description |
other |
MembershipDeletedEventData |
Returns | |
---|---|
Type | Description |
MembershipDeletedEventData.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MembershipDeletedEventData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
MembershipDeletedEventData.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public MembershipDeletedEventData.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
MembershipDeletedEventData.Builder |
mergeMembership(Membership value)
public MembershipDeletedEventData.Builder mergeMembership(Membership value)
The deleted membership. Only the name
and state
fields are populated.
.google.chat.v1.Membership membership = 1;
Parameter | |
---|---|
Name | Description |
value |
Membership |
Returns | |
---|---|
Type | Description |
MembershipDeletedEventData.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MembershipDeletedEventData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
MembershipDeletedEventData.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public MembershipDeletedEventData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
MembershipDeletedEventData.Builder |
setMembership(Membership value)
public MembershipDeletedEventData.Builder setMembership(Membership value)
The deleted membership. Only the name
and state
fields are populated.
.google.chat.v1.Membership membership = 1;
Parameter | |
---|---|
Name | Description |
value |
Membership |
Returns | |
---|---|
Type | Description |
MembershipDeletedEventData.Builder |
setMembership(Membership.Builder builderForValue)
public MembershipDeletedEventData.Builder setMembership(Membership.Builder builderForValue)
The deleted membership. Only the name
and state
fields are populated.
.google.chat.v1.Membership membership = 1;
Parameter | |
---|---|
Name | Description |
builderForValue |
Membership.Builder |
Returns | |
---|---|
Type | Description |
MembershipDeletedEventData.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MembershipDeletedEventData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
MembershipDeletedEventData.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final MembershipDeletedEventData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
MembershipDeletedEventData.Builder |