Optional. An optional request ID to identify requests. Specify a unique
request ID so that if you must retry your request, the server will know to
ignore the request if it has already been completed. The server will
guarantee that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and the
request times out. If you make the request again with the same request
ID, the server can check if original operation with the same request ID
was received, and if so, will ignore the second request. This prevents
clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is
not supported (00000000-0000-0000-0000-000000000000).
Optional. An optional request ID to identify requests. Specify a unique
request ID so that if you must retry your request, the server will know to
ignore the request if it has already been completed. The server will
guarantee that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and the
request times out. If you make the request again with the same request
ID, the server can check if original operation with the same request ID
was received, and if so, will ignore the second request. This prevents
clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is
not supported (00000000-0000-0000-0000-000000000000).
[[["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 UpdateInstanceRequestOrBuilder (0.18.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.18.0 (latest)](/java/docs/reference/google-cloud-valkey/latest/com.google.cloud.memorystore.v1.UpdateInstanceRequestOrBuilder)\n- [0.16.0](/java/docs/reference/google-cloud-valkey/0.16.0/com.google.cloud.memorystore.v1.UpdateInstanceRequestOrBuilder)\n- [0.14.0](/java/docs/reference/google-cloud-valkey/0.14.0/com.google.cloud.memorystore.v1.UpdateInstanceRequestOrBuilder)\n- [0.13.0](/java/docs/reference/google-cloud-valkey/0.13.0/com.google.cloud.memorystore.v1.UpdateInstanceRequestOrBuilder)\n- [0.10.0](/java/docs/reference/google-cloud-valkey/0.10.0/com.google.cloud.memorystore.v1.UpdateInstanceRequestOrBuilder)\n- [0.9.0](/java/docs/reference/google-cloud-valkey/0.9.0/com.google.cloud.memorystore.v1.UpdateInstanceRequestOrBuilder)\n- [0.8.0](/java/docs/reference/google-cloud-valkey/0.8.0/com.google.cloud.memorystore.v1.UpdateInstanceRequestOrBuilder)\n- [0.6.0](/java/docs/reference/google-cloud-valkey/0.6.0/com.google.cloud.memorystore.v1.UpdateInstanceRequestOrBuilder)\n- [0.5.0](/java/docs/reference/google-cloud-valkey/0.5.0/com.google.cloud.memorystore.v1.UpdateInstanceRequestOrBuilder)\n- [0.4.0](/java/docs/reference/google-cloud-valkey/0.4.0/com.google.cloud.memorystore.v1.UpdateInstanceRequestOrBuilder)\n- [0.3.0](/java/docs/reference/google-cloud-valkey/0.3.0/com.google.cloud.memorystore.v1.UpdateInstanceRequestOrBuilder)\n- [0.2.0](/java/docs/reference/google-cloud-valkey/0.2.0/com.google.cloud.memorystore.v1.UpdateInstanceRequestOrBuilder)\n- [0.1.0](/java/docs/reference/google-cloud-valkey/0.1.0/com.google.cloud.memorystore.v1.UpdateInstanceRequestOrBuilder) \n\n public interface UpdateInstanceRequestOrBuilder 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### getInstance()\n\n public abstract Instance getInstance()\n\nRequired. The instance to update.\n\n`\n.google.cloud.memorystore.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED];\n`\n\n### getInstanceOrBuilder()\n\n public abstract InstanceOrBuilder getInstanceOrBuilder()\n\nRequired. The instance to update.\n\n`\n.google.cloud.memorystore.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED];\n`\n\n### getRequestId()\n\n public abstract String getRequestId()\n\nOptional. An optional request ID to identify requests. Specify a unique\nrequest ID so that if you must retry your request, the server will know to\nignore the request if it has already been completed. The server will\nguarantee that for at least 60 minutes since the first request.\n\nFor example, consider a situation where you make an initial request and the\nrequest times out. If you make the request again with the same request\nID, the server can check if original operation with the same request ID\nwas received, and if so, will ignore the second request. This prevents\nclients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is\nnot supported (00000000-0000-0000-0000-000000000000).\n\n`\nstring request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }\n`\n\n### getRequestIdBytes()\n\n public abstract ByteString getRequestIdBytes()\n\nOptional. An optional request ID to identify requests. Specify a unique\nrequest ID so that if you must retry your request, the server will know to\nignore the request if it has already been completed. The server will\nguarantee that for at least 60 minutes since the first request.\n\nFor example, consider a situation where you make an initial request and the\nrequest times out. If you make the request again with the same request\nID, the server can check if original operation with the same request ID\nwas received, and if so, will ignore the second request. This prevents\nclients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is\nnot supported (00000000-0000-0000-0000-000000000000).\n\n`\nstring request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }\n`\n\n### getUpdateMask()\n\n public abstract FieldMask getUpdateMask()\n\nOptional. The list of fields to be updated on the instance. At least one\nfield must be specified.\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. The list of fields to be updated on the instance. At least one\nfield must be specified.\n\n`.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];\n`\n\n### hasInstance()\n\n public abstract boolean hasInstance()\n\nRequired. The instance to update.\n\n`\n.google.cloud.memorystore.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED];\n`\n\n### hasUpdateMask()\n\n public abstract boolean hasUpdateMask()\n\nOptional. The list of fields to be updated on the instance. At least one\nfield must be specified.\n\n`.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];\n`"]]