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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateAnswerRecordRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public UpdateAnswerRecordRequest build()
Returns
buildPartial()
public UpdateAnswerRecordRequest buildPartial()
Returns
clear()
public UpdateAnswerRecordRequest.Builder clear()
Returns
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
clearField(Descriptors.FieldDescriptor field)
public UpdateAnswerRecordRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateAnswerRecordRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public UpdateAnswerRecordRequest.Builder clone()
Returns
Overrides
getAnswerRecord()
public AnswerRecord getAnswerRecord()
Required. Answer record to update.
.google.cloud.dialogflow.v2.AnswerRecord answer_record = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getAnswerRecordBuilder()
public AnswerRecord.Builder getAnswerRecordBuilder()
Required. Answer record to update.
.google.cloud.dialogflow.v2.AnswerRecord answer_record = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getAnswerRecordOrBuilder()
public AnswerRecordOrBuilder getAnswerRecordOrBuilder()
Required. Answer record to update.
.google.cloud.dialogflow.v2.AnswerRecord answer_record = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getDefaultInstanceForType()
public UpdateAnswerRecordRequest getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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
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
hasAnswerRecord()
public boolean hasAnswerRecord()
Required. Answer record to update.
.google.cloud.dialogflow.v2.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 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the updateMask field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
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
Returns
mergeFrom(UpdateAnswerRecordRequest other)
public UpdateAnswerRecordRequest.Builder mergeFrom(UpdateAnswerRecordRequest other)
Parameter
Returns
public UpdateAnswerRecordRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateAnswerRecordRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateAnswerRecordRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateAnswerRecordRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateAnswerRecordRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateAnswerRecordRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Name | Description |
builderForValue | Builder
|
Returns