Class ImportEntityTypesResponse (0.58.0)

public final class ImportEntityTypesResponse extends GeneratedMessageV3 implements ImportEntityTypesResponseOrBuilder

The response message for EntityTypes.ImportEntityTypes.

Protobuf type google.cloud.dialogflow.cx.v3.ImportEntityTypesResponse

Static Fields

CONFLICTING_RESOURCES_FIELD_NUMBER

public static final int CONFLICTING_RESOURCES_FIELD_NUMBER
Field Value
Type Description
int

ENTITY_TYPES_FIELD_NUMBER

public static final int ENTITY_TYPES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ImportEntityTypesResponse getDefaultInstance()
Returns
Type Description
ImportEntityTypesResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ImportEntityTypesResponse prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getConflictingResources()

public ImportEntityTypesResponse.ConflictingResources getConflictingResources()

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

.google.cloud.dialogflow.cx.v3.ImportEntityTypesResponse.ConflictingResources conflicting_resources = 2;

Returns
Type Description
ImportEntityTypesResponse.ConflictingResources

The conflictingResources.

getConflictingResourcesOrBuilder()

public ImportEntityTypesResponse.ConflictingResourcesOrBuilder getConflictingResourcesOrBuilder()

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

.google.cloud.dialogflow.cx.v3.ImportEntityTypesResponse.ConflictingResources conflicting_resources = 2;

Returns
Type Description
ImportEntityTypesResponse.ConflictingResourcesOrBuilder

getDefaultInstanceForType()

public ImportEntityTypesResponse getDefaultInstanceForType()
Returns
Type Description
ImportEntityTypesResponse

getEntityTypes(int index)

public String getEntityTypes(int index)

The unique identifier of the imported entity types. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/entity_types/<EntityType ID>.

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

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The entityTypes at the given index.

getEntityTypesBytes(int index)

public ByteString getEntityTypesBytes(int index)

The unique identifier of the imported entity types. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/entity_types/<EntityType ID>.

repeated string entity_types = 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 entityTypes at the given index.

getEntityTypesCount()

public int getEntityTypesCount()

The unique identifier of the imported entity types. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/entity_types/<EntityType ID>.

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

Returns
Type Description
int

The count of entityTypes.

getEntityTypesList()

public ProtocolStringList getEntityTypesList()

The unique identifier of the imported entity types. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/entity_types/<EntityType ID>.

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

Returns
Type Description
ProtocolStringList

A list containing the entityTypes.

getParserForType()

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

.google.cloud.dialogflow.cx.v3.ImportEntityTypesResponse.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 ImportEntityTypesResponse.Builder newBuilderForType()
Returns
Type Description
ImportEntityTypesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ImportEntityTypesResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ImportEntityTypesResponse.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.Builder toBuilder()
Returns
Type Description
ImportEntityTypesResponse.Builder

writeTo(CodedOutputStream output)

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