- 4.58.0 (latest)
- 4.57.0
- 4.55.0
- 4.54.0
- 4.53.0
- 4.52.0
- 4.51.0
- 4.50.0
- 4.49.0
- 4.48.0
- 4.47.0
- 4.46.0
- 4.45.0
- 4.43.0
- 4.42.0
- 4.41.0
- 4.40.0
- 4.39.0
- 4.38.0
- 4.37.0
- 4.36.0
- 4.35.0
- 4.34.0
- 4.33.0
- 4.30.0
- 4.29.0
- 4.28.0
- 4.27.0
- 4.26.0
- 4.25.0
- 4.24.0
- 4.23.0
- 4.22.0
- 4.21.0
- 4.20.0
- 4.19.0
- 4.18.0
- 4.17.0
- 4.15.0
- 4.14.0
- 4.13.0
- 4.12.0
- 4.11.0
- 4.10.0
- 4.9.1
- 4.8.6
- 4.7.5
- 4.6.0
- 4.5.11
- 4.4.0
- 4.3.1
public static final class ConversationDataset.Builder extends GeneratedMessageV3.Builder<ConversationDataset.Builder> implements ConversationDatasetOrBuilder
Represents a conversation dataset that a user imports raw data into. The data inside ConversationDataset can not be changed after ImportConversationData finishes (and calling ImportConversationData on a dataset that already has data is not allowed).
Protobuf type google.cloud.dialogflow.v2.ConversationDataset
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ConversationDataset.BuilderImplements
ConversationDatasetOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ConversationDataset.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ConversationDataset.Builder |
build()
public ConversationDataset build()
Returns | |
---|---|
Type | Description |
ConversationDataset |
buildPartial()
public ConversationDataset buildPartial()
Returns | |
---|---|
Type | Description |
ConversationDataset |
clear()
public ConversationDataset.Builder clear()
Returns | |
---|---|
Type | Description |
ConversationDataset.Builder |
clearConversationCount()
public ConversationDataset.Builder clearConversationCount()
Output only. The number of conversations this conversation dataset contains.
int64 conversation_count = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ConversationDataset.Builder |
This builder for chaining. |
clearConversationInfo()
public ConversationDataset.Builder clearConversationInfo()
Output only. Metadata set during conversation data import.
.google.cloud.dialogflow.v2.ConversationInfo conversation_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ConversationDataset.Builder |
clearCreateTime()
public ConversationDataset.Builder clearCreateTime()
Output only. Creation time of this dataset.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ConversationDataset.Builder |
clearDescription()
public ConversationDataset.Builder clearDescription()
Optional. The description of the dataset. Maximum of 10000 bytes.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ConversationDataset.Builder |
This builder for chaining. |
clearDisplayName()
public ConversationDataset.Builder clearDisplayName()
Required. The display name of the dataset. Maximum of 64 bytes.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ConversationDataset.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ConversationDataset.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ConversationDataset.Builder |
clearInputConfig()
public ConversationDataset.Builder clearInputConfig()
Output only. Input configurations set during conversation data import.
.google.cloud.dialogflow.v2.InputConfig input_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ConversationDataset.Builder |
clearName()
public ConversationDataset.Builder clearName()
Output only. ConversationDataset resource name. Format:
projects/<Project ID>/locations/<Location
ID>/conversationDatasets/<Conversation Dataset ID>
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ConversationDataset.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ConversationDataset.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ConversationDataset.Builder |
clone()
public ConversationDataset.Builder clone()
Returns | |
---|---|
Type | Description |
ConversationDataset.Builder |
getConversationCount()
public long getConversationCount()
Output only. The number of conversations this conversation dataset contains.
int64 conversation_count = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
long |
The conversationCount. |
getConversationInfo()
public ConversationInfo getConversationInfo()
Output only. Metadata set during conversation data import.
.google.cloud.dialogflow.v2.ConversationInfo conversation_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ConversationInfo |
The conversationInfo. |
getConversationInfoBuilder()
public ConversationInfo.Builder getConversationInfoBuilder()
Output only. Metadata set during conversation data import.
.google.cloud.dialogflow.v2.ConversationInfo conversation_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ConversationInfo.Builder |
getConversationInfoOrBuilder()
public ConversationInfoOrBuilder getConversationInfoOrBuilder()
Output only. Metadata set during conversation data import.
.google.cloud.dialogflow.v2.ConversationInfo conversation_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ConversationInfoOrBuilder |
getCreateTime()
public Timestamp getCreateTime()
Output only. Creation time of this dataset.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. Creation time of this dataset.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Creation time of this dataset.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public ConversationDataset getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ConversationDataset |
getDescription()
public String getDescription()
Optional. The description of the dataset. Maximum of 10000 bytes.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
Optional. The description of the dataset. Maximum of 10000 bytes.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDisplayName()
public String getDisplayName()
Required. The display name of the dataset. Maximum of 64 bytes.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Required. The display name of the dataset. Maximum of 64 bytes.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for displayName. |
getInputConfig()
public InputConfig getInputConfig()
Output only. Input configurations set during conversation data import.
.google.cloud.dialogflow.v2.InputConfig input_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
InputConfig |
The inputConfig. |
getInputConfigBuilder()
public InputConfig.Builder getInputConfigBuilder()
Output only. Input configurations set during conversation data import.
.google.cloud.dialogflow.v2.InputConfig input_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
InputConfig.Builder |
getInputConfigOrBuilder()
public InputConfigOrBuilder getInputConfigOrBuilder()
Output only. Input configurations set during conversation data import.
.google.cloud.dialogflow.v2.InputConfig input_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
InputConfigOrBuilder |
getName()
public String getName()
Output only. ConversationDataset resource name. Format:
projects/<Project ID>/locations/<Location
ID>/conversationDatasets/<Conversation Dataset ID>
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()
Output only. ConversationDataset resource name. Format:
projects/<Project ID>/locations/<Location
ID>/conversationDatasets/<Conversation Dataset ID>
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
hasConversationInfo()
public boolean hasConversationInfo()
Output only. Metadata set during conversation data import.
.google.cloud.dialogflow.v2.ConversationInfo conversation_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the conversationInfo field is set. |
hasCreateTime()
public boolean hasCreateTime()
Output only. Creation time of this dataset.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the createTime field is set. |
hasInputConfig()
public boolean hasInputConfig()
Output only. Input configurations set during conversation data import.
.google.cloud.dialogflow.v2.InputConfig input_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the inputConfig field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeConversationInfo(ConversationInfo value)
public ConversationDataset.Builder mergeConversationInfo(ConversationInfo value)
Output only. Metadata set during conversation data import.
.google.cloud.dialogflow.v2.ConversationInfo conversation_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ConversationInfo |
Returns | |
---|---|
Type | Description |
ConversationDataset.Builder |
mergeCreateTime(Timestamp value)
public ConversationDataset.Builder mergeCreateTime(Timestamp value)
Output only. Creation time of this dataset.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
ConversationDataset.Builder |
mergeFrom(ConversationDataset other)
public ConversationDataset.Builder mergeFrom(ConversationDataset other)
Parameter | |
---|---|
Name | Description |
other |
ConversationDataset |
Returns | |
---|---|
Type | Description |
ConversationDataset.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ConversationDataset.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ConversationDataset.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ConversationDataset.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ConversationDataset.Builder |
mergeInputConfig(InputConfig value)
public ConversationDataset.Builder mergeInputConfig(InputConfig value)
Output only. Input configurations set during conversation data import.
.google.cloud.dialogflow.v2.InputConfig input_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
InputConfig |
Returns | |
---|---|
Type | Description |
ConversationDataset.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ConversationDataset.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ConversationDataset.Builder |
setConversationCount(long value)
public ConversationDataset.Builder setConversationCount(long value)
Output only. The number of conversations this conversation dataset contains.
int64 conversation_count = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
long The conversationCount to set. |
Returns | |
---|---|
Type | Description |
ConversationDataset.Builder |
This builder for chaining. |
setConversationInfo(ConversationInfo value)
public ConversationDataset.Builder setConversationInfo(ConversationInfo value)
Output only. Metadata set during conversation data import.
.google.cloud.dialogflow.v2.ConversationInfo conversation_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ConversationInfo |
Returns | |
---|---|
Type | Description |
ConversationDataset.Builder |
setConversationInfo(ConversationInfo.Builder builderForValue)
public ConversationDataset.Builder setConversationInfo(ConversationInfo.Builder builderForValue)
Output only. Metadata set during conversation data import.
.google.cloud.dialogflow.v2.ConversationInfo conversation_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
ConversationInfo.Builder |
Returns | |
---|---|
Type | Description |
ConversationDataset.Builder |
setCreateTime(Timestamp value)
public ConversationDataset.Builder setCreateTime(Timestamp value)
Output only. Creation time of this dataset.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
ConversationDataset.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public ConversationDataset.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. Creation time of this dataset.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
ConversationDataset.Builder |
setDescription(String value)
public ConversationDataset.Builder setDescription(String value)
Optional. The description of the dataset. Maximum of 10000 bytes.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The description to set. |
Returns | |
---|---|
Type | Description |
ConversationDataset.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public ConversationDataset.Builder setDescriptionBytes(ByteString value)
Optional. The description of the dataset. Maximum of 10000 bytes.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for description to set. |
Returns | |
---|---|
Type | Description |
ConversationDataset.Builder |
This builder for chaining. |
setDisplayName(String value)
public ConversationDataset.Builder setDisplayName(String value)
Required. The display name of the dataset. Maximum of 64 bytes.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The displayName to set. |
Returns | |
---|---|
Type | Description |
ConversationDataset.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public ConversationDataset.Builder setDisplayNameBytes(ByteString value)
Required. The display name of the dataset. Maximum of 64 bytes.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for displayName to set. |
Returns | |
---|---|
Type | Description |
ConversationDataset.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ConversationDataset.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ConversationDataset.Builder |
setInputConfig(InputConfig value)
public ConversationDataset.Builder setInputConfig(InputConfig value)
Output only. Input configurations set during conversation data import.
.google.cloud.dialogflow.v2.InputConfig input_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
InputConfig |
Returns | |
---|---|
Type | Description |
ConversationDataset.Builder |
setInputConfig(InputConfig.Builder builderForValue)
public ConversationDataset.Builder setInputConfig(InputConfig.Builder builderForValue)
Output only. Input configurations set during conversation data import.
.google.cloud.dialogflow.v2.InputConfig input_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
InputConfig.Builder |
Returns | |
---|---|
Type | Description |
ConversationDataset.Builder |
setName(String value)
public ConversationDataset.Builder setName(String value)
Output only. ConversationDataset resource name. Format:
projects/<Project ID>/locations/<Location
ID>/conversationDatasets/<Conversation Dataset ID>
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
ConversationDataset.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public ConversationDataset.Builder setNameBytes(ByteString value)
Output only. ConversationDataset resource name. Format:
projects/<Project ID>/locations/<Location
ID>/conversationDatasets/<Conversation Dataset ID>
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
ConversationDataset.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ConversationDataset.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ConversationDataset.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ConversationDataset.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ConversationDataset.Builder |