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
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
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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