Class ConversationDataset (4.7.2)

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
TypeDescription
int

CONVERSATION_INFO_FIELD_NUMBER

public static final int CONVERSATION_INFO_FIELD_NUMBER
Field Value
TypeDescription
int

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
TypeDescription
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

INPUT_CONFIG_FIELD_NUMBER

public static final int INPUT_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ConversationDataset getDefaultInstance()
Returns
TypeDescription
ConversationDataset

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ConversationDataset.Builder newBuilder()
Returns
TypeDescription
ConversationDataset.Builder

newBuilder(ConversationDataset prototype)

public static ConversationDataset.Builder newBuilder(ConversationDataset prototype)
Parameter
NameDescription
prototypeConversationDataset
Returns
TypeDescription
ConversationDataset.Builder

parseDelimitedFrom(InputStream input)

public static ConversationDataset parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ConversationDataset
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ConversationDataset parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConversationDataset
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ConversationDataset parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ConversationDataset
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ConversationDataset parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConversationDataset
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ConversationDataset parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ConversationDataset
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ConversationDataset parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConversationDataset
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ConversationDataset parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ConversationDataset
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ConversationDataset parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConversationDataset
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ConversationDataset parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ConversationDataset
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ConversationDataset parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConversationDataset
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ConversationDataset parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ConversationDataset
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ConversationDataset parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConversationDataset
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ConversationDataset> parser()
Returns
TypeDescription
Parser<ConversationDataset>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public ConversationDataset getDefaultInstanceForType()
Returns
TypeDescription
ConversationDataset

getDescription()

public String getDescription()

Optional. The description of the dataset. Maximum of 10000 bytes.

string description = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for name.

getParserForType()

public Parser<ConversationDataset> getParserForType()
Returns
TypeDescription
Parser<ConversationDataset>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the inputConfig field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ConversationDataset.Builder newBuilderForType()
Returns
TypeDescription
ConversationDataset.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ConversationDataset.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ConversationDataset.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ConversationDataset.Builder toBuilder()
Returns
TypeDescription
ConversationDataset.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException