public static final class UpdateSectionRequest.Builder extends GeneratedMessage.Builder<UpdateSectionRequest.Builder> implements UpdateSectionRequestOrBuilderRequest message for updating a section.
Protobuf type google.chat.v1.UpdateSectionRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UpdateSectionRequest.BuilderImplements
UpdateSectionRequestOrBuilderStatic 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 |
|
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 |
|
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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UpdateSectionRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UpdateSectionRequest.Builder |
|
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 |
|