public static final class Space.PermissionSettings.Builder extends GeneratedMessageV3.Builder<Space.PermissionSettings.Builder> 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Space.PermissionSettings.BuilderImplements
Space.PermissionSettingsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Space.PermissionSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Space.PermissionSettings.Builder |
build()
public Space.PermissionSettings build()
Returns | |
---|---|
Type | Description |
Space.PermissionSettings |
buildPartial()
public Space.PermissionSettings buildPartial()
Returns | |
---|---|
Type | Description |
Space.PermissionSettings |
clear()
public Space.PermissionSettings.Builder clear()
Returns | |
---|---|
Type | Description |
Space.PermissionSettings.Builder |
clearField(Descriptors.FieldDescriptor field)
public Space.PermissionSettings.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Space.PermissionSettings.Builder |
clearManageApps()
public Space.PermissionSettings.Builder clearManageApps()
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 |
Space.PermissionSettings.Builder |
clearManageMembersAndGroups()
public Space.PermissionSettings.Builder clearManageMembersAndGroups()
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 |
Space.PermissionSettings.Builder |
clearManageWebhooks()
public Space.PermissionSettings.Builder clearManageWebhooks()
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 |
Space.PermissionSettings.Builder |
clearModifySpaceDetails()
public Space.PermissionSettings.Builder clearModifySpaceDetails()
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 |
Space.PermissionSettings.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Space.PermissionSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Space.PermissionSettings.Builder |
clearPostMessages()
public Space.PermissionSettings.Builder clearPostMessages()
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 |
Space.PermissionSettings.Builder |
clearReplyMessages()
public Space.PermissionSettings.Builder clearReplyMessages()
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 |
Space.PermissionSettings.Builder |
clearToggleHistory()
public Space.PermissionSettings.Builder clearToggleHistory()
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 |
Space.PermissionSettings.Builder |
clearUseAtMentionAll()
public Space.PermissionSettings.Builder clearUseAtMentionAll()
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 |
Space.PermissionSettings.Builder |
clone()
public Space.PermissionSettings.Builder clone()
Returns | |
---|---|
Type | Description |
Space.PermissionSettings.Builder |
getDefaultInstanceForType()
public Space.PermissionSettings getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Space.PermissionSettings |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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];
Returns | |
---|---|
Type | Description |
Space.PermissionSetting |
The manageApps. |
getManageAppsBuilder()
public Space.PermissionSetting.Builder getManageAppsBuilder()
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 |
Space.PermissionSetting.Builder |
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];
Returns | |
---|---|
Type | Description |
Space.PermissionSettingOrBuilder |
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];
Returns | |
---|---|
Type | Description |
Space.PermissionSetting |
The manageMembersAndGroups. |
getManageMembersAndGroupsBuilder()
public Space.PermissionSetting.Builder getManageMembersAndGroupsBuilder()
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 |
Space.PermissionSetting.Builder |
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];
Returns | |
---|---|
Type | Description |
Space.PermissionSettingOrBuilder |
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];
Returns | |
---|---|
Type | Description |
Space.PermissionSetting |
The manageWebhooks. |
getManageWebhooksBuilder()
public Space.PermissionSetting.Builder getManageWebhooksBuilder()
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 |
Space.PermissionSetting.Builder |
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];
Returns | |
---|---|
Type | Description |
Space.PermissionSettingOrBuilder |
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];
Returns | |
---|---|
Type | Description |
Space.PermissionSetting |
The modifySpaceDetails. |
getModifySpaceDetailsBuilder()
public Space.PermissionSetting.Builder getModifySpaceDetailsBuilder()
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 |
Space.PermissionSetting.Builder |
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];
Returns | |
---|---|
Type | Description |
Space.PermissionSettingOrBuilder |
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];
Returns | |
---|---|
Type | Description |
Space.PermissionSetting |
The postMessages. |
getPostMessagesBuilder()
public Space.PermissionSetting.Builder getPostMessagesBuilder()
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 |
Space.PermissionSetting.Builder |
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];
Returns | |
---|---|
Type | Description |
Space.PermissionSettingOrBuilder |
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];
Returns | |
---|---|
Type | Description |
Space.PermissionSetting |
The replyMessages. |
getReplyMessagesBuilder()
public Space.PermissionSetting.Builder getReplyMessagesBuilder()
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 |
Space.PermissionSetting.Builder |
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];
Returns | |
---|---|
Type | Description |
Space.PermissionSettingOrBuilder |
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];
Returns | |
---|---|
Type | Description |
Space.PermissionSetting |
The toggleHistory. |
getToggleHistoryBuilder()
public Space.PermissionSetting.Builder getToggleHistoryBuilder()
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 |
Space.PermissionSetting.Builder |
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];
Returns | |
---|---|
Type | Description |
Space.PermissionSettingOrBuilder |
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];
Returns | |
---|---|
Type | Description |
Space.PermissionSetting |
The useAtMentionAll. |
getUseAtMentionAllBuilder()
public Space.PermissionSetting.Builder getUseAtMentionAllBuilder()
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 |
Space.PermissionSetting.Builder |
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];
Returns | |
---|---|
Type | Description |
Space.PermissionSettingOrBuilder |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(Space.PermissionSettings other)
public Space.PermissionSettings.Builder mergeFrom(Space.PermissionSettings other)
Parameter | |
---|---|
Name | Description |
other |
Space.PermissionSettings |
Returns | |
---|---|
Type | Description |
Space.PermissionSettings.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Space.PermissionSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Space.PermissionSettings.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Space.PermissionSettings.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Space.PermissionSettings.Builder |
mergeManageApps(Space.PermissionSetting value)
public Space.PermissionSettings.Builder mergeManageApps(Space.PermissionSetting value)
Optional. Setting for managing apps in a space.
optional .google.chat.v1.Space.PermissionSetting manage_apps = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
Space.PermissionSetting |
Returns | |
---|---|
Type | Description |
Space.PermissionSettings.Builder |
mergeManageMembersAndGroups(Space.PermissionSetting value)
public Space.PermissionSettings.Builder mergeManageMembersAndGroups(Space.PermissionSetting value)
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];
Parameter | |
---|---|
Name | Description |
value |
Space.PermissionSetting |
Returns | |
---|---|
Type | Description |
Space.PermissionSettings.Builder |
mergeManageWebhooks(Space.PermissionSetting value)
public Space.PermissionSettings.Builder mergeManageWebhooks(Space.PermissionSetting value)
Optional. Setting for managing webhooks in a space.
optional .google.chat.v1.Space.PermissionSetting manage_webhooks = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
Space.PermissionSetting |
Returns | |
---|---|
Type | Description |
Space.PermissionSettings.Builder |
mergeModifySpaceDetails(Space.PermissionSetting value)
public Space.PermissionSettings.Builder mergeModifySpaceDetails(Space.PermissionSetting value)
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];
Parameter | |
---|---|
Name | Description |
value |
Space.PermissionSetting |
Returns | |
---|---|
Type | Description |
Space.PermissionSettings.Builder |
mergePostMessages(Space.PermissionSetting value)
public Space.PermissionSettings.Builder mergePostMessages(Space.PermissionSetting value)
Output only. Setting for posting messages in a space.
optional .google.chat.v1.Space.PermissionSetting post_messages = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Space.PermissionSetting |
Returns | |
---|---|
Type | Description |
Space.PermissionSettings.Builder |
mergeReplyMessages(Space.PermissionSetting value)
public Space.PermissionSettings.Builder mergeReplyMessages(Space.PermissionSetting value)
Optional. Setting for replying to messages in a space.
optional .google.chat.v1.Space.PermissionSetting reply_messages = 8 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
Space.PermissionSetting |
Returns | |
---|---|
Type | Description |
Space.PermissionSettings.Builder |
mergeToggleHistory(Space.PermissionSetting value)
public Space.PermissionSettings.Builder mergeToggleHistory(Space.PermissionSetting value)
Optional. Setting for toggling space history on and off.
optional .google.chat.v1.Space.PermissionSetting toggle_history = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
Space.PermissionSetting |
Returns | |
---|---|
Type | Description |
Space.PermissionSettings.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Space.PermissionSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Space.PermissionSettings.Builder |
mergeUseAtMentionAll(Space.PermissionSetting value)
public Space.PermissionSettings.Builder mergeUseAtMentionAll(Space.PermissionSetting value)
Optional. Setting for using @all in a space.
optional .google.chat.v1.Space.PermissionSetting use_at_mention_all = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
Space.PermissionSetting |
Returns | |
---|---|
Type | Description |
Space.PermissionSettings.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Space.PermissionSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Space.PermissionSettings.Builder |
setManageApps(Space.PermissionSetting value)
public Space.PermissionSettings.Builder setManageApps(Space.PermissionSetting value)
Optional. Setting for managing apps in a space.
optional .google.chat.v1.Space.PermissionSetting manage_apps = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
Space.PermissionSetting |
Returns | |
---|---|
Type | Description |
Space.PermissionSettings.Builder |
setManageApps(Space.PermissionSetting.Builder builderForValue)
public Space.PermissionSettings.Builder setManageApps(Space.PermissionSetting.Builder builderForValue)
Optional. Setting for managing apps in a space.
optional .google.chat.v1.Space.PermissionSetting manage_apps = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
Space.PermissionSetting.Builder |
Returns | |
---|---|
Type | Description |
Space.PermissionSettings.Builder |
setManageMembersAndGroups(Space.PermissionSetting value)
public Space.PermissionSettings.Builder setManageMembersAndGroups(Space.PermissionSetting value)
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];
Parameter | |
---|---|
Name | Description |
value |
Space.PermissionSetting |
Returns | |
---|---|
Type | Description |
Space.PermissionSettings.Builder |
setManageMembersAndGroups(Space.PermissionSetting.Builder builderForValue)
public Space.PermissionSettings.Builder setManageMembersAndGroups(Space.PermissionSetting.Builder builderForValue)
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];
Parameter | |
---|---|
Name | Description |
builderForValue |
Space.PermissionSetting.Builder |
Returns | |
---|---|
Type | Description |
Space.PermissionSettings.Builder |
setManageWebhooks(Space.PermissionSetting value)
public Space.PermissionSettings.Builder setManageWebhooks(Space.PermissionSetting value)
Optional. Setting for managing webhooks in a space.
optional .google.chat.v1.Space.PermissionSetting manage_webhooks = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
Space.PermissionSetting |
Returns | |
---|---|
Type | Description |
Space.PermissionSettings.Builder |
setManageWebhooks(Space.PermissionSetting.Builder builderForValue)
public Space.PermissionSettings.Builder setManageWebhooks(Space.PermissionSetting.Builder builderForValue)
Optional. Setting for managing webhooks in a space.
optional .google.chat.v1.Space.PermissionSetting manage_webhooks = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
Space.PermissionSetting.Builder |
Returns | |
---|---|
Type | Description |
Space.PermissionSettings.Builder |
setModifySpaceDetails(Space.PermissionSetting value)
public Space.PermissionSettings.Builder setModifySpaceDetails(Space.PermissionSetting value)
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];
Parameter | |
---|---|
Name | Description |
value |
Space.PermissionSetting |
Returns | |
---|---|
Type | Description |
Space.PermissionSettings.Builder |
setModifySpaceDetails(Space.PermissionSetting.Builder builderForValue)
public Space.PermissionSettings.Builder setModifySpaceDetails(Space.PermissionSetting.Builder builderForValue)
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];
Parameter | |
---|---|
Name | Description |
builderForValue |
Space.PermissionSetting.Builder |
Returns | |
---|---|
Type | Description |
Space.PermissionSettings.Builder |
setPostMessages(Space.PermissionSetting value)
public Space.PermissionSettings.Builder setPostMessages(Space.PermissionSetting value)
Output only. Setting for posting messages in a space.
optional .google.chat.v1.Space.PermissionSetting post_messages = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Space.PermissionSetting |
Returns | |
---|---|
Type | Description |
Space.PermissionSettings.Builder |
setPostMessages(Space.PermissionSetting.Builder builderForValue)
public Space.PermissionSettings.Builder setPostMessages(Space.PermissionSetting.Builder builderForValue)
Output only. Setting for posting messages in a space.
optional .google.chat.v1.Space.PermissionSetting post_messages = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Space.PermissionSetting.Builder |
Returns | |
---|---|
Type | Description |
Space.PermissionSettings.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Space.PermissionSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Space.PermissionSettings.Builder |
setReplyMessages(Space.PermissionSetting value)
public Space.PermissionSettings.Builder setReplyMessages(Space.PermissionSetting value)
Optional. Setting for replying to messages in a space.
optional .google.chat.v1.Space.PermissionSetting reply_messages = 8 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
Space.PermissionSetting |
Returns | |
---|---|
Type | Description |
Space.PermissionSettings.Builder |
setReplyMessages(Space.PermissionSetting.Builder builderForValue)
public Space.PermissionSettings.Builder setReplyMessages(Space.PermissionSetting.Builder builderForValue)
Optional. Setting for replying to messages in a space.
optional .google.chat.v1.Space.PermissionSetting reply_messages = 8 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
Space.PermissionSetting.Builder |
Returns | |
---|---|
Type | Description |
Space.PermissionSettings.Builder |
setToggleHistory(Space.PermissionSetting value)
public Space.PermissionSettings.Builder setToggleHistory(Space.PermissionSetting value)
Optional. Setting for toggling space history on and off.
optional .google.chat.v1.Space.PermissionSetting toggle_history = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
Space.PermissionSetting |
Returns | |
---|---|
Type | Description |
Space.PermissionSettings.Builder |
setToggleHistory(Space.PermissionSetting.Builder builderForValue)
public Space.PermissionSettings.Builder setToggleHistory(Space.PermissionSetting.Builder builderForValue)
Optional. Setting for toggling space history on and off.
optional .google.chat.v1.Space.PermissionSetting toggle_history = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
Space.PermissionSetting.Builder |
Returns | |
---|---|
Type | Description |
Space.PermissionSettings.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Space.PermissionSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Space.PermissionSettings.Builder |
setUseAtMentionAll(Space.PermissionSetting value)
public Space.PermissionSettings.Builder setUseAtMentionAll(Space.PermissionSetting value)
Optional. Setting for using @all in a space.
optional .google.chat.v1.Space.PermissionSetting use_at_mention_all = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
Space.PermissionSetting |
Returns | |
---|---|
Type | Description |
Space.PermissionSettings.Builder |
setUseAtMentionAll(Space.PermissionSetting.Builder builderForValue)
public Space.PermissionSettings.Builder setUseAtMentionAll(Space.PermissionSetting.Builder builderForValue)
Optional. Setting for using @all in a space.
optional .google.chat.v1.Space.PermissionSetting use_at_mention_all = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
Space.PermissionSetting.Builder |
Returns | |
---|---|
Type | Description |
Space.PermissionSettings.Builder |