Skip to content

Commit c908837

Browse files
docs: Update property requirement specifications (#1169)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 557861399 Source-Link: https://togithub.com/googleapis/googleapis/commit/3303b93dc165b6a5b8efdaf30db292e9ed1f28e5 Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/fb0d0a45385eb0be5842111af79af5d719d32168 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZmIwZDBhNDUzODVlYjBiZTU4NDIxMTFhZjc5YWY1ZDcxOWQzMjE2OCJ9
1 parent 954320a commit c908837

File tree

3 files changed

+70
-20
lines changed

3 files changed

+70
-20
lines changed

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

Lines changed: 49 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
7070
*
7171
*
7272
* <pre>
73-
* The name of the property.
74-
* If name includes "."s, it may be interpreted as a property name path.
73+
* A reference to a property.
74+
*
75+
* Requires:
76+
*
77+
* * MUST be a dot-delimited (`.`) string of segments, where each segment
78+
* conforms to [entity property name][google.datastore.v1.Entity.properties]
79+
* limitations.
7580
* </pre>
7681
*
7782
* <code>string name = 2;</code>
@@ -94,8 +99,13 @@ public java.lang.String getName() {
9499
*
95100
*
96101
* <pre>
97-
* The name of the property.
98-
* If name includes "."s, it may be interpreted as a property name path.
102+
* A reference to a property.
103+
*
104+
* Requires:
105+
*
106+
* * MUST be a dot-delimited (`.`) string of segments, where each segment
107+
* conforms to [entity property name][google.datastore.v1.Entity.properties]
108+
* limitations.
99109
* </pre>
100110
*
101111
* <code>string name = 2;</code>
@@ -461,8 +471,13 @@ public Builder mergeFrom(
461471
*
462472
*
463473
* <pre>
464-
* The name of the property.
465-
* If name includes "."s, it may be interpreted as a property name path.
474+
* A reference to a property.
475+
*
476+
* Requires:
477+
*
478+
* * MUST be a dot-delimited (`.`) string of segments, where each segment
479+
* conforms to [entity property name][google.datastore.v1.Entity.properties]
480+
* limitations.
466481
* </pre>
467482
*
468483
* <code>string name = 2;</code>
@@ -484,8 +499,13 @@ public java.lang.String getName() {
484499
*
485500
*
486501
* <pre>
487-
* The name of the property.
488-
* If name includes "."s, it may be interpreted as a property name path.
502+
* A reference to a property.
503+
*
504+
* Requires:
505+
*
506+
* * MUST be a dot-delimited (`.`) string of segments, where each segment
507+
* conforms to [entity property name][google.datastore.v1.Entity.properties]
508+
* limitations.
489509
* </pre>
490510
*
491511
* <code>string name = 2;</code>
@@ -507,8 +527,13 @@ public com.google.protobuf.ByteString getNameBytes() {
507527
*
508528
*
509529
* <pre>
510-
* The name of the property.
511-
* If name includes "."s, it may be interpreted as a property name path.
530+
* A reference to a property.
531+
*
532+
* Requires:
533+
*
534+
* * MUST be a dot-delimited (`.`) string of segments, where each segment
535+
* conforms to [entity property name][google.datastore.v1.Entity.properties]
536+
* limitations.
512537
* </pre>
513538
*
514539
* <code>string name = 2;</code>
@@ -529,8 +554,13 @@ public Builder setName(java.lang.String value) {
529554
*
530555
*
531556
* <pre>
532-
* The name of the property.
533-
* If name includes "."s, it may be interpreted as a property name path.
557+
* A reference to a property.
558+
*
559+
* Requires:
560+
*
561+
* * MUST be a dot-delimited (`.`) string of segments, where each segment
562+
* conforms to [entity property name][google.datastore.v1.Entity.properties]
563+
* limitations.
534564
* </pre>
535565
*
536566
* <code>string name = 2;</code>
@@ -547,8 +577,13 @@ public Builder clearName() {
547577
*
548578
*
549579
* <pre>
550-
* The name of the property.
551-
* If name includes "."s, it may be interpreted as a property name path.
580+
* A reference to a property.
581+
*
582+
* Requires:
583+
*
584+
* * MUST be a dot-delimited (`.`) string of segments, where each segment
585+
* conforms to [entity property name][google.datastore.v1.Entity.properties]
586+
* limitations.
552587
* </pre>
553588
*
554589
* <code>string name = 2;</code>

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

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,13 @@ public interface PropertyReferenceOrBuilder
2727
*
2828
*
2929
* <pre>
30-
* The name of the property.
31-
* If name includes "."s, it may be interpreted as a property name path.
30+
* A reference to a property.
31+
*
32+
* Requires:
33+
*
34+
* * MUST be a dot-delimited (`.`) string of segments, where each segment
35+
* conforms to [entity property name][google.datastore.v1.Entity.properties]
36+
* limitations.
3237
* </pre>
3338
*
3439
* <code>string name = 2;</code>
@@ -40,8 +45,13 @@ public interface PropertyReferenceOrBuilder
4045
*
4146
*
4247
* <pre>
43-
* The name of the property.
44-
* If name includes "."s, it may be interpreted as a property name path.
48+
* A reference to a property.
49+
*
50+
* Requires:
51+
*
52+
* * MUST be a dot-delimited (`.`) string of segments, where each segment
53+
* conforms to [entity property name][google.datastore.v1.Entity.properties]
54+
* limitations.
4555
* </pre>
4656
*
4757
* <code>string name = 2;</code>

proto-google-cloud-datastore-v1/src/main/proto/google/datastore/v1/query.proto

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,8 +279,13 @@ message KindExpression {
279279

280280
// A reference to a property relative to the kind expressions.
281281
message PropertyReference {
282-
// The name of the property.
283-
// If name includes "."s, it may be interpreted as a property name path.
282+
// A reference to a property.
283+
//
284+
// Requires:
285+
//
286+
// * MUST be a dot-delimited (`.`) string of segments, where each segment
287+
// conforms to [entity property name][google.datastore.v1.Entity.properties]
288+
// limitations.
284289
string name = 2;
285290
}
286291

0 commit comments

Comments
 (0)