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
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Space.MembershipCountImplements
Space.MembershipCountOrBuilderStatic 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()
Returns | |
---|---|
Type | Description |
Space.MembershipCount |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static Space.MembershipCount.Builder newBuilder()
Returns | |
---|---|
Type | Description |
Space.MembershipCount.Builder |
newBuilder(Space.MembershipCount prototype)
public static Space.MembershipCount.Builder newBuilder(Space.MembershipCount prototype)
Parameter | |
---|---|
Name | Description |
prototype |
Space.MembershipCount |
Returns | |
---|---|
Type | Description |
Space.MembershipCount.Builder |
parseDelimitedFrom(InputStream input)
public static Space.MembershipCount parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
Space.MembershipCount |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Space.MembershipCount parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Space.MembershipCount |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static Space.MembershipCount parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data |
byte[] |
Returns | |
---|---|
Type | Description |
Space.MembershipCount |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Space.MembershipCount parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Space.MembershipCount |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static Space.MembershipCount parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data |
ByteString |
Returns | |
---|---|
Type | Description |
Space.MembershipCount |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Space.MembershipCount parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Space.MembershipCount |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static Space.MembershipCount parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input |
CodedInputStream |
Returns | |
---|---|
Type | Description |
Space.MembershipCount |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Space.MembershipCount parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Space.MembershipCount |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static Space.MembershipCount parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
Space.MembershipCount |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Space.MembershipCount parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Space.MembershipCount |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static Space.MembershipCount parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data |
ByteBuffer |
Returns | |
---|---|
Type | Description |
Space.MembershipCount |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Space.MembershipCount parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Space.MembershipCount |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<Space.MembershipCount> parser()
Returns | |
---|---|
Type | Description |
Parser<MembershipCount> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj |
Object |
Returns | |
---|---|
Type | Description |
boolean |
getDefaultInstanceForType()
public Space.MembershipCount getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Space.MembershipCount |
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()
Returns | |
---|---|
Type | Description |
Parser<MembershipCount> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public Space.MembershipCount.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
Space.MembershipCount.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Space.MembershipCount.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent |
BuilderParent |
Returns | |
---|---|
Type | Description |
Space.MembershipCount.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused |
UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public Space.MembershipCount.Builder toBuilder()
Returns | |
---|---|
Type | Description |
Space.MembershipCount.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output |
CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |