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
Modifier and Type | Class and Description |
---|---|
static class |
ConversationDataset.Builder
Represents a conversation dataset that a user imports raw data into.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameter
AbstractMessageLite.InternalOneOfEnum
Modifier and Type | Field and Description |
---|---|
static int |
CONVERSATION_COUNT_FIELD_NUMBER |
static int |
CONVERSATION_INFO_FIELD_NUMBER |
static int |
CREATE_TIME_FIELD_NUMBER |
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
DISPLAY_NAME_FIELD_NUMBER |
static int |
INPUT_CONFIG_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
public static final int INPUT_CONFIG_FIELD_NUMBER
public static final int CONVERSATION_INFO_FIELD_NUMBER
public static final int CONVERSATION_COUNT_FIELD_NUMBER
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class GeneratedMessageV3
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
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 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 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 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 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 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 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 final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static ConversationDataset parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ConversationDataset parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ConversationDataset parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ConversationDataset parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ConversationDataset parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ConversationDataset parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ConversationDataset parseFrom(InputStream input) throws IOException
IOException
public static ConversationDataset parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ConversationDataset parseDelimitedFrom(InputStream input) throws IOException
IOException
public static ConversationDataset parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ConversationDataset parseFrom(CodedInputStream input) throws IOException
IOException
public static ConversationDataset parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public ConversationDataset.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static ConversationDataset.Builder newBuilder()
public static ConversationDataset.Builder newBuilder(ConversationDataset prototype)
public ConversationDataset.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected ConversationDataset.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static ConversationDataset getDefaultInstance()
public static Parser<ConversationDataset> parser()
public Parser<ConversationDataset> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public ConversationDataset getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
Copyright © 2022 Google LLC. All rights reserved.