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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Space.PermissionSetting.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Space.PermissionSetting build()
buildPartial()
public Space.PermissionSetting buildPartial()
clear()
public Space.PermissionSetting.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Space.PermissionSetting.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearManagersAllowed()
public Space.PermissionSetting.Builder clearManagersAllowed()
Whether spaces managers have this permission.
bool managers_allowed = 1;
clearMembersAllowed()
public Space.PermissionSetting.Builder clearMembersAllowed()
Whether non-manager members have this permission.
bool members_allowed = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public Space.PermissionSetting.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public Space.PermissionSetting.Builder clone()
Overrides
getDefaultInstanceForType()
public Space.PermissionSetting getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Space.PermissionSetting other)
public Space.PermissionSetting.Builder mergeFrom(Space.PermissionSetting other)
public Space.PermissionSetting.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Space.PermissionSetting.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Space.PermissionSetting.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Space.PermissionSetting.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Space.PermissionSetting.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Space.PermissionSetting.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides