In particular this applies to Java and Python microgenerators.
With this change `java_gapic_*` and `py_gapic_*` rules mean microgenerator versions. The monolith versions of the rules are named as `java_gapic_*_legacy` and `py_gapic_*_legacy` respectively.
Also change Ads BAZEL template to reflect the change in default rule names.
Also change `DO NOT OVERRIDE` comment warnings meaning (to reflect that now by default microgenerator rules are generated and the generated version must be accepted only if the API is being migrated to the microgenerator).
PiperOrigin-RevId: 346227314
Removes uses of external dependency on longrunning/autogen:go_default_library
in favor of the local target //google/lonrunning:longrunning_go_gapic.
PiperOrigin-RevId: 314387187
The nodejs_gapic_library targets were migrated to gapic-generator-typescript
which doesn't use gapic_yaml, rendering that attribute unused. Instead it uses
the proto annotations & grpc_service_config, which this change reflects.
PiperOrigin-RevId: 314206960
Note that this contains breaking Java changes:
com.google.cloud.firestore.v1.FirestoreClient: Method 'public void deleteDocument(com.google.firestore.v1.AnyPathName)' has been removed
Committer: @miraleung
PiperOrigin-RevId: 305561906
Committer: @miraleung
There are the following breaking changes due to the collection_id discrepancy between [1] and [2]
1. 6f8350c0df/google/firestore/admin/v1/firestore_gapic.yaml (L24-L29)
2. 6f8350c0df/google/firestore/admin/v1/field.proto (L39)
```
com.google.firestore.admin.v1.FieldName: Method 'public java.lang.String getCollectionId()' has been removed
com.google.firestore.admin.v1.FieldName: Method 'public java.lang.String getFieldId()' has been removed
com.google.firestore.admin.v1.FieldName$Builder: Method 'public java.lang.String getCollectionId()' has been removed
com.google.firestore.admin.v1.FieldName$Builder: Method 'public java.lang.String getFieldId()' has been removed
com.google.firestore.admin.v1.FieldName$Builder: Method 'public com.google.firestore.admin.v1.FieldName$Builder setCollectionId(java.lang.String)' has been removed
com.google.firestore.admin.v1.FieldName$Builder: Method 'public com.google.firestore.admin.v1.FieldName$Builder setFieldId(java.lang.String)' has been removed
com.google.firestore.admin.v1.IndexName: Method 'public java.lang.String getCollectionId()' has been removed
com.google.firestore.admin.v1.IndexName: Method 'public java.lang.String getIndexId()' has been removed
com.google.firestore.admin.v1.IndexName$Builder: Method 'public java.lang.String getCollectionId()' has been removed
com.google.firestore.admin.v1.IndexName$Builder: Method 'public java.lang.String getIndexId()' has been removed
com.google.firestore.admin.v1.IndexName$Builder: Method 'public com.google.firestore.admin.v1.IndexName$Builder setCollectionId(java.lang.String)' has been removed
com.google.firestore.admin.v1.IndexName$Builder: Method 'public com.google.firestore.admin.v1.IndexName$Builder setIndexId(java.lang.String)' has been removed
```
PiperOrigin-RevId: 305561114
For transaction reads that fail with ABORTED, we need to rollback and start a new transaction. Our current configuration makes it so that GAPIC retries ABORTED reads multiple times without making any progress. Instead, we should retry at the transaction level.
PiperOrigin-RevId: 289532382
This makes googleapis forward compatible with Bazel incompatible change https://github.com/bazelbuild/bazel/issues/8922.
This CL was created by adding @rules_proto to the WORKSPACE file and then running:
find . -name BUILD.bazel | \
while read build; do \
buildifier --lint=fix --warnings=load $build; \
done
Since buildifier cannot be told not to reformat the BUILD file, some files are reformatted.
PiperOrigin-RevId: 280356106
Also configure python build for the following clients as an example:
diaglogflow/v2
language/v1
texttospeech/v1
firestore/v1beta1
pubsub/v1
PiperOrigin-RevId: 279406526