Send feedback
Class CreateParticipantRequest.Builder (4.8.5)
Stay organized with collections
Save and categorize content based on your preferences.
Version 4.8.5 keyboard_arrow_down
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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateParticipantRequest . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public CreateParticipantRequest build ()
Returns
buildPartial()
public CreateParticipantRequest buildPartial ()
Returns
clear()
public CreateParticipantRequest . Builder clear ()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateParticipantRequest . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateParticipantRequest . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
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
clearParticipant()
public CreateParticipantRequest . Builder clearParticipant ()
Required. The participant to create.
.google.cloud.dialogflow.v2beta1.Participant participant = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
clone()
public CreateParticipantRequest . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public CreateParticipantRequest getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
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
getParticipant()
public Participant getParticipant ()
Required. The participant to create.
.google.cloud.dialogflow.v2beta1.Participant participant = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getParticipantBuilder()
public Participant . Builder getParticipantBuilder ()
Required. The participant to create.
.google.cloud.dialogflow.v2beta1.Participant participant = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getParticipantOrBuilder()
public ParticipantOrBuilder getParticipantOrBuilder ()
Required. The participant to create.
.google.cloud.dialogflow.v2beta1.Participant participant = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
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
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(CreateParticipantRequest other)
public CreateParticipantRequest . Builder mergeFrom ( CreateParticipantRequest other )
Parameter
Returns
public CreateParticipantRequest . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CreateParticipantRequest . Builder mergeFrom ( Message other )
Parameter
Returns
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateParticipantRequest . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreateParticipantRequest . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
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
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
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
Returns
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
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateParticipantRequest . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateParticipantRequest . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]