Class ImportIntentsResponse.ConflictingResources (0.52.0)

public static final class ImportIntentsResponse.ConflictingResources extends GeneratedMessageV3 implements ImportIntentsResponse.ConflictingResourcesOrBuilder

Conflicting resources detected during the import process. Only filled when REPORT_CONFLICT is set in the request and there are conflicts in the display names.

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ImportIntentsResponse.ConflictingResources

Static Fields

ENTITY_DISPLAY_NAMES_FIELD_NUMBER

public static final int ENTITY_DISPLAY_NAMES_FIELD_NUMBER
Field Value
TypeDescription
int

INTENT_DISPLAY_NAMES_FIELD_NUMBER

public static final int INTENT_DISPLAY_NAMES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ImportIntentsResponse.ConflictingResources getDefaultInstance()
Returns
TypeDescription
ImportIntentsResponse.ConflictingResources

getDescriptor()

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

newBuilder()

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

newBuilder(ImportIntentsResponse.ConflictingResources prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ImportIntentsResponse.ConflictingResources getDefaultInstanceForType()
Returns
TypeDescription
ImportIntentsResponse.ConflictingResources

getEntityDisplayNames(int index)

public String getEntityDisplayNames(int index)

Display names of conflicting entities.

repeated string entity_display_names = 2;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The entityDisplayNames at the given index.

getEntityDisplayNamesBytes(int index)

public ByteString getEntityDisplayNamesBytes(int index)

Display names of conflicting entities.

repeated string entity_display_names = 2;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the entityDisplayNames at the given index.

getEntityDisplayNamesCount()

public int getEntityDisplayNamesCount()

Display names of conflicting entities.

repeated string entity_display_names = 2;

Returns
TypeDescription
int

The count of entityDisplayNames.

getEntityDisplayNamesList()

public ProtocolStringList getEntityDisplayNamesList()

Display names of conflicting entities.

repeated string entity_display_names = 2;

Returns
TypeDescription
ProtocolStringList

A list containing the entityDisplayNames.

getIntentDisplayNames(int index)

public String getIntentDisplayNames(int index)

Display names of conflicting intents.

repeated string intent_display_names = 1;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The intentDisplayNames at the given index.

getIntentDisplayNamesBytes(int index)

public ByteString getIntentDisplayNamesBytes(int index)

Display names of conflicting intents.

repeated string intent_display_names = 1;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the intentDisplayNames at the given index.

getIntentDisplayNamesCount()

public int getIntentDisplayNamesCount()

Display names of conflicting intents.

repeated string intent_display_names = 1;

Returns
TypeDescription
int

The count of intentDisplayNames.

getIntentDisplayNamesList()

public ProtocolStringList getIntentDisplayNamesList()

Display names of conflicting intents.

repeated string intent_display_names = 1;

Returns
TypeDescription
ProtocolStringList

A list containing the intentDisplayNames.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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 ImportIntentsResponse.ConflictingResources.Builder newBuilderForType()
Returns
TypeDescription
ImportIntentsResponse.ConflictingResources.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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