Skip to content
This repository has been archived by the owner on Sep 16, 2023. It is now read-only.

Commit

Permalink
fix(regen): make deprecated fields optional (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation committed Feb 12, 2020
1 parent 12cae57 commit 92d3d87
Show file tree
Hide file tree
Showing 63 changed files with 4,634 additions and 3,968 deletions.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Expand Up @@ -141,13 +141,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* <pre>
* Required. Deprecated. The Google Developers Console [project ID or project
* Deprecated. The Google Developers Console [project ID or project
* number](https://support.google.com/cloud/answer/6158840).
* This field has been deprecated and replaced by the name field.
* </pre>
*
* <code>string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
* </code>
* <code>string project_id = 1 [deprecated = true];</code>
*
* @return The projectId.
*/
Expand All @@ -167,13 +166,12 @@ public java.lang.String getProjectId() {
*
*
* <pre>
* Required. Deprecated. The Google Developers Console [project ID or project
* Deprecated. The Google Developers Console [project ID or project
* number](https://support.google.com/cloud/answer/6158840).
* This field has been deprecated and replaced by the name field.
* </pre>
*
* <code>string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
* </code>
* <code>string project_id = 1 [deprecated = true];</code>
*
* @return The bytes for projectId.
*/
Expand All @@ -196,12 +194,12 @@ public com.google.protobuf.ByteString getProjectIdBytes() {
*
*
* <pre>
* Required. Deprecated. The name of the Google Compute Engine
* Deprecated. The name of the Google Compute Engine
* [zone](/compute/docs/zones#available) in which the operation resides.
* This field has been deprecated and replaced by the name field.
* </pre>
*
* <code>string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED];</code>
* <code>string zone = 2 [deprecated = true];</code>
*
* @return The zone.
*/
Expand All @@ -221,12 +219,12 @@ public java.lang.String getZone() {
*
*
* <pre>
* Required. Deprecated. The name of the Google Compute Engine
* Deprecated. The name of the Google Compute Engine
* [zone](/compute/docs/zones#available) in which the operation resides.
* This field has been deprecated and replaced by the name field.
* </pre>
*
* <code>string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED];</code>
* <code>string zone = 2 [deprecated = true];</code>
*
* @return The bytes for zone.
*/
Expand All @@ -249,12 +247,11 @@ public com.google.protobuf.ByteString getZoneBytes() {
*
*
* <pre>
* Required. Deprecated. The server-assigned `name` of the operation.
* Deprecated. The server-assigned `name` of the operation.
* This field has been deprecated and replaced by the name field.
* </pre>
*
* <code>string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
* </code>
* <code>string operation_id = 3 [deprecated = true];</code>
*
* @return The operationId.
*/
Expand All @@ -274,12 +271,11 @@ public java.lang.String getOperationId() {
*
*
* <pre>
* Required. Deprecated. The server-assigned `name` of the operation.
* Deprecated. The server-assigned `name` of the operation.
* This field has been deprecated and replaced by the name field.
* </pre>
*
* <code>string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
* </code>
* <code>string operation_id = 3 [deprecated = true];</code>
*
* @return The bytes for operationId.
*/
Expand Down Expand Up @@ -714,13 +710,12 @@ public Builder mergeFrom(
*
*
* <pre>
* Required. Deprecated. The Google Developers Console [project ID or project
* Deprecated. The Google Developers Console [project ID or project
* number](https://support.google.com/cloud/answer/6158840).
* This field has been deprecated and replaced by the name field.
* </pre>
*
* <code>string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
* </code>
* <code>string project_id = 1 [deprecated = true];</code>
*
* @return The projectId.
*/
Expand All @@ -740,13 +735,12 @@ public java.lang.String getProjectId() {
*
*
* <pre>
* Required. Deprecated. The Google Developers Console [project ID or project
* Deprecated. The Google Developers Console [project ID or project
* number](https://support.google.com/cloud/answer/6158840).
* This field has been deprecated and replaced by the name field.
* </pre>
*
* <code>string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
* </code>
* <code>string project_id = 1 [deprecated = true];</code>
*
* @return The bytes for projectId.
*/
Expand All @@ -766,13 +760,12 @@ public com.google.protobuf.ByteString getProjectIdBytes() {
*
*
* <pre>
* Required. Deprecated. The Google Developers Console [project ID or project
* Deprecated. The Google Developers Console [project ID or project
* number](https://support.google.com/cloud/answer/6158840).
* This field has been deprecated and replaced by the name field.
* </pre>
*
* <code>string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
* </code>
* <code>string project_id = 1 [deprecated = true];</code>
*
* @param value The projectId to set.
* @return This builder for chaining.
Expand All @@ -791,13 +784,12 @@ public Builder setProjectId(java.lang.String value) {
*
*
* <pre>
* Required. Deprecated. The Google Developers Console [project ID or project
* Deprecated. The Google Developers Console [project ID or project
* number](https://support.google.com/cloud/answer/6158840).
* This field has been deprecated and replaced by the name field.
* </pre>
*
* <code>string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
* </code>
* <code>string project_id = 1 [deprecated = true];</code>
*
* @return This builder for chaining.
*/
Expand All @@ -812,13 +804,12 @@ public Builder clearProjectId() {
*
*
* <pre>
* Required. Deprecated. The Google Developers Console [project ID or project
* Deprecated. The Google Developers Console [project ID or project
* number](https://support.google.com/cloud/answer/6158840).
* This field has been deprecated and replaced by the name field.
* </pre>
*
* <code>string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
* </code>
* <code>string project_id = 1 [deprecated = true];</code>
*
* @param value The bytes for projectId to set.
* @return This builder for chaining.
Expand All @@ -840,12 +831,12 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) {
*
*
* <pre>
* Required. Deprecated. The name of the Google Compute Engine
* Deprecated. The name of the Google Compute Engine
* [zone](/compute/docs/zones#available) in which the operation resides.
* This field has been deprecated and replaced by the name field.
* </pre>
*
* <code>string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED];</code>
* <code>string zone = 2 [deprecated = true];</code>
*
* @return The zone.
*/
Expand All @@ -865,12 +856,12 @@ public java.lang.String getZone() {
*
*
* <pre>
* Required. Deprecated. The name of the Google Compute Engine
* Deprecated. The name of the Google Compute Engine
* [zone](/compute/docs/zones#available) in which the operation resides.
* This field has been deprecated and replaced by the name field.
* </pre>
*
* <code>string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED];</code>
* <code>string zone = 2 [deprecated = true];</code>
*
* @return The bytes for zone.
*/
Expand All @@ -890,12 +881,12 @@ public com.google.protobuf.ByteString getZoneBytes() {
*
*
* <pre>
* Required. Deprecated. The name of the Google Compute Engine
* Deprecated. The name of the Google Compute Engine
* [zone](/compute/docs/zones#available) in which the operation resides.
* This field has been deprecated and replaced by the name field.
* </pre>
*
* <code>string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED];</code>
* <code>string zone = 2 [deprecated = true];</code>
*
* @param value The zone to set.
* @return This builder for chaining.
Expand All @@ -914,12 +905,12 @@ public Builder setZone(java.lang.String value) {
*
*
* <pre>
* Required. Deprecated. The name of the Google Compute Engine
* Deprecated. The name of the Google Compute Engine
* [zone](/compute/docs/zones#available) in which the operation resides.
* This field has been deprecated and replaced by the name field.
* </pre>
*
* <code>string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED];</code>
* <code>string zone = 2 [deprecated = true];</code>
*
* @return This builder for chaining.
*/
Expand All @@ -934,12 +925,12 @@ public Builder clearZone() {
*
*
* <pre>
* Required. Deprecated. The name of the Google Compute Engine
* Deprecated. The name of the Google Compute Engine
* [zone](/compute/docs/zones#available) in which the operation resides.
* This field has been deprecated and replaced by the name field.
* </pre>
*
* <code>string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED];</code>
* <code>string zone = 2 [deprecated = true];</code>
*
* @param value The bytes for zone to set.
* @return This builder for chaining.
Expand All @@ -961,12 +952,11 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) {
*
*
* <pre>
* Required. Deprecated. The server-assigned `name` of the operation.
* Deprecated. The server-assigned `name` of the operation.
* This field has been deprecated and replaced by the name field.
* </pre>
*
* <code>string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
* </code>
* <code>string operation_id = 3 [deprecated = true];</code>
*
* @return The operationId.
*/
Expand All @@ -986,12 +976,11 @@ public java.lang.String getOperationId() {
*
*
* <pre>
* Required. Deprecated. The server-assigned `name` of the operation.
* Deprecated. The server-assigned `name` of the operation.
* This field has been deprecated and replaced by the name field.
* </pre>
*
* <code>string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
* </code>
* <code>string operation_id = 3 [deprecated = true];</code>
*
* @return The bytes for operationId.
*/
Expand All @@ -1011,12 +1000,11 @@ public com.google.protobuf.ByteString getOperationIdBytes() {
*
*
* <pre>
* Required. Deprecated. The server-assigned `name` of the operation.
* Deprecated. The server-assigned `name` of the operation.
* This field has been deprecated and replaced by the name field.
* </pre>
*
* <code>string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
* </code>
* <code>string operation_id = 3 [deprecated = true];</code>
*
* @param value The operationId to set.
* @return This builder for chaining.
Expand All @@ -1035,12 +1023,11 @@ public Builder setOperationId(java.lang.String value) {
*
*
* <pre>
* Required. Deprecated. The server-assigned `name` of the operation.
* Deprecated. The server-assigned `name` of the operation.
* This field has been deprecated and replaced by the name field.
* </pre>
*
* <code>string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
* </code>
* <code>string operation_id = 3 [deprecated = true];</code>
*
* @return This builder for chaining.
*/
Expand All @@ -1055,12 +1042,11 @@ public Builder clearOperationId() {
*
*
* <pre>
* Required. Deprecated. The server-assigned `name` of the operation.
* Deprecated. The server-assigned `name` of the operation.
* This field has been deprecated and replaced by the name field.
* </pre>
*
* <code>string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
* </code>
* <code>string operation_id = 3 [deprecated = true];</code>
*
* @param value The bytes for operationId to set.
* @return This builder for chaining.
Expand Down

0 comments on commit 92d3d87

Please sign in to comment.