Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regenerate compute client #4201

Merged
merged 1 commit into from
Dec 10, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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