Class DeleteConversationModelRequest.Builder (4.6.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DeleteConversationModelRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DeleteConversationModelRequest.Builder
Overrides

build()

public DeleteConversationModelRequest build()
Returns
TypeDescription
DeleteConversationModelRequest

buildPartial()

public DeleteConversationModelRequest buildPartial()
Returns
TypeDescription
DeleteConversationModelRequest

clear()

public DeleteConversationModelRequest.Builder clear()
Returns
TypeDescription
DeleteConversationModelRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public DeleteConversationModelRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
DeleteConversationModelRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DeleteConversationModelRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DeleteConversationModelRequest.Builder
Overrides

clone()

public DeleteConversationModelRequest.Builder clone()
Returns
TypeDescription
DeleteConversationModelRequest.Builder
Overrides

getDefaultInstanceForType()

public DeleteConversationModelRequest getDefaultInstanceForType()
Returns
TypeDescription
DeleteConversationModelRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DeleteConversationModelRequest other)

public DeleteConversationModelRequest.Builder mergeFrom(DeleteConversationModelRequest other)
Parameter
NameDescription
otherDeleteConversationModelRequest
Returns
TypeDescription
DeleteConversationModelRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DeleteConversationModelRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeleteConversationModelRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DeleteConversationModelRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DeleteConversationModelRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeleteConversationModelRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DeleteConversationModelRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DeleteConversationModelRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

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

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DeleteConversationModelRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DeleteConversationModelRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DeleteConversationModelRequest.Builder
Overrides