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

Commit e659aec

Browse files
feat(generator): update protoc to v3.15.3 (#136)
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 33f32d1 commit e659aec

8 files changed

Lines changed: 244 additions & 3 deletions

File tree

proto-google-cloud-security-private-ca-v1beta1/src/main/java/com/google/cloud/security/privateca/v1beta1/Certificate.java

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1345,6 +1345,20 @@ public com.google.protobuf.ByteString getNameBytes() {
13451345
}
13461346

13471347
public static final int PEM_CSR_FIELD_NUMBER = 2;
1348+
/**
1349+
*
1350+
*
1351+
* <pre>
1352+
* Immutable. A pem-encoded X.509 certificate signing request (CSR).
1353+
* </pre>
1354+
*
1355+
* <code>string pem_csr = 2 [(.google.api.field_behavior) = IMMUTABLE];</code>
1356+
*
1357+
* @return Whether the pemCsr field is set.
1358+
*/
1359+
public boolean hasPemCsr() {
1360+
return certificateConfigCase_ == 2;
1361+
}
13481362
/**
13491363
*
13501364
*
@@ -2703,6 +2717,21 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
27032717
return this;
27042718
}
27052719

2720+
/**
2721+
*
2722+
*
2723+
* <pre>
2724+
* Immutable. A pem-encoded X.509 certificate signing request (CSR).
2725+
* </pre>
2726+
*
2727+
* <code>string pem_csr = 2 [(.google.api.field_behavior) = IMMUTABLE];</code>
2728+
*
2729+
* @return Whether the pemCsr field is set.
2730+
*/
2731+
@java.lang.Override
2732+
public boolean hasPemCsr() {
2733+
return certificateConfigCase_ == 2;
2734+
}
27062735
/**
27072736
*
27082737
*

proto-google-cloud-security-private-ca-v1beta1/src/main/java/com/google/cloud/security/privateca/v1beta1/CertificateAuthority.java

Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10949,6 +10949,22 @@ public interface KeyVersionSpecOrBuilder
1094910949
// @@protoc_insertion_point(interface_extends:google.cloud.security.privateca.v1beta1.CertificateAuthority.KeyVersionSpec)
1095010950
com.google.protobuf.MessageOrBuilder {
1095110951

10952+
/**
10953+
*
10954+
*
10955+
* <pre>
10956+
* Required. The resource name for an existing Cloud KMS CryptoKeyVersion in the
10957+
* format
10958+
* `projects/&#42;&#47;locations/&#42;&#47;keyRings/&#42;&#47;cryptoKeys/&#42;&#47;cryptoKeyVersions/&#42;`.
10959+
* This option enables full flexibility in the key's capabilities and
10960+
* properties.
10961+
* </pre>
10962+
*
10963+
* <code>string cloud_kms_key_version = 1 [(.google.api.field_behavior) = REQUIRED];</code>
10964+
*
10965+
* @return Whether the cloudKmsKeyVersion field is set.
10966+
*/
10967+
boolean hasCloudKmsKeyVersion();
1095210968
/**
1095310969
*
1095410970
*
@@ -10982,6 +10998,22 @@ public interface KeyVersionSpecOrBuilder
1098210998
*/
1098310999
com.google.protobuf.ByteString getCloudKmsKeyVersionBytes();
1098411000

11001+
/**
11002+
*
11003+
*
11004+
* <pre>
11005+
* Required. The algorithm to use for creating a managed Cloud KMS key for a for a
11006+
* simplified experience. All managed keys will be have their
11007+
* [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] as `HSM`.
11008+
* </pre>
11009+
*
11010+
* <code>
11011+
* .google.cloud.security.privateca.v1beta1.CertificateAuthority.SignHashAlgorithm algorithm = 2 [(.google.api.field_behavior) = REQUIRED];
11012+
* </code>
11013+
*
11014+
* @return Whether the algorithm field is set.
11015+
*/
11016+
boolean hasAlgorithm();
1098511017
/**
1098611018
*
1098711019
*
@@ -11168,6 +11200,24 @@ public KeyVersionCase getKeyVersionCase() {
1116811200
}
1116911201

1117011202
public static final int CLOUD_KMS_KEY_VERSION_FIELD_NUMBER = 1;
11203+
/**
11204+
*
11205+
*
11206+
* <pre>
11207+
* Required. The resource name for an existing Cloud KMS CryptoKeyVersion in the
11208+
* format
11209+
* `projects/&#42;&#47;locations/&#42;&#47;keyRings/&#42;&#47;cryptoKeys/&#42;&#47;cryptoKeyVersions/&#42;`.
11210+
* This option enables full flexibility in the key's capabilities and
11211+
* properties.
11212+
* </pre>
11213+
*
11214+
* <code>string cloud_kms_key_version = 1 [(.google.api.field_behavior) = REQUIRED];</code>
11215+
*
11216+
* @return Whether the cloudKmsKeyVersion field is set.
11217+
*/
11218+
public boolean hasCloudKmsKeyVersion() {
11219+
return keyVersionCase_ == 1;
11220+
}
1117111221
/**
1117211222
*
1117311223
*
@@ -11232,6 +11282,24 @@ public com.google.protobuf.ByteString getCloudKmsKeyVersionBytes() {
1123211282
}
1123311283

1123411284
public static final int ALGORITHM_FIELD_NUMBER = 2;
11285+
/**
11286+
*
11287+
*
11288+
* <pre>
11289+
* Required. The algorithm to use for creating a managed Cloud KMS key for a for a
11290+
* simplified experience. All managed keys will be have their
11291+
* [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] as `HSM`.
11292+
* </pre>
11293+
*
11294+
* <code>
11295+
* .google.cloud.security.privateca.v1beta1.CertificateAuthority.SignHashAlgorithm algorithm = 2 [(.google.api.field_behavior) = REQUIRED];
11296+
* </code>
11297+
*
11298+
* @return Whether the algorithm field is set.
11299+
*/
11300+
public boolean hasAlgorithm() {
11301+
return keyVersionCase_ == 2;
11302+
}
1123511303
/**
1123611304
*
1123711305
*
@@ -11695,6 +11763,25 @@ public Builder clearKeyVersion() {
1169511763
return this;
1169611764
}
1169711765

11766+
/**
11767+
*
11768+
*
11769+
* <pre>
11770+
* Required. The resource name for an existing Cloud KMS CryptoKeyVersion in the
11771+
* format
11772+
* `projects/&#42;&#47;locations/&#42;&#47;keyRings/&#42;&#47;cryptoKeys/&#42;&#47;cryptoKeyVersions/&#42;`.
11773+
* This option enables full flexibility in the key's capabilities and
11774+
* properties.
11775+
* </pre>
11776+
*
11777+
* <code>string cloud_kms_key_version = 1 [(.google.api.field_behavior) = REQUIRED];</code>
11778+
*
11779+
* @return Whether the cloudKmsKeyVersion field is set.
11780+
*/
11781+
@java.lang.Override
11782+
public boolean hasCloudKmsKeyVersion() {
11783+
return keyVersionCase_ == 1;
11784+
}
1169811785
/**
1169911786
*
1170011787
*
@@ -11834,6 +11921,25 @@ public Builder setCloudKmsKeyVersionBytes(com.google.protobuf.ByteString value)
1183411921
return this;
1183511922
}
1183611923

11924+
/**
11925+
*
11926+
*
11927+
* <pre>
11928+
* Required. The algorithm to use for creating a managed Cloud KMS key for a for a
11929+
* simplified experience. All managed keys will be have their
11930+
* [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] as `HSM`.
11931+
* </pre>
11932+
*
11933+
* <code>
11934+
* .google.cloud.security.privateca.v1beta1.CertificateAuthority.SignHashAlgorithm algorithm = 2 [(.google.api.field_behavior) = REQUIRED];
11935+
* </code>
11936+
*
11937+
* @return Whether the algorithm field is set.
11938+
*/
11939+
@java.lang.Override
11940+
public boolean hasAlgorithm() {
11941+
return keyVersionCase_ == 2;
11942+
}
1183711943
/**
1183811944
*
1183911945
*

proto-google-cloud-security-private-ca-v1beta1/src/main/java/com/google/cloud/security/privateca/v1beta1/CertificateOrBuilder.java

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,18 @@ public interface CertificateOrBuilder
5050
*/
5151
com.google.protobuf.ByteString getNameBytes();
5252

53+
/**
54+
*
55+
*
56+
* <pre>
57+
* Immutable. A pem-encoded X.509 certificate signing request (CSR).
58+
* </pre>
59+
*
60+
* <code>string pem_csr = 2 [(.google.api.field_behavior) = IMMUTABLE];</code>
61+
*
62+
* @return Whether the pemCsr field is set.
63+
*/
64+
boolean hasPemCsr();
5365
/**
5466
*
5567
*

proto-google-cloud-security-private-ca-v1beta1/src/main/java/com/google/cloud/security/privateca/v1beta1/ReusableConfigWrapper.java

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,21 @@ public ConfigValuesCase getConfigValuesCase() {
181181
}
182182

183183
public static final int REUSABLE_CONFIG_FIELD_NUMBER = 1;
184+
/**
185+
*
186+
*
187+
* <pre>
188+
* Required. A resource path to a [ReusableConfig][google.cloud.security.privateca.v1beta1.ReusableConfig] in the format
189+
* `projects/&#42;&#47;locations/&#42;&#47;reusableConfigs/&#42;`.
190+
* </pre>
191+
*
192+
* <code>string reusable_config = 1 [(.google.api.field_behavior) = REQUIRED];</code>
193+
*
194+
* @return Whether the reusableConfig field is set.
195+
*/
196+
public boolean hasReusableConfig() {
197+
return configValuesCase_ == 1;
198+
}
184199
/**
185200
*
186201
*
@@ -690,6 +705,22 @@ public Builder clearConfigValues() {
690705
return this;
691706
}
692707

708+
/**
709+
*
710+
*
711+
* <pre>
712+
* Required. A resource path to a [ReusableConfig][google.cloud.security.privateca.v1beta1.ReusableConfig] in the format
713+
* `projects/&#42;&#47;locations/&#42;&#47;reusableConfigs/&#42;`.
714+
* </pre>
715+
*
716+
* <code>string reusable_config = 1 [(.google.api.field_behavior) = REQUIRED];</code>
717+
*
718+
* @return Whether the reusableConfig field is set.
719+
*/
720+
@java.lang.Override
721+
public boolean hasReusableConfig() {
722+
return configValuesCase_ == 1;
723+
}
693724
/**
694725
*
695726
*

proto-google-cloud-security-private-ca-v1beta1/src/main/java/com/google/cloud/security/privateca/v1beta1/ReusableConfigWrapperOrBuilder.java

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,19 @@ public interface ReusableConfigWrapperOrBuilder
2323
// @@protoc_insertion_point(interface_extends:google.cloud.security.privateca.v1beta1.ReusableConfigWrapper)
2424
com.google.protobuf.MessageOrBuilder {
2525

26+
/**
27+
*
28+
*
29+
* <pre>
30+
* Required. A resource path to a [ReusableConfig][google.cloud.security.privateca.v1beta1.ReusableConfig] in the format
31+
* `projects/&#42;&#47;locations/&#42;&#47;reusableConfigs/&#42;`.
32+
* </pre>
33+
*
34+
* <code>string reusable_config = 1 [(.google.api.field_behavior) = REQUIRED];</code>
35+
*
36+
* @return Whether the reusableConfig field is set.
37+
*/
38+
boolean hasReusableConfig();
2639
/**
2740
*
2841
*

proto-google-cloud-security-private-ca-v1beta1/src/main/java/com/google/cloud/security/privateca/v1beta1/SubordinateConfig.java

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1029,6 +1029,23 @@ public SubordinateConfigCase getSubordinateConfigCase() {
10291029
}
10301030

10311031
public static final int CERTIFICATE_AUTHORITY_FIELD_NUMBER = 1;
1032+
/**
1033+
*
1034+
*
1035+
* <pre>
1036+
* Required. This can refer to a [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] in the same project that
1037+
* was used to create a subordinate [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority]. This field
1038+
* is used for information and usability purposes only. The resource name
1039+
* is in the format `projects/&#42;&#47;locations/&#42;&#47;certificateAuthorities/&#42;`.
1040+
* </pre>
1041+
*
1042+
* <code>string certificate_authority = 1 [(.google.api.field_behavior) = REQUIRED];</code>
1043+
*
1044+
* @return Whether the certificateAuthority field is set.
1045+
*/
1046+
public boolean hasCertificateAuthority() {
1047+
return subordinateConfigCase_ == 1;
1048+
}
10321049
/**
10331050
*
10341051
*
@@ -1551,6 +1568,24 @@ public Builder clearSubordinateConfig() {
15511568
return this;
15521569
}
15531570

1571+
/**
1572+
*
1573+
*
1574+
* <pre>
1575+
* Required. This can refer to a [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] in the same project that
1576+
* was used to create a subordinate [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority]. This field
1577+
* is used for information and usability purposes only. The resource name
1578+
* is in the format `projects/&#42;&#47;locations/&#42;&#47;certificateAuthorities/&#42;`.
1579+
* </pre>
1580+
*
1581+
* <code>string certificate_authority = 1 [(.google.api.field_behavior) = REQUIRED];</code>
1582+
*
1583+
* @return Whether the certificateAuthority field is set.
1584+
*/
1585+
@java.lang.Override
1586+
public boolean hasCertificateAuthority() {
1587+
return subordinateConfigCase_ == 1;
1588+
}
15541589
/**
15551590
*
15561591
*

proto-google-cloud-security-private-ca-v1beta1/src/main/java/com/google/cloud/security/privateca/v1beta1/SubordinateConfigOrBuilder.java

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,21 @@ public interface SubordinateConfigOrBuilder
2323
// @@protoc_insertion_point(interface_extends:google.cloud.security.privateca.v1beta1.SubordinateConfig)
2424
com.google.protobuf.MessageOrBuilder {
2525

26+
/**
27+
*
28+
*
29+
* <pre>
30+
* Required. This can refer to a [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] in the same project that
31+
* was used to create a subordinate [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority]. This field
32+
* is used for information and usability purposes only. The resource name
33+
* is in the format `projects/&#42;&#47;locations/&#42;&#47;certificateAuthorities/&#42;`.
34+
* </pre>
35+
*
36+
* <code>string certificate_authority = 1 [(.google.api.field_behavior) = REQUIRED];</code>
37+
*
38+
* @return Whether the certificateAuthority field is set.
39+
*/
40+
boolean hasCertificateAuthority();
2641
/**
2742
*
2843
*

synth.metadata

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
"git": {
55
"name": ".",
66
"remote": "https://github.com/googleapis/java-security-private-ca.git",
7-
"sha": "dbf1419fa1940ad26431e683bf549ad55a852778"
7+
"sha": "33f32d1a45cb85822c8609d915c5813c80525eda"
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
{

0 commit comments

Comments
 (0)