@@ -48,8 +48,6 @@ public final class Instance implements ApiMessage {
4848 private final Scheduling scheduling ;
4949 private final String selfLink ;
5050 private final List <ServiceAccount > serviceAccounts ;
51- private final ShieldedInstanceConfig shieldedInstanceConfig ;
52- private final ShieldedInstanceIntegrityPolicy shieldedInstanceIntegrityPolicy ;
5351 private final Boolean startRestricted ;
5452 private final String status ;
5553 private final String statusMessage ;
@@ -77,8 +75,6 @@ private Instance() {
7775 this .scheduling = null ;
7876 this .selfLink = null ;
7977 this .serviceAccounts = null ;
80- this .shieldedInstanceConfig = null ;
81- this .shieldedInstanceIntegrityPolicy = null ;
8278 this .startRestricted = null ;
8379 this .status = null ;
8480 this .statusMessage = null ;
@@ -107,8 +103,6 @@ private Instance(
107103 Scheduling scheduling ,
108104 String selfLink ,
109105 List <ServiceAccount > serviceAccounts ,
110- ShieldedInstanceConfig shieldedInstanceConfig ,
111- ShieldedInstanceIntegrityPolicy shieldedInstanceIntegrityPolicy ,
112106 Boolean startRestricted ,
113107 String status ,
114108 String statusMessage ,
@@ -134,8 +128,6 @@ private Instance(
134128 this .scheduling = scheduling ;
135129 this .selfLink = selfLink ;
136130 this .serviceAccounts = serviceAccounts ;
137- this .shieldedInstanceConfig = shieldedInstanceConfig ;
138- this .shieldedInstanceIntegrityPolicy = shieldedInstanceIntegrityPolicy ;
139131 this .startRestricted = startRestricted ;
140132 this .status = status ;
141133 this .statusMessage = statusMessage ;
@@ -205,12 +197,6 @@ public Object getFieldValue(String fieldName) {
205197 if ("serviceAccounts" .equals (fieldName )) {
206198 return serviceAccounts ;
207199 }
208- if ("shieldedInstanceConfig" .equals (fieldName )) {
209- return shieldedInstanceConfig ;
210- }
211- if ("shieldedInstanceIntegrityPolicy" .equals (fieldName )) {
212- return shieldedInstanceIntegrityPolicy ;
213- }
214200 if ("startRestricted" .equals (fieldName )) {
215201 return startRestricted ;
216202 }
@@ -401,14 +387,6 @@ public List<ServiceAccount> getServiceAccountsList() {
401387 return serviceAccounts ;
402388 }
403389
404- public ShieldedInstanceConfig getShieldedInstanceConfig () {
405- return shieldedInstanceConfig ;
406- }
407-
408- public ShieldedInstanceIntegrityPolicy getShieldedInstanceIntegrityPolicy () {
409- return shieldedInstanceIntegrityPolicy ;
410- }
411-
412390 /**
413391 * [Output Only] Whether a VM has been restricted for start because Compute Engine has detected
414392 * suspicious activity.
@@ -491,8 +469,6 @@ public static class Builder {
491469 private Scheduling scheduling ;
492470 private String selfLink ;
493471 private List <ServiceAccount > serviceAccounts ;
494- private ShieldedInstanceConfig shieldedInstanceConfig ;
495- private ShieldedInstanceIntegrityPolicy shieldedInstanceIntegrityPolicy ;
496472 private Boolean startRestricted ;
497473 private String status ;
498474 private String statusMessage ;
@@ -563,12 +539,6 @@ public Builder mergeFrom(Instance other) {
563539 if (other .getServiceAccountsList () != null ) {
564540 this .serviceAccounts = other .serviceAccounts ;
565541 }
566- if (other .getShieldedInstanceConfig () != null ) {
567- this .shieldedInstanceConfig = other .shieldedInstanceConfig ;
568- }
569- if (other .getShieldedInstanceIntegrityPolicy () != null ) {
570- this .shieldedInstanceIntegrityPolicy = other .shieldedInstanceIntegrityPolicy ;
571- }
572542 if (other .getStartRestricted () != null ) {
573543 this .startRestricted = other .startRestricted ;
574544 }
@@ -608,8 +578,6 @@ public Builder mergeFrom(Instance other) {
608578 this .scheduling = source .scheduling ;
609579 this .selfLink = source .selfLink ;
610580 this .serviceAccounts = source .serviceAccounts ;
611- this .shieldedInstanceConfig = source .shieldedInstanceConfig ;
612- this .shieldedInstanceIntegrityPolicy = source .shieldedInstanceIntegrityPolicy ;
613581 this .startRestricted = source .startRestricted ;
614582 this .status = source .status ;
615583 this .statusMessage = source .statusMessage ;
@@ -1013,25 +981,6 @@ public Builder addServiceAccounts(ServiceAccount serviceAccounts) {
1013981 return this ;
1014982 }
1015983
1016- public ShieldedInstanceConfig getShieldedInstanceConfig () {
1017- return shieldedInstanceConfig ;
1018- }
1019-
1020- public Builder setShieldedInstanceConfig (ShieldedInstanceConfig shieldedInstanceConfig ) {
1021- this .shieldedInstanceConfig = shieldedInstanceConfig ;
1022- return this ;
1023- }
1024-
1025- public ShieldedInstanceIntegrityPolicy getShieldedInstanceIntegrityPolicy () {
1026- return shieldedInstanceIntegrityPolicy ;
1027- }
1028-
1029- public Builder setShieldedInstanceIntegrityPolicy (
1030- ShieldedInstanceIntegrityPolicy shieldedInstanceIntegrityPolicy ) {
1031- this .shieldedInstanceIntegrityPolicy = shieldedInstanceIntegrityPolicy ;
1032- return this ;
1033- }
1034-
1035984 /**
1036985 * [Output Only] Whether a VM has been restricted for start because Compute Engine has detected
1037986 * suspicious activity.
@@ -1138,8 +1087,6 @@ public Instance build() {
11381087 scheduling ,
11391088 selfLink ,
11401089 serviceAccounts ,
1141- shieldedInstanceConfig ,
1142- shieldedInstanceIntegrityPolicy ,
11431090 startRestricted ,
11441091 status ,
11451092 statusMessage ,
@@ -1169,8 +1116,6 @@ public Builder clone() {
11691116 newBuilder .setScheduling (this .scheduling );
11701117 newBuilder .setSelfLink (this .selfLink );
11711118 newBuilder .addAllServiceAccounts (this .serviceAccounts );
1172- newBuilder .setShieldedInstanceConfig (this .shieldedInstanceConfig );
1173- newBuilder .setShieldedInstanceIntegrityPolicy (this .shieldedInstanceIntegrityPolicy );
11741119 newBuilder .setStartRestricted (this .startRestricted );
11751120 newBuilder .setStatus (this .status );
11761121 newBuilder .setStatusMessage (this .statusMessage );
@@ -1243,12 +1188,6 @@ public String toString() {
12431188 + "serviceAccounts="
12441189 + serviceAccounts
12451190 + ", "
1246- + "shieldedInstanceConfig="
1247- + shieldedInstanceConfig
1248- + ", "
1249- + "shieldedInstanceIntegrityPolicy="
1250- + shieldedInstanceIntegrityPolicy
1251- + ", "
12521191 + "startRestricted="
12531192 + startRestricted
12541193 + ", "
@@ -1293,9 +1232,6 @@ public boolean equals(Object o) {
12931232 && Objects .equals (this .scheduling , that .getScheduling ())
12941233 && Objects .equals (this .selfLink , that .getSelfLink ())
12951234 && Objects .equals (this .serviceAccounts , that .getServiceAccountsList ())
1296- && Objects .equals (this .shieldedInstanceConfig , that .getShieldedInstanceConfig ())
1297- && Objects .equals (
1298- this .shieldedInstanceIntegrityPolicy , that .getShieldedInstanceIntegrityPolicy ())
12991235 && Objects .equals (this .startRestricted , that .getStartRestricted ())
13001236 && Objects .equals (this .status , that .getStatus ())
13011237 && Objects .equals (this .statusMessage , that .getStatusMessage ())
@@ -1328,8 +1264,6 @@ public int hashCode() {
13281264 scheduling ,
13291265 selfLink ,
13301266 serviceAccounts ,
1331- shieldedInstanceConfig ,
1332- shieldedInstanceIntegrityPolicy ,
13331267 startRestricted ,
13341268 status ,
13351269 statusMessage ,
0 commit comments