Class CreateParticipantRequest.Builder (4.61.0)

public static final class CreateParticipantRequest.Builder extends GeneratedMessageV3.Builder<CreateParticipantRequest.Builder> implements CreateParticipantRequestOrBuilder

The request message for Participants.CreateParticipant.

Protobuf type google.cloud.dialogflow.v2beta1.CreateParticipantRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateParticipantRequest build()
Returns
Type Description
CreateParticipantRequest

buildPartial()

public CreateParticipantRequest buildPartial()
Returns
Type Description
CreateParticipantRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateParticipantRequest.Builder clearParent()

Required. Resource identifier of the conversation adding the participant. Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>.

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

Returns
Type Description
CreateParticipantRequest.Builder

This builder for chaining.

clearParticipant()

public CreateParticipantRequest.Builder clearParticipant()

Required. The participant to create.

.google.cloud.dialogflow.v2beta1.Participant participant = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateParticipantRequest.Builder

clone()

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

getDefaultInstanceForType()

public CreateParticipantRequest getDefaultInstanceForType()
Returns
Type Description
CreateParticipantRequest

getDescriptorForType()

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

getParent()

public String getParent()

Required. Resource identifier of the conversation adding the participant. Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>.

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. Resource identifier of the conversation adding the participant. Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>.

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

Returns
Type Description
ByteString

The bytes for parent.

getParticipant()

public Participant getParticipant()

Required. The participant to create.

.google.cloud.dialogflow.v2beta1.Participant participant = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Participant

The participant.

getParticipantBuilder()

public Participant.Builder getParticipantBuilder()

Required. The participant to create.

.google.cloud.dialogflow.v2beta1.Participant participant = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Participant.Builder

getParticipantOrBuilder()

public ParticipantOrBuilder getParticipantOrBuilder()

Required. The participant to create.

.google.cloud.dialogflow.v2beta1.Participant participant = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ParticipantOrBuilder

hasParticipant()

public boolean hasParticipant()

Required. The participant to create.

.google.cloud.dialogflow.v2beta1.Participant participant = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the participant field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateParticipantRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeParticipant(Participant value)

public CreateParticipantRequest.Builder mergeParticipant(Participant value)

Required. The participant to create.

.google.cloud.dialogflow.v2beta1.Participant participant = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Participant
Returns
Type Description
CreateParticipantRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public CreateParticipantRequest.Builder setParent(String value)

Required. Resource identifier of the conversation adding the participant. Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>.

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateParticipantRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateParticipantRequest.Builder setParentBytes(ByteString value)

Required. Resource identifier of the conversation adding the participant. Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>.

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

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateParticipantRequest.Builder

This builder for chaining.

setParticipant(Participant value)

public CreateParticipantRequest.Builder setParticipant(Participant value)

Required. The participant to create.

.google.cloud.dialogflow.v2beta1.Participant participant = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Participant
Returns
Type Description
CreateParticipantRequest.Builder

setParticipant(Participant.Builder builderForValue)

public CreateParticipantRequest.Builder setParticipant(Participant.Builder builderForValue)

Required. The participant to create.

.google.cloud.dialogflow.v2beta1.Participant participant = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Participant.Builder
Returns
Type Description
CreateParticipantRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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