Class UpdateConversationRequest.Builder (2.43.0)

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

The request to update a conversation.

Protobuf type google.cloud.contactcenterinsights.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 new values for the conversation.

.google.cloud.contactcenterinsights.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()

The list of fields to be 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 new values for the conversation.

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

Returns
Type Description
Conversation

The conversation.

getConversationBuilder()

public Conversation.Builder getConversationBuilder()

Required. The new values for the conversation.

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

Returns
Type Description
Conversation.Builder

getConversationOrBuilder()

public ConversationOrBuilder getConversationOrBuilder()

Required. The new values for the conversation.

.google.cloud.contactcenterinsights.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()

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMaskOrBuilder

hasConversation()

public boolean hasConversation()

Required. The new values for the conversation.

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

Returns
Type Description
boolean

Whether the conversation field is set.

hasUpdateMask()

public boolean hasUpdateMask()

The list of fields to be 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 new values for the conversation.

.google.cloud.contactcenterinsights.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)

The list of fields to be 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 new values for the conversation.

.google.cloud.contactcenterinsights.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 new values for the conversation.

.google.cloud.contactcenterinsights.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)

The list of fields to be 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)

The list of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateConversationRequest.Builder