Class UpdateSectionRequest.Builder (0.55.0)

public static final class UpdateSectionRequest.Builder extends GeneratedMessage.Builder<UpdateSectionRequest.Builder> implements UpdateSectionRequestOrBuilder

Request message for updating a section.

Protobuf type google.chat.v1.UpdateSectionRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public UpdateSectionRequest build()
Returns
Type Description
UpdateSectionRequest

buildPartial()

public UpdateSectionRequest buildPartial()
Returns
Type Description
UpdateSectionRequest

clear()

public UpdateSectionRequest.Builder clear()
Returns
Type Description
UpdateSectionRequest.Builder
Overrides

clearSection()

public UpdateSectionRequest.Builder clearSection()

Required. The section to update.

.google.chat.v1.Section section = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateSectionRequest.Builder

clearUpdateMask()

public UpdateSectionRequest.Builder clearUpdateMask()

Required. The mask to specify which fields to update.

Currently supported field paths:

  • display_name

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

Returns
Type Description
UpdateSectionRequest.Builder

getDefaultInstanceForType()

public UpdateSectionRequest getDefaultInstanceForType()
Returns
Type Description
UpdateSectionRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getSection()

public Section getSection()

Required. The section to update.

.google.chat.v1.Section section = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Section

The section.

getSectionBuilder()

public Section.Builder getSectionBuilder()

Required. The section to update.

.google.chat.v1.Section section = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Section.Builder

getSectionOrBuilder()

public SectionOrBuilder getSectionOrBuilder()

Required. The section to update.

.google.chat.v1.Section section = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SectionOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Required. The mask to specify which fields to update.

Currently supported field paths:

  • display_name

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

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Required. The mask to specify which fields to update.

Currently supported field paths:

  • display_name

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

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. The mask to specify which fields to update.

Currently supported field paths:

  • display_name

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

Returns
Type Description
FieldMaskOrBuilder

hasSection()

public boolean hasSection()

Required. The section to update.

.google.chat.v1.Section section = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the section field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Required. The mask to specify which fields to update.

Currently supported field paths:

  • display_name

.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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdateSectionRequest other)

public UpdateSectionRequest.Builder mergeFrom(UpdateSectionRequest other)
Parameter
Name Description
other UpdateSectionRequest
Returns
Type Description
UpdateSectionRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateSectionRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateSectionRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UpdateSectionRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UpdateSectionRequest.Builder
Overrides

mergeSection(Section value)

public UpdateSectionRequest.Builder mergeSection(Section value)

Required. The section to update.

.google.chat.v1.Section section = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Section
Returns
Type Description
UpdateSectionRequest.Builder

mergeUpdateMask(FieldMask value)

public UpdateSectionRequest.Builder mergeUpdateMask(FieldMask value)

Required. The mask to specify which fields to update.

Currently supported field paths:

  • display_name

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

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateSectionRequest.Builder

setSection(Section value)

public UpdateSectionRequest.Builder setSection(Section value)

Required. The section to update.

.google.chat.v1.Section section = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Section
Returns
Type Description
UpdateSectionRequest.Builder

setSection(Section.Builder builderForValue)

public UpdateSectionRequest.Builder setSection(Section.Builder builderForValue)

Required. The section to update.

.google.chat.v1.Section section = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Section.Builder
Returns
Type Description
UpdateSectionRequest.Builder

setUpdateMask(FieldMask value)

public UpdateSectionRequest.Builder setUpdateMask(FieldMask value)

Required. The mask to specify which fields to update.

Currently supported field paths:

  • display_name

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

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateSectionRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateSectionRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Required. The mask to specify which fields to update.

Currently supported field paths:

  • display_name

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateSectionRequest.Builder