Class ImportConversationDataOperationResponse (4.59.0)

public final class ImportConversationDataOperationResponse extends GeneratedMessageV3 implements ImportConversationDataOperationResponseOrBuilder

Response used for ConversationDatasets.ImportConversationData long running operation.

Protobuf type google.cloud.dialogflow.v2.ImportConversationDataOperationResponse

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ImportConversationDataOperationResponse

Static Fields

CONVERSATION_DATASET_FIELD_NUMBER

public static final int CONVERSATION_DATASET_FIELD_NUMBER
Field Value
Type Description
int

IMPORT_COUNT_FIELD_NUMBER

public static final int IMPORT_COUNT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ImportConversationDataOperationResponse getDefaultInstance()
Returns
Type Description
ImportConversationDataOperationResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ImportConversationDataOperationResponse prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getConversationDataset()

public String getConversationDataset()

The resource name of the imported conversation dataset. Format: projects/<Project ID>/locations/<Location ID>/conversationDatasets/<Conversation Dataset Id>

string conversation_dataset = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The conversationDataset.

getConversationDatasetBytes()

public ByteString getConversationDatasetBytes()

The resource name of the imported conversation dataset. Format: projects/<Project ID>/locations/<Location ID>/conversationDatasets/<Conversation Dataset Id>

string conversation_dataset = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for conversationDataset.

getDefaultInstanceForType()

public ImportConversationDataOperationResponse getDefaultInstanceForType()
Returns
Type Description
ImportConversationDataOperationResponse

getImportCount()

public int getImportCount()

Number of conversations imported successfully.

int32 import_count = 3;

Returns
Type Description
int

The importCount.

getParserForType()

public Parser<ImportConversationDataOperationResponse> getParserForType()
Returns
Type Description
Parser<ImportConversationDataOperationResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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 ImportConversationDataOperationResponse.Builder newBuilderForType()
Returns
Type Description
ImportConversationDataOperationResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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