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