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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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.
|
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.
|
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.
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ImportEntityTypesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ImportEntityTypesResponse build()
buildPartial()
public ImportEntityTypesResponse buildPartial()
clear()
public ImportEntityTypesResponse.Builder clear()
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;
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) = { ... }
clearField(Descriptors.FieldDescriptor field)
public ImportEntityTypesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ImportEntityTypesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ImportEntityTypesResponse.Builder clone()
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;
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;
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;
getDefaultInstanceForType()
public ImportEntityTypesResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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) = { ... }
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()
Overrides
isInitialized()
public final boolean isInitialized()
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;
mergeFrom(ImportEntityTypesResponse other)
public ImportEntityTypesResponse.Builder mergeFrom(ImportEntityTypesResponse other)
public ImportEntityTypesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ImportEntityTypesResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ImportEntityTypesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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;
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;
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public ImportEntityTypesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ImportEntityTypesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ImportEntityTypesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides