Class DeployConversationModelRequest.Builder (4.55.0)

public static final class DeployConversationModelRequest.Builder extends GeneratedMessageV3.Builder<DeployConversationModelRequest.Builder> implements DeployConversationModelRequestOrBuilder

The request message for ConversationModels.DeployConversationModel

Protobuf type google.cloud.dialogflow.v2.DeployConversationModelRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeployConversationModelRequest build()
Returns
Type Description
DeployConversationModelRequest

buildPartial()

public DeployConversationModelRequest buildPartial()
Returns
Type Description
DeployConversationModelRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public DeployConversationModelRequest.Builder clearName()

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

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

Returns
Type Description
DeployConversationModelRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public DeployConversationModelRequest getDefaultInstanceForType()
Returns
Type Description
DeployConversationModelRequest

getDescriptorForType()

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

getName()

public String getName()

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public DeployConversationModelRequest.Builder setName(String value)

Required. The conversation model to deploy. 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
DeployConversationModelRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeployConversationModelRequest.Builder setNameBytes(ByteString value)

Required. The conversation model to deploy. 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
DeployConversationModelRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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