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

Commit a1440dc

Browse files
feat(generator): update protoc to v3.15.3 (#230)
This PR was generated using Autosynth. 🌈 Synth log will be available here: https://source.cloud.google.com/results/invocations/09ae630e-e5f3-4f65-ab33-5e5ff722e0e9/targets - [ ] To automatically regenerate this PR, check this box. PiperOrigin-RevId: 359781040 Source-Link: googleapis/googleapis@f6dd7e4
1 parent 116cfe3 commit a1440dc

File tree

4 files changed

+179
-3
lines changed

4 files changed

+179
-3
lines changed

proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/Common.java

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,18 @@ public interface FixedOrPercentOrBuilder
3232
// @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.FixedOrPercent)
3333
com.google.protobuf.MessageOrBuilder {
3434

35+
/**
36+
*
37+
*
38+
* <pre>
39+
* Specifies a fixed value.
40+
* </pre>
41+
*
42+
* <code>int32 fixed = 1;</code>
43+
*
44+
* @return Whether the fixed field is set.
45+
*/
46+
boolean hasFixed();
3547
/**
3648
*
3749
*
@@ -45,6 +57,19 @@ public interface FixedOrPercentOrBuilder
4557
*/
4658
int getFixed();
4759

60+
/**
61+
*
62+
*
63+
* <pre>
64+
* Specifies the relative value defined as a percentage, which will be
65+
* multiplied by a reference value.
66+
* </pre>
67+
*
68+
* <code>int32 percent = 2;</code>
69+
*
70+
* @return Whether the percent field is set.
71+
*/
72+
boolean hasPercent();
4873
/**
4974
*
5075
*
@@ -206,6 +231,21 @@ public ModeCase getModeCase() {
206231
}
207232

208233
public static final int FIXED_FIELD_NUMBER = 1;
234+
/**
235+
*
236+
*
237+
* <pre>
238+
* Specifies a fixed value.
239+
* </pre>
240+
*
241+
* <code>int32 fixed = 1;</code>
242+
*
243+
* @return Whether the fixed field is set.
244+
*/
245+
@java.lang.Override
246+
public boolean hasFixed() {
247+
return modeCase_ == 1;
248+
}
209249
/**
210250
*
211251
*
@@ -226,6 +266,22 @@ public int getFixed() {
226266
}
227267

228268
public static final int PERCENT_FIELD_NUMBER = 2;
269+
/**
270+
*
271+
*
272+
* <pre>
273+
* Specifies the relative value defined as a percentage, which will be
274+
* multiplied by a reference value.
275+
* </pre>
276+
*
277+
* <code>int32 percent = 2;</code>
278+
*
279+
* @return Whether the percent field is set.
280+
*/
281+
@java.lang.Override
282+
public boolean hasPercent() {
283+
return modeCase_ == 2;
284+
}
229285
/**
230286
*
231287
*
@@ -631,6 +687,20 @@ public Builder clearMode() {
631687
return this;
632688
}
633689

690+
/**
691+
*
692+
*
693+
* <pre>
694+
* Specifies a fixed value.
695+
* </pre>
696+
*
697+
* <code>int32 fixed = 1;</code>
698+
*
699+
* @return Whether the fixed field is set.
700+
*/
701+
public boolean hasFixed() {
702+
return modeCase_ == 1;
703+
}
634704
/**
635705
*
636706
*
@@ -686,6 +756,21 @@ public Builder clearFixed() {
686756
return this;
687757
}
688758

759+
/**
760+
*
761+
*
762+
* <pre>
763+
* Specifies the relative value defined as a percentage, which will be
764+
* multiplied by a reference value.
765+
* </pre>
766+
*
767+
* <code>int32 percent = 2;</code>
768+
*
769+
* @return Whether the percent field is set.
770+
*/
771+
public boolean hasPercent() {
772+
return modeCase_ == 2;
773+
}
689774
/**
690775
*
691776
*

proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/PatchDeployments.java

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9385,6 +9385,21 @@ public interface MonthlyScheduleOrBuilder
93859385
com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonthOrBuilder
93869386
getWeekDayOfMonthOrBuilder();
93879387

9388+
/**
9389+
*
9390+
*
9391+
* <pre>
9392+
* Required. One day of the month. 1-31 indicates the 1st to the 31st day.
9393+
* -1 indicates the last day of the month. Months without the target day
9394+
* will be skipped. For example, a schedule to run "every month on the 31st"
9395+
* will not run in February, April, June, etc.
9396+
* </pre>
9397+
*
9398+
* <code>int32 month_day = 2 [(.google.api.field_behavior) = REQUIRED];</code>
9399+
*
9400+
* @return Whether the monthDay field is set.
9401+
*/
9402+
boolean hasMonthDay();
93889403
/**
93899404
*
93909405
*
@@ -9622,6 +9637,24 @@ public com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth getWeekDayOf
96229637
}
96239638

96249639
public static final int MONTH_DAY_FIELD_NUMBER = 2;
9640+
/**
9641+
*
9642+
*
9643+
* <pre>
9644+
* Required. One day of the month. 1-31 indicates the 1st to the 31st day.
9645+
* -1 indicates the last day of the month. Months without the target day
9646+
* will be skipped. For example, a schedule to run "every month on the 31st"
9647+
* will not run in February, April, June, etc.
9648+
* </pre>
9649+
*
9650+
* <code>int32 month_day = 2 [(.google.api.field_behavior) = REQUIRED];</code>
9651+
*
9652+
* @return Whether the monthDay field is set.
9653+
*/
9654+
@java.lang.Override
9655+
public boolean hasMonthDay() {
9656+
return dayOfMonthCase_ == 2;
9657+
}
96259658
/**
96269659
*
96279660
*
@@ -10273,6 +10306,23 @@ public Builder clearWeekDayOfMonth() {
1027310306
return weekDayOfMonthBuilder_;
1027410307
}
1027510308

10309+
/**
10310+
*
10311+
*
10312+
* <pre>
10313+
* Required. One day of the month. 1-31 indicates the 1st to the 31st day.
10314+
* -1 indicates the last day of the month. Months without the target day
10315+
* will be skipped. For example, a schedule to run "every month on the 31st"
10316+
* will not run in February, April, June, etc.
10317+
* </pre>
10318+
*
10319+
* <code>int32 month_day = 2 [(.google.api.field_behavior) = REQUIRED];</code>
10320+
*
10321+
* @return Whether the monthDay field is set.
10322+
*/
10323+
public boolean hasMonthDay() {
10324+
return dayOfMonthCase_ == 2;
10325+
}
1027610326
/**
1027710327
*
1027810328
*

proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/PatchJobs.java

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29273,6 +29273,18 @@ public interface ExecStepConfigOrBuilder
2927329273
// @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.ExecStepConfig)
2927429274
com.google.protobuf.MessageOrBuilder {
2927529275

29276+
/**
29277+
*
29278+
*
29279+
* <pre>
29280+
* An absolute path to the executable on the VM.
29281+
* </pre>
29282+
*
29283+
* <code>string local_path = 1;</code>
29284+
*
29285+
* @return Whether the localPath field is set.
29286+
*/
29287+
boolean hasLocalPath();
2927629288
/**
2927729289
*
2927829290
*
@@ -29769,6 +29781,20 @@ public ExecutableCase getExecutableCase() {
2976929781
}
2977029782

2977129783
public static final int LOCAL_PATH_FIELD_NUMBER = 1;
29784+
/**
29785+
*
29786+
*
29787+
* <pre>
29788+
* An absolute path to the executable on the VM.
29789+
* </pre>
29790+
*
29791+
* <code>string local_path = 1;</code>
29792+
*
29793+
* @return Whether the localPath field is set.
29794+
*/
29795+
public boolean hasLocalPath() {
29796+
return executableCase_ == 1;
29797+
}
2977229798
/**
2977329799
*
2977429800
*
@@ -30428,6 +30454,21 @@ public Builder clearExecutable() {
3042830454

3042930455
private int bitField0_;
3043030456

30457+
/**
30458+
*
30459+
*
30460+
* <pre>
30461+
* An absolute path to the executable on the VM.
30462+
* </pre>
30463+
*
30464+
* <code>string local_path = 1;</code>
30465+
*
30466+
* @return Whether the localPath field is set.
30467+
*/
30468+
@java.lang.Override
30469+
public boolean hasLocalPath() {
30470+
return executableCase_ == 1;
30471+
}
3043130472
/**
3043230473
*
3043330474
*

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-os-config.git",
7-
"sha": "fc13336c9a498a781b6dfe596b7301cacc936224"
7+
"sha": "116cfe356da7280be1e27dd28f18409f0ce6463d"
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)