Skip to content

Commit

Permalink
regen from artman
Browse files Browse the repository at this point in the history
  • Loading branch information
andreamlin committed Apr 23, 2018
1 parent 88f17ac commit 2e3d695
Show file tree
Hide file tree
Showing 1,056 changed files with 101,944 additions and 91,015 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@

import com.google.api.core.BetaApi;
import com.google.api.gax.httpjson.ApiMessage;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableMap;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
Expand All @@ -36,7 +33,8 @@ public final class AbandonInstancesInstanceGroupManagerHttpRequest implements Ap
private final String callback;
private final String fields;
private final String instanceGroupManager;
private final InstanceGroupManagersAbandonInstancesRequest instanceGroupManagersAbandonInstancesRequestResource;
private final InstanceGroupManagersAbandonInstancesRequest
instanceGroupManagersAbandonInstancesRequestResource;
private final String key;
private final String prettyPrint;
private final String quotaUser;
Expand All @@ -56,24 +54,24 @@ private AbandonInstancesInstanceGroupManagerHttpRequest() {
this.userIp = null;
}


private AbandonInstancesInstanceGroupManagerHttpRequest(
String access_token,
String callback,
String fields,
String instanceGroupManager,
InstanceGroupManagersAbandonInstancesRequest instanceGroupManagersAbandonInstancesRequestResource,
InstanceGroupManagersAbandonInstancesRequest
instanceGroupManagersAbandonInstancesRequestResource,
String key,
String prettyPrint,
String quotaUser,
String requestId,
String userIp
) {
String userIp) {
this.access_token = access_token;
this.callback = callback;
this.fields = fields;
this.instanceGroupManager = instanceGroupManager;
this.instanceGroupManagersAbandonInstancesRequestResource = instanceGroupManagersAbandonInstancesRequestResource;
this.instanceGroupManagersAbandonInstancesRequestResource =
instanceGroupManagersAbandonInstancesRequestResource;
this.key = key;
this.prettyPrint = prettyPrint;
this.quotaUser = quotaUser;
Expand All @@ -94,10 +92,15 @@ public Map<String, List<String>> populateFieldsInMap(Set<String> fieldNames) {
fieldMap.put("fields", Collections.singletonList(String.valueOf(fields)));
}
if (fieldNames.contains("instanceGroupManager") && instanceGroupManager != null) {
fieldMap.put("instanceGroupManager", Collections.singletonList(String.valueOf(instanceGroupManager)));
fieldMap.put(
"instanceGroupManager", Collections.singletonList(String.valueOf(instanceGroupManager)));
}
if (fieldNames.contains("instanceGroupManagersAbandonInstancesRequestResource") && instanceGroupManagersAbandonInstancesRequestResource != null) {
fieldMap.put("instanceGroupManagersAbandonInstancesRequestResource", Collections.singletonList(String.valueOf(instanceGroupManagersAbandonInstancesRequestResource)));
if (fieldNames.contains("instanceGroupManagersAbandonInstancesRequestResource")
&& instanceGroupManagersAbandonInstancesRequestResource != null) {
fieldMap.put(
"instanceGroupManagersAbandonInstancesRequestResource",
Collections.singletonList(
String.valueOf(instanceGroupManagersAbandonInstancesRequestResource)));
}
if (fieldNames.contains("key") && key != null) {
fieldMap.put("key", Collections.singletonList(String.valueOf(key)));
Expand Down Expand Up @@ -174,7 +177,8 @@ public String getInstanceGroupManager() {
return instanceGroupManager;
}

public InstanceGroupManagersAbandonInstancesRequest getInstanceGroupManagersAbandonInstancesRequestResource() {
public InstanceGroupManagersAbandonInstancesRequest
getInstanceGroupManagersAbandonInstancesRequestResource() {
return instanceGroupManagersAbandonInstancesRequestResource;
}

Expand All @@ -198,22 +202,24 @@ public String getUserIp() {
return userIp;
}


public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}

public static Builder newBuilder(AbandonInstancesInstanceGroupManagerHttpRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}

public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
}

public static AbandonInstancesInstanceGroupManagerHttpRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}

private static final AbandonInstancesInstanceGroupManagerHttpRequest DEFAULT_INSTANCE;

static {
DEFAULT_INSTANCE = new AbandonInstancesInstanceGroupManagerHttpRequest();
}
Expand All @@ -223,7 +229,8 @@ public static class Builder {
private String callback;
private String fields;
private String instanceGroupManager;
private InstanceGroupManagersAbandonInstancesRequest instanceGroupManagersAbandonInstancesRequestResource;
private InstanceGroupManagersAbandonInstancesRequest
instanceGroupManagersAbandonInstancesRequestResource;
private String key;
private String prettyPrint;
private String quotaUser;
Expand All @@ -233,7 +240,8 @@ public static class Builder {
Builder() {}

public Builder mergeFrom(AbandonInstancesInstanceGroupManagerHttpRequest other) {
if (other == AbandonInstancesInstanceGroupManagerHttpRequest.getDefaultInstance()) return this;
if (other == AbandonInstancesInstanceGroupManagerHttpRequest.getDefaultInstance())
return this;
if (other.getAccessToken() != null) {
this.access_token = other.access_token;
}
Expand All @@ -247,7 +255,8 @@ public Builder mergeFrom(AbandonInstancesInstanceGroupManagerHttpRequest other)
this.instanceGroupManager = other.instanceGroupManager;
}
if (other.getInstanceGroupManagersAbandonInstancesRequestResource() != null) {
this.instanceGroupManagersAbandonInstancesRequestResource = other.instanceGroupManagersAbandonInstancesRequestResource;
this.instanceGroupManagersAbandonInstancesRequestResource =
other.instanceGroupManagersAbandonInstancesRequestResource;
}
if (other.getKey() != null) {
this.key = other.key;
Expand All @@ -272,7 +281,8 @@ public Builder mergeFrom(AbandonInstancesInstanceGroupManagerHttpRequest other)
this.callback = source.callback;
this.fields = source.fields;
this.instanceGroupManager = source.instanceGroupManager;
this.instanceGroupManagersAbandonInstancesRequestResource = source.instanceGroupManagersAbandonInstancesRequestResource;
this.instanceGroupManagersAbandonInstancesRequestResource =
source.instanceGroupManagersAbandonInstancesRequestResource;
this.key = source.key;
this.prettyPrint = source.prettyPrint;
this.quotaUser = source.quotaUser;
Expand Down Expand Up @@ -316,12 +326,16 @@ public Builder setInstanceGroupManager(String instanceGroupManager) {
return this;
}

public InstanceGroupManagersAbandonInstancesRequest getInstanceGroupManagersAbandonInstancesRequestResource() {
public InstanceGroupManagersAbandonInstancesRequest
getInstanceGroupManagersAbandonInstancesRequestResource() {
return instanceGroupManagersAbandonInstancesRequestResource;
}

public Builder setInstanceGroupManagersAbandonInstancesRequestResource(InstanceGroupManagersAbandonInstancesRequest instanceGroupManagersAbandonInstancesRequestResource) {
this.instanceGroupManagersAbandonInstancesRequestResource = instanceGroupManagersAbandonInstancesRequestResource;
public Builder setInstanceGroupManagersAbandonInstancesRequestResource(
InstanceGroupManagersAbandonInstancesRequest
instanceGroupManagersAbandonInstancesRequestResource) {
this.instanceGroupManagersAbandonInstancesRequestResource =
instanceGroupManagersAbandonInstancesRequestResource;
return this;
}

Expand Down Expand Up @@ -370,36 +384,27 @@ public Builder setUserIp(String userIp) {
return this;
}


public AbandonInstancesInstanceGroupManagerHttpRequest build() {
String missing = "";



if (instanceGroupManager == null) {
missing += " instanceGroupManager";
}






if (!missing.isEmpty()) {
throw new IllegalStateException("Missing required properties:" + missing);
}
return new AbandonInstancesInstanceGroupManagerHttpRequest(
access_token,
callback,
fields,
instanceGroupManager,
instanceGroupManagersAbandonInstancesRequestResource,
key,
prettyPrint,
quotaUser,
requestId,
userIp
);
access_token,
callback,
fields,
instanceGroupManager,
instanceGroupManagersAbandonInstancesRequestResource,
key,
prettyPrint,
quotaUser,
requestId,
userIp);
}

public Builder clone() {
Expand All @@ -408,7 +413,8 @@ public Builder clone() {
newBuilder.setCallback(this.callback);
newBuilder.setFields(this.fields);
newBuilder.setInstanceGroupManager(this.instanceGroupManager);
newBuilder.setInstanceGroupManagersAbandonInstancesRequestResource(this.instanceGroupManagersAbandonInstancesRequestResource);
newBuilder.setInstanceGroupManagersAbandonInstancesRequestResource(
this.instanceGroupManagersAbandonInstancesRequestResource);
newBuilder.setKey(this.key);
newBuilder.setPrettyPrint(this.prettyPrint);
newBuilder.setQuotaUser(this.quotaUser);
Expand All @@ -421,16 +427,35 @@ public Builder clone() {
@Override
public String toString() {
return "AbandonInstancesInstanceGroupManagerHttpRequest{"
+ "access_token=" + access_token + ", "
+ "callback=" + callback + ", "
+ "fields=" + fields + ", "
+ "instanceGroupManager=" + instanceGroupManager + ", "
+ "instanceGroupManagersAbandonInstancesRequestResource=" + instanceGroupManagersAbandonInstancesRequestResource + ", "
+ "key=" + key + ", "
+ "prettyPrint=" + prettyPrint + ", "
+ "quotaUser=" + quotaUser + ", "
+ "requestId=" + requestId + ", "
+ "userIp=" + userIp
+ "access_token="
+ access_token
+ ", "
+ "callback="
+ callback
+ ", "
+ "fields="
+ fields
+ ", "
+ "instanceGroupManager="
+ instanceGroupManager
+ ", "
+ "instanceGroupManagersAbandonInstancesRequestResource="
+ instanceGroupManagersAbandonInstancesRequestResource
+ ", "
+ "key="
+ key
+ ", "
+ "prettyPrint="
+ prettyPrint
+ ", "
+ "quotaUser="
+ quotaUser
+ ", "
+ "requestId="
+ requestId
+ ", "
+ "userIp="
+ userIp
+ "}";
}

Expand All @@ -440,36 +465,36 @@ public boolean equals(Object o) {
return true;
}
if (o instanceof AbandonInstancesInstanceGroupManagerHttpRequest) {
AbandonInstancesInstanceGroupManagerHttpRequest that = (AbandonInstancesInstanceGroupManagerHttpRequest) o;
return
Objects.equals(this.access_token, that.getAccessToken()) &&
Objects.equals(this.callback, that.getCallback()) &&
Objects.equals(this.fields, that.getFields()) &&
Objects.equals(this.instanceGroupManager, that.getInstanceGroupManager()) &&
Objects.equals(this.instanceGroupManagersAbandonInstancesRequestResource, that.getInstanceGroupManagersAbandonInstancesRequestResource()) &&
Objects.equals(this.key, that.getKey()) &&
Objects.equals(this.prettyPrint, that.getPrettyPrint()) &&
Objects.equals(this.quotaUser, that.getQuotaUser()) &&
Objects.equals(this.requestId, that.getRequestId()) &&
Objects.equals(this.userIp, that.getUserIp())
;
AbandonInstancesInstanceGroupManagerHttpRequest that =
(AbandonInstancesInstanceGroupManagerHttpRequest) o;
return Objects.equals(this.access_token, that.getAccessToken())
&& Objects.equals(this.callback, that.getCallback())
&& Objects.equals(this.fields, that.getFields())
&& Objects.equals(this.instanceGroupManager, that.getInstanceGroupManager())
&& Objects.equals(
this.instanceGroupManagersAbandonInstancesRequestResource,
that.getInstanceGroupManagersAbandonInstancesRequestResource())
&& Objects.equals(this.key, that.getKey())
&& Objects.equals(this.prettyPrint, that.getPrettyPrint())
&& Objects.equals(this.quotaUser, that.getQuotaUser())
&& Objects.equals(this.requestId, that.getRequestId())
&& Objects.equals(this.userIp, that.getUserIp());
}
return false;
}

@Override
public int hashCode() {
return Objects.hash(
access_token,
callback,
fields,
instanceGroupManager,
instanceGroupManagersAbandonInstancesRequestResource,
key,
prettyPrint,
quotaUser,
requestId,
userIp
);
access_token,
callback,
fields,
instanceGroupManager,
instanceGroupManagersAbandonInstancesRequestResource,
key,
prettyPrint,
quotaUser,
requestId,
userIp);
}
}
Loading

0 comments on commit 2e3d695

Please sign in to comment.