| Modifier and Type | Method and Description |
|---|---|
FieldMaskUtil.MergeOptions |
FieldMaskUtil.MergeOptions.setReplaceMessageFields(boolean value)
Specify whether to replace message fields.
|
FieldMaskUtil.MergeOptions |
FieldMaskUtil.MergeOptions.setReplacePrimitiveFields(boolean value)
Specify whether to replace primitive (non-repeated and non-message) fields in destination
message fields with the source primitive fields.
|
FieldMaskUtil.MergeOptions |
FieldMaskUtil.MergeOptions.setReplaceRepeatedFields(boolean value)
Specify whether to replace repeated fields.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
FieldMaskUtil.merge(com.google.protobuf.FieldMask mask,
com.google.protobuf.Message source,
com.google.protobuf.Message.Builder destination,
FieldMaskUtil.MergeOptions options)
Merges fields specified by a FieldMask from one message to another with the specified merge
options.
|
Copyright © 2008–2020. All rights reserved.