Class ConversationDataset (4.49.0)

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

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

INPUT_CONFIG_FIELD_NUMBER

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()
Returns
Type Description
ConversationDataset

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ConversationDataset.Builder newBuilder()
Returns
Type Description
ConversationDataset.Builder

newBuilder(ConversationDataset prototype)

public static ConversationDataset.Builder newBuilder(ConversationDataset prototype)
Parameter
Name Description
prototype ConversationDataset
Returns
Type Description
ConversationDataset.Builder

parseDelimitedFrom(InputStream input)

public static ConversationDataset parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ConversationDataset
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ConversationDataset parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConversationDataset
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ConversationDataset parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ConversationDataset
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ConversationDataset parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConversationDataset
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ConversationDataset parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ConversationDataset
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ConversationDataset parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConversationDataset
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ConversationDataset parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ConversationDataset
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ConversationDataset parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConversationDataset
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ConversationDataset parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ConversationDataset
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ConversationDataset parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConversationDataset
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ConversationDataset parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ConversationDataset
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ConversationDataset parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConversationDataset
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ConversationDataset> parser()
Returns
Type Description
Parser<ConversationDataset>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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];

Returns
Type Description
ConversationInfo

The conversationInfo.

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.

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.

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.

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.

getParserForType()

public Parser<ConversationDataset> getParserForType()
Returns
Type Description
Parser<ConversationDataset>
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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ConversationDataset.Builder newBuilderForType()
Returns
Type Description
ConversationDataset.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ConversationDataset.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ConversationDataset.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ConversationDataset.Builder toBuilder()
Returns
Type Description
ConversationDataset.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException