Class UpdateSpaceNotificationSettingRequest.Builder (0.36.0)

publicstaticfinalclass UpdateSpaceNotificationSettingRequest.BuilderextendsGeneratedMessageV3.Builder<UpdateSpaceNotificationSettingRequest.Builder>implementsUpdateSpaceNotificationSettingRequestOrBuilder

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()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicUpdateSpaceNotificationSettingRequest.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateSpaceNotificationSettingRequest.Builder
Overrides

build()

publicUpdateSpaceNotificationSettingRequestbuild()
Returns
Type Description
UpdateSpaceNotificationSettingRequest

buildPartial()

publicUpdateSpaceNotificationSettingRequestbuildPartial()
Returns
Type Description
UpdateSpaceNotificationSettingRequest

clear()

publicUpdateSpaceNotificationSettingRequest.Builderclear()
Returns
Type Description
UpdateSpaceNotificationSettingRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

publicUpdateSpaceNotificationSettingRequest.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdateSpaceNotificationSettingRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

publicUpdateSpaceNotificationSettingRequest.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UpdateSpaceNotificationSettingRequest.Builder
Overrides

clearSpaceNotificationSetting()

publicUpdateSpaceNotificationSettingRequest.BuilderclearSpaceNotificationSetting()

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()

publicUpdateSpaceNotificationSettingRequest.BuilderclearUpdateMask()

Required. Supported field paths:

  • notification_setting

  • mute_setting

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateSpaceNotificationSettingRequest.Builder

clone()

publicUpdateSpaceNotificationSettingRequest.Builderclone()
Returns
Type Description
UpdateSpaceNotificationSettingRequest.Builder
Overrides

getDefaultInstanceForType()

publicUpdateSpaceNotificationSettingRequestgetDefaultInstanceForType()
Returns
Type Description
UpdateSpaceNotificationSettingRequest

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getSpaceNotificationSetting()

publicSpaceNotificationSettinggetSpaceNotificationSetting()

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()

publicSpaceNotificationSetting.BuildergetSpaceNotificationSettingBuilder()

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()

publicSpaceNotificationSettingOrBuildergetSpaceNotificationSettingOrBuilder()

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()

publicFieldMaskgetUpdateMask()

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()

publicFieldMask.BuildergetUpdateMaskBuilder()

Required. Supported field paths:

  • notification_setting

  • mute_setting

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

publicFieldMaskOrBuildergetUpdateMaskOrBuilder()

Required. Supported field paths:

  • notification_setting

  • mute_setting

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMaskOrBuilder

hasSpaceNotificationSetting()

publicbooleanhasSpaceNotificationSetting()

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()

publicbooleanhasUpdateMask()

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()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdateSpaceNotificationSettingRequest other)

publicUpdateSpaceNotificationSettingRequest.BuildermergeFrom(UpdateSpaceNotificationSettingRequestother)
Parameter
Name Description
other UpdateSpaceNotificationSettingRequest
Returns
Type Description
UpdateSpaceNotificationSettingRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicUpdateSpaceNotificationSettingRequest.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateSpaceNotificationSettingRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

publicUpdateSpaceNotificationSettingRequest.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
UpdateSpaceNotificationSettingRequest.Builder
Overrides

mergeSpaceNotificationSetting(SpaceNotificationSetting value)

publicUpdateSpaceNotificationSettingRequest.BuildermergeSpaceNotificationSetting(SpaceNotificationSettingvalue)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalUpdateSpaceNotificationSettingRequest.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateSpaceNotificationSettingRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

publicUpdateSpaceNotificationSettingRequest.BuildermergeUpdateMask(FieldMaskvalue)

Required. Supported field paths:

  • notification_setting

  • mute_setting

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateSpaceNotificationSettingRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

publicUpdateSpaceNotificationSettingRequest.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateSpaceNotificationSettingRequest.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

publicUpdateSpaceNotificationSettingRequest.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UpdateSpaceNotificationSettingRequest.Builder
Overrides

setSpaceNotificationSetting(SpaceNotificationSetting value)

publicUpdateSpaceNotificationSettingRequest.BuildersetSpaceNotificationSetting(SpaceNotificationSettingvalue)

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)

publicUpdateSpaceNotificationSettingRequest.BuildersetSpaceNotificationSetting(SpaceNotificationSetting.BuilderbuilderForValue)

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

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalUpdateSpaceNotificationSettingRequest.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateSpaceNotificationSettingRequest.Builder
Overrides

setUpdateMask(FieldMask value)

publicUpdateSpaceNotificationSettingRequest.BuildersetUpdateMask(FieldMaskvalue)

Required. Supported field paths:

  • notification_setting

  • mute_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)

publicUpdateSpaceNotificationSettingRequest.BuildersetUpdateMask(FieldMask.BuilderbuilderForValue)

Required. Supported field paths:

  • notification_setting

  • mute_setting

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateSpaceNotificationSettingRequest.Builder

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.