Class UpdateConversationProfileRequest.Builder (4.3.1)

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateConversationProfileRequest build()
Returns
TypeDescription
UpdateConversationProfileRequest

buildPartial()

public UpdateConversationProfileRequest buildPartial()
Returns
TypeDescription
UpdateConversationProfileRequest

clear()

public UpdateConversationProfileRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
UpdateConversationProfileRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public UpdateConversationProfileRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
UpdateConversationProfileRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateConversationProfileRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
UpdateConversationProfileRequest.Builder

clone()

public UpdateConversationProfileRequest.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ConversationProfileOrBuilder

getDefaultInstanceForType()

public UpdateConversationProfileRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateConversationProfileRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

getDescriptorForType()

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

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueConversationProfile
Returns
TypeDescription
UpdateConversationProfileRequest.Builder

mergeFrom(UpdateConversationProfileRequest other)

public UpdateConversationProfileRequest.Builder mergeFrom(UpdateConversationProfileRequest other)
Parameter
NameDescription
otherUpdateConversationProfileRequest
Returns
TypeDescription
UpdateConversationProfileRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateConversationProfileRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
valueConversationProfile
Returns
TypeDescription
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
NameDescription
builderForValueConversationProfile.Builder
Returns
TypeDescription
UpdateConversationProfileRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public UpdateConversationProfileRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UpdateConversationProfileRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateConversationProfileRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateConversationProfileRequest.Builder