Class DeleteReactionRequest.Builder (0.9.0)

public static final class DeleteReactionRequest.Builder extends GeneratedMessageV3.Builder<DeleteReactionRequest.Builder> implements DeleteReactionRequestOrBuilder

Deletes a reaction to a message.

Protobuf type google.chat.v1.DeleteReactionRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DeleteReactionRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DeleteReactionRequest.Builder
Overrides

build()

public DeleteReactionRequest build()
Returns
Type Description
DeleteReactionRequest

buildPartial()

public DeleteReactionRequest buildPartial()
Returns
Type Description
DeleteReactionRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public DeleteReactionRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DeleteReactionRequest.Builder
Overrides

clearName()

public DeleteReactionRequest.Builder clearName()

Required. Name of the reaction to delete.

Format: spaces/{space}/messages/{message}/reactions/{reaction}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
DeleteReactionRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DeleteReactionRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DeleteReactionRequest.Builder
Overrides

clone()

public DeleteReactionRequest.Builder clone()
Returns
Type Description
DeleteReactionRequest.Builder
Overrides

getDefaultInstanceForType()

public DeleteReactionRequest getDefaultInstanceForType()
Returns
Type Description
DeleteReactionRequest

getDescriptorForType()

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

getName()

public String getName()

Required. Name of the reaction to delete.

Format: spaces/{space}/messages/{message}/reactions/{reaction}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Name of the reaction to delete.

Format: spaces/{space}/messages/{message}/reactions/{reaction}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DeleteReactionRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeleteReactionRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DeleteReactionRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DeleteReactionRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DeleteReactionRequest.Builder
Overrides

setName(String value)

public DeleteReactionRequest.Builder setName(String value)

Required. Name of the reaction to delete.

Format: spaces/{space}/messages/{message}/reactions/{reaction}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
DeleteReactionRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeleteReactionRequest.Builder setNameBytes(ByteString value)

Required. Name of the reaction to delete.

Format: spaces/{space}/messages/{message}/reactions/{reaction}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
DeleteReactionRequest.Builder

This builder for chaining.

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

public DeleteReactionRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DeleteReactionRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DeleteReactionRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DeleteReactionRequest.Builder
Overrides