Class BatchDeleteEntityTypesRequest (4.7.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
TypeDescription
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static BatchDeleteEntityTypesRequest getDefaultInstance()
Returns
TypeDescription
BatchDeleteEntityTypesRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static BatchDeleteEntityTypesRequest.Builder newBuilder()
Returns
TypeDescription
BatchDeleteEntityTypesRequest.Builder

newBuilder(BatchDeleteEntityTypesRequest prototype)

public static BatchDeleteEntityTypesRequest.Builder newBuilder(BatchDeleteEntityTypesRequest prototype)
Parameter
NameDescription
prototypeBatchDeleteEntityTypesRequest
Returns
TypeDescription
BatchDeleteEntityTypesRequest.Builder

parseDelimitedFrom(InputStream input)

public static BatchDeleteEntityTypesRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BatchDeleteEntityTypesRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchDeleteEntityTypesRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchDeleteEntityTypesRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static BatchDeleteEntityTypesRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
BatchDeleteEntityTypesRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BatchDeleteEntityTypesRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchDeleteEntityTypesRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BatchDeleteEntityTypesRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
BatchDeleteEntityTypesRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BatchDeleteEntityTypesRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchDeleteEntityTypesRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BatchDeleteEntityTypesRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
BatchDeleteEntityTypesRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchDeleteEntityTypesRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchDeleteEntityTypesRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static BatchDeleteEntityTypesRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BatchDeleteEntityTypesRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchDeleteEntityTypesRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchDeleteEntityTypesRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static BatchDeleteEntityTypesRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
BatchDeleteEntityTypesRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BatchDeleteEntityTypesRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchDeleteEntityTypesRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<BatchDeleteEntityTypesRequest> parser()
Returns
TypeDescription
Parser<BatchDeleteEntityTypesRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public BatchDeleteEntityTypesRequest getDefaultInstanceForType()
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for parent.

getParserForType()

public Parser<BatchDeleteEntityTypesRequest> getParserForType()
Returns
TypeDescription
Parser<BatchDeleteEntityTypesRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public BatchDeleteEntityTypesRequest.Builder newBuilderForType()
Returns
TypeDescription
BatchDeleteEntityTypesRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BatchDeleteEntityTypesRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
BatchDeleteEntityTypesRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public BatchDeleteEntityTypesRequest.Builder toBuilder()
Returns
TypeDescription
BatchDeleteEntityTypesRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException