Class ImportIntentsResponse (0.43.0)

public final class ImportIntentsResponse extends GeneratedMessageV3 implements ImportIntentsResponseOrBuilder

The response message for Intents.ImportIntents.

Protobuf type google.cloud.dialogflow.cx.v3beta1.ImportIntentsResponse

Static Fields

CONFLICTING_RESOURCES_FIELD_NUMBER

public static final int CONFLICTING_RESOURCES_FIELD_NUMBER
Field Value
Type Description
int

INTENTS_FIELD_NUMBER

public static final int INTENTS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ImportIntentsResponse getDefaultInstance()
Returns
Type Description
ImportIntentsResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ImportIntentsResponse prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getConflictingResources()

public ImportIntentsResponse.ConflictingResources getConflictingResources()

Info which resources have conflicts when REPORT_CONFLICT merge_option is set in ImportIntentsRequest.

.google.cloud.dialogflow.cx.v3beta1.ImportIntentsResponse.ConflictingResources conflicting_resources = 2;

Returns
Type Description
ImportIntentsResponse.ConflictingResources

The conflictingResources.

getConflictingResourcesOrBuilder()

public ImportIntentsResponse.ConflictingResourcesOrBuilder getConflictingResourcesOrBuilder()

Info which resources have conflicts when REPORT_CONFLICT merge_option is set in ImportIntentsRequest.

.google.cloud.dialogflow.cx.v3beta1.ImportIntentsResponse.ConflictingResources conflicting_resources = 2;

Returns
Type Description
ImportIntentsResponse.ConflictingResourcesOrBuilder

getDefaultInstanceForType()

public ImportIntentsResponse getDefaultInstanceForType()
Returns
Type Description
ImportIntentsResponse

getIntents(int index)

public String getIntents(int index)

The unique identifier of the imported intents. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>.

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

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The intents at the given index.

getIntentsBytes(int index)

public ByteString getIntentsBytes(int index)

The unique identifier of the imported intents. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>.

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

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the intents at the given index.

getIntentsCount()

public int getIntentsCount()

The unique identifier of the imported intents. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>.

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

Returns
Type Description
int

The count of intents.

getIntentsList()

public ProtocolStringList getIntentsList()

The unique identifier of the imported intents. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>.

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

Returns
Type Description
ProtocolStringList

A list containing the intents.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasConflictingResources()

public boolean hasConflictingResources()

Info which resources have conflicts when REPORT_CONFLICT merge_option is set in ImportIntentsRequest.

.google.cloud.dialogflow.cx.v3beta1.ImportIntentsResponse.ConflictingResources conflicting_resources = 2;

Returns
Type Description
boolean

Whether the conflictingResources 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 ImportIntentsResponse.Builder newBuilderForType()
Returns
Type Description
ImportIntentsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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