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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static BatchDeleteEntityTypesRequest.Builder newBuilder()
newBuilder(BatchDeleteEntityTypesRequest prototype)
public static BatchDeleteEntityTypesRequest.Builder newBuilder(BatchDeleteEntityTypesRequest prototype)
public static BatchDeleteEntityTypesRequest parseDelimitedFrom(InputStream input)
public static BatchDeleteEntityTypesRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static BatchDeleteEntityTypesRequest parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BatchDeleteEntityTypesRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static BatchDeleteEntityTypesRequest parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BatchDeleteEntityTypesRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BatchDeleteEntityTypesRequest parseFrom(CodedInputStream input)
public static BatchDeleteEntityTypesRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static BatchDeleteEntityTypesRequest parseFrom(InputStream input)
public static BatchDeleteEntityTypesRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static BatchDeleteEntityTypesRequest parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BatchDeleteEntityTypesRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<BatchDeleteEntityTypesRequest> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public BatchDeleteEntityTypesRequest getDefaultInstanceForType()
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];
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()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public BatchDeleteEntityTypesRequest.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected BatchDeleteEntityTypesRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public BatchDeleteEntityTypesRequest.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides