public static final class Space.PermissionSettings extends GeneratedMessageV3 implements Space.PermissionSettingsOrBuilder
Permission settings
that you can specify when updating an existing named space.
To set permission settings when creating a space, specify the
PredefinedPermissionSettings
field in your request.
Protobuf type google.chat.v1.Space.PermissionSettings
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
MANAGE_APPS_FIELD_NUMBER
public static final int MANAGE_APPS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
MANAGE_MEMBERS_AND_GROUPS_FIELD_NUMBER
public static final int MANAGE_MEMBERS_AND_GROUPS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
MANAGE_WEBHOOKS_FIELD_NUMBER
public static final int MANAGE_WEBHOOKS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
MODIFY_SPACE_DETAILS_FIELD_NUMBER
public static final int MODIFY_SPACE_DETAILS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
POST_MESSAGES_FIELD_NUMBER
public static final int POST_MESSAGES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
REPLY_MESSAGES_FIELD_NUMBER
public static final int REPLY_MESSAGES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TOGGLE_HISTORY_FIELD_NUMBER
public static final int TOGGLE_HISTORY_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
USE_AT_MENTION_ALL_FIELD_NUMBER
public static final int USE_AT_MENTION_ALL_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Space.PermissionSettings getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Space.PermissionSettings.Builder newBuilder()
newBuilder(Space.PermissionSettings prototype)
public static Space.PermissionSettings.Builder newBuilder(Space.PermissionSettings prototype)
public static Space.PermissionSettings parseDelimitedFrom(InputStream input)
public static Space.PermissionSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Space.PermissionSettings parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Space.PermissionSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Space.PermissionSettings parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Space.PermissionSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Space.PermissionSettings parseFrom(CodedInputStream input)
public static Space.PermissionSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Space.PermissionSettings parseFrom(InputStream input)
public static Space.PermissionSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Space.PermissionSettings parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Space.PermissionSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Space.PermissionSettings> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public Space.PermissionSettings getDefaultInstanceForType()
getManageApps()
public Space.PermissionSetting getManageApps()
Setting for managing apps in a space.
optional .google.chat.v1.Space.PermissionSetting manage_apps = 5;
getManageAppsOrBuilder()
public Space.PermissionSettingOrBuilder getManageAppsOrBuilder()
Setting for managing apps in a space.
optional .google.chat.v1.Space.PermissionSetting manage_apps = 5;
getManageMembersAndGroups()
public Space.PermissionSetting getManageMembersAndGroups()
Setting for managing members and groups in a space.
optional .google.chat.v1.Space.PermissionSetting manage_members_and_groups = 1;
getManageMembersAndGroupsOrBuilder()
public Space.PermissionSettingOrBuilder getManageMembersAndGroupsOrBuilder()
Setting for managing members and groups in a space.
optional .google.chat.v1.Space.PermissionSetting manage_members_and_groups = 1;
getManageWebhooks()
public Space.PermissionSetting getManageWebhooks()
Setting for managing webhooks in a space.
optional .google.chat.v1.Space.PermissionSetting manage_webhooks = 6;
getManageWebhooksOrBuilder()
public Space.PermissionSettingOrBuilder getManageWebhooksOrBuilder()
Setting for managing webhooks in a space.
optional .google.chat.v1.Space.PermissionSetting manage_webhooks = 6;
getModifySpaceDetails()
public Space.PermissionSetting getModifySpaceDetails()
Setting for updating space name, avatar, description and guidelines.
optional .google.chat.v1.Space.PermissionSetting modify_space_details = 2;
getModifySpaceDetailsOrBuilder()
public Space.PermissionSettingOrBuilder getModifySpaceDetailsOrBuilder()
Setting for updating space name, avatar, description and guidelines.
optional .google.chat.v1.Space.PermissionSetting modify_space_details = 2;
getParserForType()
public Parser<Space.PermissionSettings> getParserForType()
Overrides
getPostMessages()
public Space.PermissionSetting getPostMessages()
Output only. Setting for posting messages in a space.
optional .google.chat.v1.Space.PermissionSetting post_messages = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getPostMessagesOrBuilder()
public Space.PermissionSettingOrBuilder getPostMessagesOrBuilder()
Output only. Setting for posting messages in a space.
optional .google.chat.v1.Space.PermissionSetting post_messages = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getReplyMessages()
public Space.PermissionSetting getReplyMessages()
Setting for replying to messages in a space.
optional .google.chat.v1.Space.PermissionSetting reply_messages = 8;
getReplyMessagesOrBuilder()
public Space.PermissionSettingOrBuilder getReplyMessagesOrBuilder()
Setting for replying to messages in a space.
optional .google.chat.v1.Space.PermissionSetting reply_messages = 8;
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getToggleHistory()
public Space.PermissionSetting getToggleHistory()
Setting for toggling space history on and off.
optional .google.chat.v1.Space.PermissionSetting toggle_history = 3;
getToggleHistoryOrBuilder()
public Space.PermissionSettingOrBuilder getToggleHistoryOrBuilder()
Setting for toggling space history on and off.
optional .google.chat.v1.Space.PermissionSetting toggle_history = 3;
getUseAtMentionAll()
public Space.PermissionSetting getUseAtMentionAll()
Setting for using @all in a space.
optional .google.chat.v1.Space.PermissionSetting use_at_mention_all = 4;
getUseAtMentionAllOrBuilder()
public Space.PermissionSettingOrBuilder getUseAtMentionAllOrBuilder()
Setting for using @all in a space.
optional .google.chat.v1.Space.PermissionSetting use_at_mention_all = 4;
hasManageApps()
public boolean hasManageApps()
Setting for managing apps in a space.
optional .google.chat.v1.Space.PermissionSetting manage_apps = 5;
Returns |
Type |
Description |
boolean |
Whether the manageApps field is set.
|
hasManageMembersAndGroups()
public boolean hasManageMembersAndGroups()
Setting for managing members and groups in a space.
optional .google.chat.v1.Space.PermissionSetting manage_members_and_groups = 1;
Returns |
Type |
Description |
boolean |
Whether the manageMembersAndGroups field is set.
|
hasManageWebhooks()
public boolean hasManageWebhooks()
Setting for managing webhooks in a space.
optional .google.chat.v1.Space.PermissionSetting manage_webhooks = 6;
Returns |
Type |
Description |
boolean |
Whether the manageWebhooks field is set.
|
hasModifySpaceDetails()
public boolean hasModifySpaceDetails()
Setting for updating space name, avatar, description and guidelines.
optional .google.chat.v1.Space.PermissionSetting modify_space_details = 2;
Returns |
Type |
Description |
boolean |
Whether the modifySpaceDetails field is set.
|
hasPostMessages()
public boolean hasPostMessages()
Output only. Setting for posting messages in a space.
optional .google.chat.v1.Space.PermissionSetting post_messages = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the postMessages field is set.
|
hasReplyMessages()
public boolean hasReplyMessages()
Setting for replying to messages in a space.
optional .google.chat.v1.Space.PermissionSetting reply_messages = 8;
Returns |
Type |
Description |
boolean |
Whether the replyMessages field is set.
|
hasToggleHistory()
public boolean hasToggleHistory()
Setting for toggling space history on and off.
optional .google.chat.v1.Space.PermissionSetting toggle_history = 3;
Returns |
Type |
Description |
boolean |
Whether the toggleHistory field is set.
|
hasUseAtMentionAll()
public boolean hasUseAtMentionAll()
Setting for using @all in a space.
optional .google.chat.v1.Space.PermissionSetting use_at_mention_all = 4;
Returns |
Type |
Description |
boolean |
Whether the useAtMentionAll field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Space.PermissionSettings.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Space.PermissionSettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Space.PermissionSettings.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides