public final class BatchDeleteEntityTypesRequest extends GeneratedMessageV3 implements BatchDeleteEntityTypesRequestOrBuilder
The request message for EntityTypes.BatchDeleteEntityTypes.
Protobuf type google.cloud.dialogflow.v2.BatchDeleteEntityTypesRequest
Fields
ENTITY_TYPE_NAMES_FIELD_NUMBER
public static final int ENTITY_TYPE_NAMES_FIELD_NUMBER
Field Value
PARENT_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER
Field Value
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstance()
public static BatchDeleteEntityTypesRequest getDefaultInstance()
Returns
getDefaultInstanceForType()
public BatchDeleteEntityTypesRequest getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getEntityTypeNames(int index)
public String getEntityTypeNames(int index)
Required. The names entity types to delete. All names must point to the
same agent as parent
.
repeated string entity_type_names = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
index | int
The index of the element to return.
|
Returns
Type | Description |
String | The entityTypeNames at the given index.
|
getEntityTypeNamesBytes(int index)
public ByteString getEntityTypeNamesBytes(int index)
Required. The names entity types to delete. All names must point to the
same agent as parent
.
repeated string entity_type_names = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
index | int
The index of the value to return.
|
Returns
Type | Description |
ByteString | The bytes of the entityTypeNames at the given index.
|
getEntityTypeNamesCount()
public int getEntityTypeNamesCount()
Required. The names entity types to delete. All names must point to the
same agent as parent
.
repeated string entity_type_names = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
int | The count of entityTypeNames.
|
getEntityTypeNamesList()
public ProtocolStringList getEntityTypeNamesList()
Required. The names entity types to delete. All names must point to the
same agent as parent
.
repeated string entity_type_names = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getParent()
public String getParent()
Required. The name of the agent to delete all entities types for. Format:
projects/<Project ID>/agent
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The parent.
|
getParentBytes()
public ByteString getParentBytes()
Required. The name of the agent to delete all entities types for. Format:
projects/<Project ID>/agent
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
getParserForType()
public Parser<BatchDeleteEntityTypesRequest> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilder()
public static BatchDeleteEntityTypesRequest.Builder newBuilder()
Returns
newBuilder(BatchDeleteEntityTypesRequest prototype)
public static BatchDeleteEntityTypesRequest.Builder newBuilder(BatchDeleteEntityTypesRequest prototype)
Parameter
Returns
newBuilderForType()
public BatchDeleteEntityTypesRequest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected BatchDeleteEntityTypesRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static BatchDeleteEntityTypesRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static BatchDeleteEntityTypesRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static BatchDeleteEntityTypesRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BatchDeleteEntityTypesRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static BatchDeleteEntityTypesRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BatchDeleteEntityTypesRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BatchDeleteEntityTypesRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static BatchDeleteEntityTypesRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BatchDeleteEntityTypesRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static BatchDeleteEntityTypesRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static BatchDeleteEntityTypesRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BatchDeleteEntityTypesRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<BatchDeleteEntityTypesRequest> parser()
Returns
toBuilder()
public BatchDeleteEntityTypesRequest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions