Class BatchDeleteEntityTypesRequest (4.43.0)

public final class BatchDeleteEntityTypesRequest extends GeneratedMessageV3 implements BatchDeleteEntityTypesRequestOrBuilder

The request message for EntityTypes.BatchDeleteEntityTypes.

Protobuf type google.cloud.dialogflow.v2beta1.BatchDeleteEntityTypesRequest

Static Fields

ENTITY_TYPE_NAMES_FIELD_NUMBER

public static final int ENTITY_TYPE_NAMES_FIELD_NUMBER
Field Value
Type Description
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BatchDeleteEntityTypesRequest getDefaultInstance()
Returns
Type Description
BatchDeleteEntityTypesRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static BatchDeleteEntityTypesRequest.Builder newBuilder()
Returns
Type Description
BatchDeleteEntityTypesRequest.Builder

newBuilder(BatchDeleteEntityTypesRequest prototype)

public static BatchDeleteEntityTypesRequest.Builder newBuilder(BatchDeleteEntityTypesRequest prototype)
Parameter
Name Description
prototype BatchDeleteEntityTypesRequest
Returns
Type Description
BatchDeleteEntityTypesRequest.Builder

parseDelimitedFrom(InputStream input)

public static BatchDeleteEntityTypesRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BatchDeleteEntityTypesRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchDeleteEntityTypesRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchDeleteEntityTypesRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static BatchDeleteEntityTypesRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
BatchDeleteEntityTypesRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BatchDeleteEntityTypesRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchDeleteEntityTypesRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BatchDeleteEntityTypesRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
BatchDeleteEntityTypesRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BatchDeleteEntityTypesRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchDeleteEntityTypesRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BatchDeleteEntityTypesRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
BatchDeleteEntityTypesRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchDeleteEntityTypesRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchDeleteEntityTypesRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static BatchDeleteEntityTypesRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BatchDeleteEntityTypesRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchDeleteEntityTypesRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchDeleteEntityTypesRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static BatchDeleteEntityTypesRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
BatchDeleteEntityTypesRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BatchDeleteEntityTypesRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchDeleteEntityTypesRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<BatchDeleteEntityTypesRequest> parser()
Returns
Type Description
Parser<BatchDeleteEntityTypesRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public BatchDeleteEntityTypesRequest getDefaultInstanceForType()
Returns
Type Description
BatchDeleteEntityTypesRequest

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
Type Description
ProtocolStringList

A list containing the entityTypeNames.

getParent()

public String getParent()

Required. The name of the agent to delete all entities types for. Supported formats:

  • projects/<Project ID>/agent,
  • projects/<Project ID>/locations/<Location 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. Supported formats:

  • projects/<Project ID>/agent,
  • projects/<Project ID>/locations/<Location ID>/agent.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getParserForType()

public Parser<BatchDeleteEntityTypesRequest> getParserForType()
Returns
Type Description
Parser<BatchDeleteEntityTypesRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public BatchDeleteEntityTypesRequest.Builder newBuilderForType()
Returns
Type Description
BatchDeleteEntityTypesRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BatchDeleteEntityTypesRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
BatchDeleteEntityTypesRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public BatchDeleteEntityTypesRequest.Builder toBuilder()
Returns
Type Description
BatchDeleteEntityTypesRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException