Send feedback
Class CreateConversationDatasetRequest.Builder (4.8.6)
Stay organized with collections
Save and categorize content based on your preferences.
Version 4.8.6 keyboard_arrow_down
public static final class CreateConversationDatasetRequest . Builder extends GeneratedMessageV3 . Builder<CreateConversationDatasetRequest . Builder > implements CreateConversationDatasetRequestOrBuilder
The request message for
ConversationDatasets.CreateConversationDataset .
Protobuf type google.cloud.dialogflow.v2.CreateConversationDatasetRequest
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateConversationDatasetRequest . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public CreateConversationDatasetRequest build ()
Returns
buildPartial()
public CreateConversationDatasetRequest buildPartial ()
Returns
clear()
public CreateConversationDatasetRequest . Builder clear ()
Returns
Overrides
clearConversationDataset()
public CreateConversationDatasetRequest . Builder clearConversationDataset ()
Required. The conversation dataset to create.
.google.cloud.dialogflow.v2.ConversationDataset conversation_dataset = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
clearField(Descriptors.FieldDescriptor field)
public CreateConversationDatasetRequest . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateConversationDatasetRequest . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clearParent()
public CreateConversationDatasetRequest . Builder clearParent ()
Required. The project to create conversation dataset for. Format:
projects/<Project ID>/locations/<Location ID>
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clone()
public CreateConversationDatasetRequest . Builder clone ()
Returns
Overrides
getConversationDataset()
public ConversationDataset getConversationDataset ()
Required. The conversation dataset to create.
.google.cloud.dialogflow.v2.ConversationDataset conversation_dataset = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getConversationDatasetBuilder()
public ConversationDataset . Builder getConversationDatasetBuilder ()
Required. The conversation dataset to create.
.google.cloud.dialogflow.v2.ConversationDataset conversation_dataset = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getConversationDatasetOrBuilder()
public ConversationDatasetOrBuilder getConversationDatasetOrBuilder ()
Required. The conversation dataset to create.
.google.cloud.dialogflow.v2.ConversationDataset conversation_dataset = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getDefaultInstanceForType()
public CreateConversationDatasetRequest getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
getParent()
public String getParent ()
Required. The project to create conversation dataset for. Format:
projects/<Project ID>/locations/<Location ID>
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
String
The parent.
getParentBytes()
public ByteString getParentBytes ()
Required. The project to create conversation dataset for. Format:
projects/<Project ID>/locations/<Location ID>
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
hasConversationDataset()
public boolean hasConversationDataset ()
Required. The conversation dataset to create.
.google.cloud.dialogflow.v2.ConversationDataset conversation_dataset = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
boolean
Whether the conversationDataset field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeConversationDataset(ConversationDataset value)
public CreateConversationDatasetRequest . Builder mergeConversationDataset ( ConversationDataset value )
Required. The conversation dataset to create.
.google.cloud.dialogflow.v2.ConversationDataset conversation_dataset = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeFrom(CreateConversationDatasetRequest other)
public CreateConversationDatasetRequest . Builder mergeFrom ( CreateConversationDatasetRequest other )
Parameter
Returns
public CreateConversationDatasetRequest . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CreateConversationDatasetRequest . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateConversationDatasetRequest . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setConversationDataset(ConversationDataset value)
public CreateConversationDatasetRequest . Builder setConversationDataset ( ConversationDataset value )
Required. The conversation dataset to create.
.google.cloud.dialogflow.v2.ConversationDataset conversation_dataset = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setConversationDataset(ConversationDataset.Builder builderForValue)
public CreateConversationDatasetRequest . Builder setConversationDataset ( ConversationDataset . Builder builderForValue )
Required. The conversation dataset to create.
.google.cloud.dialogflow.v2.ConversationDataset conversation_dataset = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public CreateConversationDatasetRequest . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setParent(String value)
public CreateConversationDatasetRequest . Builder setParent ( String value )
Required. The project to create conversation dataset for. Format:
projects/<Project ID>/locations/<Location ID>
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name
Description
value
String
The parent to set.
Returns
setParentBytes(ByteString value)
public CreateConversationDatasetRequest . Builder setParentBytes ( ByteString value )
Required. The project to create conversation dataset for. Format:
projects/<Project ID>/locations/<Location ID>
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name
Description
value
ByteString
The bytes for parent to set.
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateConversationDatasetRequest . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateConversationDatasetRequest . 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-28 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-28 UTC."],[],[]]