Skip to content

Commit ff5e397

Browse files
feat: New PropertyMask field which allows partial commits, lookups, and query results (#1455)
* feat: New PropertyMask field which allows partial commits, lookups, and query results PiperOrigin-RevId: 635449160 Source-Link: googleapis/googleapis@dde0ec1 Source-Link: https://github.com/googleapis/googleapis-gen/commit/8caa60d9aea82964a19cdf8faf91384911db8bdd Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOGNhYTYwZDlhZWE4Mjk2NGExOWNkZjhmYWY5MTM4NDkxMWRiOGJkZCJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent c3c1317 commit ff5e397

File tree

10 files changed

+2346
-156
lines changed

10 files changed

+2346
-156
lines changed

proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/DatastoreProto.java

+165-145
Large diffs are not rendered by default.

proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/LookupRequest.java

+329
Large diffs are not rendered by default.

proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/LookupRequestOrBuilder.java

+50
Original file line numberDiff line numberDiff line change
@@ -170,4 +170,54 @@ public interface LookupRequestOrBuilder
170170
* </code>
171171
*/
172172
com.google.datastore.v1.KeyOrBuilder getKeysOrBuilder(int index);
173+
174+
/**
175+
*
176+
*
177+
* <pre>
178+
* The properties to return. Defaults to returning all properties.
179+
*
180+
* If this field is set and an entity has a property not referenced in the
181+
* mask, it will be absent from [LookupResponse.found.entity.properties][].
182+
*
183+
* The entity's key is always returned.
184+
* </pre>
185+
*
186+
* <code>.google.datastore.v1.PropertyMask property_mask = 5;</code>
187+
*
188+
* @return Whether the propertyMask field is set.
189+
*/
190+
boolean hasPropertyMask();
191+
/**
192+
*
193+
*
194+
* <pre>
195+
* The properties to return. Defaults to returning all properties.
196+
*
197+
* If this field is set and an entity has a property not referenced in the
198+
* mask, it will be absent from [LookupResponse.found.entity.properties][].
199+
*
200+
* The entity's key is always returned.
201+
* </pre>
202+
*
203+
* <code>.google.datastore.v1.PropertyMask property_mask = 5;</code>
204+
*
205+
* @return The propertyMask.
206+
*/
207+
com.google.datastore.v1.PropertyMask getPropertyMask();
208+
/**
209+
*
210+
*
211+
* <pre>
212+
* The properties to return. Defaults to returning all properties.
213+
*
214+
* If this field is set and an entity has a property not referenced in the
215+
* mask, it will be absent from [LookupResponse.found.entity.properties][].
216+
*
217+
* The entity's key is always returned.
218+
* </pre>
219+
*
220+
* <code>.google.datastore.v1.PropertyMask property_mask = 5;</code>
221+
*/
222+
com.google.datastore.v1.PropertyMaskOrBuilder getPropertyMaskOrBuilder();
173223
}

0 commit comments

Comments
 (0)