public final class ImportEntityTypesResponse extends GeneratedMessageV3 implements ImportEntityTypesResponseOrBuilder
The response message for
EntityTypes.ImportEntityTypes.
Protobuf type google.cloud.dialogflow.cx.v3beta1.ImportEntityTypesResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
CONFLICTING_RESOURCES_FIELD_NUMBER
public static final int CONFLICTING_RESOURCES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
ENTITY_TYPES_FIELD_NUMBER
public static final int ENTITY_TYPES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ImportEntityTypesResponse getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ImportEntityTypesResponse.Builder newBuilder()
newBuilder(ImportEntityTypesResponse prototype)
public static ImportEntityTypesResponse.Builder newBuilder(ImportEntityTypesResponse prototype)
public static ImportEntityTypesResponse parseDelimitedFrom(InputStream input)
public static ImportEntityTypesResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ImportEntityTypesResponse parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ImportEntityTypesResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ImportEntityTypesResponse parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ImportEntityTypesResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ImportEntityTypesResponse parseFrom(CodedInputStream input)
public static ImportEntityTypesResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ImportEntityTypesResponse parseFrom(InputStream input)
public static ImportEntityTypesResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ImportEntityTypesResponse parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ImportEntityTypesResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ImportEntityTypesResponse> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
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;
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()
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) = { ... }
getParserForType()
public Parser<ImportEntityTypesResponse> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
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.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ImportEntityTypesResponse.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ImportEntityTypesResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ImportEntityTypesResponse.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides