Class GetParticipantRequest.Builder (4.89.0)

public static final class GetParticipantRequest.Builder extends GeneratedMessage.Builder<GetParticipantRequest.Builder> implements GetParticipantRequestOrBuilder

The request message for Participants.GetParticipant.

Protobuf type google.cloud.dialogflow.v2beta1.GetParticipantRequest

Static Methods

getDescriptor()

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

Methods

build()

public GetParticipantRequest build()
Returns
Type Description
GetParticipantRequest

buildPartial()

public GetParticipantRequest buildPartial()
Returns
Type Description
GetParticipantRequest

clear()

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

clearName()

public GetParticipantRequest.Builder clearName()

Required. The name of the participant. Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/participants/<Participant ID>.

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

Returns
Type Description
GetParticipantRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public GetParticipantRequest getDefaultInstanceForType()
Returns
Type Description
GetParticipantRequest

getDescriptorForType()

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

getName()

public String getName()

Required. The name of the participant. Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/participants/<Participant ID>.

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 participant. Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/participants/<Participant ID>.

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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetParticipantRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setName(String value)

public GetParticipantRequest.Builder setName(String value)

Required. The name of the participant. Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/participants/<Participant ID>.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GetParticipantRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetParticipantRequest.Builder setNameBytes(ByteString value)

Required. The name of the participant. Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/participants/<Participant ID>.

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
GetParticipantRequest.Builder

This builder for chaining.