Skip to content

Commit

Permalink
feat(generator): update protoc to v3.15.3 (#354)
Browse files Browse the repository at this point in the history
This PR was generated using Autosynth. 🌈

Synth log will be available here:
https://source.cloud.google.com/results/invocations/20ff8108-4bb8-44d9-b386-bf2432a15754/targets

- [ ] To automatically regenerate this PR, check this box.

PiperOrigin-RevId: 359781040
Source-Link: googleapis/googleapis@f6dd7e4
  • Loading branch information
yoshi-automation authored Mar 2, 2021
1 parent 4a7cb74 commit 3b1f67a
Show file tree
Hide file tree
Showing 13 changed files with 596 additions and 3 deletions.
9 changes: 9 additions & 0 deletions proto-google-cloud-datastore-v1/clirr-ignored-differences.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- see http://www.mojohaus.org/clirr-maven-plugin/examples/ignored-differences.html -->
<differences>
<difference>
<differenceType>7012</differenceType>
<className>com/google/datastore/v1/*OrBuilder</className>
<method>* has*(*)</method>
</difference>
</differences>
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,23 @@ public com.google.datastore.v1.CommitRequest.Mode getMode() {
}

public static final int TRANSACTION_FIELD_NUMBER = 1;
/**
*
*
* <pre>
* The identifier of the transaction associated with the commit. A
* transaction identifier is returned by a call to
* [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction].
* </pre>
*
* <code>bytes transaction = 1;</code>
*
* @return Whether the transaction field is set.
*/
@java.lang.Override
public boolean hasTransaction() {
return transactionSelectorCase_ == 1;
}
/**
*
*
Expand Down Expand Up @@ -1205,6 +1222,22 @@ public Builder clearMode() {
return this;
}

/**
*
*
* <pre>
* The identifier of the transaction associated with the commit. A
* transaction identifier is returned by a call to
* [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction].
* </pre>
*
* <code>bytes transaction = 1;</code>
*
* @return Whether the transaction field is set.
*/
public boolean hasTransaction() {
return transactionSelectorCase_ == 1;
}
/**
*
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,20 @@ public interface CommitRequestOrBuilder
*/
com.google.datastore.v1.CommitRequest.Mode getMode();

/**
*
*
* <pre>
* The identifier of the transaction associated with the commit. A
* transaction identifier is returned by a call to
* [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction].
* </pre>
*
* <code>bytes transaction = 1;</code>
*
* @return Whether the transaction field is set.
*/
boolean hasTransaction();
/**
*
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,22 @@ public com.google.datastore.v1.ValueOrBuilder getValueOrBuilder() {
}

public static final int CURSOR_FIELD_NUMBER = 3;
/**
*
*
* <pre>
* A query cursor. Query cursors are returned in query
* result batches.
* </pre>
*
* <code>bytes cursor = 3;</code>
*
* @return Whether the cursor field is set.
*/
@java.lang.Override
public boolean hasCursor() {
return parameterTypeCase_ == 3;
}
/**
*
*
Expand Down Expand Up @@ -830,6 +846,21 @@ public com.google.datastore.v1.ValueOrBuilder getValueOrBuilder() {
return valueBuilder_;
}

/**
*
*
* <pre>
* A query cursor. Query cursors are returned in query
* result batches.
* </pre>
*
* <code>bytes cursor = 3;</code>
*
* @return Whether the cursor field is set.
*/
public boolean hasCursor() {
return parameterTypeCase_ == 3;
}
/**
*
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,19 @@ public interface GqlQueryParameterOrBuilder
*/
com.google.datastore.v1.ValueOrBuilder getValueOrBuilder();

/**
*
*
* <pre>
* A query cursor. Query cursors are returned in query
* result batches.
* </pre>
*
* <code>bytes cursor = 3;</code>
*
* @return Whether the cursor field is set.
*/
boolean hasCursor();
/**
*
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,20 @@ public interface PathElementOrBuilder
*/
com.google.protobuf.ByteString getKindBytes();

/**
*
*
* <pre>
* The auto-allocated ID of the entity.
* Never equal to zero. Values less than zero are discouraged and may not
* be supported in the future.
* </pre>
*
* <code>int64 id = 2;</code>
*
* @return Whether the id field is set.
*/
boolean hasId();
/**
*
*
Expand All @@ -187,6 +201,21 @@ public interface PathElementOrBuilder
*/
long getId();

/**
*
*
* <pre>
* The name of the entity.
* A name matching regex `__.*__` is reserved/read-only.
* A name must not be more than 1500 bytes when UTF-8 encoded.
* Cannot be `""`.
* </pre>
*
* <code>string name = 3;</code>
*
* @return Whether the name field is set.
*/
boolean hasName();
/**
*
*
Expand Down Expand Up @@ -431,6 +460,23 @@ public com.google.protobuf.ByteString getKindBytes() {
}

public static final int ID_FIELD_NUMBER = 2;
/**
*
*
* <pre>
* The auto-allocated ID of the entity.
* Never equal to zero. Values less than zero are discouraged and may not
* be supported in the future.
* </pre>
*
* <code>int64 id = 2;</code>
*
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return idTypeCase_ == 2;
}
/**
*
*
Expand All @@ -453,6 +499,23 @@ public long getId() {
}

public static final int NAME_FIELD_NUMBER = 3;
/**
*
*
* <pre>
* The name of the entity.
* A name matching regex `__.*__` is reserved/read-only.
* A name must not be more than 1500 bytes when UTF-8 encoded.
* Cannot be `""`.
* </pre>
*
* <code>string name = 3;</code>
*
* @return Whether the name field is set.
*/
public boolean hasName() {
return idTypeCase_ == 3;
}
/**
*
*
Expand Down Expand Up @@ -1034,6 +1097,22 @@ public Builder setKindBytes(com.google.protobuf.ByteString value) {
return this;
}

/**
*
*
* <pre>
* The auto-allocated ID of the entity.
* Never equal to zero. Values less than zero are discouraged and may not
* be supported in the future.
* </pre>
*
* <code>int64 id = 2;</code>
*
* @return Whether the id field is set.
*/
public boolean hasId() {
return idTypeCase_ == 2;
}
/**
*
*
Expand Down Expand Up @@ -1095,6 +1174,24 @@ public Builder clearId() {
return this;
}

/**
*
*
* <pre>
* The name of the entity.
* A name matching regex `__.*__` is reserved/read-only.
* A name must not be more than 1500 bytes when UTF-8 encoded.
* Cannot be `""`.
* </pre>
*
* <code>string name = 3;</code>
*
* @return Whether the name field is set.
*/
@java.lang.Override
public boolean hasName() {
return idTypeCase_ == 3;
}
/**
*
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,22 @@ public com.google.datastore.v1.KeyOrBuilder getDeleteOrBuilder() {
}

public static final int BASE_VERSION_FIELD_NUMBER = 8;
/**
*
*
* <pre>
* The version of the entity that this mutation is being applied to. If this
* does not match the current version on the server, the mutation conflicts.
* </pre>
*
* <code>int64 base_version = 8;</code>
*
* @return Whether the baseVersion field is set.
*/
@java.lang.Override
public boolean hasBaseVersion() {
return conflictDetectionStrategyCase_ == 8;
}
/**
*
*
Expand Down Expand Up @@ -1849,6 +1865,21 @@ public com.google.datastore.v1.KeyOrBuilder getDeleteOrBuilder() {
return deleteBuilder_;
}

/**
*
*
* <pre>
* The version of the entity that this mutation is being applied to. If this
* does not match the current version on the server, the mutation conflicts.
* </pre>
*
* <code>int64 base_version = 8;</code>
*
* @return Whether the baseVersion field is set.
*/
public boolean hasBaseVersion() {
return conflictDetectionStrategyCase_ == 8;
}
/**
*
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,19 @@ public interface MutationOrBuilder
*/
com.google.datastore.v1.KeyOrBuilder getDeleteOrBuilder();

/**
*
*
* <pre>
* The version of the entity that this mutation is being applied to. If this
* does not match the current version on the server, the mutation conflicts.
* </pre>
*
* <code>int64 base_version = 8;</code>
*
* @return Whether the baseVersion field is set.
*/
boolean hasBaseVersion();
/**
*
*
Expand Down
Loading

0 comments on commit 3b1f67a

Please sign in to comment.