Class UpdateConversationProfileRequest.Builder (4.52.0)

public static final class UpdateConversationProfileRequest.Builder extends GeneratedMessageV3.Builder<UpdateConversationProfileRequest.Builder> implements UpdateConversationProfileRequestOrBuilder

The request message for ConversationProfiles.UpdateConversationProfile.

Protobuf type google.cloud.dialogflow.v2.UpdateConversationProfileRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateConversationProfileRequest build()
Returns
Type Description
UpdateConversationProfileRequest

buildPartial()

public UpdateConversationProfileRequest buildPartial()
Returns
Type Description
UpdateConversationProfileRequest

clear()

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

clearConversationProfile()

public UpdateConversationProfileRequest.Builder clearConversationProfile()

Required. The conversation profile to update.

.google.cloud.dialogflow.v2.ConversationProfile conversation_profile = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateConversationProfileRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateMask()

public UpdateConversationProfileRequest.Builder clearUpdateMask()

Required. The mask to control which fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateConversationProfileRequest.Builder

clone()

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

getConversationProfile()

public ConversationProfile getConversationProfile()

Required. The conversation profile to update.

.google.cloud.dialogflow.v2.ConversationProfile conversation_profile = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ConversationProfile

The conversationProfile.

getConversationProfileBuilder()

public ConversationProfile.Builder getConversationProfileBuilder()

Required. The conversation profile to update.

.google.cloud.dialogflow.v2.ConversationProfile conversation_profile = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ConversationProfile.Builder

getConversationProfileOrBuilder()

public ConversationProfileOrBuilder getConversationProfileOrBuilder()

Required. The conversation profile to update.

.google.cloud.dialogflow.v2.ConversationProfile conversation_profile = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ConversationProfileOrBuilder

getDefaultInstanceForType()

public UpdateConversationProfileRequest getDefaultInstanceForType()
Returns
Type Description
UpdateConversationProfileRequest

getDescriptorForType()

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

getUpdateMask()

public FieldMask getUpdateMask()

Required. The mask to control which fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Required. The mask to control which fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. The mask to control which fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMaskOrBuilder

hasConversationProfile()

public boolean hasConversationProfile()

Required. The conversation profile to update.

.google.cloud.dialogflow.v2.ConversationProfile conversation_profile = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the conversationProfile field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Required. The mask to control which fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeConversationProfile(ConversationProfile value)

public UpdateConversationProfileRequest.Builder mergeConversationProfile(ConversationProfile value)

Required. The conversation profile to update.

.google.cloud.dialogflow.v2.ConversationProfile conversation_profile = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ConversationProfile
Returns
Type Description
UpdateConversationProfileRequest.Builder

mergeFrom(UpdateConversationProfileRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateConversationProfileRequest.Builder mergeUpdateMask(FieldMask value)

Required. The mask to control which fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateConversationProfileRequest.Builder

setConversationProfile(ConversationProfile value)

public UpdateConversationProfileRequest.Builder setConversationProfile(ConversationProfile value)

Required. The conversation profile to update.

.google.cloud.dialogflow.v2.ConversationProfile conversation_profile = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ConversationProfile
Returns
Type Description
UpdateConversationProfileRequest.Builder

setConversationProfile(ConversationProfile.Builder builderForValue)

public UpdateConversationProfileRequest.Builder setConversationProfile(ConversationProfile.Builder builderForValue)

Required. The conversation profile to update.

.google.cloud.dialogflow.v2.ConversationProfile conversation_profile = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue ConversationProfile.Builder
Returns
Type Description
UpdateConversationProfileRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateConversationProfileRequest.Builder setUpdateMask(FieldMask value)

Required. The mask to control which fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateConversationProfileRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateConversationProfileRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Required. The mask to control which fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateConversationProfileRequest.Builder