Class ImportEntityTypesResponse.ConflictingResources.Builder (0.57.0)

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

Inheritance

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

Static Methods

getDescriptor()

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

Methods

addAllEntityDisplayNames(Iterable<String> values)

public ImportEntityTypesResponse.ConflictingResources.Builder addAllEntityDisplayNames(Iterable<String> values)

Display names of conflicting entities.

repeated string entity_display_names = 2;

Parameter
Name Description
values Iterable<String>

The entityDisplayNames to add.

Returns
Type Description
ImportEntityTypesResponse.ConflictingResources.Builder

This builder for chaining.

addAllEntityTypeDisplayNames(Iterable<String> values)

public ImportEntityTypesResponse.ConflictingResources.Builder addAllEntityTypeDisplayNames(Iterable<String> values)

Display names of conflicting entity types.

repeated string entity_type_display_names = 1;

Parameter
Name Description
values Iterable<String>

The entityTypeDisplayNames to add.

Returns
Type Description
ImportEntityTypesResponse.ConflictingResources.Builder

This builder for chaining.

addEntityDisplayNames(String value)

public ImportEntityTypesResponse.ConflictingResources.Builder addEntityDisplayNames(String value)

Display names of conflicting entities.

repeated string entity_display_names = 2;

Parameter
Name Description
value String

The entityDisplayNames to add.

Returns
Type Description
ImportEntityTypesResponse.ConflictingResources.Builder

This builder for chaining.

addEntityDisplayNamesBytes(ByteString value)

public ImportEntityTypesResponse.ConflictingResources.Builder addEntityDisplayNamesBytes(ByteString value)

Display names of conflicting entities.

repeated string entity_display_names = 2;

Parameter
Name Description
value ByteString

The bytes of the entityDisplayNames to add.

Returns
Type Description
ImportEntityTypesResponse.ConflictingResources.Builder

This builder for chaining.

addEntityTypeDisplayNames(String value)

public ImportEntityTypesResponse.ConflictingResources.Builder addEntityTypeDisplayNames(String value)

Display names of conflicting entity types.

repeated string entity_type_display_names = 1;

Parameter
Name Description
value String

The entityTypeDisplayNames to add.

Returns
Type Description
ImportEntityTypesResponse.ConflictingResources.Builder

This builder for chaining.

addEntityTypeDisplayNamesBytes(ByteString value)

public ImportEntityTypesResponse.ConflictingResources.Builder addEntityTypeDisplayNamesBytes(ByteString value)

Display names of conflicting entity types.

repeated string entity_type_display_names = 1;

Parameter
Name Description
value ByteString

The bytes of the entityTypeDisplayNames to add.

Returns
Type Description
ImportEntityTypesResponse.ConflictingResources.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearEntityDisplayNames()

public ImportEntityTypesResponse.ConflictingResources.Builder clearEntityDisplayNames()

Display names of conflicting entities.

repeated string entity_display_names = 2;

Returns
Type Description
ImportEntityTypesResponse.ConflictingResources.Builder

This builder for chaining.

clearEntityTypeDisplayNames()

public ImportEntityTypesResponse.ConflictingResources.Builder clearEntityTypeDisplayNames()

Display names of conflicting entity types.

repeated string entity_type_display_names = 1;

Returns
Type Description
ImportEntityTypesResponse.ConflictingResources.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

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

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ImportEntityTypesResponse.ConflictingResources other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEntityDisplayNames(int index, String value)

public ImportEntityTypesResponse.ConflictingResources.Builder setEntityDisplayNames(int index, String value)

Display names of conflicting entities.

repeated string entity_display_names = 2;

Parameters
Name Description
index int

The index to set the value at.

value String

The entityDisplayNames to set.

Returns
Type Description
ImportEntityTypesResponse.ConflictingResources.Builder

This builder for chaining.

setEntityTypeDisplayNames(int index, String value)

public ImportEntityTypesResponse.ConflictingResources.Builder setEntityTypeDisplayNames(int index, String value)

Display names of conflicting entity types.

repeated string entity_type_display_names = 1;

Parameters
Name Description
index int

The index to set the value at.

value String

The entityTypeDisplayNames to set.

Returns
Type Description
ImportEntityTypesResponse.ConflictingResources.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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