Class Space.MembershipCount (0.21.0)

publicstaticfinalclass Space.MembershipCountextendsGeneratedMessageV3implementsSpace.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

publicstaticfinalintJOINED_DIRECT_HUMAN_USER_COUNT_FIELD_NUMBER
Field Value
Type Description
int

JOINED_GROUP_COUNT_FIELD_NUMBER

publicstaticfinalintJOINED_GROUP_COUNT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticSpace.MembershipCountgetDefaultInstance()
Returns
Type Description
Space.MembershipCount

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticSpace.MembershipCount.BuildernewBuilder()
Returns
Type Description
Space.MembershipCount.Builder

newBuilder(Space.MembershipCount prototype)

publicstaticSpace.MembershipCount.BuildernewBuilder(Space.MembershipCountprototype)
Parameter
Name Description
prototype Space.MembershipCount
Returns
Type Description
Space.MembershipCount.Builder

parseDelimitedFrom(InputStream input)

publicstaticSpace.MembershipCountparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
Space.MembershipCount
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticSpace.MembershipCountparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Space.MembershipCount
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticSpace.MembershipCountparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
Space.MembershipCount
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticSpace.MembershipCountparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Space.MembershipCount
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticSpace.MembershipCountparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
Space.MembershipCount
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticSpace.MembershipCountparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Space.MembershipCount
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticSpace.MembershipCountparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Space.MembershipCount
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticSpace.MembershipCountparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Space.MembershipCount
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticSpace.MembershipCountparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
Space.MembershipCount
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticSpace.MembershipCountparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Space.MembershipCount
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticSpace.MembershipCountparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Space.MembershipCount
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticSpace.MembershipCountparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Space.MembershipCount
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<Space.MembershipCount>parser()
Returns
Type Description
Parser<MembershipCount>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

publicSpace.MembershipCountgetDefaultInstanceForType()
Returns
Type Description
Space.MembershipCount

getJoinedDirectHumanUserCount()

publicintgetJoinedDirectHumanUserCount()

Output only. 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 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The joinedDirectHumanUserCount.

getJoinedGroupCount()

publicintgetJoinedGroupCount()

Output only. Count of all groups that have directly joined the space.

int32 joined_group_count = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The joinedGroupCount.

getParserForType()

publicParser<Space.MembershipCount>getParserForType()
Returns
Type Description
Parser<MembershipCount>
Overrides

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicSpace.MembershipCount.BuildernewBuilderForType()
Returns
Type Description
Space.MembershipCount.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedSpace.MembershipCount.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Space.MembershipCount.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicSpace.MembershipCount.BuildertoBuilder()
Returns
Type Description
Space.MembershipCount.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.