Skip to content

Commit 5c8c893

Browse files
yoshi-automationsduskis
authored andcommitted
---
yaml --- r: 14189 b: refs/heads/autosynth-pubsub c: f62e169 h: refs/heads/master i: 14187: a8336c0
1 parent 8491f77 commit 5c8c893

1,215 files changed

Lines changed: 6911 additions & 6891 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ refs/heads/autosynth-compute: 8e86445e504cea6f99b9fb237bfd7f0e5ef8b3ce
116116
refs/heads/autosynth-container: f6384095f50b31bfc8208542a49181e158d3681c
117117
refs/heads/autosynth-dataproc: bc74a8841bc1693d7945d991d15979df550b1fd1
118118
refs/heads/autosynth-monitoring: e67db7395a868e5f6ecc3476eb4a91c47abd4234
119-
refs/heads/autosynth-pubsub: 62d4bd30605ab3578f9a08d84487fb0b33ac2ff5
119+
refs/heads/autosynth-pubsub: f62e169b0fdb60a2cb1f427e6090f0496bfe8a50
120120
refs/heads/autosynth-video-intelligence: 3e8faeeee2f803271529bd6e89b621c1ca098628
121121
refs/heads/autosynth-vision: d758c43ba2ef4f4f7ad07b722617cb39fe3f29db
122122
refs/heads/spanner: 54a5e197bfe0a004e13c190427f46c3413ab572d

branches/autosynth-pubsub/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AbandonInstancesInstanceGroupManagerHttpRequest.java

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2018 Google LLC
2+
* Copyright 2019 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -77,34 +77,34 @@ private AbandonInstancesInstanceGroupManagerHttpRequest(
7777

7878
@Override
7979
public Object getFieldValue(String fieldName) {
80-
if (fieldName.equals("access_token")) {
80+
if ("access_token".equals(fieldName)) {
8181
return access_token;
8282
}
83-
if (fieldName.equals("callback")) {
83+
if ("callback".equals(fieldName)) {
8484
return callback;
8585
}
86-
if (fieldName.equals("fields")) {
86+
if ("fields".equals(fieldName)) {
8787
return fields;
8888
}
89-
if (fieldName.equals("instanceGroupManager")) {
89+
if ("instanceGroupManager".equals(fieldName)) {
9090
return instanceGroupManager;
9191
}
92-
if (fieldName.equals("instanceGroupManagersAbandonInstancesRequestResource")) {
92+
if ("instanceGroupManagersAbandonInstancesRequestResource".equals(fieldName)) {
9393
return instanceGroupManagersAbandonInstancesRequestResource;
9494
}
95-
if (fieldName.equals("key")) {
95+
if ("key".equals(fieldName)) {
9696
return key;
9797
}
98-
if (fieldName.equals("prettyPrint")) {
98+
if ("prettyPrint".equals(fieldName)) {
9999
return prettyPrint;
100100
}
101-
if (fieldName.equals("quotaUser")) {
101+
if ("quotaUser".equals(fieldName)) {
102102
return quotaUser;
103103
}
104-
if (fieldName.equals("requestId")) {
104+
if ("requestId".equals(fieldName)) {
105105
return requestId;
106106
}
107-
if (fieldName.equals("userIp")) {
107+
if ("userIp".equals(fieldName)) {
108108
return userIp;
109109
}
110110
return null;

branches/autosynth-pubsub/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AbandonInstancesRegionInstanceGroupManagerHttpRequest.java

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2018 Google LLC
2+
* Copyright 2019 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -77,34 +77,34 @@ private AbandonInstancesRegionInstanceGroupManagerHttpRequest(
7777

7878
@Override
7979
public Object getFieldValue(String fieldName) {
80-
if (fieldName.equals("access_token")) {
80+
if ("access_token".equals(fieldName)) {
8181
return access_token;
8282
}
83-
if (fieldName.equals("callback")) {
83+
if ("callback".equals(fieldName)) {
8484
return callback;
8585
}
86-
if (fieldName.equals("fields")) {
86+
if ("fields".equals(fieldName)) {
8787
return fields;
8888
}
89-
if (fieldName.equals("instanceGroupManager")) {
89+
if ("instanceGroupManager".equals(fieldName)) {
9090
return instanceGroupManager;
9191
}
92-
if (fieldName.equals("key")) {
92+
if ("key".equals(fieldName)) {
9393
return key;
9494
}
95-
if (fieldName.equals("prettyPrint")) {
95+
if ("prettyPrint".equals(fieldName)) {
9696
return prettyPrint;
9797
}
98-
if (fieldName.equals("quotaUser")) {
98+
if ("quotaUser".equals(fieldName)) {
9999
return quotaUser;
100100
}
101-
if (fieldName.equals("regionInstanceGroupManagersAbandonInstancesRequestResource")) {
101+
if ("regionInstanceGroupManagersAbandonInstancesRequestResource".equals(fieldName)) {
102102
return regionInstanceGroupManagersAbandonInstancesRequestResource;
103103
}
104-
if (fieldName.equals("requestId")) {
104+
if ("requestId".equals(fieldName)) {
105105
return requestId;
106106
}
107-
if (fieldName.equals("userIp")) {
107+
if ("userIp".equals(fieldName)) {
108108
return userIp;
109109
}
110110
return null;

branches/autosynth-pubsub/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorConfig.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2018 Google LLC
2+
* Copyright 2019 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -40,10 +40,10 @@ private AcceleratorConfig(Integer acceleratorCount, String acceleratorType) {
4040

4141
@Override
4242
public Object getFieldValue(String fieldName) {
43-
if (fieldName.equals("acceleratorCount")) {
43+
if ("acceleratorCount".equals(fieldName)) {
4444
return acceleratorCount;
4545
}
46-
if (fieldName.equals("acceleratorType")) {
46+
if ("acceleratorType".equals(fieldName)) {
4747
return acceleratorType;
4848
}
4949
return null;

branches/autosynth-pubsub/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorType.java

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2018 Google LLC
2+
* Copyright 2019 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -70,31 +70,31 @@ private AcceleratorType(
7070

7171
@Override
7272
public Object getFieldValue(String fieldName) {
73-
if (fieldName.equals("creationTimestamp")) {
73+
if ("creationTimestamp".equals(fieldName)) {
7474
return creationTimestamp;
7575
}
76-
if (fieldName.equals("deprecated")) {
76+
if ("deprecated".equals(fieldName)) {
7777
return deprecated;
7878
}
79-
if (fieldName.equals("description")) {
79+
if ("description".equals(fieldName)) {
8080
return description;
8181
}
82-
if (fieldName.equals("id")) {
82+
if ("id".equals(fieldName)) {
8383
return id;
8484
}
85-
if (fieldName.equals("kind")) {
85+
if ("kind".equals(fieldName)) {
8686
return kind;
8787
}
88-
if (fieldName.equals("maximumCardsPerInstance")) {
88+
if ("maximumCardsPerInstance".equals(fieldName)) {
8989
return maximumCardsPerInstance;
9090
}
91-
if (fieldName.equals("name")) {
91+
if ("name".equals(fieldName)) {
9292
return name;
9393
}
94-
if (fieldName.equals("selfLink")) {
94+
if ("selfLink".equals(fieldName)) {
9595
return selfLink;
9696
}
97-
if (fieldName.equals("zone")) {
97+
if ("zone".equals(fieldName)) {
9898
return zone;
9999
}
100100
return null;

branches/autosynth-pubsub/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorTypeAggregatedList.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2018 Google LLC
2+
* Copyright 2019 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -59,22 +59,22 @@ private AcceleratorTypeAggregatedList(
5959

6060
@Override
6161
public Object getFieldValue(String fieldName) {
62-
if (fieldName.equals("id")) {
62+
if ("id".equals(fieldName)) {
6363
return id;
6464
}
65-
if (fieldName.equals("items")) {
65+
if ("items".equals(fieldName)) {
6666
return items;
6767
}
68-
if (fieldName.equals("kind")) {
68+
if ("kind".equals(fieldName)) {
6969
return kind;
7070
}
71-
if (fieldName.equals("nextPageToken")) {
71+
if ("nextPageToken".equals(fieldName)) {
7272
return nextPageToken;
7373
}
74-
if (fieldName.equals("selfLink")) {
74+
if ("selfLink".equals(fieldName)) {
7575
return selfLink;
7676
}
77-
if (fieldName.equals("warning")) {
77+
if ("warning".equals(fieldName)) {
7878
return warning;
7979
}
8080
return null;

branches/autosynth-pubsub/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorTypeClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2018 Google LLC
2+
* Copyright 2019 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

branches/autosynth-pubsub/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorTypeList.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2018 Google LLC
2+
* Copyright 2019 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -59,22 +59,22 @@ private AcceleratorTypeList(
5959

6060
@Override
6161
public Object getFieldValue(String fieldName) {
62-
if (fieldName.equals("id")) {
62+
if ("id".equals(fieldName)) {
6363
return id;
6464
}
65-
if (fieldName.equals("items")) {
65+
if ("items".equals(fieldName)) {
6666
return items;
6767
}
68-
if (fieldName.equals("kind")) {
68+
if ("kind".equals(fieldName)) {
6969
return kind;
7070
}
71-
if (fieldName.equals("nextPageToken")) {
71+
if ("nextPageToken".equals(fieldName)) {
7272
return nextPageToken;
7373
}
74-
if (fieldName.equals("selfLink")) {
74+
if ("selfLink".equals(fieldName)) {
7575
return selfLink;
7676
}
77-
if (fieldName.equals("warning")) {
77+
if ("warning".equals(fieldName)) {
7878
return warning;
7979
}
8080
return null;

branches/autosynth-pubsub/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorTypeSettings.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2018 Google LLC
2+
* Copyright 2019 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

branches/autosynth-pubsub/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorTypesScopedList.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2018 Google LLC
2+
* Copyright 2019 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -41,10 +41,10 @@ private AcceleratorTypesScopedList(List<AcceleratorType> acceleratorTypes, Warni
4141

4242
@Override
4343
public Object getFieldValue(String fieldName) {
44-
if (fieldName.equals("acceleratorTypes")) {
44+
if ("acceleratorTypes".equals(fieldName)) {
4545
return acceleratorTypes;
4646
}
47-
if (fieldName.equals("warning")) {
47+
if ("warning".equals(fieldName)) {
4848
return warning;
4949
}
5050
return null;

0 commit comments

Comments
 (0)