Class ImportIntentsResponse.ConflictingResources.Builder (0.54.0)

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

Static Methods

getDescriptor()

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

Methods

addAllEntityDisplayNames(Iterable<String> values)

public ImportIntentsResponse.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
ImportIntentsResponse.ConflictingResources.Builder

This builder for chaining.

addAllIntentDisplayNames(Iterable<String> values)

public ImportIntentsResponse.ConflictingResources.Builder addAllIntentDisplayNames(Iterable<String> values)

Display names of conflicting intents.

repeated string intent_display_names = 1;

Parameter
Name Description
values Iterable<String>

The intentDisplayNames to add.

Returns
Type Description
ImportIntentsResponse.ConflictingResources.Builder

This builder for chaining.

addEntityDisplayNames(String value)

public ImportIntentsResponse.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
ImportIntentsResponse.ConflictingResources.Builder

This builder for chaining.

addEntityDisplayNamesBytes(ByteString value)

public ImportIntentsResponse.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
ImportIntentsResponse.ConflictingResources.Builder

This builder for chaining.

addIntentDisplayNames(String value)

public ImportIntentsResponse.ConflictingResources.Builder addIntentDisplayNames(String value)

Display names of conflicting intents.

repeated string intent_display_names = 1;

Parameter
Name Description
value String

The intentDisplayNames to add.

Returns
Type Description
ImportIntentsResponse.ConflictingResources.Builder

This builder for chaining.

addIntentDisplayNamesBytes(ByteString value)

public ImportIntentsResponse.ConflictingResources.Builder addIntentDisplayNamesBytes(ByteString value)

Display names of conflicting intents.

repeated string intent_display_names = 1;

Parameter
Name Description
value ByteString

The bytes of the intentDisplayNames to add.

Returns
Type Description
ImportIntentsResponse.ConflictingResources.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearEntityDisplayNames()

public ImportIntentsResponse.ConflictingResources.Builder clearEntityDisplayNames()

Display names of conflicting entities.

repeated string entity_display_names = 2;

Returns
Type Description
ImportIntentsResponse.ConflictingResources.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearIntentDisplayNames()

public ImportIntentsResponse.ConflictingResources.Builder clearIntentDisplayNames()

Display names of conflicting intents.

repeated string intent_display_names = 1;

Returns
Type Description
ImportIntentsResponse.ConflictingResources.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ImportIntentsResponse.ConflictingResources getDefaultInstanceForType()
Returns
Type Description
ImportIntentsResponse.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.

getIntentDisplayNames(int index)

public String getIntentDisplayNames(int index)

Display names of conflicting intents.

repeated string intent_display_names = 1;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The intentDisplayNames at the given index.

getIntentDisplayNamesBytes(int index)

public ByteString getIntentDisplayNamesBytes(int index)

Display names of conflicting intents.

repeated string intent_display_names = 1;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the intentDisplayNames at the given index.

getIntentDisplayNamesCount()

public int getIntentDisplayNamesCount()

Display names of conflicting intents.

repeated string intent_display_names = 1;

Returns
Type Description
int

The count of intentDisplayNames.

getIntentDisplayNamesList()

public ProtocolStringList getIntentDisplayNamesList()

Display names of conflicting intents.

repeated string intent_display_names = 1;

Returns
Type Description
ProtocolStringList

A list containing the intentDisplayNames.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ImportIntentsResponse.ConflictingResources other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEntityDisplayNames(int index, String value)

public ImportIntentsResponse.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
ImportIntentsResponse.ConflictingResources.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setIntentDisplayNames(int index, String value)

public ImportIntentsResponse.ConflictingResources.Builder setIntentDisplayNames(int index, String value)

Display names of conflicting intents.

repeated string intent_display_names = 1;

Parameters
Name Description
index int

The index to set the value at.

value String

The intentDisplayNames to set.

Returns
Type Description
ImportIntentsResponse.ConflictingResources.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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