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

Commit b1110bb

Browse files
feat(generator): update protoc to v3.15.3 (#435)
This PR was generated using Autosynth. 🌈 Synth log will be available here: https://source.cloud.google.com/results/invocations/dfc9f52b-cc5c-4476-8d60-5cfd241e853c/targets - [ ] To automatically regenerate this PR, check this box. PiperOrigin-RevId: 359781040 Source-Link: googleapis/googleapis@f6dd7e4
1 parent 66c844c commit b1110bb

File tree

5 files changed

+99
-5
lines changed

5 files changed

+99
-5
lines changed

proto-google-cloud-recommender-v1/src/main/java/com/google/cloud/recommender/v1/ValueMatcher.java

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,22 @@ public MatchVariantCase getMatchVariantCase() {
154154
}
155155

156156
public static final int MATCHES_PATTERN_FIELD_NUMBER = 1;
157+
/**
158+
*
159+
*
160+
* <pre>
161+
* To be used for full regex matching. The regular expression is using the
162+
* Google RE2 syntax (https://github.com/google/re2/wiki/Syntax), so to be
163+
* used with RE2::FullMatch
164+
* </pre>
165+
*
166+
* <code>string matches_pattern = 1;</code>
167+
*
168+
* @return Whether the matchesPattern field is set.
169+
*/
170+
public boolean hasMatchesPattern() {
171+
return matchVariantCase_ == 1;
172+
}
157173
/**
158174
*
159175
*
@@ -568,6 +584,23 @@ public Builder clearMatchVariant() {
568584
return this;
569585
}
570586

587+
/**
588+
*
589+
*
590+
* <pre>
591+
* To be used for full regex matching. The regular expression is using the
592+
* Google RE2 syntax (https://github.com/google/re2/wiki/Syntax), so to be
593+
* used with RE2::FullMatch
594+
* </pre>
595+
*
596+
* <code>string matches_pattern = 1;</code>
597+
*
598+
* @return Whether the matchesPattern field is set.
599+
*/
600+
@java.lang.Override
601+
public boolean hasMatchesPattern() {
602+
return matchVariantCase_ == 1;
603+
}
571604
/**
572605
*
573606
*

proto-google-cloud-recommender-v1/src/main/java/com/google/cloud/recommender/v1/ValueMatcherOrBuilder.java

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,20 @@ public interface ValueMatcherOrBuilder
2323
// @@protoc_insertion_point(interface_extends:google.cloud.recommender.v1.ValueMatcher)
2424
com.google.protobuf.MessageOrBuilder {
2525

26+
/**
27+
*
28+
*
29+
* <pre>
30+
* To be used for full regex matching. The regular expression is using the
31+
* Google RE2 syntax (https://github.com/google/re2/wiki/Syntax), so to be
32+
* used with RE2::FullMatch
33+
* </pre>
34+
*
35+
* <code>string matches_pattern = 1;</code>
36+
*
37+
* @return Whether the matchesPattern field is set.
38+
*/
39+
boolean hasMatchesPattern();
2640
/**
2741
*
2842
*

proto-google-cloud-recommender-v1beta1/src/main/java/com/google/cloud/recommender/v1beta1/ValueMatcher.java

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,22 @@ public MatchVariantCase getMatchVariantCase() {
154154
}
155155

156156
public static final int MATCHES_PATTERN_FIELD_NUMBER = 1;
157+
/**
158+
*
159+
*
160+
* <pre>
161+
* To be used for full regex matching. The regular expression is using the
162+
* Google RE2 syntax (https://github.com/google/re2/wiki/Syntax), so to be
163+
* used with RE2::FullMatch
164+
* </pre>
165+
*
166+
* <code>string matches_pattern = 1;</code>
167+
*
168+
* @return Whether the matchesPattern field is set.
169+
*/
170+
public boolean hasMatchesPattern() {
171+
return matchVariantCase_ == 1;
172+
}
157173
/**
158174
*
159175
*
@@ -570,6 +586,23 @@ public Builder clearMatchVariant() {
570586
return this;
571587
}
572588

589+
/**
590+
*
591+
*
592+
* <pre>
593+
* To be used for full regex matching. The regular expression is using the
594+
* Google RE2 syntax (https://github.com/google/re2/wiki/Syntax), so to be
595+
* used with RE2::FullMatch
596+
* </pre>
597+
*
598+
* <code>string matches_pattern = 1;</code>
599+
*
600+
* @return Whether the matchesPattern field is set.
601+
*/
602+
@java.lang.Override
603+
public boolean hasMatchesPattern() {
604+
return matchVariantCase_ == 1;
605+
}
573606
/**
574607
*
575608
*

proto-google-cloud-recommender-v1beta1/src/main/java/com/google/cloud/recommender/v1beta1/ValueMatcherOrBuilder.java

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,20 @@ public interface ValueMatcherOrBuilder
2323
// @@protoc_insertion_point(interface_extends:google.cloud.recommender.v1beta1.ValueMatcher)
2424
com.google.protobuf.MessageOrBuilder {
2525

26+
/**
27+
*
28+
*
29+
* <pre>
30+
* To be used for full regex matching. The regular expression is using the
31+
* Google RE2 syntax (https://github.com/google/re2/wiki/Syntax), so to be
32+
* used with RE2::FullMatch
33+
* </pre>
34+
*
35+
* <code>string matches_pattern = 1;</code>
36+
*
37+
* @return Whether the matchesPattern field is set.
38+
*/
39+
boolean hasMatchesPattern();
2640
/**
2741
*
2842
*

synth.metadata

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,23 @@
44
"git": {
55
"name": ".",
66
"remote": "https://github.com/googleapis/java-recommender.git",
7-
"sha": "a2e9484e28b9a6884efe6564f73fa442e5487a39"
7+
"sha": "66c844c35dc8bb2f0c7f2614180ac4ca7172dcba"
88
}
99
},
1010
{
1111
"git": {
1212
"name": "googleapis",
1313
"remote": "https://github.com/googleapis/googleapis.git",
14-
"sha": "af8f71dae961ee036a0ac52a1965270149a6b2c9",
15-
"internalRef": "358516065"
14+
"sha": "f6dd7e47620566925a4b3f1ce029e74e1b2f2516",
15+
"internalRef": "359781040"
1616
}
1717
},
1818
{
1919
"git": {
2020
"name": "googleapis",
2121
"remote": "https://github.com/googleapis/googleapis.git",
22-
"sha": "af8f71dae961ee036a0ac52a1965270149a6b2c9",
23-
"internalRef": "358516065"
22+
"sha": "f6dd7e47620566925a4b3f1ce029e74e1b2f2516",
23+
"internalRef": "359781040"
2424
}
2525
},
2626
{

0 commit comments

Comments
 (0)