public static final class Space.MembershipCount.Builder extends GeneratedMessageV3.Builder<Space.MembershipCount.Builder> implements Space.MembershipCountOrBuilder
Represents the count of memberships of a space, grouped into categories.
Protobuf type google.chat.v1.Space.MembershipCount
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 Space.MembershipCount.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Space.MembershipCount build()
buildPartial()
public Space.MembershipCount buildPartial()
clear()
public Space.MembershipCount.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Space.MembershipCount.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearJoinedDirectHumanUserCount()
public Space.MembershipCount.Builder clearJoinedDirectHumanUserCount()
Count of human users that have directly joined the space, not counting
users joined by having membership in a joined group.
int32 joined_direct_human_user_count = 4;
clearJoinedGroupCount()
public Space.MembershipCount.Builder clearJoinedGroupCount()
Count of all groups that have directly joined the space.
int32 joined_group_count = 5;
clearOneof(Descriptors.OneofDescriptor oneof)
public Space.MembershipCount.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public Space.MembershipCount.Builder clone()
Overrides
getDefaultInstanceForType()
public Space.MembershipCount getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getJoinedDirectHumanUserCount()
public int getJoinedDirectHumanUserCount()
Count of human users that have directly joined the space, not counting
users joined by having membership in a joined group.
int32 joined_direct_human_user_count = 4;
Returns |
Type |
Description |
int |
The joinedDirectHumanUserCount.
|
getJoinedGroupCount()
public int getJoinedGroupCount()
Count of all groups that have directly joined the space.
int32 joined_group_count = 5;
Returns |
Type |
Description |
int |
The joinedGroupCount.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Space.MembershipCount other)
public Space.MembershipCount.Builder mergeFrom(Space.MembershipCount other)
public Space.MembershipCount.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Space.MembershipCount.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Space.MembershipCount.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Space.MembershipCount.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setJoinedDirectHumanUserCount(int value)
public Space.MembershipCount.Builder setJoinedDirectHumanUserCount(int value)
Count of human users that have directly joined the space, not counting
users joined by having membership in a joined group.
int32 joined_direct_human_user_count = 4;
Parameter |
Name |
Description |
value |
int
The joinedDirectHumanUserCount to set.
|
setJoinedGroupCount(int value)
public Space.MembershipCount.Builder setJoinedGroupCount(int value)
Count of all groups that have directly joined the space.
int32 joined_group_count = 5;
Parameter |
Name |
Description |
value |
int
The joinedGroupCount to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Space.MembershipCount.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Space.MembershipCount.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides