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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateConversationProfileRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CreateConversationProfileRequest build()
Returns
buildPartial()
public CreateConversationProfileRequest buildPartial()
Returns
clear()
public CreateConversationProfileRequest.Builder clear()
Returns
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];
Returns
clearField(Descriptors.FieldDescriptor field)
public CreateConversationProfileRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateConversationProfileRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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) = { ... }
Returns
clone()
public CreateConversationProfileRequest.Builder clone()
Returns
Overrides
getConversationProfile()
public ConversationProfile getConversationProfile()
Required. The conversation profile to create.
.google.cloud.dialogflow.v2.ConversationProfile conversation_profile = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getConversationProfileBuilder()
public ConversationProfile.Builder getConversationProfileBuilder()
Required. The conversation profile to create.
.google.cloud.dialogflow.v2.ConversationProfile conversation_profile = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getConversationProfileOrBuilder()
public ConversationProfileOrBuilder getConversationProfileOrBuilder()
Required. The conversation profile to create.
.google.cloud.dialogflow.v2.ConversationProfile conversation_profile = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getDefaultInstanceForType()
public CreateConversationProfileRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
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];
Parameter
Returns
mergeFrom(CreateConversationProfileRequest other)
public CreateConversationProfileRequest.Builder mergeFrom(CreateConversationProfileRequest other)
Parameter
Returns
public CreateConversationProfileRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CreateConversationProfileRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateConversationProfileRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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];
Parameter
Returns
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];
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public CreateConversationProfileRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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.
|
Returns
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.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateConversationProfileRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateConversationProfileRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides