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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateAnswerRecordRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateAnswerRecordRequest build()
buildPartial()
public UpdateAnswerRecordRequest buildPartial()
clear()
public UpdateAnswerRecordRequest.Builder clear()
Overrides
clearAnswerRecord()
public UpdateAnswerRecordRequest.Builder clearAnswerRecord()
Required. Answer record to update.
.google.cloud.dialogflow.v2.AnswerRecord answer_record = 1 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public UpdateAnswerRecordRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateAnswerRecordRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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];
clone()
public UpdateAnswerRecordRequest.Builder clone()
Overrides
getAnswerRecord()
public AnswerRecord getAnswerRecord()
Required. Answer record to update.
.google.cloud.dialogflow.v2.AnswerRecord answer_record = 1 [(.google.api.field_behavior) = REQUIRED];
getAnswerRecordBuilder()
public AnswerRecord.Builder getAnswerRecordBuilder()
Required. Answer record to update.
.google.cloud.dialogflow.v2.AnswerRecord answer_record = 1 [(.google.api.field_behavior) = REQUIRED];
getAnswerRecordOrBuilder()
public AnswerRecordOrBuilder getAnswerRecordOrBuilder()
Required. Answer record to update.
.google.cloud.dialogflow.v2.AnswerRecord answer_record = 1 [(.google.api.field_behavior) = REQUIRED];
getDefaultInstanceForType()
public UpdateAnswerRecordRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
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 [(.google.api.field_behavior) = REQUIRED];
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Required. The mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
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()
Overrides
isInitialized()
public final boolean isInitialized()
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];
mergeFrom(UpdateAnswerRecordRequest other)
public UpdateAnswerRecordRequest.Builder mergeFrom(UpdateAnswerRecordRequest other)
public UpdateAnswerRecordRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateAnswerRecordRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateAnswerRecordRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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];
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];
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];
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateAnswerRecordRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateAnswerRecordRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateAnswerRecordRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
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];
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
|