Class UpdateConversationRequest.Builder (0.25.0)

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

Request for UpdateConversation method.

Protobuf type google.cloud.discoveryengine.v1alpha.UpdateConversationRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateConversationRequest build()
Returns
TypeDescription
UpdateConversationRequest

buildPartial()

public UpdateConversationRequest buildPartial()
Returns
TypeDescription
UpdateConversationRequest

clear()

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

clearConversation()

public UpdateConversationRequest.Builder clearConversation()

Required. The Conversation to update.

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

Returns
TypeDescription
UpdateConversationRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getConversation()

public Conversation getConversation()

Required. The Conversation to update.

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

Returns
TypeDescription
Conversation

The conversation.

getConversationBuilder()

public Conversation.Builder getConversationBuilder()

Required. The Conversation to update.

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

Returns
TypeDescription
Conversation.Builder

getConversationOrBuilder()

public ConversationOrBuilder getConversationOrBuilder()

Required. The Conversation to update.

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

Returns
TypeDescription
ConversationOrBuilder

getDefaultInstanceForType()

public UpdateConversationRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateConversationRequest

getDescriptorForType()

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

hasConversation()

public boolean hasConversation()

Required. The Conversation to update.

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

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

mergeConversation(Conversation value)

public UpdateConversationRequest.Builder mergeConversation(Conversation value)

Required. The Conversation to update.

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

Parameter
NameDescription
valueConversation
Returns
TypeDescription
UpdateConversationRequest.Builder

mergeFrom(UpdateConversationRequest other)

public UpdateConversationRequest.Builder mergeFrom(UpdateConversationRequest other)
Parameter
NameDescription
otherUpdateConversationRequest
Returns
TypeDescription
UpdateConversationRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setConversation(Conversation value)

public UpdateConversationRequest.Builder setConversation(Conversation value)

Required. The Conversation to update.

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

Parameter
NameDescription
valueConversation
Returns
TypeDescription
UpdateConversationRequest.Builder

setConversation(Conversation.Builder builderForValue)

public UpdateConversationRequest.Builder setConversation(Conversation.Builder builderForValue)

Required. The Conversation to update.

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

Parameter
NameDescription
builderForValueConversation.Builder
Returns
TypeDescription
UpdateConversationRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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