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

Commit a1364b3

Browse files
feat(generator): update protoc to v3.15.3 (#448)
This PR was generated using Autosynth. 🌈 Synth log will be available here: https://source.cloud.google.com/results/invocations/20ff8108-4bb8-44d9-b386-bf2432a15754/targets - [ ] To automatically regenerate this PR, check this box. PiperOrigin-RevId: 359781040 Source-Link: googleapis/googleapis@f6dd7e4
1 parent eb21070 commit a1364b3

15 files changed

+832
-3
lines changed

proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharsToIgnore.java

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -391,6 +391,20 @@ public CharactersCase getCharactersCase() {
391391
}
392392

393393
public static final int CHARACTERS_TO_SKIP_FIELD_NUMBER = 1;
394+
/**
395+
*
396+
*
397+
* <pre>
398+
* Characters to not transform when masking.
399+
* </pre>
400+
*
401+
* <code>string characters_to_skip = 1;</code>
402+
*
403+
* @return Whether the charactersToSkip field is set.
404+
*/
405+
public boolean hasCharactersToSkip() {
406+
return charactersCase_ == 1;
407+
}
394408
/**
395409
*
396410
*
@@ -447,6 +461,22 @@ public com.google.protobuf.ByteString getCharactersToSkipBytes() {
447461
}
448462

449463
public static final int COMMON_CHARACTERS_TO_IGNORE_FIELD_NUMBER = 2;
464+
/**
465+
*
466+
*
467+
* <pre>
468+
* Common characters to not transform when masking. Useful to avoid removing
469+
* punctuation.
470+
* </pre>
471+
*
472+
* <code>.google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore common_characters_to_ignore = 2;
473+
* </code>
474+
*
475+
* @return Whether the commonCharactersToIgnore field is set.
476+
*/
477+
public boolean hasCommonCharactersToIgnore() {
478+
return charactersCase_ == 2;
479+
}
450480
/**
451481
*
452482
*
@@ -872,6 +902,21 @@ public Builder clearCharacters() {
872902
return this;
873903
}
874904

905+
/**
906+
*
907+
*
908+
* <pre>
909+
* Characters to not transform when masking.
910+
* </pre>
911+
*
912+
* <code>string characters_to_skip = 1;</code>
913+
*
914+
* @return Whether the charactersToSkip field is set.
915+
*/
916+
@java.lang.Override
917+
public boolean hasCharactersToSkip() {
918+
return charactersCase_ == 1;
919+
}
875920
/**
876921
*
877922
*
@@ -991,6 +1036,24 @@ public Builder setCharactersToSkipBytes(com.google.protobuf.ByteString value) {
9911036
return this;
9921037
}
9931038

1039+
/**
1040+
*
1041+
*
1042+
* <pre>
1043+
* Common characters to not transform when masking. Useful to avoid removing
1044+
* punctuation.
1045+
* </pre>
1046+
*
1047+
* <code>
1048+
* .google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore common_characters_to_ignore = 2;
1049+
* </code>
1050+
*
1051+
* @return Whether the commonCharactersToIgnore field is set.
1052+
*/
1053+
@java.lang.Override
1054+
public boolean hasCommonCharactersToIgnore() {
1055+
return charactersCase_ == 2;
1056+
}
9941057
/**
9951058
*
9961059
*

proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CharsToIgnoreOrBuilder.java

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,18 @@ public interface CharsToIgnoreOrBuilder
2323
// @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.CharsToIgnore)
2424
com.google.protobuf.MessageOrBuilder {
2525

26+
/**
27+
*
28+
*
29+
* <pre>
30+
* Characters to not transform when masking.
31+
* </pre>
32+
*
33+
* <code>string characters_to_skip = 1;</code>
34+
*
35+
* @return Whether the charactersToSkip field is set.
36+
*/
37+
boolean hasCharactersToSkip();
2638
/**
2739
*
2840
*
@@ -48,6 +60,20 @@ public interface CharsToIgnoreOrBuilder
4860
*/
4961
com.google.protobuf.ByteString getCharactersToSkipBytes();
5062

63+
/**
64+
*
65+
*
66+
* <pre>
67+
* Common characters to not transform when masking. Useful to avoid removing
68+
* punctuation.
69+
* </pre>
70+
*
71+
* <code>.google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnore common_characters_to_ignore = 2;
72+
* </code>
73+
*
74+
* @return Whether the commonCharactersToIgnore field is set.
75+
*/
76+
boolean hasCommonCharactersToIgnore();
5177
/**
5278
*
5379
*

proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentItem.java

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,20 @@ public DataItemCase getDataItemCase() {
191191
}
192192

193193
public static final int VALUE_FIELD_NUMBER = 3;
194+
/**
195+
*
196+
*
197+
* <pre>
198+
* String data to inspect or redact.
199+
* </pre>
200+
*
201+
* <code>string value = 3;</code>
202+
*
203+
* @return Whether the value field is set.
204+
*/
205+
public boolean hasValue() {
206+
return dataItemCase_ == 3;
207+
}
194208
/**
195209
*
196210
*
@@ -761,6 +775,21 @@ public Builder clearDataItem() {
761775
return this;
762776
}
763777

778+
/**
779+
*
780+
*
781+
* <pre>
782+
* String data to inspect or redact.
783+
* </pre>
784+
*
785+
* <code>string value = 3;</code>
786+
*
787+
* @return Whether the value field is set.
788+
*/
789+
@java.lang.Override
790+
public boolean hasValue() {
791+
return dataItemCase_ == 3;
792+
}
764793
/**
765794
*
766795
*

proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ContentItemOrBuilder.java

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,18 @@ public interface ContentItemOrBuilder
2323
// @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ContentItem)
2424
com.google.protobuf.MessageOrBuilder {
2525

26+
/**
27+
*
28+
*
29+
* <pre>
30+
* String data to inspect or redact.
31+
* </pre>
32+
*
33+
* <code>string value = 3;</code>
34+
*
35+
* @return Whether the value field is set.
36+
*/
37+
boolean hasValue();
2638
/**
2739
*
2840
*

proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/CryptoReplaceFfxFpeConfig.java

Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -577,6 +577,22 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getContextOrBuilder() {
577577
}
578578

579579
public static final int COMMON_ALPHABET_FIELD_NUMBER = 4;
580+
/**
581+
*
582+
*
583+
* <pre>
584+
* Common alphabets.
585+
* </pre>
586+
*
587+
* <code>
588+
* .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet common_alphabet = 4;
589+
* </code>
590+
*
591+
* @return Whether the commonAlphabet field is set.
592+
*/
593+
public boolean hasCommonAlphabet() {
594+
return alphabetCase_ == 4;
595+
}
580596
/**
581597
*
582598
*
@@ -625,6 +641,29 @@ public int getCommonAlphabetValue() {
625641
}
626642

627643
public static final int CUSTOM_ALPHABET_FIELD_NUMBER = 5;
644+
/**
645+
*
646+
*
647+
* <pre>
648+
* This is supported by mapping these to the alphanumeric characters
649+
* that the FFX mode natively supports. This happens before/after
650+
* encryption/decryption.
651+
* Each character listed must appear only once.
652+
* Number of characters must be in the range [2, 95].
653+
* This must be encoded as ASCII.
654+
* The order of characters does not matter.
655+
* The full list of allowed characters is:
656+
* &lt;code&gt;0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
657+
* ~`!&#64;#$%^&amp;*()_-+={[}]|&#92;:;"'&lt;,&gt;.?/&lt;/code&gt;
658+
* </pre>
659+
*
660+
* <code>string custom_alphabet = 5;</code>
661+
*
662+
* @return Whether the customAlphabet field is set.
663+
*/
664+
public boolean hasCustomAlphabet() {
665+
return alphabetCase_ == 5;
666+
}
628667
/**
629668
*
630669
*
@@ -699,6 +738,21 @@ public com.google.protobuf.ByteString getCustomAlphabetBytes() {
699738
}
700739

701740
public static final int RADIX_FIELD_NUMBER = 6;
741+
/**
742+
*
743+
*
744+
* <pre>
745+
* The native way to select the alphabet. Must be in the range [2, 95].
746+
* </pre>
747+
*
748+
* <code>int32 radix = 6;</code>
749+
*
750+
* @return Whether the radix field is set.
751+
*/
752+
@java.lang.Override
753+
public boolean hasRadix() {
754+
return alphabetCase_ == 6;
755+
}
702756
/**
703757
*
704758
*
@@ -1827,6 +1881,23 @@ public com.google.privacy.dlp.v2.FieldIdOrBuilder getContextOrBuilder() {
18271881
return contextBuilder_;
18281882
}
18291883

1884+
/**
1885+
*
1886+
*
1887+
* <pre>
1888+
* Common alphabets.
1889+
* </pre>
1890+
*
1891+
* <code>
1892+
* .google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabet common_alphabet = 4;
1893+
* </code>
1894+
*
1895+
* @return Whether the commonAlphabet field is set.
1896+
*/
1897+
@java.lang.Override
1898+
public boolean hasCommonAlphabet() {
1899+
return alphabetCase_ == 4;
1900+
}
18301901
/**
18311902
*
18321903
*
@@ -1942,6 +2013,30 @@ public Builder clearCommonAlphabet() {
19422013
return this;
19432014
}
19442015

2016+
/**
2017+
*
2018+
*
2019+
* <pre>
2020+
* This is supported by mapping these to the alphanumeric characters
2021+
* that the FFX mode natively supports. This happens before/after
2022+
* encryption/decryption.
2023+
* Each character listed must appear only once.
2024+
* Number of characters must be in the range [2, 95].
2025+
* This must be encoded as ASCII.
2026+
* The order of characters does not matter.
2027+
* The full list of allowed characters is:
2028+
* &lt;code&gt;0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
2029+
* ~`!&#64;#$%^&amp;*()_-+={[}]|&#92;:;"'&lt;,&gt;.?/&lt;/code&gt;
2030+
* </pre>
2031+
*
2032+
* <code>string custom_alphabet = 5;</code>
2033+
*
2034+
* @return Whether the customAlphabet field is set.
2035+
*/
2036+
@java.lang.Override
2037+
public boolean hasCustomAlphabet() {
2038+
return alphabetCase_ == 5;
2039+
}
19452040
/**
19462041
*
19472042
*
@@ -2106,6 +2201,20 @@ public Builder setCustomAlphabetBytes(com.google.protobuf.ByteString value) {
21062201
return this;
21072202
}
21082203

2204+
/**
2205+
*
2206+
*
2207+
* <pre>
2208+
* The native way to select the alphabet. Must be in the range [2, 95].
2209+
* </pre>
2210+
*
2211+
* <code>int32 radix = 6;</code>
2212+
*
2213+
* @return Whether the radix field is set.
2214+
*/
2215+
public boolean hasRadix() {
2216+
return alphabetCase_ == 6;
2217+
}
21092218
/**
21102219
*
21112220
*

0 commit comments

Comments
 (0)