Skip to content

Commit

Permalink
Regenerate compute client (#4359)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored and sduskis committed Jan 18, 2019
1 parent 62d4bd3 commit f62e169
Show file tree
Hide file tree
Showing 1,214 changed files with 6,910 additions and 6,890 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2018 Google LLC
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -77,34 +77,34 @@ private AbandonInstancesInstanceGroupManagerHttpRequest(

@Override
public Object getFieldValue(String fieldName) {
if (fieldName.equals("access_token")) {
if ("access_token".equals(fieldName)) {
return access_token;
}
if (fieldName.equals("callback")) {
if ("callback".equals(fieldName)) {
return callback;
}
if (fieldName.equals("fields")) {
if ("fields".equals(fieldName)) {
return fields;
}
if (fieldName.equals("instanceGroupManager")) {
if ("instanceGroupManager".equals(fieldName)) {
return instanceGroupManager;
}
if (fieldName.equals("instanceGroupManagersAbandonInstancesRequestResource")) {
if ("instanceGroupManagersAbandonInstancesRequestResource".equals(fieldName)) {
return instanceGroupManagersAbandonInstancesRequestResource;
}
if (fieldName.equals("key")) {
if ("key".equals(fieldName)) {
return key;
}
if (fieldName.equals("prettyPrint")) {
if ("prettyPrint".equals(fieldName)) {
return prettyPrint;
}
if (fieldName.equals("quotaUser")) {
if ("quotaUser".equals(fieldName)) {
return quotaUser;
}
if (fieldName.equals("requestId")) {
if ("requestId".equals(fieldName)) {
return requestId;
}
if (fieldName.equals("userIp")) {
if ("userIp".equals(fieldName)) {
return userIp;
}
return null;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2018 Google LLC
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -77,34 +77,34 @@ private AbandonInstancesRegionInstanceGroupManagerHttpRequest(

@Override
public Object getFieldValue(String fieldName) {
if (fieldName.equals("access_token")) {
if ("access_token".equals(fieldName)) {
return access_token;
}
if (fieldName.equals("callback")) {
if ("callback".equals(fieldName)) {
return callback;
}
if (fieldName.equals("fields")) {
if ("fields".equals(fieldName)) {
return fields;
}
if (fieldName.equals("instanceGroupManager")) {
if ("instanceGroupManager".equals(fieldName)) {
return instanceGroupManager;
}
if (fieldName.equals("key")) {
if ("key".equals(fieldName)) {
return key;
}
if (fieldName.equals("prettyPrint")) {
if ("prettyPrint".equals(fieldName)) {
return prettyPrint;
}
if (fieldName.equals("quotaUser")) {
if ("quotaUser".equals(fieldName)) {
return quotaUser;
}
if (fieldName.equals("regionInstanceGroupManagersAbandonInstancesRequestResource")) {
if ("regionInstanceGroupManagersAbandonInstancesRequestResource".equals(fieldName)) {
return regionInstanceGroupManagersAbandonInstancesRequestResource;
}
if (fieldName.equals("requestId")) {
if ("requestId".equals(fieldName)) {
return requestId;
}
if (fieldName.equals("userIp")) {
if ("userIp".equals(fieldName)) {
return userIp;
}
return null;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2018 Google LLC
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -40,10 +40,10 @@ private AcceleratorConfig(Integer acceleratorCount, String acceleratorType) {

@Override
public Object getFieldValue(String fieldName) {
if (fieldName.equals("acceleratorCount")) {
if ("acceleratorCount".equals(fieldName)) {
return acceleratorCount;
}
if (fieldName.equals("acceleratorType")) {
if ("acceleratorType".equals(fieldName)) {
return acceleratorType;
}
return null;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2018 Google LLC
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -70,31 +70,31 @@ private AcceleratorType(

@Override
public Object getFieldValue(String fieldName) {
if (fieldName.equals("creationTimestamp")) {
if ("creationTimestamp".equals(fieldName)) {
return creationTimestamp;
}
if (fieldName.equals("deprecated")) {
if ("deprecated".equals(fieldName)) {
return deprecated;
}
if (fieldName.equals("description")) {
if ("description".equals(fieldName)) {
return description;
}
if (fieldName.equals("id")) {
if ("id".equals(fieldName)) {
return id;
}
if (fieldName.equals("kind")) {
if ("kind".equals(fieldName)) {
return kind;
}
if (fieldName.equals("maximumCardsPerInstance")) {
if ("maximumCardsPerInstance".equals(fieldName)) {
return maximumCardsPerInstance;
}
if (fieldName.equals("name")) {
if ("name".equals(fieldName)) {
return name;
}
if (fieldName.equals("selfLink")) {
if ("selfLink".equals(fieldName)) {
return selfLink;
}
if (fieldName.equals("zone")) {
if ("zone".equals(fieldName)) {
return zone;
}
return null;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2018 Google LLC
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -59,22 +59,22 @@ private AcceleratorTypeAggregatedList(

@Override
public Object getFieldValue(String fieldName) {
if (fieldName.equals("id")) {
if ("id".equals(fieldName)) {
return id;
}
if (fieldName.equals("items")) {
if ("items".equals(fieldName)) {
return items;
}
if (fieldName.equals("kind")) {
if ("kind".equals(fieldName)) {
return kind;
}
if (fieldName.equals("nextPageToken")) {
if ("nextPageToken".equals(fieldName)) {
return nextPageToken;
}
if (fieldName.equals("selfLink")) {
if ("selfLink".equals(fieldName)) {
return selfLink;
}
if (fieldName.equals("warning")) {
if ("warning".equals(fieldName)) {
return warning;
}
return null;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2018 Google LLC
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2018 Google LLC
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -59,22 +59,22 @@ private AcceleratorTypeList(

@Override
public Object getFieldValue(String fieldName) {
if (fieldName.equals("id")) {
if ("id".equals(fieldName)) {
return id;
}
if (fieldName.equals("items")) {
if ("items".equals(fieldName)) {
return items;
}
if (fieldName.equals("kind")) {
if ("kind".equals(fieldName)) {
return kind;
}
if (fieldName.equals("nextPageToken")) {
if ("nextPageToken".equals(fieldName)) {
return nextPageToken;
}
if (fieldName.equals("selfLink")) {
if ("selfLink".equals(fieldName)) {
return selfLink;
}
if (fieldName.equals("warning")) {
if ("warning".equals(fieldName)) {
return warning;
}
return null;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2018 Google LLC
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2018 Google LLC
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -41,10 +41,10 @@ private AcceleratorTypesScopedList(List<AcceleratorType> acceleratorTypes, Warni

@Override
public Object getFieldValue(String fieldName) {
if (fieldName.equals("acceleratorTypes")) {
if ("acceleratorTypes".equals(fieldName)) {
return acceleratorTypes;
}
if (fieldName.equals("warning")) {
if ("warning".equals(fieldName)) {
return warning;
}
return null;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2018 Google LLC
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -62,25 +62,25 @@ private AccessConfig(

@Override
public Object getFieldValue(String fieldName) {
if (fieldName.equals("kind")) {
if ("kind".equals(fieldName)) {
return kind;
}
if (fieldName.equals("name")) {
if ("name".equals(fieldName)) {
return name;
}
if (fieldName.equals("natIP")) {
if ("natIP".equals(fieldName)) {
return natIP;
}
if (fieldName.equals("networkTier")) {
if ("networkTier".equals(fieldName)) {
return networkTier;
}
if (fieldName.equals("publicPtrDomainName")) {
if ("publicPtrDomainName".equals(fieldName)) {
return publicPtrDomainName;
}
if (fieldName.equals("setPublicPtr")) {
if ("setPublicPtr".equals(fieldName)) {
return setPublicPtr;
}
if (fieldName.equals("type")) {
if ("type".equals(fieldName)) {
return type;
}
return null;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2018 Google LLC
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -78,37 +78,37 @@ private AddAccessConfigInstanceHttpRequest(

@Override
public Object getFieldValue(String fieldName) {
if (fieldName.equals("accessConfigResource")) {
if ("accessConfigResource".equals(fieldName)) {
return accessConfigResource;
}
if (fieldName.equals("access_token")) {
if ("access_token".equals(fieldName)) {
return access_token;
}
if (fieldName.equals("callback")) {
if ("callback".equals(fieldName)) {
return callback;
}
if (fieldName.equals("fields")) {
if ("fields".equals(fieldName)) {
return fields;
}
if (fieldName.equals("instance")) {
if ("instance".equals(fieldName)) {
return instance;
}
if (fieldName.equals("key")) {
if ("key".equals(fieldName)) {
return key;
}
if (fieldName.equals("networkInterface")) {
if ("networkInterface".equals(fieldName)) {
return networkInterface;
}
if (fieldName.equals("prettyPrint")) {
if ("prettyPrint".equals(fieldName)) {
return prettyPrint;
}
if (fieldName.equals("quotaUser")) {
if ("quotaUser".equals(fieldName)) {
return quotaUser;
}
if (fieldName.equals("requestId")) {
if ("requestId".equals(fieldName)) {
return requestId;
}
if (fieldName.equals("userIp")) {
if ("userIp".equals(fieldName)) {
return userIp;
}
return null;
Expand Down
Loading

0 comments on commit f62e169

Please sign in to comment.