Class UndeployConversationModelRequest.Builder (4.7.5)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UndeployConversationModelRequest build()
Returns
TypeDescription
UndeployConversationModelRequest

buildPartial()

public UndeployConversationModelRequest buildPartial()
Returns
TypeDescription
UndeployConversationModelRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public UndeployConversationModelRequest getDefaultInstanceForType()
Returns
TypeDescription
UndeployConversationModelRequest

getDescriptorForType()

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

public UndeployConversationModelRequest.Builder mergeFrom(UndeployConversationModelRequest other)
Parameter
NameDescription
otherUndeployConversationModelRequest
Returns
TypeDescription
UndeployConversationModelRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The name to set.

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

The bytes for name to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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