This repository was archived by the owner on Sep 18, 2023. It is now read-only.
File tree 4 files changed +45
-7
lines changed
proto-google-common-protos/src/main/java/com/google/api
4 files changed +45
-7
lines changed Original file line number Diff line number Diff line change @@ -69,6 +69,11 @@ integration)
69
69
verify
70
70
RETURN_CODE=$?
71
71
;;
72
+ graalvm)
73
+ # Run Unit and Integration Tests with Native Image
74
+ mvn test -Pnative -Penable-integration-tests
75
+ RETURN_CODE=$?
76
+ ;;
72
77
samples)
73
78
SAMPLES_DIR=samples
74
79
# only run ITs in snapshot/ on presubmit PRs. run ITs in all 3 samples/ subdirectories otherwise.
Original file line number Diff line number Diff line change
1
+ # Format: //devtools/kokoro/config/proto/build.proto
2
+
3
+ # Configure the docker image for kokoro-trampoline.
4
+ env_vars: {
5
+ key: " TRAMPOLINE_IMAGE"
6
+ value: " gcr.io/cloud-devrel-kokoro-resources/graalvm"
7
+ }
8
+
9
+ env_vars: {
10
+ key: " JOB_TYPE"
11
+ value: " graalvm"
12
+ }
13
+
14
+ # TODO: remove this after we've migrated all tests and scripts
15
+ env_vars: {
16
+ key: " GCLOUD_PROJECT"
17
+ value: " gcloud-devel"
18
+ }
19
+
20
+ env_vars: {
21
+ key: " GOOGLE_CLOUD_PROJECT"
22
+ value: " gcloud-devel"
23
+ }
24
+
25
+ env_vars: {
26
+ key: " GOOGLE_APPLICATION_CREDENTIALS"
27
+ value: " secret_manager/java-it-service-account"
28
+ }
29
+
30
+ env_vars: {
31
+ key: " SECRET_MANAGER_KEYS"
32
+ value: " java-it-service-account"
33
+ }
Original file line number Diff line number Diff line change @@ -319,10 +319,10 @@ public final boolean isInitialized() {
319
319
320
320
@ java .lang .Override
321
321
public void writeTo (com .google .protobuf .CodedOutputStream output ) throws java .io .IOException {
322
- if (!getFieldBytes (). isEmpty ( )) {
322
+ if (!com . google . protobuf . GeneratedMessageV3 . isStringEmpty ( field_ )) {
323
323
com .google .protobuf .GeneratedMessageV3 .writeString (output , 1 , field_ );
324
324
}
325
- if (!getPathTemplateBytes (). isEmpty ( )) {
325
+ if (!com . google . protobuf . GeneratedMessageV3 . isStringEmpty ( pathTemplate_ )) {
326
326
com .google .protobuf .GeneratedMessageV3 .writeString (output , 2 , pathTemplate_ );
327
327
}
328
328
unknownFields .writeTo (output );
@@ -334,10 +334,10 @@ public int getSerializedSize() {
334
334
if (size != -1 ) return size ;
335
335
336
336
size = 0 ;
337
- if (!getFieldBytes (). isEmpty ( )) {
337
+ if (!com . google . protobuf . GeneratedMessageV3 . isStringEmpty ( field_ )) {
338
338
size += com .google .protobuf .GeneratedMessageV3 .computeStringSize (1 , field_ );
339
339
}
340
- if (!getPathTemplateBytes (). isEmpty ( )) {
340
+ if (!com . google . protobuf . GeneratedMessageV3 . isStringEmpty ( pathTemplate_ )) {
341
341
size += com .google .protobuf .GeneratedMessageV3 .computeStringSize (2 , pathTemplate_ );
342
342
}
343
343
size += unknownFields .getSerializedSize ();
Original file line number Diff line number Diff line change 4
4
"git": {
5
5
"name": ".",
6
6
"remote": "https://github.com/googleapis/java-common-protos.git",
7
- "sha": "08b5c8545ed6f29a11ae4d3f061df47f40234bd1 "
7
+ "sha": "fe2eae8c4d902c190c6e24bd02a41dc916f36db4 "
8
8
}
9
9
},
10
10
{
19
19
"git": {
20
20
"name": "synthtool",
21
21
"remote": "https://github.com/googleapis/synthtool.git",
22
- "sha": "a4be3384ccb92364795d981f2863f6986fcee620 "
22
+ "sha": "d45942be8066ad57bd0509f4a16e1fac78ecc50f "
23
23
}
24
24
}
25
25
],
46
46
".kokoro/common.sh",
47
47
".kokoro/continuous/common.cfg",
48
48
".kokoro/continuous/java8.cfg",
49
- ".kokoro/dependencies.sh",
50
49
".kokoro/nightly/common.cfg",
51
50
".kokoro/nightly/integration.cfg",
52
51
".kokoro/nightly/java11.cfg",
59
58
".kokoro/presubmit/clirr.cfg",
60
59
".kokoro/presubmit/common.cfg",
61
60
".kokoro/presubmit/dependencies.cfg",
61
+ ".kokoro/presubmit/graalvm-native.cfg",
62
62
".kokoro/presubmit/integration.cfg",
63
63
".kokoro/presubmit/java11.cfg",
64
64
".kokoro/presubmit/java7.cfg",
You can’t perform that action at this time.
0 commit comments