Skip to content

Commit

Permalink
Regenerate compute client (#3916)
Browse files Browse the repository at this point in the history
Adds interconnect features
  • Loading branch information
dpebot authored and chingor13 committed Nov 7, 2018
1 parent 28fab80 commit 6b39005
Show file tree
Hide file tree
Showing 21 changed files with 3,349 additions and 153 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1360,7 +1360,8 @@ public final UnaryCallable<ListInstancesHttpRequest, InstanceList> listInstances

// AUTO-GENERATED DOCUMENTATION AND METHOD
/**
* Retrieves the list of referrers to instances contained within the specified zone.
* Retrieves the list of referrers to instances contained within the specified zone. For more
* information, read Viewing Referrers to VM Instances.
*
* <p>Sample code:
*
Expand Down Expand Up @@ -1389,7 +1390,8 @@ public final ListReferrersInstancesPagedResponse listReferrersInstances(

// AUTO-GENERATED DOCUMENTATION AND METHOD
/**
* Retrieves the list of referrers to instances contained within the specified zone.
* Retrieves the list of referrers to instances contained within the specified zone. For more
* information, read Viewing Referrers to VM Instances.
*
* <p>Sample code:
*
Expand All @@ -1415,7 +1417,8 @@ public final ListReferrersInstancesPagedResponse listReferrersInstances(String i

// AUTO-GENERATED DOCUMENTATION AND METHOD
/**
* Retrieves the list of referrers to instances contained within the specified zone.
* Retrieves the list of referrers to instances contained within the specified zone. For more
* information, read Viewing Referrers to VM Instances.
*
* <p>Sample code:
*
Expand All @@ -1442,7 +1445,8 @@ public final ListReferrersInstancesPagedResponse listReferrersInstances(

// AUTO-GENERATED DOCUMENTATION AND METHOD
/**
* Retrieves the list of referrers to instances contained within the specified zone.
* Retrieves the list of referrers to instances contained within the specified zone. For more
* information, read Viewing Referrers to VM Instances.
*
* <p>Sample code:
*
Expand All @@ -1468,7 +1472,8 @@ public final ListReferrersInstancesPagedResponse listReferrersInstances(

// AUTO-GENERATED DOCUMENTATION AND METHOD
/**
* Retrieves the list of referrers to instances contained within the specified zone.
* Retrieves the list of referrers to instances contained within the specified zone. For more
* information, read Viewing Referrers to VM Instances.
*
* <p>Sample code:
*
Expand Down Expand Up @@ -2641,7 +2646,7 @@ public final Operation setServiceAccountInstance(SetServiceAccountInstanceHttpRe

// AUTO-GENERATED DOCUMENTATION AND METHOD
/**
* Sets tags for the specified instance to the data included in the request.
* Sets network tags for the specified instance to the data included in the request.
*
* <p>Sample code:
*
Expand Down Expand Up @@ -2670,7 +2675,7 @@ public final Operation setTagsInstance(ProjectZoneInstanceName instance, Tags ta

// AUTO-GENERATED DOCUMENTATION AND METHOD
/**
* Sets tags for the specified instance to the data included in the request.
* Sets network tags for the specified instance to the data included in the request.
*
* <p>Sample code:
*
Expand Down Expand Up @@ -2699,7 +2704,7 @@ public final Operation setTagsInstance(String instance, Tags tagsResource) {

// AUTO-GENERATED DOCUMENTATION AND METHOD
/**
* Sets tags for the specified instance to the data included in the request.
* Sets network tags for the specified instance to the data included in the request.
*
* <p>Sample code:
*
Expand All @@ -2725,7 +2730,7 @@ public final Operation setTagsInstance(SetTagsInstanceHttpRequest request) {

// AUTO-GENERATED DOCUMENTATION AND METHOD
/**
* Sets tags for the specified instance to the data included in the request.
* Sets network tags for the specified instance to the data included in the request.
*
* <p>Sample code:
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ public final class InstanceGroupManagerActionsSummary implements ApiMessage {
private final Integer recreating;
private final Integer refreshing;
private final Integer restarting;
private final Integer verifying;

private InstanceGroupManagerActionsSummary() {
this.abandoning = null;
Expand All @@ -43,6 +44,7 @@ private InstanceGroupManagerActionsSummary() {
this.recreating = null;
this.refreshing = null;
this.restarting = null;
this.verifying = null;
}

private InstanceGroupManagerActionsSummary(
Expand All @@ -53,7 +55,8 @@ private InstanceGroupManagerActionsSummary(
Integer none,
Integer recreating,
Integer refreshing,
Integer restarting) {
Integer restarting,
Integer verifying) {
this.abandoning = abandoning;
this.creating = creating;
this.creatingWithoutRetries = creatingWithoutRetries;
Expand All @@ -62,6 +65,7 @@ private InstanceGroupManagerActionsSummary(
this.recreating = recreating;
this.refreshing = refreshing;
this.restarting = restarting;
this.verifying = verifying;
}

@Override
Expand Down Expand Up @@ -90,6 +94,9 @@ public Object getFieldValue(String fieldName) {
if (fieldName.equals("restarting")) {
return restarting;
}
if (fieldName.equals("verifying")) {
return verifying;
}
return null;
}

Expand Down Expand Up @@ -137,6 +144,10 @@ public Integer getRestarting() {
return restarting;
}

public Integer getVerifying() {
return verifying;
}

public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
Expand Down Expand Up @@ -168,6 +179,7 @@ public static class Builder {
private Integer recreating;
private Integer refreshing;
private Integer restarting;
private Integer verifying;

Builder() {}

Expand Down Expand Up @@ -197,6 +209,9 @@ public Builder mergeFrom(InstanceGroupManagerActionsSummary other) {
if (other.getRestarting() != null) {
this.restarting = other.restarting;
}
if (other.getVerifying() != null) {
this.verifying = other.verifying;
}
return this;
}

Expand All @@ -209,6 +224,7 @@ public Builder mergeFrom(InstanceGroupManagerActionsSummary other) {
this.recreating = source.recreating;
this.refreshing = source.refreshing;
this.restarting = source.restarting;
this.verifying = source.verifying;
}

public Integer getAbandoning() {
Expand Down Expand Up @@ -283,6 +299,15 @@ public Builder setRestarting(Integer restarting) {
return this;
}

public Integer getVerifying() {
return verifying;
}

public Builder setVerifying(Integer verifying) {
this.verifying = verifying;
return this;
}

public InstanceGroupManagerActionsSummary build() {

return new InstanceGroupManagerActionsSummary(
Expand All @@ -293,7 +318,8 @@ public InstanceGroupManagerActionsSummary build() {
none,
recreating,
refreshing,
restarting);
restarting,
verifying);
}

public Builder clone() {
Expand All @@ -306,6 +332,7 @@ public Builder clone() {
newBuilder.setRecreating(this.recreating);
newBuilder.setRefreshing(this.refreshing);
newBuilder.setRestarting(this.restarting);
newBuilder.setVerifying(this.verifying);
return newBuilder;
}
}
Expand Down Expand Up @@ -336,6 +363,9 @@ public String toString() {
+ ", "
+ "restarting="
+ restarting
+ ", "
+ "verifying="
+ verifying
+ "}";
}

Expand All @@ -353,7 +383,8 @@ public boolean equals(Object o) {
&& Objects.equals(this.none, that.getNone())
&& Objects.equals(this.recreating, that.getRecreating())
&& Objects.equals(this.refreshing, that.getRefreshing())
&& Objects.equals(this.restarting, that.getRestarting());
&& Objects.equals(this.restarting, that.getRestarting())
&& Objects.equals(this.verifying, that.getVerifying());
}
return false;
}
Expand All @@ -368,6 +399,7 @@ public int hashCode() {
none,
recreating,
refreshing,
restarting);
restarting,
verifying);
}
}
Loading

0 comments on commit 6b39005

Please sign in to comment.