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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Space.MembershipCount.BuilderImplements
Space.MembershipCountOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Space.MembershipCount.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Space.MembershipCount.Builder |
build()
public Space.MembershipCount build()
Returns | |
---|---|
Type | Description |
Space.MembershipCount |
buildPartial()
public Space.MembershipCount buildPartial()
Returns | |
---|---|
Type | Description |
Space.MembershipCount |
clear()
public Space.MembershipCount.Builder clear()
Returns | |
---|---|
Type | Description |
Space.MembershipCount.Builder |
clearField(Descriptors.FieldDescriptor field)
public Space.MembershipCount.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Space.MembershipCount.Builder |
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;
Returns | |
---|---|
Type | Description |
Space.MembershipCount.Builder |
This builder for chaining. |
clearJoinedGroupCount()
public Space.MembershipCount.Builder clearJoinedGroupCount()
Count of all groups that have directly joined the space.
int32 joined_group_count = 5;
Returns | |
---|---|
Type | Description |
Space.MembershipCount.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Space.MembershipCount.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Space.MembershipCount.Builder |
clone()
public Space.MembershipCount.Builder clone()
Returns | |
---|---|
Type | Description |
Space.MembershipCount.Builder |
getDefaultInstanceForType()
public Space.MembershipCount getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Space.MembershipCount |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(Space.MembershipCount other)
public Space.MembershipCount.Builder mergeFrom(Space.MembershipCount other)
Parameter | |
---|---|
Name | Description |
other |
Space.MembershipCount |
Returns | |
---|---|
Type | Description |
Space.MembershipCount.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Space.MembershipCount.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Space.MembershipCount.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Space.MembershipCount.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Space.MembershipCount.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Space.MembershipCount.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Space.MembershipCount.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Space.MembershipCount.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Space.MembershipCount.Builder |
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. |
Returns | |
---|---|
Type | Description |
Space.MembershipCount.Builder |
This builder for chaining. |
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. |
Returns | |
---|---|
Type | Description |
Space.MembershipCount.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Space.MembershipCount.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Space.MembershipCount.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Space.MembershipCount.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Space.MembershipCount.Builder |