Class UpdateConversationRequest.Builder (0.42.0)

public static final class UpdateConversationRequest.Builder extends GeneratedMessageV3.Builder<UpdateConversationRequest.Builder> implements UpdateConversationRequestOrBuilder

Request for UpdateConversation method.

Protobuf type google.cloud.discoveryengine.v1.UpdateConversationRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateConversationRequest build()
Returns
Type Description
UpdateConversationRequest

buildPartial()

public UpdateConversationRequest buildPartial()
Returns
Type Description
UpdateConversationRequest

clear()

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

clearConversation()

public UpdateConversationRequest.Builder clearConversation()

Required. The Conversation to update.

.google.cloud.discoveryengine.v1.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateConversationRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateMask()

public UpdateConversationRequest.Builder clearUpdateMask()

Indicates which fields in the provided Conversation to update. The following are NOT supported:

  • Conversation.name

    If not set or empty, all supported fields are updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
UpdateConversationRequest.Builder

clone()

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

getConversation()

public Conversation getConversation()

Required. The Conversation to update.

.google.cloud.discoveryengine.v1.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Conversation

The conversation.

getConversationBuilder()

public Conversation.Builder getConversationBuilder()

Required. The Conversation to update.

.google.cloud.discoveryengine.v1.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Conversation.Builder

getConversationOrBuilder()

public ConversationOrBuilder getConversationOrBuilder()

Required. The Conversation to update.

.google.cloud.discoveryengine.v1.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ConversationOrBuilder

getDefaultInstanceForType()

public UpdateConversationRequest getDefaultInstanceForType()
Returns
Type Description
UpdateConversationRequest

getDescriptorForType()

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

getUpdateMask()

public FieldMask getUpdateMask()

Indicates which fields in the provided Conversation to update. The following are NOT supported:

  • Conversation.name

    If not set or empty, all supported fields are updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Indicates which fields in the provided Conversation to update. The following are NOT supported:

  • Conversation.name

    If not set or empty, all supported fields are updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Indicates which fields in the provided Conversation to update. The following are NOT supported:

  • Conversation.name

    If not set or empty, all supported fields are updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMaskOrBuilder

hasConversation()

public boolean hasConversation()

Required. The Conversation to update.

.google.cloud.discoveryengine.v1.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the conversation field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Indicates which fields in the provided Conversation to update. The following are NOT supported:

  • Conversation.name

    If not set or empty, all supported fields are updated.

.google.protobuf.FieldMask update_mask = 2;

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

mergeConversation(Conversation value)

public UpdateConversationRequest.Builder mergeConversation(Conversation value)

Required. The Conversation to update.

.google.cloud.discoveryengine.v1.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Conversation
Returns
Type Description
UpdateConversationRequest.Builder

mergeFrom(UpdateConversationRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateConversationRequest.Builder mergeUpdateMask(FieldMask value)

Indicates which fields in the provided Conversation to update. The following are NOT supported:

  • Conversation.name

    If not set or empty, all supported fields are updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateConversationRequest.Builder

setConversation(Conversation value)

public UpdateConversationRequest.Builder setConversation(Conversation value)

Required. The Conversation to update.

.google.cloud.discoveryengine.v1.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Conversation
Returns
Type Description
UpdateConversationRequest.Builder

setConversation(Conversation.Builder builderForValue)

public UpdateConversationRequest.Builder setConversation(Conversation.Builder builderForValue)

Required. The Conversation to update.

.google.cloud.discoveryengine.v1.Conversation conversation = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Conversation.Builder
Returns
Type Description
UpdateConversationRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateConversationRequest.Builder setUpdateMask(FieldMask value)

Indicates which fields in the provided Conversation to update. The following are NOT supported:

  • Conversation.name

    If not set or empty, all supported fields are updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateConversationRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateConversationRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Indicates which fields in the provided Conversation to update. The following are NOT supported:

  • Conversation.name

    If not set or empty, all supported fields are updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateConversationRequest.Builder