Class UpdateParticipantRequest.Builder (4.8.6)

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 Overrides

build()

public UpdateParticipantRequest build()
Returns
Type Description
UpdateParticipantRequest

buildPartial()

public UpdateParticipantRequest buildPartial()
Returns
Type Description
UpdateParticipantRequest

clear()

public UpdateParticipantRequest.Builder clear()
Returns Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParticipant()

public UpdateParticipantRequest.Builder clearParticipant()

Required. The participant to update.

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

Returns

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

clone()

public UpdateParticipantRequest.Builder clone()
Returns 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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public UpdateParticipantRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns 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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateParticipantRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns 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

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateParticipantRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns 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

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

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 Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateParticipantRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns 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

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