Skip to content

Commit

Permalink
Regenerate compute client
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation committed Dec 8, 2018
1 parent 711087f commit fa508eb
Show file tree
Hide file tree
Showing 32 changed files with 3,738 additions and 65 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@ public final class Address implements ApiMessage {
private final String ipVersion;
private final String kind;
private final String name;
private final String network;
private final String networkTier;
private final Integer prefixLength;
private final String purpose;
private final String region;
private final String selfLink;
private final String status;
Expand All @@ -50,7 +53,10 @@ private Address() {
this.ipVersion = null;
this.kind = null;
this.name = null;
this.network = null;
this.networkTier = null;
this.prefixLength = null;
this.purpose = null;
this.region = null;
this.selfLink = null;
this.status = null;
Expand All @@ -67,7 +73,10 @@ private Address(
String ipVersion,
String kind,
String name,
String network,
String networkTier,
Integer prefixLength,
String purpose,
String region,
String selfLink,
String status,
Expand All @@ -81,7 +90,10 @@ private Address(
this.ipVersion = ipVersion;
this.kind = kind;
this.name = name;
this.network = network;
this.networkTier = networkTier;
this.prefixLength = prefixLength;
this.purpose = purpose;
this.region = region;
this.selfLink = selfLink;
this.status = status;
Expand Down Expand Up @@ -115,9 +127,18 @@ public Object getFieldValue(String fieldName) {
if (fieldName.equals("name")) {
return name;
}
if (fieldName.equals("network")) {
return network;
}
if (fieldName.equals("networkTier")) {
return networkTier;
}
if (fieldName.equals("prefixLength")) {
return prefixLength;
}
if (fieldName.equals("purpose")) {
return purpose;
}
if (fieldName.equals("region")) {
return region;
}
Expand Down Expand Up @@ -180,10 +201,22 @@ public String getName() {
return name;
}

public String getNetwork() {
return network;
}

public String getNetworkTier() {
return networkTier;
}

public Integer getPrefixLength() {
return prefixLength;
}

public String getPurpose() {
return purpose;
}

public String getRegion() {
return region;
}
Expand Down Expand Up @@ -235,7 +268,10 @@ public static class Builder {
private String ipVersion;
private String kind;
private String name;
private String network;
private String networkTier;
private Integer prefixLength;
private String purpose;
private String region;
private String selfLink;
private String status;
Expand Down Expand Up @@ -270,9 +306,18 @@ public Builder mergeFrom(Address other) {
if (other.getName() != null) {
this.name = other.name;
}
if (other.getNetwork() != null) {
this.network = other.network;
}
if (other.getNetworkTier() != null) {
this.networkTier = other.networkTier;
}
if (other.getPrefixLength() != null) {
this.prefixLength = other.prefixLength;
}
if (other.getPurpose() != null) {
this.purpose = other.purpose;
}
if (other.getRegion() != null) {
this.region = other.region;
}
Expand Down Expand Up @@ -300,7 +345,10 @@ public Builder mergeFrom(Address other) {
this.ipVersion = source.ipVersion;
this.kind = source.kind;
this.name = source.name;
this.network = source.network;
this.networkTier = source.networkTier;
this.prefixLength = source.prefixLength;
this.purpose = source.purpose;
this.region = source.region;
this.selfLink = source.selfLink;
this.status = source.status;
Expand Down Expand Up @@ -380,6 +428,15 @@ public Builder setName(String name) {
return this;
}

public String getNetwork() {
return network;
}

public Builder setNetwork(String network) {
this.network = network;
return this;
}

public String getNetworkTier() {
return networkTier;
}
Expand All @@ -389,6 +446,24 @@ public Builder setNetworkTier(String networkTier) {
return this;
}

public Integer getPrefixLength() {
return prefixLength;
}

public Builder setPrefixLength(Integer prefixLength) {
this.prefixLength = prefixLength;
return this;
}

public String getPurpose() {
return purpose;
}

public Builder setPurpose(String purpose) {
this.purpose = purpose;
return this;
}

public String getRegion() {
return region;
}
Expand Down Expand Up @@ -456,7 +531,10 @@ public Address build() {
ipVersion,
kind,
name,
network,
networkTier,
prefixLength,
purpose,
region,
selfLink,
status,
Expand All @@ -474,7 +552,10 @@ public Builder clone() {
newBuilder.setIpVersion(this.ipVersion);
newBuilder.setKind(this.kind);
newBuilder.setName(this.name);
newBuilder.setNetwork(this.network);
newBuilder.setNetworkTier(this.networkTier);
newBuilder.setPrefixLength(this.prefixLength);
newBuilder.setPurpose(this.purpose);
newBuilder.setRegion(this.region);
newBuilder.setSelfLink(this.selfLink);
newBuilder.setStatus(this.status);
Expand Down Expand Up @@ -511,9 +592,18 @@ public String toString() {
+ "name="
+ name
+ ", "
+ "network="
+ network
+ ", "
+ "networkTier="
+ networkTier
+ ", "
+ "prefixLength="
+ prefixLength
+ ", "
+ "purpose="
+ purpose
+ ", "
+ "region="
+ region
+ ", "
Expand Down Expand Up @@ -546,7 +636,10 @@ public boolean equals(Object o) {
&& Objects.equals(this.ipVersion, that.getIpVersion())
&& Objects.equals(this.kind, that.getKind())
&& Objects.equals(this.name, that.getName())
&& Objects.equals(this.network, that.getNetwork())
&& Objects.equals(this.networkTier, that.getNetworkTier())
&& Objects.equals(this.prefixLength, that.getPrefixLength())
&& Objects.equals(this.purpose, that.getPurpose())
&& Objects.equals(this.region, that.getRegion())
&& Objects.equals(this.selfLink, that.getSelfLink())
&& Objects.equals(this.status, that.getStatus())
Expand All @@ -567,7 +660,10 @@ public int hashCode() {
ipVersion,
kind,
name,
network,
networkTier,
prefixLength,
purpose,
region,
selfLink,
status,
Expand Down
Loading

0 comments on commit fa508eb

Please sign in to comment.