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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateParticipantRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateParticipantRequest build()
buildPartial()
public CreateParticipantRequest buildPartial()
clear()
public CreateParticipantRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateParticipantRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateParticipantRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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) = { ... }
clearParticipant()
public CreateParticipantRequest.Builder clearParticipant()
Required. The participant to create.
.google.cloud.dialogflow.v2beta1.Participant participant = 2 [(.google.api.field_behavior) = REQUIRED];
clone()
public CreateParticipantRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public CreateParticipantRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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];
getParticipantBuilder()
public Participant.Builder getParticipantBuilder()
Required. The participant to create.
.google.cloud.dialogflow.v2beta1.Participant participant = 2 [(.google.api.field_behavior) = REQUIRED];
getParticipantOrBuilder()
public ParticipantOrBuilder getParticipantOrBuilder()
Required. The participant to create.
.google.cloud.dialogflow.v2beta1.Participant participant = 2 [(.google.api.field_behavior) = REQUIRED];
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CreateParticipantRequest other)
public CreateParticipantRequest.Builder mergeFrom(CreateParticipantRequest other)
public CreateParticipantRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateParticipantRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
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];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateParticipantRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreateParticipantRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
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];
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];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateParticipantRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateParticipantRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides