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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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 CreateConversationDatasetRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateConversationDatasetRequest build()
buildPartial()
public CreateConversationDatasetRequest buildPartial()
clear()
public CreateConversationDatasetRequest.Builder clear()
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];
clearField(Descriptors.FieldDescriptor field)
public CreateConversationDatasetRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateConversationDatasetRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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];
clone()
public CreateConversationDatasetRequest.Builder clone()
Overrides
getConversationDataset()
public ConversationDataset getConversationDataset()
Required. The conversation dataset to create.
.google.cloud.dialogflow.v2.ConversationDataset conversation_dataset = 2 [(.google.api.field_behavior) = REQUIRED];
getConversationDatasetBuilder()
public ConversationDataset.Builder getConversationDatasetBuilder()
Required. The conversation dataset to create.
.google.cloud.dialogflow.v2.ConversationDataset conversation_dataset = 2 [(.google.api.field_behavior) = REQUIRED];
getConversationDatasetOrBuilder()
public ConversationDatasetOrBuilder getConversationDatasetOrBuilder()
Required. The conversation dataset to create.
.google.cloud.dialogflow.v2.ConversationDataset conversation_dataset = 2 [(.google.api.field_behavior) = REQUIRED];
getDefaultInstanceForType()
public CreateConversationDatasetRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
Type |
Description |
ByteString |
The bytes for parent.
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
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];
mergeFrom(CreateConversationDatasetRequest other)
public CreateConversationDatasetRequest.Builder mergeFrom(CreateConversationDatasetRequest other)
public CreateConversationDatasetRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateConversationDatasetRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateConversationDatasetRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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];
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];
setField(Descriptors.FieldDescriptor field, Object value)
public CreateConversationDatasetRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateConversationDatasetRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateConversationDatasetRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides