Class UndeployConversationModelRequest.Builder (4.38.0)

public static final class UndeployConversationModelRequest.Builder extends GeneratedMessageV3.Builder<UndeployConversationModelRequest.Builder> implements UndeployConversationModelRequestOrBuilder

The request message for ConversationModels.UndeployConversationModel

Protobuf type google.cloud.dialogflow.v2.UndeployConversationModelRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UndeployConversationModelRequest build()
Returns
Type Description
UndeployConversationModelRequest

buildPartial()

public UndeployConversationModelRequest buildPartial()
Returns
Type Description
UndeployConversationModelRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public UndeployConversationModelRequest.Builder clearName()

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

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

Returns
Type Description
UndeployConversationModelRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public UndeployConversationModelRequest getDefaultInstanceForType()
Returns
Type Description
UndeployConversationModelRequest

getDescriptorForType()

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

getName()

public String getName()

Required. The conversation model to undeploy. 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 undeploy. 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(UndeployConversationModelRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public UndeployConversationModelRequest.Builder setName(String value)

Required. The conversation model to undeploy. 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
UndeployConversationModelRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public UndeployConversationModelRequest.Builder setNameBytes(ByteString value)

Required. The conversation model to undeploy. 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
UndeployConversationModelRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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