Class DeleteReactionRequest.Builder (0.1.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DeleteReactionRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DeleteReactionRequest.Builder
Overrides

build()

public DeleteReactionRequest build()
Returns
TypeDescription
DeleteReactionRequest

buildPartial()

public DeleteReactionRequest buildPartial()
Returns
TypeDescription
DeleteReactionRequest

clear()

public DeleteReactionRequest.Builder clear()
Returns
TypeDescription
DeleteReactionRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public DeleteReactionRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
DeleteReactionRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DeleteReactionRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DeleteReactionRequest.Builder
Overrides

clone()

public DeleteReactionRequest.Builder clone()
Returns
TypeDescription
DeleteReactionRequest.Builder
Overrides

getDefaultInstanceForType()

public DeleteReactionRequest getDefaultInstanceForType()
Returns
TypeDescription
DeleteReactionRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DeleteReactionRequest other)

public DeleteReactionRequest.Builder mergeFrom(DeleteReactionRequest other)
Parameter
NameDescription
otherDeleteReactionRequest
Returns
TypeDescription
DeleteReactionRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DeleteReactionRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeleteReactionRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DeleteReactionRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DeleteReactionRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeleteReactionRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DeleteReactionRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DeleteReactionRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DeleteReactionRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DeleteReactionRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DeleteReactionRequest.Builder
Overrides