Class ImportEntityTypesResponse.Builder (0.52.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
TypeDescription
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
NameDescription
valuesIterable<String>

The entityTypes to add.

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

The entityTypes to add.

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

The bytes of the entityTypes to add.

Returns
TypeDescription
ImportEntityTypesResponse.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ImportEntityTypesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ImportEntityTypesResponse.Builder
Overrides

build()

public ImportEntityTypesResponse build()
Returns
TypeDescription
ImportEntityTypesResponse

buildPartial()

public ImportEntityTypesResponse buildPartial()
Returns
TypeDescription
ImportEntityTypesResponse

clear()

public ImportEntityTypesResponse.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ImportEntityTypesResponse.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ImportEntityTypesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ImportEntityTypesResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ImportEntityTypesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ImportEntityTypesResponse.Builder
Overrides

clone()

public ImportEntityTypesResponse.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ImportEntityTypesResponse.ConflictingResourcesOrBuilder

getDefaultInstanceForType()

public ImportEntityTypesResponse getDefaultInstanceForType()
Returns
TypeDescription
ImportEntityTypesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

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

The index of the value to return.

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

Whether the conflictingResources field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueImportEntityTypesResponse.ConflictingResources
Returns
TypeDescription
ImportEntityTypesResponse.Builder

mergeFrom(ImportEntityTypesResponse other)

public ImportEntityTypesResponse.Builder mergeFrom(ImportEntityTypesResponse other)
Parameter
NameDescription
otherImportEntityTypesResponse
Returns
TypeDescription
ImportEntityTypesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ImportEntityTypesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportEntityTypesResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ImportEntityTypesResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ImportEntityTypesResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ImportEntityTypesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueImportEntityTypesResponse.ConflictingResources
Returns
TypeDescription
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
NameDescription
builderForValueImportEntityTypesResponse.ConflictingResources.Builder
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The entityTypes to set.

Returns
TypeDescription
ImportEntityTypesResponse.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ImportEntityTypesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ImportEntityTypesResponse.Builder
Overrides

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

public ImportEntityTypesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ImportEntityTypesResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ImportEntityTypesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ImportEntityTypesResponse.Builder
Overrides