public static final class Space.MembershipCount extends GeneratedMessageV3 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.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
JOINED_DIRECT_HUMAN_USER_COUNT_FIELD_NUMBER
public static final int JOINED_DIRECT_HUMAN_USER_COUNT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
JOINED_GROUP_COUNT_FIELD_NUMBER
public static final int JOINED_GROUP_COUNT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Space.MembershipCount getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Space.MembershipCount.Builder newBuilder()
newBuilder(Space.MembershipCount prototype)
public static Space.MembershipCount.Builder newBuilder(Space.MembershipCount prototype)
public static Space.MembershipCount parseDelimitedFrom(InputStream input)
public static Space.MembershipCount parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Space.MembershipCount parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Space.MembershipCount parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Space.MembershipCount parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Space.MembershipCount parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Space.MembershipCount parseFrom(CodedInputStream input)
public static Space.MembershipCount parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Space.MembershipCount parseFrom(InputStream input)
public static Space.MembershipCount parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Space.MembershipCount parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Space.MembershipCount parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Space.MembershipCount> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public Space.MembershipCount getDefaultInstanceForType()
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.
|
getParserForType()
public Parser<Space.MembershipCount> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Space.MembershipCount.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Space.MembershipCount.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Space.MembershipCount.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides