Class UpdateParticipantRequest.Builder (4.51.0)

public static final class UpdateParticipantRequest.Builder extends GeneratedMessageV3.Builder<UpdateParticipantRequest.Builder> implements UpdateParticipantRequestOrBuilder

The request message for Participants.UpdateParticipant.

Protobuf type google.cloud.dialogflow.v2.UpdateParticipantRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateParticipantRequest build()
Returns
Type Description
UpdateParticipantRequest

buildPartial()

public UpdateParticipantRequest buildPartial()
Returns
Type Description
UpdateParticipantRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParticipant()

public UpdateParticipantRequest.Builder clearParticipant()

Required. The participant to update.

.google.cloud.dialogflow.v2.Participant participant = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateParticipantRequest.Builder

clearUpdateMask()

public UpdateParticipantRequest.Builder clearUpdateMask()

Required. The mask to specify which fields to update.

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

Returns
Type Description
UpdateParticipantRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdateParticipantRequest getDefaultInstanceForType()
Returns
Type Description
UpdateParticipantRequest

getDescriptorForType()

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

getParticipant()

public Participant getParticipant()

Required. The participant to update.

.google.cloud.dialogflow.v2.Participant participant = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Participant

The participant.

getParticipantBuilder()

public Participant.Builder getParticipantBuilder()

Required. The participant to update.

.google.cloud.dialogflow.v2.Participant participant = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Participant.Builder

getParticipantOrBuilder()

public ParticipantOrBuilder getParticipantOrBuilder()

Required. The participant to update.

.google.cloud.dialogflow.v2.Participant participant = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ParticipantOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Required. The mask to specify 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 specify 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 specify which fields to update.

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

Returns
Type Description
FieldMaskOrBuilder

hasParticipant()

public boolean hasParticipant()

Required. The participant to update.

.google.cloud.dialogflow.v2.Participant participant = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the participant field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Required. The mask to specify 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

mergeFrom(UpdateParticipantRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeParticipant(Participant value)

public UpdateParticipantRequest.Builder mergeParticipant(Participant value)

Required. The participant to update.

.google.cloud.dialogflow.v2.Participant participant = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Participant
Returns
Type Description
UpdateParticipantRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateParticipantRequest.Builder mergeUpdateMask(FieldMask value)

Required. The mask to specify which fields to update.

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

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateParticipantRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setParticipant(Participant value)

public UpdateParticipantRequest.Builder setParticipant(Participant value)

Required. The participant to update.

.google.cloud.dialogflow.v2.Participant participant = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Participant
Returns
Type Description
UpdateParticipantRequest.Builder

setParticipant(Participant.Builder builderForValue)

public UpdateParticipantRequest.Builder setParticipant(Participant.Builder builderForValue)

Required. The participant to update.

.google.cloud.dialogflow.v2.Participant participant = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Participant.Builder
Returns
Type Description
UpdateParticipantRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateParticipantRequest.Builder setUpdateMask(FieldMask value)

Required. The mask to specify which fields to update.

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

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateParticipantRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateParticipantRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Required. The mask to specify which fields to update.

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateParticipantRequest.Builder