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()
Optional. Setting for managing apps in a space.
optional .google.chat.v1.Space.PermissionSetting manage_apps = 5 [(.google.api.field_behavior) = OPTIONAL];
getManageAppsOrBuilder()
public Space.PermissionSettingOrBuilder getManageAppsOrBuilder()
Optional. Setting for managing apps in a space.
optional .google.chat.v1.Space.PermissionSetting manage_apps = 5 [(.google.api.field_behavior) = OPTIONAL];
getManageMembersAndGroups()
public Space.PermissionSetting getManageMembersAndGroups()
Optional. Setting for managing members and groups in a space.
optional .google.chat.v1.Space.PermissionSetting manage_members_and_groups = 1 [(.google.api.field_behavior) = OPTIONAL];
getManageMembersAndGroupsOrBuilder()
public Space.PermissionSettingOrBuilder getManageMembersAndGroupsOrBuilder()
Optional. Setting for managing members and groups in a space.
optional .google.chat.v1.Space.PermissionSetting manage_members_and_groups = 1 [(.google.api.field_behavior) = OPTIONAL];
getManageWebhooks()
public Space.PermissionSetting getManageWebhooks()
Optional. Setting for managing webhooks in a space.
optional .google.chat.v1.Space.PermissionSetting manage_webhooks = 6 [(.google.api.field_behavior) = OPTIONAL];
getManageWebhooksOrBuilder()
public Space.PermissionSettingOrBuilder getManageWebhooksOrBuilder()
Optional. Setting for managing webhooks in a space.
optional .google.chat.v1.Space.PermissionSetting manage_webhooks = 6 [(.google.api.field_behavior) = OPTIONAL];
getModifySpaceDetails()
public Space.PermissionSetting getModifySpaceDetails()
Optional. Setting for updating space name, avatar, description and
guidelines.
optional .google.chat.v1.Space.PermissionSetting modify_space_details = 2 [(.google.api.field_behavior) = OPTIONAL];
getModifySpaceDetailsOrBuilder()
public Space.PermissionSettingOrBuilder getModifySpaceDetailsOrBuilder()
Optional. Setting for updating space name, avatar, description and
guidelines.
optional .google.chat.v1.Space.PermissionSetting modify_space_details = 2 [(.google.api.field_behavior) = OPTIONAL];
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()
Optional. Setting for replying to messages in a space.
optional .google.chat.v1.Space.PermissionSetting reply_messages = 8 [(.google.api.field_behavior) = OPTIONAL];
getReplyMessagesOrBuilder()
public Space.PermissionSettingOrBuilder getReplyMessagesOrBuilder()
Optional. Setting for replying to messages in a space.
optional .google.chat.v1.Space.PermissionSetting reply_messages = 8 [(.google.api.field_behavior) = OPTIONAL];
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getToggleHistory()
public Space.PermissionSetting getToggleHistory()
Optional. Setting for toggling space history on and off.
optional .google.chat.v1.Space.PermissionSetting toggle_history = 3 [(.google.api.field_behavior) = OPTIONAL];
getToggleHistoryOrBuilder()
public Space.PermissionSettingOrBuilder getToggleHistoryOrBuilder()
Optional. Setting for toggling space history on and off.
optional .google.chat.v1.Space.PermissionSetting toggle_history = 3 [(.google.api.field_behavior) = OPTIONAL];
getUseAtMentionAll()
public Space.PermissionSetting getUseAtMentionAll()
Optional. Setting for using @all in a space.
optional .google.chat.v1.Space.PermissionSetting use_at_mention_all = 4 [(.google.api.field_behavior) = OPTIONAL];
getUseAtMentionAllOrBuilder()
public Space.PermissionSettingOrBuilder getUseAtMentionAllOrBuilder()
Optional. Setting for using @all in a space.
optional .google.chat.v1.Space.PermissionSetting use_at_mention_all = 4 [(.google.api.field_behavior) = OPTIONAL];
hasManageApps()
public boolean hasManageApps()
Optional. Setting for managing apps in a space.
optional .google.chat.v1.Space.PermissionSetting manage_apps = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the manageApps field is set.
|
hasManageMembersAndGroups()
public boolean hasManageMembersAndGroups()
Optional. Setting for managing members and groups in a space.
optional .google.chat.v1.Space.PermissionSetting manage_members_and_groups = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the manageMembersAndGroups field is set.
|
hasManageWebhooks()
public boolean hasManageWebhooks()
Optional. Setting for managing webhooks in a space.
optional .google.chat.v1.Space.PermissionSetting manage_webhooks = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the manageWebhooks field is set.
|
hasModifySpaceDetails()
public boolean hasModifySpaceDetails()
Optional. Setting for updating space name, avatar, description and
guidelines.
optional .google.chat.v1.Space.PermissionSetting modify_space_details = 2 [(.google.api.field_behavior) = OPTIONAL];
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()
Optional. Setting for replying to messages in a space.
optional .google.chat.v1.Space.PermissionSetting reply_messages = 8 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the replyMessages field is set.
|
hasToggleHistory()
public boolean hasToggleHistory()
Optional. Setting for toggling space history on and off.
optional .google.chat.v1.Space.PermissionSetting toggle_history = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the toggleHistory field is set.
|
hasUseAtMentionAll()
public boolean hasUseAtMentionAll()
Optional. Setting for using @all in a space.
optional .google.chat.v1.Space.PermissionSetting use_at_mention_all = 4 [(.google.api.field_behavior) = OPTIONAL];
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