Optional. Field mask is used to specify the fields to be overwritten in the
ServiceLbPolicy resource by the update.
The fields specified in the update_mask are relative to the resource, not
the full request. A field will be overwritten if it is in the mask. If the
user does not provide a mask then all fields will be overwritten.
Optional. Field mask is used to specify the fields to be overwritten in the
ServiceLbPolicy resource by the update.
The fields specified in the update_mask are relative to the resource, not
the full request. A field will be overwritten if it is in the mask. If the
user does not provide a mask then all fields will be overwritten.
Optional. Field mask is used to specify the fields to be overwritten in the
ServiceLbPolicy resource by the update.
The fields specified in the update_mask are relative to the resource, not
the full request. A field will be overwritten if it is in the mask. If the
user does not provide a mask then all fields will be overwritten.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-16 UTC."],[],[],null,["# Interface UpdateServiceLbPolicyRequestOrBuilder (0.28.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.28.0 (latest)](/java/docs/reference/google-cloud-networkservices/latest/com.google.cloud.networkservices.v1.UpdateServiceLbPolicyRequestOrBuilder)\n- [0.26.0](/java/docs/reference/google-cloud-networkservices/0.26.0/com.google.cloud.networkservices.v1.UpdateServiceLbPolicyRequestOrBuilder)\n- [0.24.0](/java/docs/reference/google-cloud-networkservices/0.24.0/com.google.cloud.networkservices.v1.UpdateServiceLbPolicyRequestOrBuilder)\n- [0.23.0](/java/docs/reference/google-cloud-networkservices/0.23.0/com.google.cloud.networkservices.v1.UpdateServiceLbPolicyRequestOrBuilder)\n- [0.20.0](/java/docs/reference/google-cloud-networkservices/0.20.0/com.google.cloud.networkservices.v1.UpdateServiceLbPolicyRequestOrBuilder)\n- [0.19.0](/java/docs/reference/google-cloud-networkservices/0.19.0/com.google.cloud.networkservices.v1.UpdateServiceLbPolicyRequestOrBuilder)\n- [0.18.0](/java/docs/reference/google-cloud-networkservices/0.18.0/com.google.cloud.networkservices.v1.UpdateServiceLbPolicyRequestOrBuilder)\n- [0.16.0](/java/docs/reference/google-cloud-networkservices/0.16.0/com.google.cloud.networkservices.v1.UpdateServiceLbPolicyRequestOrBuilder)\n- [0.15.0](/java/docs/reference/google-cloud-networkservices/0.15.0/com.google.cloud.networkservices.v1.UpdateServiceLbPolicyRequestOrBuilder)\n- [0.14.0](/java/docs/reference/google-cloud-networkservices/0.14.0/com.google.cloud.networkservices.v1.UpdateServiceLbPolicyRequestOrBuilder)\n- [0.13.0](/java/docs/reference/google-cloud-networkservices/0.13.0/com.google.cloud.networkservices.v1.UpdateServiceLbPolicyRequestOrBuilder)\n- [0.12.0](/java/docs/reference/google-cloud-networkservices/0.12.0/com.google.cloud.networkservices.v1.UpdateServiceLbPolicyRequestOrBuilder)\n- [0.11.0](/java/docs/reference/google-cloud-networkservices/0.11.0/com.google.cloud.networkservices.v1.UpdateServiceLbPolicyRequestOrBuilder)\n- [0.10.0](/java/docs/reference/google-cloud-networkservices/0.10.0/com.google.cloud.networkservices.v1.UpdateServiceLbPolicyRequestOrBuilder)\n- [0.9.0](/java/docs/reference/google-cloud-networkservices/0.9.0/com.google.cloud.networkservices.v1.UpdateServiceLbPolicyRequestOrBuilder)\n- [0.8.0](/java/docs/reference/google-cloud-networkservices/0.8.0/com.google.cloud.networkservices.v1.UpdateServiceLbPolicyRequestOrBuilder)\n- [0.7.0](/java/docs/reference/google-cloud-networkservices/0.7.0/com.google.cloud.networkservices.v1.UpdateServiceLbPolicyRequestOrBuilder)\n- [0.5.0](/java/docs/reference/google-cloud-networkservices/0.5.0/com.google.cloud.networkservices.v1.UpdateServiceLbPolicyRequestOrBuilder)\n- [0.4.0](/java/docs/reference/google-cloud-networkservices/0.4.0/com.google.cloud.networkservices.v1.UpdateServiceLbPolicyRequestOrBuilder)\n- [0.3.0](/java/docs/reference/google-cloud-networkservices/0.3.0/com.google.cloud.networkservices.v1.UpdateServiceLbPolicyRequestOrBuilder)\n- [0.2.0](/java/docs/reference/google-cloud-networkservices/0.2.0/com.google.cloud.networkservices.v1.UpdateServiceLbPolicyRequestOrBuilder)\n- [0.1.0](/java/docs/reference/google-cloud-networkservices/0.1.0/com.google.cloud.networkservices.v1.UpdateServiceLbPolicyRequestOrBuilder) \n\n public interface UpdateServiceLbPolicyRequestOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### getServiceLbPolicy()\n\n public abstract ServiceLbPolicy getServiceLbPolicy()\n\nRequired. Updated ServiceLbPolicy resource.\n\n`\n.google.cloud.networkservices.v1.ServiceLbPolicy service_lb_policy = 2 [(.google.api.field_behavior) = REQUIRED];\n`\n\n### getServiceLbPolicyOrBuilder()\n\n public abstract ServiceLbPolicyOrBuilder getServiceLbPolicyOrBuilder()\n\nRequired. Updated ServiceLbPolicy resource.\n\n`\n.google.cloud.networkservices.v1.ServiceLbPolicy service_lb_policy = 2 [(.google.api.field_behavior) = REQUIRED];\n`\n\n### getUpdateMask()\n\n public abstract FieldMask getUpdateMask()\n\nOptional. Field mask is used to specify the fields to be overwritten in the\nServiceLbPolicy resource by the update.\nThe fields specified in the update_mask are relative to the resource, not\nthe full request. A field will be overwritten if it is in the mask. If the\nuser does not provide a mask then all fields will be overwritten.\n\n`.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];\n`\n\n### getUpdateMaskOrBuilder()\n\n public abstract FieldMaskOrBuilder getUpdateMaskOrBuilder()\n\nOptional. Field mask is used to specify the fields to be overwritten in the\nServiceLbPolicy resource by the update.\nThe fields specified in the update_mask are relative to the resource, not\nthe full request. A field will be overwritten if it is in the mask. If the\nuser does not provide a mask then all fields will be overwritten.\n\n`.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];\n`\n\n### hasServiceLbPolicy()\n\n public abstract boolean hasServiceLbPolicy()\n\nRequired. Updated ServiceLbPolicy resource.\n\n`\n.google.cloud.networkservices.v1.ServiceLbPolicy service_lb_policy = 2 [(.google.api.field_behavior) = REQUIRED];\n`\n\n### hasUpdateMask()\n\n public abstract boolean hasUpdateMask()\n\nOptional. Field mask is used to specify the fields to be overwritten in the\nServiceLbPolicy resource by the update.\nThe fields specified in the update_mask are relative to the resource, not\nthe full request. A field will be overwritten if it is in the mask. If the\nuser does not provide a mask then all fields will be overwritten.\n\n`.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];\n`"]]