Class UpdateParticipantRequest.Builder (4.6.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.v2beta1.UpdateParticipantRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateParticipantRequest build()
Returns
TypeDescription
UpdateParticipantRequest

buildPartial()

public UpdateParticipantRequest buildPartial()
Returns
TypeDescription
UpdateParticipantRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateParticipantRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
UpdateParticipantRequest.Builder
Overrides

clearParticipant()

public UpdateParticipantRequest.Builder clearParticipant()

Required. The participant to update.

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

Returns
TypeDescription
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
TypeDescription
UpdateParticipantRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdateParticipantRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateParticipantRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getParticipant()

public Participant getParticipant()

Required. The participant to update.

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

Returns
TypeDescription
Participant

The participant.

getParticipantBuilder()

public Participant.Builder getParticipantBuilder()

Required. The participant to update.

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

Returns
TypeDescription
Participant.Builder

getParticipantOrBuilder()

public ParticipantOrBuilder getParticipantOrBuilder()

Required. The participant to update.

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

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

hasParticipant()

public boolean hasParticipant()

Required. The participant to update.

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

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

mergeFrom(UpdateParticipantRequest other)

public UpdateParticipantRequest.Builder mergeFrom(UpdateParticipantRequest other)
Parameter
NameDescription
otherUpdateParticipantRequest
Returns
TypeDescription
UpdateParticipantRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeParticipant(Participant value)

public UpdateParticipantRequest.Builder mergeParticipant(Participant value)

Required. The participant to update.

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

Parameter
NameDescription
valueParticipant
Returns
TypeDescription
UpdateParticipantRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setParticipant(Participant value)

public UpdateParticipantRequest.Builder setParticipant(Participant value)

Required. The participant to update.

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

Parameter
NameDescription
valueParticipant
Returns
TypeDescription
UpdateParticipantRequest.Builder

setParticipant(Participant.Builder builderForValue)

public UpdateParticipantRequest.Builder setParticipant(Participant.Builder builderForValue)

Required. The participant to update.

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

Parameter
NameDescription
builderForValueParticipant.Builder
Returns
TypeDescription
UpdateParticipantRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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