public static final class DeleteSectionRequest.Builder extends GeneratedMessage.Builder<DeleteSectionRequest.Builder> implements DeleteSectionRequestOrBuilderRequest message for deleting a section. Developer Preview.
Protobuf type google.chat.v1.DeleteSectionRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DeleteSectionRequest.BuilderImplements
DeleteSectionRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DeleteSectionRequest build()| Returns | |
|---|---|
| Type | Description |
DeleteSectionRequest |
|
buildPartial()
public DeleteSectionRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
DeleteSectionRequest |
|
clear()
public DeleteSectionRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
DeleteSectionRequest.Builder |
|
clearName()
public DeleteSectionRequest.Builder clearName()Required. The name of the section to delete.
Format: users/{user}/sections/{section}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
DeleteSectionRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public DeleteSectionRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DeleteSectionRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName()Required. The name of the section to delete.
Format: users/{user}/sections/{section}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Required. The name of the section to delete.
Format: users/{user}/sections/{section}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DeleteSectionRequest other)
public DeleteSectionRequest.Builder mergeFrom(DeleteSectionRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
DeleteSectionRequest |
| Returns | |
|---|---|
| Type | Description |
DeleteSectionRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DeleteSectionRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DeleteSectionRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DeleteSectionRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DeleteSectionRequest.Builder |
|
setName(String value)
public DeleteSectionRequest.Builder setName(String value)Required. The name of the section to delete.
Format: users/{user}/sections/{section}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
DeleteSectionRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public DeleteSectionRequest.Builder setNameBytes(ByteString value)Required. The name of the section to delete.
Format: users/{user}/sections/{section}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
DeleteSectionRequest.Builder |
This builder for chaining. |