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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeployConversationModelRequest build()
Returns
TypeDescription
DeployConversationModelRequest

buildPartial()

public DeployConversationModelRequest buildPartial()
Returns
TypeDescription
DeployConversationModelRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public DeployConversationModelRequest getDefaultInstanceForType()
Returns
TypeDescription
DeployConversationModelRequest

getDescriptorForType()

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

public DeployConversationModelRequest.Builder mergeFrom(DeployConversationModelRequest other)
Parameter
NameDescription
otherDeployConversationModelRequest
Returns
TypeDescription
DeployConversationModelRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The name to set.

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

The bytes for name to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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