Class DeleteCompanionAgentRequest.Builder (4.105.0)

public static final class DeleteCompanionAgentRequest.Builder extends GeneratedMessage.Builder<DeleteCompanionAgentRequest.Builder> implements DeleteCompanionAgentRequestOrBuilder

Request message for DeleteCompanionAgent.

Protobuf type google.cloud.dialogflow.v2.DeleteCompanionAgentRequest

Static Methods

getDescriptor()

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

Methods

build()

public DeleteCompanionAgentRequest build()
Returns
Type Description
DeleteCompanionAgentRequest

buildPartial()

public DeleteCompanionAgentRequest buildPartial()
Returns
Type Description
DeleteCompanionAgentRequest

clear()

public DeleteCompanionAgentRequest.Builder clear()
Returns
Type Description
DeleteCompanionAgentRequest.Builder
Overrides

clearName()

public DeleteCompanionAgentRequest.Builder clearName()

Required. The unique resource identifier of the CompanionAgent to delete. Format: projects/{project}/locations/{location}/companionAgents/{companion_agent}.

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

Returns
Type Description
DeleteCompanionAgentRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public DeleteCompanionAgentRequest getDefaultInstanceForType()
Returns
Type Description
DeleteCompanionAgentRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getName()

public String getName()

Required. The unique resource identifier of the CompanionAgent to delete. Format: projects/{project}/locations/{location}/companionAgents/{companion_agent}.

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The unique resource identifier of the CompanionAgent to delete. Format: projects/{project}/locations/{location}/companionAgents/{companion_agent}.

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

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DeleteCompanionAgentRequest other)

public DeleteCompanionAgentRequest.Builder mergeFrom(DeleteCompanionAgentRequest other)
Parameter
Name Description
other DeleteCompanionAgentRequest
Returns
Type Description
DeleteCompanionAgentRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DeleteCompanionAgentRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DeleteCompanionAgentRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DeleteCompanionAgentRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DeleteCompanionAgentRequest.Builder
Overrides

setName(String value)

public DeleteCompanionAgentRequest.Builder setName(String value)

Required. The unique resource identifier of the CompanionAgent to delete. Format: projects/{project}/locations/{location}/companionAgents/{companion_agent}.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
DeleteCompanionAgentRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeleteCompanionAgentRequest.Builder setNameBytes(ByteString value)

Required. The unique resource identifier of the CompanionAgent to delete. Format: projects/{project}/locations/{location}/companionAgents/{companion_agent}.

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
DeleteCompanionAgentRequest.Builder

This builder for chaining.