public static final class DeleteAgentRequest.Builder extends GeneratedMessageV3.Builder<DeleteAgentRequest.Builder> implements DeleteAgentRequestOrBuilder
The request message for Agents.DeleteAgent.
Protobuf type google.cloud.dialogflow.v2.DeleteAgentRequest
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DeleteAgentRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public DeleteAgentRequest build()
Returns
buildPartial()
public DeleteAgentRequest buildPartial()
Returns
clear()
public DeleteAgentRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public DeleteAgentRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public DeleteAgentRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearParent()
public DeleteAgentRequest.Builder clearParent()
Required. The project that the agent to delete is associated with.
Format: projects/<Project ID>
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
clone()
public DeleteAgentRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public DeleteAgentRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getParent()
public String getParent()
Required. The project that the agent to delete is associated with.
Format: projects/<Project ID>
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The parent.
|
getParentBytes()
public ByteString getParentBytes()
Required. The project that the agent to delete is associated with.
Format: projects/<Project ID>
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(DeleteAgentRequest other)
public DeleteAgentRequest.Builder mergeFrom(DeleteAgentRequest other)
Parameter
Returns
public DeleteAgentRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public DeleteAgentRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DeleteAgentRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public DeleteAgentRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setParent(String value)
public DeleteAgentRequest.Builder setParent(String value)
Required. The project that the agent to delete is associated with.
Format: projects/<Project ID>
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | String
The parent to set.
|
Returns
setParentBytes(ByteString value)
public DeleteAgentRequest.Builder setParentBytes(ByteString value)
Required. The project that the agent to delete is associated with.
Format: projects/<Project ID>
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | ByteString
The bytes for parent to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DeleteAgentRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DeleteAgentRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides