public static final class UpdateSpaceNotificationSettingRequest.Builder extends GeneratedMessage.Builder<UpdateSpaceNotificationSettingRequest.Builder> implements UpdateSpaceNotificationSettingRequestOrBuilderRequest to update the space notification settings. Only supports updating notification setting for the calling user.
Protobuf type google.chat.v1.UpdateSpaceNotificationSettingRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UpdateSpaceNotificationSettingRequest.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public UpdateSpaceNotificationSettingRequest build()| Returns | |
|---|---|
| Type | Description |
UpdateSpaceNotificationSettingRequest |
|
buildPartial()
public UpdateSpaceNotificationSettingRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
UpdateSpaceNotificationSettingRequest |
|
clear()
public UpdateSpaceNotificationSettingRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
UpdateSpaceNotificationSettingRequest.Builder |
|
clearSpaceNotificationSetting()
public UpdateSpaceNotificationSettingRequest.Builder clearSpaceNotificationSetting() Required. The resource name for the space notification settings must be
populated in the form of
users/{user}/spaces/{space}/spaceNotificationSetting. Only fields
specified by update_mask are updated.
.google.chat.v1.SpaceNotificationSetting space_notification_setting = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UpdateSpaceNotificationSettingRequest.Builder |
|
clearUpdateMask()
public UpdateSpaceNotificationSettingRequest.Builder clearUpdateMask()Required. Supported field paths:
notification_settingmute_setting
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UpdateSpaceNotificationSettingRequest.Builder |
|
getDefaultInstanceForType()
public UpdateSpaceNotificationSettingRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UpdateSpaceNotificationSettingRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getSpaceNotificationSetting()
public SpaceNotificationSetting getSpaceNotificationSetting() Required. The resource name for the space notification settings must be
populated in the form of
users/{user}/spaces/{space}/spaceNotificationSetting. Only fields
specified by update_mask are updated.
.google.chat.v1.SpaceNotificationSetting space_notification_setting = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
SpaceNotificationSetting |
The spaceNotificationSetting. |
getSpaceNotificationSettingBuilder()
public SpaceNotificationSetting.Builder getSpaceNotificationSettingBuilder() Required. The resource name for the space notification settings must be
populated in the form of
users/{user}/spaces/{space}/spaceNotificationSetting. Only fields
specified by update_mask are updated.
.google.chat.v1.SpaceNotificationSetting space_notification_setting = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
SpaceNotificationSetting.Builder |
|
getSpaceNotificationSettingOrBuilder()
public SpaceNotificationSettingOrBuilder getSpaceNotificationSettingOrBuilder() Required. The resource name for the space notification settings must be
populated in the form of
users/{user}/spaces/{space}/spaceNotificationSetting. Only fields
specified by update_mask are updated.
.google.chat.v1.SpaceNotificationSetting space_notification_setting = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
SpaceNotificationSettingOrBuilder |
|
getUpdateMask()
public FieldMask getUpdateMask()Required. Supported field paths:
notification_settingmute_setting
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
FieldMask |
The updateMask. |
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()Required. Supported field paths:
notification_settingmute_setting
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()Required. Supported field paths:
notification_settingmute_setting
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
FieldMaskOrBuilder |
|
hasSpaceNotificationSetting()
public boolean hasSpaceNotificationSetting() Required. The resource name for the space notification settings must be
populated in the form of
users/{user}/spaces/{space}/spaceNotificationSetting. Only fields
specified by update_mask are updated.
.google.chat.v1.SpaceNotificationSetting space_notification_setting = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the spaceNotificationSetting field is set. |
hasUpdateMask()
public boolean hasUpdateMask()Required. Supported field paths:
notification_settingmute_setting
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the updateMask field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(UpdateSpaceNotificationSettingRequest other)
public UpdateSpaceNotificationSettingRequest.Builder mergeFrom(UpdateSpaceNotificationSettingRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
UpdateSpaceNotificationSettingRequest |
| Returns | |
|---|---|
| Type | Description |
UpdateSpaceNotificationSettingRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateSpaceNotificationSettingRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdateSpaceNotificationSettingRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UpdateSpaceNotificationSettingRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UpdateSpaceNotificationSettingRequest.Builder |
|
mergeSpaceNotificationSetting(SpaceNotificationSetting value)
public UpdateSpaceNotificationSettingRequest.Builder mergeSpaceNotificationSetting(SpaceNotificationSetting value) Required. The resource name for the space notification settings must be
populated in the form of
users/{user}/spaces/{space}/spaceNotificationSetting. Only fields
specified by update_mask are updated.
.google.chat.v1.SpaceNotificationSetting space_notification_setting = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
SpaceNotificationSetting |
| Returns | |
|---|---|
| Type | Description |
UpdateSpaceNotificationSettingRequest.Builder |
|
mergeUpdateMask(FieldMask value)
public UpdateSpaceNotificationSettingRequest.Builder mergeUpdateMask(FieldMask value)Required. Supported field paths:
notification_settingmute_setting
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateSpaceNotificationSettingRequest.Builder |
|
setSpaceNotificationSetting(SpaceNotificationSetting value)
public UpdateSpaceNotificationSettingRequest.Builder setSpaceNotificationSetting(SpaceNotificationSetting value) Required. The resource name for the space notification settings must be
populated in the form of
users/{user}/spaces/{space}/spaceNotificationSetting. Only fields
specified by update_mask are updated.
.google.chat.v1.SpaceNotificationSetting space_notification_setting = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
SpaceNotificationSetting |
| Returns | |
|---|---|
| Type | Description |
UpdateSpaceNotificationSettingRequest.Builder |
|
setSpaceNotificationSetting(SpaceNotificationSetting.Builder builderForValue)
public UpdateSpaceNotificationSettingRequest.Builder setSpaceNotificationSetting(SpaceNotificationSetting.Builder builderForValue) Required. The resource name for the space notification settings must be
populated in the form of
users/{user}/spaces/{space}/spaceNotificationSetting. Only fields
specified by update_mask are updated.
.google.chat.v1.SpaceNotificationSetting space_notification_setting = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
SpaceNotificationSetting.Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateSpaceNotificationSettingRequest.Builder |
|
setUpdateMask(FieldMask value)
public UpdateSpaceNotificationSettingRequest.Builder setUpdateMask(FieldMask value)Required. Supported field paths:
notification_settingmute_setting
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateSpaceNotificationSettingRequest.Builder |
|
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateSpaceNotificationSettingRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)Required. Supported field paths:
notification_settingmute_setting
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateSpaceNotificationSettingRequest.Builder |
|