Package com.google.cloud.dialogflow.v2
Class ConversationDataset.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ConversationDataset.Builder>
com.google.cloud.dialogflow.v2.ConversationDataset.Builder
- All Implemented Interfaces:
ConversationDatasetOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ConversationDataset
public static final class ConversationDataset.Builder
extends com.google.protobuf.GeneratedMessage.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-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Output only.Output only.Optional.Required.Output only.Output only.Output only.Output only.longOutput only.Output only.Output only.Output only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Optional.com.google.protobuf.ByteStringOptional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorRequired.com.google.protobuf.ByteStringRequired.Output only.Output only.Output only.getName()Output only.com.google.protobuf.ByteStringOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanOutput only.mergeCreateTime(com.google.protobuf.Timestamp value) Output only.mergeFrom(ConversationDataset other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeInputConfig(InputConfig value) Output only.setConversationCount(long value) Output only.Output only.setConversationInfo(ConversationInfo.Builder builderForValue) Output only.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setDescription(String value) Optional.setDescriptionBytes(com.google.protobuf.ByteString value) Optional.setDisplayName(String value) Required.setDisplayNameBytes(com.google.protobuf.ByteString value) Required.setInputConfig(InputConfig value) Output only.setInputConfig(InputConfig.Builder builderForValue) Output only.Output only.setNameBytes(com.google.protobuf.ByteString value) Output only.setSatisfiesPzi(boolean value) Output only.setSatisfiesPzs(boolean value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ConversationDataset.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ConversationDataset.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ConversationDataset.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ConversationDataset.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ConversationDataset.Builder>
-
mergeFrom
public ConversationDataset.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ConversationDataset.Builder>- Throws:
IOException
-
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];- Specified by:
getNamein interfaceConversationDatasetOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.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];- Specified by:
getNameBytesin interfaceConversationDatasetOrBuilder- Returns:
- The bytes for name.
-
setName
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];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setNameBytes
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];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDisplayName
Required. The display name of the dataset. Maximum of 64 bytes.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDisplayNamein interfaceConversationDatasetOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()Required. The display name of the dataset. Maximum of 64 bytes.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDisplayNameBytesin interfaceConversationDatasetOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
Required. The display name of the dataset. Maximum of 64 bytes.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
Required. The display name of the dataset. Maximum of 64 bytes.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setDisplayNameBytes
Required. The display name of the dataset. Maximum of 64 bytes.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
getDescription
Optional. The description of the dataset. Maximum of 10000 bytes.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDescriptionin interfaceConversationDatasetOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Optional. The description of the dataset. Maximum of 10000 bytes.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDescriptionBytesin interfaceConversationDatasetOrBuilder- Returns:
- The bytes for description.
-
setDescription
Optional. The description of the dataset. Maximum of 10000 bytes.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
Optional. The description of the dataset. Maximum of 10000 bytes.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setDescriptionBytes
Optional. The description of the dataset. Maximum of 10000 bytes.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()Output only. Creation time of this dataset.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceConversationDatasetOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. Creation time of this dataset.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceConversationDatasetOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. Creation time of this dataset.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
public ConversationDataset.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only. Creation time of this dataset.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. Creation time of this dataset.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreateTime
Output only. Creation time of this dataset.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()Output only. Creation time of this dataset.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. Creation time of this dataset.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceConversationDatasetOrBuilder
-
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];- Specified by:
hasInputConfigin interfaceConversationDatasetOrBuilder- Returns:
- Whether the inputConfig field is set.
-
getInputConfig
Output only. Input configurations set during conversation data import.
.google.cloud.dialogflow.v2.InputConfig input_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getInputConfigin interfaceConversationDatasetOrBuilder- Returns:
- The inputConfig.
-
setInputConfig
Output only. Input configurations set during conversation data import.
.google.cloud.dialogflow.v2.InputConfig input_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setInputConfig
Output only. Input configurations set during conversation data import.
.google.cloud.dialogflow.v2.InputConfig input_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeInputConfig
Output only. Input configurations set during conversation data import.
.google.cloud.dialogflow.v2.InputConfig input_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearInputConfig
Output only. Input configurations set during conversation data import.
.google.cloud.dialogflow.v2.InputConfig input_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getInputConfigBuilder
Output only. Input configurations set during conversation data import.
.google.cloud.dialogflow.v2.InputConfig input_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getInputConfigOrBuilder
Output only. Input configurations set during conversation data import.
.google.cloud.dialogflow.v2.InputConfig input_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getInputConfigOrBuilderin interfaceConversationDatasetOrBuilder
-
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];- Specified by:
hasConversationInfoin interfaceConversationDatasetOrBuilder- Returns:
- Whether the conversationInfo field is set.
-
getConversationInfo
Output only. Metadata set during conversation data import.
.google.cloud.dialogflow.v2.ConversationInfo conversation_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getConversationInfoin interfaceConversationDatasetOrBuilder- Returns:
- The conversationInfo.
-
setConversationInfo
Output only. Metadata set during conversation data import.
.google.cloud.dialogflow.v2.ConversationInfo conversation_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setConversationInfo
Output only. Metadata set during conversation data import.
.google.cloud.dialogflow.v2.ConversationInfo conversation_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeConversationInfo
Output only. Metadata set during conversation data import.
.google.cloud.dialogflow.v2.ConversationInfo conversation_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearConversationInfo
Output only. Metadata set during conversation data import.
.google.cloud.dialogflow.v2.ConversationInfo conversation_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getConversationInfoBuilder
Output only. Metadata set during conversation data import.
.google.cloud.dialogflow.v2.ConversationInfo conversation_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getConversationInfoOrBuilder
Output only. Metadata set during conversation data import.
.google.cloud.dialogflow.v2.ConversationInfo conversation_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getConversationInfoOrBuilderin interfaceConversationDatasetOrBuilder
-
getConversationCount
public long getConversationCount()Output only. The number of conversations this conversation dataset contains.
int64 conversation_count = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getConversationCountin interfaceConversationDatasetOrBuilder- Returns:
- The conversationCount.
-
setConversationCount
Output only. The number of conversations this conversation dataset contains.
int64 conversation_count = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The conversationCount to set.- Returns:
- This builder for chaining.
-
clearConversationCount
Output only. The number of conversations this conversation dataset contains.
int64 conversation_count = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasSatisfiesPzi
public boolean hasSatisfiesPzi()Output only. A read only boolean field reflecting Zone Isolation status of the dataset.
optional bool satisfies_pzi = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasSatisfiesPziin interfaceConversationDatasetOrBuilder- Returns:
- Whether the satisfiesPzi field is set.
-
getSatisfiesPzi
public boolean getSatisfiesPzi()Output only. A read only boolean field reflecting Zone Isolation status of the dataset.
optional bool satisfies_pzi = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSatisfiesPziin interfaceConversationDatasetOrBuilder- Returns:
- The satisfiesPzi.
-
setSatisfiesPzi
Output only. A read only boolean field reflecting Zone Isolation status of the dataset.
optional bool satisfies_pzi = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The satisfiesPzi to set.- Returns:
- This builder for chaining.
-
clearSatisfiesPzi
Output only. A read only boolean field reflecting Zone Isolation status of the dataset.
optional bool satisfies_pzi = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasSatisfiesPzs
public boolean hasSatisfiesPzs()Output only. A read only boolean field reflecting Zone Separation status of the dataset.
optional bool satisfies_pzs = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasSatisfiesPzsin interfaceConversationDatasetOrBuilder- Returns:
- Whether the satisfiesPzs field is set.
-
getSatisfiesPzs
public boolean getSatisfiesPzs()Output only. A read only boolean field reflecting Zone Separation status of the dataset.
optional bool satisfies_pzs = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSatisfiesPzsin interfaceConversationDatasetOrBuilder- Returns:
- The satisfiesPzs.
-
setSatisfiesPzs
Output only. A read only boolean field reflecting Zone Separation status of the dataset.
optional bool satisfies_pzs = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The satisfiesPzs to set.- Returns:
- This builder for chaining.
-
clearSatisfiesPzs
Output only. A read only boolean field reflecting Zone Separation status of the dataset.
optional bool satisfies_pzs = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-