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

feat(generator): update protoc to v3.15.3 #394

Merged
merged 2 commits into from Mar 2, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 9 additions & 0 deletions proto-google-cloud-language-v1/clirr-ignored-differences.xml
@@ -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>
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
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
@@ -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>
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
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
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