Class ImportIntentsResponse.ConflictingResources.Builder (0.52.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.v3.ImportIntentsResponse.ConflictingResources

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The entityDisplayNames to add.

Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The intentDisplayNames to add.

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

The entityDisplayNames to add.

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

The bytes of the entityDisplayNames to add.

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

The intentDisplayNames to add.

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

The bytes of the intentDisplayNames to add.

Returns
TypeDescription
ImportIntentsResponse.ConflictingResources.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ImportIntentsResponse.ConflictingResources build()
Returns
TypeDescription
ImportIntentsResponse.ConflictingResources

buildPartial()

public ImportIntentsResponse.ConflictingResources buildPartial()
Returns
TypeDescription
ImportIntentsResponse.ConflictingResources

clear()

public ImportIntentsResponse.ConflictingResources.Builder clear()
Returns
TypeDescription
ImportIntentsResponse.ConflictingResources.Builder
Overrides

clearEntityDisplayNames()

public ImportIntentsResponse.ConflictingResources.Builder clearEntityDisplayNames()

Display names of conflicting entities.

repeated string entity_display_names = 2;

Returns
TypeDescription
ImportIntentsResponse.ConflictingResources.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearIntentDisplayNames()

public ImportIntentsResponse.ConflictingResources.Builder clearIntentDisplayNames()

Display names of conflicting intents.

repeated string intent_display_names = 1;

Returns
TypeDescription
ImportIntentsResponse.ConflictingResources.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ImportIntentsResponse.ConflictingResources.Builder clone()
Returns
TypeDescription
ImportIntentsResponse.ConflictingResources.Builder
Overrides

getDefaultInstanceForType()

public ImportIntentsResponse.ConflictingResources getDefaultInstanceForType()
Returns
TypeDescription
ImportIntentsResponse.ConflictingResources

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEntityDisplayNames(int index)

public String getEntityDisplayNames(int index)

Display names of conflicting entities.

repeated string entity_display_names = 2;

Parameter
NameDescription
indexint

The index of the element to return.

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

The index of the value to return.

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

The count of entityDisplayNames.

getEntityDisplayNamesList()

public ProtocolStringList getEntityDisplayNamesList()

Display names of conflicting entities.

repeated string entity_display_names = 2;

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

The index of the element to return.

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

The index of the value to return.

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

The count of intentDisplayNames.

getIntentDisplayNamesList()

public ProtocolStringList getIntentDisplayNamesList()

Display names of conflicting intents.

repeated string intent_display_names = 1;

Returns
TypeDescription
ProtocolStringList

A list containing the intentDisplayNames.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ImportIntentsResponse.ConflictingResources other)

public ImportIntentsResponse.ConflictingResources.Builder mergeFrom(ImportIntentsResponse.ConflictingResources other)
Parameter
NameDescription
otherImportIntentsResponse.ConflictingResources
Returns
TypeDescription
ImportIntentsResponse.ConflictingResources.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

The index to set the value at.

valueString

The entityDisplayNames to set.

Returns
TypeDescription
ImportIntentsResponse.ConflictingResources.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ImportIntentsResponse.ConflictingResources.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The intentDisplayNames to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ImportIntentsResponse.ConflictingResources.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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