Class ImportEntityTypesResponse.Builder (0.64.0)

public static final class ImportEntityTypesResponse.Builder extends GeneratedMessageV3.Builder<ImportEntityTypesResponse.Builder> implements ImportEntityTypesResponseOrBuilder

The response message for EntityTypes.ImportEntityTypes.

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

Static Methods

getDescriptor()

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

Methods

addAllEntityTypes(Iterable<String> values)

public ImportEntityTypesResponse.Builder addAllEntityTypes(Iterable<String> values)

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
values Iterable<String>

The entityTypes to add.

Returns
Type Description
ImportEntityTypesResponse.Builder

This builder for chaining.

addEntityTypes(String value)

public ImportEntityTypesResponse.Builder addEntityTypes(String value)

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
value String

The entityTypes to add.

Returns
Type Description
ImportEntityTypesResponse.Builder

This builder for chaining.

addEntityTypesBytes(ByteString value)

public ImportEntityTypesResponse.Builder addEntityTypesBytes(ByteString value)

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
value ByteString

The bytes of the entityTypes to add.

Returns
Type Description
ImportEntityTypesResponse.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ImportEntityTypesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ImportEntityTypesResponse.Builder
Overrides

build()

public ImportEntityTypesResponse build()
Returns
Type Description
ImportEntityTypesResponse

buildPartial()

public ImportEntityTypesResponse buildPartial()
Returns
Type Description
ImportEntityTypesResponse

clear()

public ImportEntityTypesResponse.Builder clear()
Returns
Type Description
ImportEntityTypesResponse.Builder
Overrides

clearConflictingResources()

public ImportEntityTypesResponse.Builder clearConflictingResources()

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

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

Returns
Type Description
ImportEntityTypesResponse.Builder

clearEntityTypes()

public ImportEntityTypesResponse.Builder clearEntityTypes()

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
ImportEntityTypesResponse.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ImportEntityTypesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ImportEntityTypesResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ImportEntityTypesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ImportEntityTypesResponse.Builder
Overrides

clone()

public ImportEntityTypesResponse.Builder clone()
Returns
Type Description
ImportEntityTypesResponse.Builder
Overrides

getConflictingResources()

public ImportEntityTypesResponse.ConflictingResources getConflictingResources()

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

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

Returns
Type Description
ImportEntityTypesResponse.ConflictingResources

The conflictingResources.

getConflictingResourcesBuilder()

public ImportEntityTypesResponse.ConflictingResources.Builder getConflictingResourcesBuilder()

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

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

Returns
Type Description
ImportEntityTypesResponse.ConflictingResources.Builder

getConflictingResourcesOrBuilder()

public ImportEntityTypesResponse.ConflictingResourcesOrBuilder getConflictingResourcesOrBuilder()

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

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

Returns
Type Description
ImportEntityTypesResponse.ConflictingResourcesOrBuilder

getDefaultInstanceForType()

public ImportEntityTypesResponse getDefaultInstanceForType()
Returns
Type Description
ImportEntityTypesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

hasConflictingResources()

public boolean hasConflictingResources()

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

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

Returns
Type Description
boolean

Whether the conflictingResources field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeConflictingResources(ImportEntityTypesResponse.ConflictingResources value)

public ImportEntityTypesResponse.Builder mergeConflictingResources(ImportEntityTypesResponse.ConflictingResources value)

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

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

Parameter
Name Description
value ImportEntityTypesResponse.ConflictingResources
Returns
Type Description
ImportEntityTypesResponse.Builder

mergeFrom(ImportEntityTypesResponse other)

public ImportEntityTypesResponse.Builder mergeFrom(ImportEntityTypesResponse other)
Parameter
Name Description
other ImportEntityTypesResponse
Returns
Type Description
ImportEntityTypesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ImportEntityTypesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportEntityTypesResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ImportEntityTypesResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ImportEntityTypesResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ImportEntityTypesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ImportEntityTypesResponse.Builder
Overrides

setConflictingResources(ImportEntityTypesResponse.ConflictingResources value)

public ImportEntityTypesResponse.Builder setConflictingResources(ImportEntityTypesResponse.ConflictingResources value)

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

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

Parameter
Name Description
value ImportEntityTypesResponse.ConflictingResources
Returns
Type Description
ImportEntityTypesResponse.Builder

setConflictingResources(ImportEntityTypesResponse.ConflictingResources.Builder builderForValue)

public ImportEntityTypesResponse.Builder setConflictingResources(ImportEntityTypesResponse.ConflictingResources.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue ImportEntityTypesResponse.ConflictingResources.Builder
Returns
Type Description
ImportEntityTypesResponse.Builder

setEntityTypes(int index, String value)

public ImportEntityTypesResponse.Builder setEntityTypes(int index, String value)

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) = { ... }

Parameters
Name Description
index int

The index to set the value at.

value String

The entityTypes to set.

Returns
Type Description
ImportEntityTypesResponse.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ImportEntityTypesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ImportEntityTypesResponse.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ImportEntityTypesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ImportEntityTypesResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ImportEntityTypesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ImportEntityTypesResponse.Builder
Overrides