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

Commit 9a884db

Browse files
feat(generator): update protoc to v3.15.3 (#386)
This PR was generated using Autosynth. 🌈 Synth log will be available here: https://source.cloud.google.com/results/invocations/85ff6015-d55c-4478-8392-d9259b8d2bde/targets - [ ] To automatically regenerate this PR, check this box. PiperOrigin-RevId: 359781040 Source-Link: googleapis/googleapis@f6dd7e4
1 parent 4efca18 commit 9a884db

File tree

2 files changed

+126
-3
lines changed

2 files changed

+126
-3
lines changed

proto-google-cloud-container-v1/src/main/java/com/google/container/v1/OperationProgress.java

+123
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,18 @@ public interface MetricOrBuilder
182182
*/
183183
com.google.protobuf.ByteString getNameBytes();
184184

185+
/**
186+
*
187+
*
188+
* <pre>
189+
* For metrics with integer value.
190+
* </pre>
191+
*
192+
* <code>int64 int_value = 2;</code>
193+
*
194+
* @return Whether the intValue field is set.
195+
*/
196+
boolean hasIntValue();
185197
/**
186198
*
187199
*
@@ -195,6 +207,18 @@ public interface MetricOrBuilder
195207
*/
196208
long getIntValue();
197209

210+
/**
211+
*
212+
*
213+
* <pre>
214+
* For metrics with floating point value.
215+
* </pre>
216+
*
217+
* <code>double double_value = 3;</code>
218+
*
219+
* @return Whether the doubleValue field is set.
220+
*/
221+
boolean hasDoubleValue();
198222
/**
199223
*
200224
*
@@ -208,6 +232,18 @@ public interface MetricOrBuilder
208232
*/
209233
double getDoubleValue();
210234

235+
/**
236+
*
237+
*
238+
* <pre>
239+
* For metrics with custom values (ratios, visual progress, etc.).
240+
* </pre>
241+
*
242+
* <code>string string_value = 4;</code>
243+
*
244+
* @return Whether the stringValue field is set.
245+
*/
246+
boolean hasStringValue();
211247
/**
212248
*
213249
*
@@ -447,6 +483,21 @@ public com.google.protobuf.ByteString getNameBytes() {
447483
}
448484

449485
public static final int INT_VALUE_FIELD_NUMBER = 2;
486+
/**
487+
*
488+
*
489+
* <pre>
490+
* For metrics with integer value.
491+
* </pre>
492+
*
493+
* <code>int64 int_value = 2;</code>
494+
*
495+
* @return Whether the intValue field is set.
496+
*/
497+
@java.lang.Override
498+
public boolean hasIntValue() {
499+
return valueCase_ == 2;
500+
}
450501
/**
451502
*
452503
*
@@ -467,6 +518,21 @@ public long getIntValue() {
467518
}
468519

469520
public static final int DOUBLE_VALUE_FIELD_NUMBER = 3;
521+
/**
522+
*
523+
*
524+
* <pre>
525+
* For metrics with floating point value.
526+
* </pre>
527+
*
528+
* <code>double double_value = 3;</code>
529+
*
530+
* @return Whether the doubleValue field is set.
531+
*/
532+
@java.lang.Override
533+
public boolean hasDoubleValue() {
534+
return valueCase_ == 3;
535+
}
470536
/**
471537
*
472538
*
@@ -487,6 +553,20 @@ public double getDoubleValue() {
487553
}
488554

489555
public static final int STRING_VALUE_FIELD_NUMBER = 4;
556+
/**
557+
*
558+
*
559+
* <pre>
560+
* For metrics with custom values (ratios, visual progress, etc.).
561+
* </pre>
562+
*
563+
* <code>string string_value = 4;</code>
564+
*
565+
* @return Whether the stringValue field is set.
566+
*/
567+
public boolean hasStringValue() {
568+
return valueCase_ == 4;
569+
}
490570
/**
491571
*
492572
*
@@ -1075,6 +1155,20 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
10751155
return this;
10761156
}
10771157

1158+
/**
1159+
*
1160+
*
1161+
* <pre>
1162+
* For metrics with integer value.
1163+
* </pre>
1164+
*
1165+
* <code>int64 int_value = 2;</code>
1166+
*
1167+
* @return Whether the intValue field is set.
1168+
*/
1169+
public boolean hasIntValue() {
1170+
return valueCase_ == 2;
1171+
}
10781172
/**
10791173
*
10801174
*
@@ -1130,6 +1224,20 @@ public Builder clearIntValue() {
11301224
return this;
11311225
}
11321226

1227+
/**
1228+
*
1229+
*
1230+
* <pre>
1231+
* For metrics with floating point value.
1232+
* </pre>
1233+
*
1234+
* <code>double double_value = 3;</code>
1235+
*
1236+
* @return Whether the doubleValue field is set.
1237+
*/
1238+
public boolean hasDoubleValue() {
1239+
return valueCase_ == 3;
1240+
}
11331241
/**
11341242
*
11351243
*
@@ -1185,6 +1293,21 @@ public Builder clearDoubleValue() {
11851293
return this;
11861294
}
11871295

1296+
/**
1297+
*
1298+
*
1299+
* <pre>
1300+
* For metrics with custom values (ratios, visual progress, etc.).
1301+
* </pre>
1302+
*
1303+
* <code>string string_value = 4;</code>
1304+
*
1305+
* @return Whether the stringValue field is set.
1306+
*/
1307+
@java.lang.Override
1308+
public boolean hasStringValue() {
1309+
return valueCase_ == 4;
1310+
}
11881311
/**
11891312
*
11901313
*

synth.metadata

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
"git": {
55
"name": ".",
66
"remote": "https://github.com/googleapis/java-container.git",
7-
"sha": "ffa66c41451ff5518958a93e64736bb1028e2fcd"
7+
"sha": "4efca189a828324577f8b04e8e689fb361d8043f"
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)