Class ImportConversationDataOperationResponse (4.6.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
TypeDescription
int

IMPORT_COUNT_FIELD_NUMBER

public static final int IMPORT_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ImportConversationDataOperationResponse getDefaultInstance()
Returns
TypeDescription
ImportConversationDataOperationResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ImportConversationDataOperationResponse prototype)

public static ImportConversationDataOperationResponse.Builder newBuilder(ImportConversationDataOperationResponse prototype)
Parameter
NameDescription
prototypeImportConversationDataOperationResponse
Returns
TypeDescription
ImportConversationDataOperationResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

The bytes for conversationDataset.

getDefaultInstanceForType()

public ImportConversationDataOperationResponse getDefaultInstanceForType()
Returns
TypeDescription
ImportConversationDataOperationResponse

getImportCount()

public int getImportCount()

Number of conversations imported successfully.

int32 import_count = 3;

Returns
TypeDescription
int

The importCount.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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