Skip to content
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 @@ -17,7 +17,7 @@

import com.google.api.core.BetaApi;
import com.google.api.gax.httpjson.ApiMessage;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;
import java.util.Objects;
import javax.annotation.Generated;
Expand Down Expand Up @@ -195,13 +195,16 @@ public List<AcceleratorType> getItemsList() {

public Builder addAllItems(List<AcceleratorType> items) {
if (this.items == null) {
this.items = new ArrayList<>(items.size());
this.items = new LinkedList<>();
}
this.items.addAll(items);
return this;
}

public Builder addItems(AcceleratorType items) {
if (this.items == null) {
this.items = new LinkedList<>();
}
this.items.add(items);
return this;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

import com.google.api.core.BetaApi;
import com.google.api.gax.httpjson.ApiMessage;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;
import java.util.Objects;
import javax.annotation.Generated;
Expand Down Expand Up @@ -120,13 +120,16 @@ public List<AcceleratorType> getAcceleratorTypesList() {

public Builder addAllAcceleratorTypes(List<AcceleratorType> acceleratorTypes) {
if (this.acceleratorTypes == null) {
this.acceleratorTypes = new ArrayList<>(acceleratorTypes.size());
this.acceleratorTypes = new LinkedList<>();
}
this.acceleratorTypes.addAll(acceleratorTypes);
return this;
}

public Builder addAcceleratorTypes(AcceleratorType acceleratorTypes) {
if (this.acceleratorTypes == null) {
this.acceleratorTypes = new LinkedList<>();
}
this.acceleratorTypes.add(acceleratorTypes);
return this;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

import com.google.api.core.BetaApi;
import com.google.api.gax.httpjson.ApiMessage;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;
import java.util.Objects;
import javax.annotation.Generated;
Expand Down Expand Up @@ -406,13 +406,16 @@ public List<String> getUsersList() {

public Builder addAllUsers(List<String> users) {
if (this.users == null) {
this.users = new ArrayList<>(users.size());
this.users = new LinkedList<>();
}
this.users.addAll(users);
return this;
}

public Builder addUsers(String users) {
if (this.users == null) {
this.users = new LinkedList<>();
}
this.users.add(users);
return this;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

import com.google.api.core.BetaApi;
import com.google.api.gax.httpjson.ApiMessage;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;
import java.util.Objects;
import javax.annotation.Generated;
Expand Down Expand Up @@ -195,13 +195,16 @@ public List<Address> getItemsList() {

public Builder addAllItems(List<Address> items) {
if (this.items == null) {
this.items = new ArrayList<>(items.size());
this.items = new LinkedList<>();
}
this.items.addAll(items);
return this;
}

public Builder addItems(Address items) {
if (this.items == null) {
this.items = new LinkedList<>();
}
this.items.add(items);
return this;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

import com.google.api.core.BetaApi;
import com.google.api.gax.httpjson.ApiMessage;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;
import java.util.Objects;
import javax.annotation.Generated;
Expand Down Expand Up @@ -120,13 +120,16 @@ public List<Address> getAddressesList() {

public Builder addAllAddresses(List<Address> addresses) {
if (this.addresses == null) {
this.addresses = new ArrayList<>(addresses.size());
this.addresses = new LinkedList<>();
}
this.addresses.addAll(addresses);
return this;
}

public Builder addAddresses(Address addresses) {
if (this.addresses == null) {
this.addresses = new LinkedList<>();
}
this.addresses.add(addresses);
return this;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

import com.google.api.core.BetaApi;
import com.google.api.gax.httpjson.ApiMessage;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;
import java.util.Objects;
import javax.annotation.Generated;
Expand Down Expand Up @@ -129,13 +129,16 @@ public List<String> getPortsList() {

public Builder addAllPorts(List<String> ports) {
if (this.ports == null) {
this.ports = new ArrayList<>(ports.size());
this.ports = new LinkedList<>();
}
this.ports.addAll(ports);
return this;
}

public Builder addPorts(String ports) {
if (this.ports == null) {
this.ports = new LinkedList<>();
}
this.ports.add(ports);
return this;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

import com.google.api.core.BetaApi;
import com.google.api.gax.httpjson.ApiMessage;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;
import java.util.Objects;
import javax.annotation.Generated;
Expand Down Expand Up @@ -334,13 +334,16 @@ public List<GuestOsFeature> getGuestOsFeaturesList() {

public Builder addAllGuestOsFeatures(List<GuestOsFeature> guestOsFeatures) {
if (this.guestOsFeatures == null) {
this.guestOsFeatures = new ArrayList<>(guestOsFeatures.size());
this.guestOsFeatures = new LinkedList<>();
}
this.guestOsFeatures.addAll(guestOsFeatures);
return this;
}

public Builder addGuestOsFeatures(GuestOsFeature guestOsFeatures) {
if (this.guestOsFeatures == null) {
this.guestOsFeatures = new LinkedList<>();
}
this.guestOsFeatures.add(guestOsFeatures);
return this;
}
Expand Down Expand Up @@ -387,13 +390,16 @@ public List<String> getLicensesList() {

public Builder addAllLicenses(List<String> licenses) {
if (this.licenses == null) {
this.licenses = new ArrayList<>(licenses.size());
this.licenses = new LinkedList<>();
}
this.licenses.addAll(licenses);
return this;
}

public Builder addLicenses(String licenses) {
if (this.licenses == null) {
this.licenses = new LinkedList<>();
}
this.licenses.add(licenses);
return this;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

import com.google.api.core.BetaApi;
import com.google.api.gax.httpjson.ApiMessage;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;
import java.util.Objects;
import javax.annotation.Generated;
Expand Down Expand Up @@ -363,13 +363,16 @@ public List<AutoscalerStatusDetails> getStatusDetailsList() {

public Builder addAllStatusDetails(List<AutoscalerStatusDetails> statusDetails) {
if (this.statusDetails == null) {
this.statusDetails = new ArrayList<>(statusDetails.size());
this.statusDetails = new LinkedList<>();
}
this.statusDetails.addAll(statusDetails);
return this;
}

public Builder addStatusDetails(AutoscalerStatusDetails statusDetails) {
if (this.statusDetails == null) {
this.statusDetails = new LinkedList<>();
}
this.statusDetails.add(statusDetails);
return this;
}
Expand Down
Loading