public final class ConversationDataset extends GeneratedMessageV3 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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
CONVERSATION_COUNT_FIELD_NUMBER
public static final int CONVERSATION_COUNT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
CONVERSATION_INFO_FIELD_NUMBER
public static final int CONVERSATION_INFO_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int INPUT_CONFIG_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ConversationDataset getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ConversationDataset.Builder newBuilder()
newBuilder(ConversationDataset prototype)
public static ConversationDataset.Builder newBuilder(ConversationDataset prototype)
public static ConversationDataset parseDelimitedFrom(InputStream input)
public static ConversationDataset parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ConversationDataset parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ConversationDataset parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ConversationDataset parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ConversationDataset parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ConversationDataset parseFrom(CodedInputStream input)
public static ConversationDataset parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ConversationDataset parseFrom(InputStream input)
public static ConversationDataset parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ConversationDataset parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ConversationDataset parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ConversationDataset> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
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];
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];
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.
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Creation time of this dataset.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDefaultInstanceForType()
public ConversationDataset getDefaultInstanceForType()
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.
|
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.
|
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];
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];
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.
|
getParserForType()
public Parser<ConversationDataset> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
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.
|
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.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ConversationDataset.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ConversationDataset.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ConversationDataset.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides