Class ImportEntityTypesResponse.ConflictingResources (0.58.0)

public static final class ImportEntityTypesResponse.ConflictingResources extends GeneratedMessageV3 implements ImportEntityTypesResponse.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.v3.ImportEntityTypesResponse.ConflictingResources

Inheritance

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

Static Fields

ENTITY_DISPLAY_NAMES_FIELD_NUMBER

public static final int ENTITY_DISPLAY_NAMES_FIELD_NUMBER
Field Value
Type Description
int

ENTITY_TYPE_DISPLAY_NAMES_FIELD_NUMBER

public static final int ENTITY_TYPE_DISPLAY_NAMES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ImportEntityTypesResponse.ConflictingResources getDefaultInstance()
Returns
Type Description
ImportEntityTypesResponse.ConflictingResources

getDescriptor()

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

newBuilder()

public static ImportEntityTypesResponse.ConflictingResources.Builder newBuilder()
Returns
Type Description
ImportEntityTypesResponse.ConflictingResources.Builder

newBuilder(ImportEntityTypesResponse.ConflictingResources prototype)

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

parseDelimitedFrom(InputStream input)

public static ImportEntityTypesResponse.ConflictingResources parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ImportEntityTypesResponse.ConflictingResources
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static ImportEntityTypesResponse.ConflictingResources parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ImportEntityTypesResponse.ConflictingResources
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static ImportEntityTypesResponse.ConflictingResources parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ImportEntityTypesResponse.ConflictingResources
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static ImportEntityTypesResponse.ConflictingResources parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ImportEntityTypesResponse.ConflictingResources
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static ImportEntityTypesResponse.ConflictingResources parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ImportEntityTypesResponse.ConflictingResources
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<ImportEntityTypesResponse.ConflictingResources> parser()
Returns
Type Description
Parser<ConflictingResources>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ImportEntityTypesResponse.ConflictingResources getDefaultInstanceForType()
Returns
Type Description
ImportEntityTypesResponse.ConflictingResources

getEntityDisplayNames(int index)

public String getEntityDisplayNames(int index)

Display names of conflicting entities.

repeated string entity_display_names = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
int

The count of entityDisplayNames.

getEntityDisplayNamesList()

public ProtocolStringList getEntityDisplayNamesList()

Display names of conflicting entities.

repeated string entity_display_names = 2;

Returns
Type Description
ProtocolStringList

A list containing the entityDisplayNames.

getEntityTypeDisplayNames(int index)

public String getEntityTypeDisplayNames(int index)

Display names of conflicting entity types.

repeated string entity_type_display_names = 1;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The entityTypeDisplayNames at the given index.

getEntityTypeDisplayNamesBytes(int index)

public ByteString getEntityTypeDisplayNamesBytes(int index)

Display names of conflicting entity types.

repeated string entity_type_display_names = 1;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the entityTypeDisplayNames at the given index.

getEntityTypeDisplayNamesCount()

public int getEntityTypeDisplayNamesCount()

Display names of conflicting entity types.

repeated string entity_type_display_names = 1;

Returns
Type Description
int

The count of entityTypeDisplayNames.

getEntityTypeDisplayNamesList()

public ProtocolStringList getEntityTypeDisplayNamesList()

Display names of conflicting entity types.

repeated string entity_type_display_names = 1;

Returns
Type Description
ProtocolStringList

A list containing the entityTypeDisplayNames.

getParserForType()

public Parser<ImportEntityTypesResponse.ConflictingResources> getParserForType()
Returns
Type Description
Parser<ConflictingResources>
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 ImportEntityTypesResponse.ConflictingResources.Builder newBuilderForType()
Returns
Type Description
ImportEntityTypesResponse.ConflictingResources.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public ImportEntityTypesResponse.ConflictingResources.Builder toBuilder()
Returns
Type Description
ImportEntityTypesResponse.ConflictingResources.Builder

writeTo(CodedOutputStream output)

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