Class UpdateAnswerRecordRequest.Builder (4.5.11)

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

Request message for AnswerRecords.UpdateAnswerRecord.

Protobuf type google.cloud.dialogflow.v2.UpdateAnswerRecordRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateAnswerRecordRequest build()
Returns
TypeDescription
UpdateAnswerRecordRequest

buildPartial()

public UpdateAnswerRecordRequest buildPartial()
Returns
TypeDescription
UpdateAnswerRecordRequest

clear()

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

clearAnswerRecord()

public UpdateAnswerRecordRequest.Builder clearAnswerRecord()

Required. Answer record to update.

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

Returns
TypeDescription
UpdateAnswerRecordRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateMask()

public UpdateAnswerRecordRequest.Builder clearUpdateMask()

Required. The mask to control which fields get updated.

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

Returns
TypeDescription
UpdateAnswerRecordRequest.Builder

clone()

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

getAnswerRecord()

public AnswerRecord getAnswerRecord()

Required. Answer record to update.

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

Returns
TypeDescription
AnswerRecord

The answerRecord.

getAnswerRecordBuilder()

public AnswerRecord.Builder getAnswerRecordBuilder()

Required. Answer record to update.

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

Returns
TypeDescription
AnswerRecord.Builder

getAnswerRecordOrBuilder()

public AnswerRecordOrBuilder getAnswerRecordOrBuilder()

Required. Answer record to update.

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

Returns
TypeDescription
AnswerRecordOrBuilder

getDefaultInstanceForType()

public UpdateAnswerRecordRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateAnswerRecordRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

Required. The mask to control which fields get updated.

.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 control which fields get updated.

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

Returns
TypeDescription
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. The mask to control which fields get updated.

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

Returns
TypeDescription
FieldMaskOrBuilder

hasAnswerRecord()

public boolean hasAnswerRecord()

Required. Answer record to update.

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

Returns
TypeDescription
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 [(.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

mergeAnswerRecord(AnswerRecord value)

public UpdateAnswerRecordRequest.Builder mergeAnswerRecord(AnswerRecord value)

Required. Answer record to update.

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

Parameter
NameDescription
valueAnswerRecord
Returns
TypeDescription
UpdateAnswerRecordRequest.Builder

mergeFrom(UpdateAnswerRecordRequest other)

public UpdateAnswerRecordRequest.Builder mergeFrom(UpdateAnswerRecordRequest other)
Parameter
NameDescription
otherUpdateAnswerRecordRequest
Returns
TypeDescription
UpdateAnswerRecordRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateAnswerRecordRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateAnswerRecordRequest.Builder

setAnswerRecord(AnswerRecord value)

public UpdateAnswerRecordRequest.Builder setAnswerRecord(AnswerRecord value)

Required. Answer record to update.

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

Parameter
NameDescription
valueAnswerRecord
Returns
TypeDescription
UpdateAnswerRecordRequest.Builder

setAnswerRecord(AnswerRecord.Builder builderForValue)

public UpdateAnswerRecordRequest.Builder setAnswerRecord(AnswerRecord.Builder builderForValue)

Required. Answer record to update.

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

Parameter
NameDescription
builderForValueAnswerRecord.Builder
Returns
TypeDescription
UpdateAnswerRecordRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateAnswerRecordRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
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 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateAnswerRecordRequest.Builder