public static final class CreateConversationProfileRequest.Builder extends GeneratedMessageV3.Builder<CreateConversationProfileRequest.Builder> implements CreateConversationProfileRequestOrBuilder
The request message for
ConversationProfiles.CreateConversationProfile.
Protobuf type google.cloud.dialogflow.v2.CreateConversationProfileRequest
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 CreateConversationProfileRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateConversationProfileRequest build()
buildPartial()
public CreateConversationProfileRequest buildPartial()
clear()
public CreateConversationProfileRequest.Builder clear()
Overrides
clearConversationProfile()
public CreateConversationProfileRequest.Builder clearConversationProfile()
Required. The conversation profile to create.
.google.cloud.dialogflow.v2.ConversationProfile conversation_profile = 2 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public CreateConversationProfileRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateConversationProfileRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParent()
public CreateConversationProfileRequest.Builder clearParent()
Required. The project to create a conversation profile for.
Format: projects/<Project ID>/locations/<Location ID>
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clone()
public CreateConversationProfileRequest.Builder clone()
Overrides
getConversationProfile()
public ConversationProfile getConversationProfile()
Required. The conversation profile to create.
.google.cloud.dialogflow.v2.ConversationProfile conversation_profile = 2 [(.google.api.field_behavior) = REQUIRED];
getConversationProfileBuilder()
public ConversationProfile.Builder getConversationProfileBuilder()
Required. The conversation profile to create.
.google.cloud.dialogflow.v2.ConversationProfile conversation_profile = 2 [(.google.api.field_behavior) = REQUIRED];
getConversationProfileOrBuilder()
public ConversationProfileOrBuilder getConversationProfileOrBuilder()
Required. The conversation profile to create.
.google.cloud.dialogflow.v2.ConversationProfile conversation_profile = 2 [(.google.api.field_behavior) = REQUIRED];
getDefaultInstanceForType()
public CreateConversationProfileRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getParent()
public String getParent()
Required. The project to create a conversation profile for.
Format: projects/<Project ID>/locations/<Location ID>
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The parent.
|
getParentBytes()
public ByteString getParentBytes()
Required. The project to create a conversation profile for.
Format: projects/<Project ID>/locations/<Location ID>
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for parent.
|
hasConversationProfile()
public boolean hasConversationProfile()
Required. The conversation profile to create.
.google.cloud.dialogflow.v2.ConversationProfile conversation_profile = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the conversationProfile field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeConversationProfile(ConversationProfile value)
public CreateConversationProfileRequest.Builder mergeConversationProfile(ConversationProfile value)
Required. The conversation profile to create.
.google.cloud.dialogflow.v2.ConversationProfile conversation_profile = 2 [(.google.api.field_behavior) = REQUIRED];
mergeFrom(CreateConversationProfileRequest other)
public CreateConversationProfileRequest.Builder mergeFrom(CreateConversationProfileRequest other)
public CreateConversationProfileRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateConversationProfileRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateConversationProfileRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setConversationProfile(ConversationProfile value)
public CreateConversationProfileRequest.Builder setConversationProfile(ConversationProfile value)
Required. The conversation profile to create.
.google.cloud.dialogflow.v2.ConversationProfile conversation_profile = 2 [(.google.api.field_behavior) = REQUIRED];
setConversationProfile(ConversationProfile.Builder builderForValue)
public CreateConversationProfileRequest.Builder setConversationProfile(ConversationProfile.Builder builderForValue)
Required. The conversation profile to create.
.google.cloud.dialogflow.v2.ConversationProfile conversation_profile = 2 [(.google.api.field_behavior) = REQUIRED];
setField(Descriptors.FieldDescriptor field, Object value)
public CreateConversationProfileRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setParent(String value)
public CreateConversationProfileRequest.Builder setParent(String value)
Required. The project to create a conversation profile for.
Format: projects/<Project ID>/locations/<Location 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 CreateConversationProfileRequest.Builder setParentBytes(ByteString value)
Required. The project to create a conversation profile for.
Format: projects/<Project ID>/locations/<Location ID>
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
ByteString
The bytes for parent to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateConversationProfileRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateConversationProfileRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides