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

Commit

Permalink
feat(generator): update protoc to v3.15.3 (#394)
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/03645e34-b7a2-470a-9ea5-23f9d034150c/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 336dc1e commit 061720a
Show file tree
Hide file tree
Showing 7 changed files with 211 additions and 5 deletions.
9 changes: 9 additions & 0 deletions proto-google-cloud-language-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/cloud/language/v1/*OrBuilder</className>
<method>* has*(*)</method>
</difference>
</differences>
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,21 @@ public com.google.cloud.language.v1.Document.Type getType() {
}

public static final int CONTENT_FIELD_NUMBER = 2;
/**
*
*
* <pre>
* The content of the input in string format.
* Cloud audit logging exempt since it is based on user data.
* </pre>
*
* <code>string content = 2;</code>
*
* @return Whether the content field is set.
*/
public boolean hasContent() {
return sourceCase_ == 2;
}
/**
*
*
Expand Down Expand Up @@ -434,6 +449,23 @@ public com.google.protobuf.ByteString getContentBytes() {
}

public static final int GCS_CONTENT_URI_FIELD_NUMBER = 3;
/**
*
*
* <pre>
* The Google Cloud Storage URI where the file content is located.
* This URI must be of the form: gs://bucket_name/object_name. For more
* details, see https://cloud.google.com/storage/docs/reference-uris.
* NOTE: Cloud Storage object versioning is not supported.
* </pre>
*
* <code>string gcs_content_uri = 3;</code>
*
* @return Whether the gcsContentUri field is set.
*/
public boolean hasGcsContentUri() {
return sourceCase_ == 3;
}
/**
*
*
Expand Down Expand Up @@ -1061,6 +1093,22 @@ public Builder clearType() {
return this;
}

/**
*
*
* <pre>
* The content of the input in string format.
* Cloud audit logging exempt since it is based on user data.
* </pre>
*
* <code>string content = 2;</code>
*
* @return Whether the content field is set.
*/
@java.lang.Override
public boolean hasContent() {
return sourceCase_ == 2;
}
/**
*
*
Expand Down Expand Up @@ -1185,6 +1233,24 @@ public Builder setContentBytes(com.google.protobuf.ByteString value) {
return this;
}

/**
*
*
* <pre>
* The Google Cloud Storage URI where the file content is located.
* This URI must be of the form: gs://bucket_name/object_name. For more
* details, see https://cloud.google.com/storage/docs/reference-uris.
* NOTE: Cloud Storage object versioning is not supported.
* </pre>
*
* <code>string gcs_content_uri = 3;</code>
*
* @return Whether the gcsContentUri field is set.
*/
@java.lang.Override
public boolean hasGcsContentUri() {
return sourceCase_ == 3;
}
/**
*
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,19 @@ public interface DocumentOrBuilder
*/
com.google.cloud.language.v1.Document.Type getType();

/**
*
*
* <pre>
* The content of the input in string format.
* Cloud audit logging exempt since it is based on user data.
* </pre>
*
* <code>string content = 2;</code>
*
* @return Whether the content field is set.
*/
boolean hasContent();
/**
*
*
Expand Down Expand Up @@ -77,6 +90,21 @@ public interface DocumentOrBuilder
*/
com.google.protobuf.ByteString getContentBytes();

/**
*
*
* <pre>
* The Google Cloud Storage URI where the file content is located.
* This URI must be of the form: gs://bucket_name/object_name. For more
* details, see https://cloud.google.com/storage/docs/reference-uris.
* NOTE: Cloud Storage object versioning is not supported.
* </pre>
*
* <code>string gcs_content_uri = 3;</code>
*
* @return Whether the gcsContentUri field is set.
*/
boolean hasGcsContentUri();
/**
*
*
Expand Down
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/cloud/language/v1beta2/*OrBuilder</className>
<method>* has*(*)</method>
</difference>
</differences>
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,21 @@ public com.google.cloud.language.v1beta2.Document.Type getType() {
}

public static final int CONTENT_FIELD_NUMBER = 2;
/**
*
*
* <pre>
* The content of the input in string format.
* Cloud audit logging exempt since it is based on user data.
* </pre>
*
* <code>string content = 2;</code>
*
* @return Whether the content field is set.
*/
public boolean hasContent() {
return sourceCase_ == 2;
}
/**
*
*
Expand Down Expand Up @@ -434,6 +449,23 @@ public com.google.protobuf.ByteString getContentBytes() {
}

public static final int GCS_CONTENT_URI_FIELD_NUMBER = 3;
/**
*
*
* <pre>
* The Google Cloud Storage URI where the file content is located.
* This URI must be of the form: gs://bucket_name/object_name. For more
* details, see https://cloud.google.com/storage/docs/reference-uris.
* NOTE: Cloud Storage object versioning is not supported.
* </pre>
*
* <code>string gcs_content_uri = 3;</code>
*
* @return Whether the gcsContentUri field is set.
*/
public boolean hasGcsContentUri() {
return sourceCase_ == 3;
}
/**
*
*
Expand Down Expand Up @@ -1063,6 +1095,22 @@ public Builder clearType() {
return this;
}

/**
*
*
* <pre>
* The content of the input in string format.
* Cloud audit logging exempt since it is based on user data.
* </pre>
*
* <code>string content = 2;</code>
*
* @return Whether the content field is set.
*/
@java.lang.Override
public boolean hasContent() {
return sourceCase_ == 2;
}
/**
*
*
Expand Down Expand Up @@ -1187,6 +1235,24 @@ public Builder setContentBytes(com.google.protobuf.ByteString value) {
return this;
}

/**
*
*
* <pre>
* The Google Cloud Storage URI where the file content is located.
* This URI must be of the form: gs://bucket_name/object_name. For more
* details, see https://cloud.google.com/storage/docs/reference-uris.
* NOTE: Cloud Storage object versioning is not supported.
* </pre>
*
* <code>string gcs_content_uri = 3;</code>
*
* @return Whether the gcsContentUri field is set.
*/
@java.lang.Override
public boolean hasGcsContentUri() {
return sourceCase_ == 3;
}
/**
*
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,19 @@ public interface DocumentOrBuilder
*/
com.google.cloud.language.v1beta2.Document.Type getType();

/**
*
*
* <pre>
* The content of the input in string format.
* Cloud audit logging exempt since it is based on user data.
* </pre>
*
* <code>string content = 2;</code>
*
* @return Whether the content field is set.
*/
boolean hasContent();
/**
*
*
Expand Down Expand Up @@ -77,6 +90,21 @@ public interface DocumentOrBuilder
*/
com.google.protobuf.ByteString getContentBytes();

/**
*
*
* <pre>
* The Google Cloud Storage URI where the file content is located.
* This URI must be of the form: gs://bucket_name/object_name. For more
* details, see https://cloud.google.com/storage/docs/reference-uris.
* NOTE: Cloud Storage object versioning is not supported.
* </pre>
*
* <code>string gcs_content_uri = 3;</code>
*
* @return Whether the gcsContentUri field is set.
*/
boolean hasGcsContentUri();
/**
*
*
Expand Down
10 changes: 5 additions & 5 deletions synth.metadata
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,23 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-language.git",
"sha": "55d4321a5a10959eb3caf0f4fa9800ffb9fca2c9"
"sha": "336dc1e3648e415bd2e4db688de4f39e79001311"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "af8f71dae961ee036a0ac52a1965270149a6b2c9",
"internalRef": "358516065"
"sha": "f6dd7e47620566925a4b3f1ce029e74e1b2f2516",
"internalRef": "359781040"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "af8f71dae961ee036a0ac52a1965270149a6b2c9",
"internalRef": "358516065"
"sha": "f6dd7e47620566925a4b3f1ce029e74e1b2f2516",
"internalRef": "359781040"
}
},
{
Expand Down

0 comments on commit 061720a

Please sign in to comment.