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
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<ConversationDataset.Builder>
public ConversationDataset.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<ConversationDataset.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<ConversationDataset.Builder>
public ConversationDataset getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public ConversationDataset build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public ConversationDataset buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public ConversationDataset.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<ConversationDataset.Builder>
public ConversationDataset.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<ConversationDataset.Builder>
public ConversationDataset.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<ConversationDataset.Builder>
public ConversationDataset.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<ConversationDataset.Builder>
public ConversationDataset.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<ConversationDataset.Builder>
public ConversationDataset.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<ConversationDataset.Builder>
public ConversationDataset.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<ConversationDataset.Builder>
public ConversationDataset.Builder mergeFrom(ConversationDataset other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<ConversationDataset.Builder>
public ConversationDataset.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<ConversationDataset.Builder>
IOException
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];
getName
in interface ConversationDatasetOrBuilder
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];
getNameBytes
in interface ConversationDatasetOrBuilder
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];
value
- The name to set.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];
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];
value
- The bytes for name to set.public String getDisplayName()
Required. The display name of the dataset. Maximum of 64 bytes.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
getDisplayName
in interface ConversationDatasetOrBuilder
public ByteString getDisplayNameBytes()
Required. The display name of the dataset. Maximum of 64 bytes.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
getDisplayNameBytes
in interface ConversationDatasetOrBuilder
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];
value
- The displayName to set.public ConversationDataset.Builder clearDisplayName()
Required. The display name of the dataset. Maximum of 64 bytes.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
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];
value
- The bytes for displayName to set.public String getDescription()
Optional. The description of the dataset. Maximum of 10000 bytes.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
getDescription
in interface ConversationDatasetOrBuilder
public ByteString getDescriptionBytes()
Optional. The description of the dataset. Maximum of 10000 bytes.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
getDescriptionBytes
in interface ConversationDatasetOrBuilder
public ConversationDataset.Builder setDescription(String value)
Optional. The description of the dataset. Maximum of 10000 bytes.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
value
- The description to set.public ConversationDataset.Builder clearDescription()
Optional. The description of the dataset. Maximum of 10000 bytes.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
public ConversationDataset.Builder setDescriptionBytes(ByteString value)
Optional. The description of the dataset. Maximum of 10000 bytes.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
value
- The bytes for description to set.public boolean hasCreateTime()
Output only. Creation time of this dataset.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime
in interface ConversationDatasetOrBuilder
public Timestamp getCreateTime()
Output only. Creation time of this dataset.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime
in interface ConversationDatasetOrBuilder
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];
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];
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];
public ConversationDataset.Builder clearCreateTime()
Output only. Creation time of this dataset.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Timestamp.Builder getCreateTimeBuilder()
Output only. Creation time of this dataset.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Creation time of this dataset.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder
in interface ConversationDatasetOrBuilder
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];
hasInputConfig
in interface ConversationDatasetOrBuilder
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];
getInputConfig
in interface ConversationDatasetOrBuilder
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];
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];
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];
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];
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];
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];
getInputConfigOrBuilder
in interface ConversationDatasetOrBuilder
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];
hasConversationInfo
in interface ConversationDatasetOrBuilder
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];
getConversationInfo
in interface ConversationDatasetOrBuilder
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];
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];
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];
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];
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];
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];
getConversationInfoOrBuilder
in interface ConversationDatasetOrBuilder
public long getConversationCount()
Output only. The number of conversations this conversation dataset contains.
int64 conversation_count = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getConversationCount
in interface ConversationDatasetOrBuilder
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];
value
- The conversationCount to set.public ConversationDataset.Builder clearConversationCount()
Output only. The number of conversations this conversation dataset contains.
int64 conversation_count = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public final ConversationDataset.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<ConversationDataset.Builder>
public final ConversationDataset.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<ConversationDataset.Builder>
Copyright © 2022 Google LLC. All rights reserved.