Class UpdateAnswerRecordRequest.Builder (4.49.0)

public static final class UpdateAnswerRecordRequest.Builder extends GeneratedMessageV3.Builder<UpdateAnswerRecordRequest.Builder> implements UpdateAnswerRecordRequestOrBuilder

Request message for AnswerRecords.UpdateAnswerRecord.

Protobuf type google.cloud.dialogflow.v2beta1.UpdateAnswerRecordRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateAnswerRecordRequest build()
Returns
Type Description
UpdateAnswerRecordRequest

buildPartial()

public UpdateAnswerRecordRequest buildPartial()
Returns
Type Description
UpdateAnswerRecordRequest

clear()

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

clearAnswerRecord()

public UpdateAnswerRecordRequest.Builder clearAnswerRecord()

Required. Answer record to update.

.google.cloud.dialogflow.v2beta1.AnswerRecord answer_record = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateAnswerRecordRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateMask()

public UpdateAnswerRecordRequest.Builder clearUpdateMask()

Required. The mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
UpdateAnswerRecordRequest.Builder

clone()

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

getAnswerRecord()

public AnswerRecord getAnswerRecord()

Required. Answer record to update.

.google.cloud.dialogflow.v2beta1.AnswerRecord answer_record = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AnswerRecord

The answerRecord.

getAnswerRecordBuilder()

public AnswerRecord.Builder getAnswerRecordBuilder()

Required. Answer record to update.

.google.cloud.dialogflow.v2beta1.AnswerRecord answer_record = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AnswerRecord.Builder

getAnswerRecordOrBuilder()

public AnswerRecordOrBuilder getAnswerRecordOrBuilder()

Required. Answer record to update.

.google.cloud.dialogflow.v2beta1.AnswerRecord answer_record = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AnswerRecordOrBuilder

getDefaultInstanceForType()

public UpdateAnswerRecordRequest getDefaultInstanceForType()
Returns
Type Description
UpdateAnswerRecordRequest

getDescriptorForType()

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

getUpdateMask()

public FieldMask getUpdateMask()

Required. The mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Required. The mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. The mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMaskOrBuilder

hasAnswerRecord()

public boolean hasAnswerRecord()

Required. Answer record to update.

.google.cloud.dialogflow.v2beta1.AnswerRecord answer_record = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the answerRecord field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Required. The mask to control which fields get 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

mergeAnswerRecord(AnswerRecord value)

public UpdateAnswerRecordRequest.Builder mergeAnswerRecord(AnswerRecord value)

Required. Answer record to update.

.google.cloud.dialogflow.v2beta1.AnswerRecord answer_record = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value AnswerRecord
Returns
Type Description
UpdateAnswerRecordRequest.Builder

mergeFrom(UpdateAnswerRecordRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateAnswerRecordRequest.Builder mergeUpdateMask(FieldMask value)

Required. The mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateAnswerRecordRequest.Builder

setAnswerRecord(AnswerRecord value)

public UpdateAnswerRecordRequest.Builder setAnswerRecord(AnswerRecord value)

Required. Answer record to update.

.google.cloud.dialogflow.v2beta1.AnswerRecord answer_record = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value AnswerRecord
Returns
Type Description
UpdateAnswerRecordRequest.Builder

setAnswerRecord(AnswerRecord.Builder builderForValue)

public UpdateAnswerRecordRequest.Builder setAnswerRecord(AnswerRecord.Builder builderForValue)

Required. Answer record to update.

.google.cloud.dialogflow.v2beta1.AnswerRecord answer_record = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue AnswerRecord.Builder
Returns
Type Description
UpdateAnswerRecordRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateAnswerRecordRequest.Builder setUpdateMask(FieldMask value)

Required. The mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateAnswerRecordRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateAnswerRecordRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Required. The mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateAnswerRecordRequest.Builder