Class ImportIntentsResponse (0.52.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
TypeDescription
int

INTENTS_FIELD_NUMBER

public static final int INTENTS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ImportIntentsResponse getDefaultInstance()
Returns
TypeDescription
ImportIntentsResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ImportIntentsResponse prototype)

public static ImportIntentsResponse.Builder newBuilder(ImportIntentsResponse prototype)
Parameter
NameDescription
prototypeImportIntentsResponse
Returns
TypeDescription
ImportIntentsResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ImportIntentsResponse getDefaultInstanceForType()
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

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

A list containing the intents.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
boolean

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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