public static final class UpdateSpaceNotificationSettingRequest.Builder extends GeneratedMessageV3.Builder<UpdateSpaceNotificationSettingRequest.Builder> implements UpdateSpaceNotificationSettingRequestOrBuilder
Request to update the space notification settings.
Only supports updating notification setting for the calling user.
Protobuf type google.chat.v1.UpdateSpaceNotificationSettingRequest
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 UpdateSpaceNotificationSettingRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateSpaceNotificationSettingRequest build()
buildPartial()
public UpdateSpaceNotificationSettingRequest buildPartial()
clear()
public UpdateSpaceNotificationSettingRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateSpaceNotificationSettingRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateSpaceNotificationSettingRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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];
clearUpdateMask()
public UpdateSpaceNotificationSettingRequest.Builder clearUpdateMask()
Required. Supported field paths:
notification_setting
mute_setting
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
clone()
public UpdateSpaceNotificationSettingRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public UpdateSpaceNotificationSettingRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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];
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];
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];
getUpdateMask()
public FieldMask getUpdateMask()
Required. Supported field paths:
notification_setting
mute_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_setting
mute_setting
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Required. Supported field paths:
notification_setting
mute_setting
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
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_setting
mute_setting
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the updateMask field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(UpdateSpaceNotificationSettingRequest other)
public UpdateSpaceNotificationSettingRequest.Builder mergeFrom(UpdateSpaceNotificationSettingRequest other)
public UpdateSpaceNotificationSettingRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateSpaceNotificationSettingRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
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];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateSpaceNotificationSettingRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeUpdateMask(FieldMask value)
public UpdateSpaceNotificationSettingRequest.Builder mergeUpdateMask(FieldMask value)
Required. Supported field paths:
notification_setting
mute_setting
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateSpaceNotificationSettingRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateSpaceNotificationSettingRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
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];
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];
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateSpaceNotificationSettingRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUpdateMask(FieldMask value)
public UpdateSpaceNotificationSettingRequest.Builder setUpdateMask(FieldMask value)
Required. Supported field paths:
notification_setting
mute_setting
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateSpaceNotificationSettingRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
Required. Supported field paths:
notification_setting
mute_setting
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
builderForValue |
Builder
|