Class ImportEntityTypesResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ImportEntityTypesResponse.Builder>
com.google.cloud.dialogflow.cx.v3beta1.ImportEntityTypesResponse.Builder
- All Implemented Interfaces:
ImportEntityTypesResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ImportEntityTypesResponse
public static final class ImportEntityTypesResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ImportEntityTypesResponse.Builder>
implements ImportEntityTypesResponseOrBuilder
The response message for [EntityTypes.ImportEntityTypes][google.cloud.dialogflow.cx.v3beta1.EntityTypes.ImportEntityTypes].Protobuf type
google.cloud.dialogflow.cx.v3beta1.ImportEntityTypesResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllEntityTypes(Iterable<String> values) The unique identifier of the imported entity types.addEntityTypes(String value) The unique identifier of the imported entity types.addEntityTypesBytes(com.google.protobuf.ByteString value) The unique identifier of the imported entity types.build()clear()Info which resources have conflicts when [REPORT_CONFLICT][ImportEntityTypesResponse.REPORT_CONFLICT] merge_option is set in ImportEntityTypesRequest.The unique identifier of the imported entity types.Info which resources have conflicts when [REPORT_CONFLICT][ImportEntityTypesResponse.REPORT_CONFLICT] merge_option is set in ImportEntityTypesRequest.Info which resources have conflicts when [REPORT_CONFLICT][ImportEntityTypesResponse.REPORT_CONFLICT] merge_option is set in ImportEntityTypesRequest.Info which resources have conflicts when [REPORT_CONFLICT][ImportEntityTypesResponse.REPORT_CONFLICT] merge_option is set in ImportEntityTypesRequest.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetEntityTypes(int index) The unique identifier of the imported entity types.com.google.protobuf.ByteStringgetEntityTypesBytes(int index) The unique identifier of the imported entity types.intThe unique identifier of the imported entity types.com.google.protobuf.ProtocolStringListThe unique identifier of the imported entity types.booleanInfo which resources have conflicts when [REPORT_CONFLICT][ImportEntityTypesResponse.REPORT_CONFLICT] merge_option is set in ImportEntityTypesRequest.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanInfo which resources have conflicts when [REPORT_CONFLICT][ImportEntityTypesResponse.REPORT_CONFLICT] merge_option is set in ImportEntityTypesRequest.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Info which resources have conflicts when [REPORT_CONFLICT][ImportEntityTypesResponse.REPORT_CONFLICT] merge_option is set in ImportEntityTypesRequest.Info which resources have conflicts when [REPORT_CONFLICT][ImportEntityTypesResponse.REPORT_CONFLICT] merge_option is set in ImportEntityTypesRequest.setEntityTypes(int index, String value) The unique identifier of the imported entity types.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ImportEntityTypesResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ImportEntityTypesResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ImportEntityTypesResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ImportEntityTypesResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ImportEntityTypesResponse.Builder>
-
mergeFrom
public ImportEntityTypesResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ImportEntityTypesResponse.Builder>- Throws:
IOException
-
getEntityTypesList
public com.google.protobuf.ProtocolStringList getEntityTypesList()The unique identifier of the imported entity types. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/entity_types/<EntityTypeID>`.
repeated string entity_types = 1 [(.google.api.resource_reference) = { ... }- Specified by:
getEntityTypesListin interfaceImportEntityTypesResponseOrBuilder- Returns:
- A list containing the entityTypes.
-
getEntityTypesCount
public int getEntityTypesCount()The unique identifier of the imported entity types. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/entity_types/<EntityTypeID>`.
repeated string entity_types = 1 [(.google.api.resource_reference) = { ... }- Specified by:
getEntityTypesCountin interfaceImportEntityTypesResponseOrBuilder- Returns:
- The count of entityTypes.
-
getEntityTypes
The unique identifier of the imported entity types. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/entity_types/<EntityTypeID>`.
repeated string entity_types = 1 [(.google.api.resource_reference) = { ... }- Specified by:
getEntityTypesin interfaceImportEntityTypesResponseOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The entityTypes at the given index.
-
getEntityTypesBytes
public com.google.protobuf.ByteString getEntityTypesBytes(int index) The unique identifier of the imported entity types. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/entity_types/<EntityTypeID>`.
repeated string entity_types = 1 [(.google.api.resource_reference) = { ... }- Specified by:
getEntityTypesBytesin interfaceImportEntityTypesResponseOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the entityTypes at the given index.
-
setEntityTypes
The unique identifier of the imported entity types. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/entity_types/<EntityTypeID>`.
repeated string entity_types = 1 [(.google.api.resource_reference) = { ... }- Parameters:
index- The index to set the value at.value- The entityTypes to set.- Returns:
- This builder for chaining.
-
addEntityTypes
The unique identifier of the imported entity types. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/entity_types/<EntityTypeID>`.
repeated string entity_types = 1 [(.google.api.resource_reference) = { ... }- Parameters:
value- The entityTypes to add.- Returns:
- This builder for chaining.
-
addAllEntityTypes
The unique identifier of the imported entity types. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/entity_types/<EntityTypeID>`.
repeated string entity_types = 1 [(.google.api.resource_reference) = { ... }- Parameters:
values- The entityTypes to add.- Returns:
- This builder for chaining.
-
clearEntityTypes
The unique identifier of the imported entity types. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/entity_types/<EntityTypeID>`.
repeated string entity_types = 1 [(.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
addEntityTypesBytes
The unique identifier of the imported entity types. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/entity_types/<EntityTypeID>`.
repeated string entity_types = 1 [(.google.api.resource_reference) = { ... }- Parameters:
value- The bytes of the entityTypes to add.- Returns:
- This builder for chaining.
-
hasConflictingResources
public boolean hasConflictingResources()Info which resources have conflicts when [REPORT_CONFLICT][ImportEntityTypesResponse.REPORT_CONFLICT] merge_option is set in ImportEntityTypesRequest.
.google.cloud.dialogflow.cx.v3beta1.ImportEntityTypesResponse.ConflictingResources conflicting_resources = 2;- Specified by:
hasConflictingResourcesin interfaceImportEntityTypesResponseOrBuilder- Returns:
- Whether the conflictingResources field is set.
-
getConflictingResources
Info which resources have conflicts when [REPORT_CONFLICT][ImportEntityTypesResponse.REPORT_CONFLICT] merge_option is set in ImportEntityTypesRequest.
.google.cloud.dialogflow.cx.v3beta1.ImportEntityTypesResponse.ConflictingResources conflicting_resources = 2;- Specified by:
getConflictingResourcesin interfaceImportEntityTypesResponseOrBuilder- Returns:
- The conflictingResources.
-
setConflictingResources
public ImportEntityTypesResponse.Builder setConflictingResources(ImportEntityTypesResponse.ConflictingResources value) Info which resources have conflicts when [REPORT_CONFLICT][ImportEntityTypesResponse.REPORT_CONFLICT] merge_option is set in ImportEntityTypesRequest.
.google.cloud.dialogflow.cx.v3beta1.ImportEntityTypesResponse.ConflictingResources conflicting_resources = 2; -
setConflictingResources
public ImportEntityTypesResponse.Builder setConflictingResources(ImportEntityTypesResponse.ConflictingResources.Builder builderForValue) Info which resources have conflicts when [REPORT_CONFLICT][ImportEntityTypesResponse.REPORT_CONFLICT] merge_option is set in ImportEntityTypesRequest.
.google.cloud.dialogflow.cx.v3beta1.ImportEntityTypesResponse.ConflictingResources conflicting_resources = 2; -
mergeConflictingResources
public ImportEntityTypesResponse.Builder mergeConflictingResources(ImportEntityTypesResponse.ConflictingResources value) Info which resources have conflicts when [REPORT_CONFLICT][ImportEntityTypesResponse.REPORT_CONFLICT] merge_option is set in ImportEntityTypesRequest.
.google.cloud.dialogflow.cx.v3beta1.ImportEntityTypesResponse.ConflictingResources conflicting_resources = 2; -
clearConflictingResources
Info which resources have conflicts when [REPORT_CONFLICT][ImportEntityTypesResponse.REPORT_CONFLICT] merge_option is set in ImportEntityTypesRequest.
.google.cloud.dialogflow.cx.v3beta1.ImportEntityTypesResponse.ConflictingResources conflicting_resources = 2; -
getConflictingResourcesBuilder
Info which resources have conflicts when [REPORT_CONFLICT][ImportEntityTypesResponse.REPORT_CONFLICT] merge_option is set in ImportEntityTypesRequest.
.google.cloud.dialogflow.cx.v3beta1.ImportEntityTypesResponse.ConflictingResources conflicting_resources = 2; -
getConflictingResourcesOrBuilder
Info which resources have conflicts when [REPORT_CONFLICT][ImportEntityTypesResponse.REPORT_CONFLICT] merge_option is set in ImportEntityTypesRequest.
.google.cloud.dialogflow.cx.v3beta1.ImportEntityTypesResponse.ConflictingResources conflicting_resources = 2;- Specified by:
getConflictingResourcesOrBuilderin interfaceImportEntityTypesResponseOrBuilder
-