Class DeleteConversationModelRequest.Builder (4.11.0)

public static final class DeleteConversationModelRequest.Builder extends GeneratedMessageV3.Builder<DeleteConversationModelRequest.Builder> implements DeleteConversationModelRequestOrBuilder

The request message for ConversationModels.DeleteConversationModel

Protobuf type google.cloud.dialogflow.v2.DeleteConversationModelRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DeleteConversationModelRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DeleteConversationModelRequest.Builder
Overrides

build()

public DeleteConversationModelRequest build()
Returns
Type Description
DeleteConversationModelRequest

buildPartial()

public DeleteConversationModelRequest buildPartial()
Returns
Type Description
DeleteConversationModelRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public DeleteConversationModelRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DeleteConversationModelRequest.Builder
Overrides

clearName()

public DeleteConversationModelRequest.Builder clearName()

Required. The conversation model to delete. Format: projects/<Project ID>/conversationModels/<Conversation Model ID>

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DeleteConversationModelRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DeleteConversationModelRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DeleteConversationModelRequest.Builder
Overrides

clone()

public DeleteConversationModelRequest.Builder clone()
Returns
Type Description
DeleteConversationModelRequest.Builder
Overrides

getDefaultInstanceForType()

public DeleteConversationModelRequest getDefaultInstanceForType()
Returns
Type Description
DeleteConversationModelRequest

getDescriptorForType()

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

getName()

public String getName()

Required. The conversation model to delete. Format: projects/<Project ID>/conversationModels/<Conversation Model ID>

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The conversation model to delete. Format: projects/<Project ID>/conversationModels/<Conversation Model ID>

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DeleteConversationModelRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeleteConversationModelRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DeleteConversationModelRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DeleteConversationModelRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DeleteConversationModelRequest.Builder
Overrides

setName(String value)

public DeleteConversationModelRequest.Builder setName(String value)

Required. The conversation model to delete. Format: projects/<Project ID>/conversationModels/<Conversation Model ID>

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
DeleteConversationModelRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeleteConversationModelRequest.Builder setNameBytes(ByteString value)

Required. The conversation model to delete. Format: projects/<Project ID>/conversationModels/<Conversation Model ID>

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
DeleteConversationModelRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DeleteConversationModelRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DeleteConversationModelRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DeleteConversationModelRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DeleteConversationModelRequest.Builder
Overrides