public static final class Space.PermissionSetting.Builder extends GeneratedMessageV3.Builder<Space.PermissionSetting.Builder> implements Space.PermissionSettingOrBuilder
Represents a space permission setting.
Protobuf type google.chat.v1.Space.PermissionSetting
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Space.PermissionSetting.BuilderImplements
Space.PermissionSettingOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Space.PermissionSetting.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Space.PermissionSetting.Builder |
build()
public Space.PermissionSetting build()
Returns | |
---|---|
Type | Description |
Space.PermissionSetting |
buildPartial()
public Space.PermissionSetting buildPartial()
Returns | |
---|---|
Type | Description |
Space.PermissionSetting |
clear()
public Space.PermissionSetting.Builder clear()
Returns | |
---|---|
Type | Description |
Space.PermissionSetting.Builder |
clearField(Descriptors.FieldDescriptor field)
public Space.PermissionSetting.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Space.PermissionSetting.Builder |
clearManagersAllowed()
public Space.PermissionSetting.Builder clearManagersAllowed()
Whether spaces managers have this permission.
bool managers_allowed = 1;
Returns | |
---|---|
Type | Description |
Space.PermissionSetting.Builder |
This builder for chaining. |
clearMembersAllowed()
public Space.PermissionSetting.Builder clearMembersAllowed()
Whether non-manager members have this permission.
bool members_allowed = 2;
Returns | |
---|---|
Type | Description |
Space.PermissionSetting.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Space.PermissionSetting.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Space.PermissionSetting.Builder |
clone()
public Space.PermissionSetting.Builder clone()
Returns | |
---|---|
Type | Description |
Space.PermissionSetting.Builder |
getDefaultInstanceForType()
public Space.PermissionSetting getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Space.PermissionSetting |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getManagersAllowed()
public boolean getManagersAllowed()
Whether spaces managers have this permission.
bool managers_allowed = 1;
Returns | |
---|---|
Type | Description |
boolean |
The managersAllowed. |
getMembersAllowed()
public boolean getMembersAllowed()
Whether non-manager members have this permission.
bool members_allowed = 2;
Returns | |
---|---|
Type | Description |
boolean |
The membersAllowed. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(Space.PermissionSetting other)
public Space.PermissionSetting.Builder mergeFrom(Space.PermissionSetting other)
Parameter | |
---|---|
Name | Description |
other |
Space.PermissionSetting |
Returns | |
---|---|
Type | Description |
Space.PermissionSetting.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Space.PermissionSetting.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Space.PermissionSetting.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Space.PermissionSetting.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Space.PermissionSetting.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Space.PermissionSetting.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Space.PermissionSetting.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Space.PermissionSetting.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Space.PermissionSetting.Builder |
setManagersAllowed(boolean value)
public Space.PermissionSetting.Builder setManagersAllowed(boolean value)
Whether spaces managers have this permission.
bool managers_allowed = 1;
Parameter | |
---|---|
Name | Description |
value |
boolean The managersAllowed to set. |
Returns | |
---|---|
Type | Description |
Space.PermissionSetting.Builder |
This builder for chaining. |
setMembersAllowed(boolean value)
public Space.PermissionSetting.Builder setMembersAllowed(boolean value)
Whether non-manager members have this permission.
bool members_allowed = 2;
Parameter | |
---|---|
Name | Description |
value |
boolean The membersAllowed to set. |
Returns | |
---|---|
Type | Description |
Space.PermissionSetting.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Space.PermissionSetting.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Space.PermissionSetting.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Space.PermissionSetting.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Space.PermissionSetting.Builder |