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 Apr 5, 2019
1 parent 34d85db commit 8e8cf57
Show file tree
Hide file tree
Showing 111 changed files with 18,350 additions and 1,803 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -216,9 +216,9 @@ public final AggregatedListAcceleratorTypesPagedResponse aggregatedListAccelerat
*
* <pre><code>
* try (AcceleratorTypeClient acceleratorTypeClient = AcceleratorTypeClient.create()) {
* ProjectName project = ProjectName.of("[PROJECT]");
* String formattedProject = ProjectName.format("[PROJECT]");
* AggregatedListAcceleratorTypesHttpRequest request = AggregatedListAcceleratorTypesHttpRequest.newBuilder()
* .setProject(project.toString())
* .setProject(formattedProject)
* .build();
* for (AcceleratorTypesScopedList element : acceleratorTypeClient.aggregatedListAcceleratorTypes(request).iterateAll()) {
* // doThingsWith(element);
Expand All @@ -243,9 +243,9 @@ public final AggregatedListAcceleratorTypesPagedResponse aggregatedListAccelerat
*
* <pre><code>
* try (AcceleratorTypeClient acceleratorTypeClient = AcceleratorTypeClient.create()) {
* ProjectName project = ProjectName.of("[PROJECT]");
* String formattedProject = ProjectName.format("[PROJECT]");
* AggregatedListAcceleratorTypesHttpRequest request = AggregatedListAcceleratorTypesHttpRequest.newBuilder()
* .setProject(project.toString())
* .setProject(formattedProject)
* .build();
* ApiFuture&lt;AggregatedListAcceleratorTypesPagedResponse&gt; future = acceleratorTypeClient.aggregatedListAcceleratorTypesPagedCallable().futureCall(request);
* // Do something
Expand All @@ -270,9 +270,9 @@ public final AggregatedListAcceleratorTypesPagedResponse aggregatedListAccelerat
*
* <pre><code>
* try (AcceleratorTypeClient acceleratorTypeClient = AcceleratorTypeClient.create()) {
* ProjectName project = ProjectName.of("[PROJECT]");
* String formattedProject = ProjectName.format("[PROJECT]");
* AggregatedListAcceleratorTypesHttpRequest request = AggregatedListAcceleratorTypesHttpRequest.newBuilder()
* .setProject(project.toString())
* .setProject(formattedProject)
* .build();
* while (true) {
* AcceleratorTypeAggregatedList response = acceleratorTypeClient.aggregatedListAcceleratorTypesCallable().call(request);
Expand Down Expand Up @@ -354,9 +354,9 @@ public final AcceleratorType getAcceleratorType(String acceleratorType) {
*
* <pre><code>
* try (AcceleratorTypeClient acceleratorTypeClient = AcceleratorTypeClient.create()) {
* ProjectZoneAcceleratorTypeName acceleratorType = ProjectZoneAcceleratorTypeName.of("[PROJECT]", "[ZONE]", "[ACCELERATOR_TYPE]");
* String formattedAcceleratorType = ProjectZoneAcceleratorTypeName.format("[PROJECT]", "[ZONE]", "[ACCELERATOR_TYPE]");
* GetAcceleratorTypeHttpRequest request = GetAcceleratorTypeHttpRequest.newBuilder()
* .setAcceleratorType(acceleratorType.toString())
* .setAcceleratorType(formattedAcceleratorType)
* .build();
* AcceleratorType response = acceleratorTypeClient.getAcceleratorType(request);
* }
Expand All @@ -378,9 +378,9 @@ public final AcceleratorType getAcceleratorType(GetAcceleratorTypeHttpRequest re
*
* <pre><code>
* try (AcceleratorTypeClient acceleratorTypeClient = AcceleratorTypeClient.create()) {
* ProjectZoneAcceleratorTypeName acceleratorType = ProjectZoneAcceleratorTypeName.of("[PROJECT]", "[ZONE]", "[ACCELERATOR_TYPE]");
* String formattedAcceleratorType = ProjectZoneAcceleratorTypeName.format("[PROJECT]", "[ZONE]", "[ACCELERATOR_TYPE]");
* GetAcceleratorTypeHttpRequest request = GetAcceleratorTypeHttpRequest.newBuilder()
* .setAcceleratorType(acceleratorType.toString())
* .setAcceleratorType(formattedAcceleratorType)
* .build();
* ApiFuture&lt;AcceleratorType&gt; future = acceleratorTypeClient.getAcceleratorTypeCallable().futureCall(request);
* // Do something
Expand Down Expand Up @@ -454,9 +454,9 @@ public final ListAcceleratorTypesPagedResponse listAcceleratorTypes(String zone)
*
* <pre><code>
* try (AcceleratorTypeClient acceleratorTypeClient = AcceleratorTypeClient.create()) {
* ProjectZoneName zone = ProjectZoneName.of("[PROJECT]", "[ZONE]");
* String formattedZone = ProjectZoneName.format("[PROJECT]", "[ZONE]");
* ListAcceleratorTypesHttpRequest request = ListAcceleratorTypesHttpRequest.newBuilder()
* .setZone(zone.toString())
* .setZone(formattedZone)
* .build();
* for (AcceleratorType element : acceleratorTypeClient.listAcceleratorTypes(request).iterateAll()) {
* // doThingsWith(element);
Expand All @@ -481,9 +481,9 @@ public final ListAcceleratorTypesPagedResponse listAcceleratorTypes(
*
* <pre><code>
* try (AcceleratorTypeClient acceleratorTypeClient = AcceleratorTypeClient.create()) {
* ProjectZoneName zone = ProjectZoneName.of("[PROJECT]", "[ZONE]");
* String formattedZone = ProjectZoneName.format("[PROJECT]", "[ZONE]");
* ListAcceleratorTypesHttpRequest request = ListAcceleratorTypesHttpRequest.newBuilder()
* .setZone(zone.toString())
* .setZone(formattedZone)
* .build();
* ApiFuture&lt;ListAcceleratorTypesPagedResponse&gt; future = acceleratorTypeClient.listAcceleratorTypesPagedCallable().futureCall(request);
* // Do something
Expand All @@ -507,9 +507,9 @@ public final ListAcceleratorTypesPagedResponse listAcceleratorTypes(
*
* <pre><code>
* try (AcceleratorTypeClient acceleratorTypeClient = AcceleratorTypeClient.create()) {
* ProjectZoneName zone = ProjectZoneName.of("[PROJECT]", "[ZONE]");
* String formattedZone = ProjectZoneName.format("[PROJECT]", "[ZONE]");
* ListAcceleratorTypesHttpRequest request = ListAcceleratorTypesHttpRequest.newBuilder()
* .setZone(zone.toString())
* .setZone(formattedZone)
* .build();
* while (true) {
* AcceleratorTypeList response = acceleratorTypeClient.listAcceleratorTypesCallable().call(request);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -211,9 +211,9 @@ public final AggregatedListAddressesPagedResponse aggregatedListAddresses(String
*
* <pre><code>
* try (AddressClient addressClient = AddressClient.create()) {
* ProjectName project = ProjectName.of("[PROJECT]");
* String formattedProject = ProjectName.format("[PROJECT]");
* AggregatedListAddressesHttpRequest request = AggregatedListAddressesHttpRequest.newBuilder()
* .setProject(project.toString())
* .setProject(formattedProject)
* .build();
* for (AddressesScopedList element : addressClient.aggregatedListAddresses(request).iterateAll()) {
* // doThingsWith(element);
Expand All @@ -238,9 +238,9 @@ public final AggregatedListAddressesPagedResponse aggregatedListAddresses(
*
* <pre><code>
* try (AddressClient addressClient = AddressClient.create()) {
* ProjectName project = ProjectName.of("[PROJECT]");
* String formattedProject = ProjectName.format("[PROJECT]");
* AggregatedListAddressesHttpRequest request = AggregatedListAddressesHttpRequest.newBuilder()
* .setProject(project.toString())
* .setProject(formattedProject)
* .build();
* ApiFuture&lt;AggregatedListAddressesPagedResponse&gt; future = addressClient.aggregatedListAddressesPagedCallable().futureCall(request);
* // Do something
Expand All @@ -265,9 +265,9 @@ public final AggregatedListAddressesPagedResponse aggregatedListAddresses(
*
* <pre><code>
* try (AddressClient addressClient = AddressClient.create()) {
* ProjectName project = ProjectName.of("[PROJECT]");
* String formattedProject = ProjectName.format("[PROJECT]");
* AggregatedListAddressesHttpRequest request = AggregatedListAddressesHttpRequest.newBuilder()
* .setProject(project.toString())
* .setProject(formattedProject)
* .build();
* while (true) {
* AddressAggregatedList response = addressClient.aggregatedListAddressesCallable().call(request);
Expand Down Expand Up @@ -348,9 +348,9 @@ public final Operation deleteAddress(String address) {
*
* <pre><code>
* try (AddressClient addressClient = AddressClient.create()) {
* ProjectRegionAddressName address = ProjectRegionAddressName.of("[PROJECT]", "[REGION]", "[ADDRESS]");
* String formattedAddress = ProjectRegionAddressName.format("[PROJECT]", "[REGION]", "[ADDRESS]");
* DeleteAddressHttpRequest request = DeleteAddressHttpRequest.newBuilder()
* .setAddress(address.toString())
* .setAddress(formattedAddress)
* .build();
* Operation response = addressClient.deleteAddress(request);
* }
Expand All @@ -372,9 +372,9 @@ public final Operation deleteAddress(DeleteAddressHttpRequest request) {
*
* <pre><code>
* try (AddressClient addressClient = AddressClient.create()) {
* ProjectRegionAddressName address = ProjectRegionAddressName.of("[PROJECT]", "[REGION]", "[ADDRESS]");
* String formattedAddress = ProjectRegionAddressName.format("[PROJECT]", "[REGION]", "[ADDRESS]");
* DeleteAddressHttpRequest request = DeleteAddressHttpRequest.newBuilder()
* .setAddress(address.toString())
* .setAddress(formattedAddress)
* .build();
* ApiFuture&lt;Operation&gt; future = addressClient.deleteAddressCallable().futureCall(request);
* // Do something
Expand Down Expand Up @@ -444,9 +444,9 @@ public final Address getAddress(String address) {
*
* <pre><code>
* try (AddressClient addressClient = AddressClient.create()) {
* ProjectRegionAddressName address = ProjectRegionAddressName.of("[PROJECT]", "[REGION]", "[ADDRESS]");
* String formattedAddress = ProjectRegionAddressName.format("[PROJECT]", "[REGION]", "[ADDRESS]");
* GetAddressHttpRequest request = GetAddressHttpRequest.newBuilder()
* .setAddress(address.toString())
* .setAddress(formattedAddress)
* .build();
* Address response = addressClient.getAddress(request);
* }
Expand All @@ -468,9 +468,9 @@ public final Address getAddress(GetAddressHttpRequest request) {
*
* <pre><code>
* try (AddressClient addressClient = AddressClient.create()) {
* ProjectRegionAddressName address = ProjectRegionAddressName.of("[PROJECT]", "[REGION]", "[ADDRESS]");
* String formattedAddress = ProjectRegionAddressName.format("[PROJECT]", "[REGION]", "[ADDRESS]");
* GetAddressHttpRequest request = GetAddressHttpRequest.newBuilder()
* .setAddress(address.toString())
* .setAddress(formattedAddress)
* .build();
* ApiFuture&lt;Address&gt; future = addressClient.getAddressCallable().futureCall(request);
* // Do something
Expand Down Expand Up @@ -553,10 +553,10 @@ public final Operation insertAddress(String region, Address addressResource) {
*
* <pre><code>
* try (AddressClient addressClient = AddressClient.create()) {
* ProjectRegionName region = ProjectRegionName.of("[PROJECT]", "[REGION]");
* String formattedRegion = ProjectRegionName.format("[PROJECT]", "[REGION]");
* Address addressResource = Address.newBuilder().build();
* InsertAddressHttpRequest request = InsertAddressHttpRequest.newBuilder()
* .setRegion(region.toString())
* .setRegion(formattedRegion)
* .setAddressResource(addressResource)
* .build();
* Operation response = addressClient.insertAddress(request);
Expand All @@ -579,10 +579,10 @@ public final Operation insertAddress(InsertAddressHttpRequest request) {
*
* <pre><code>
* try (AddressClient addressClient = AddressClient.create()) {
* ProjectRegionName region = ProjectRegionName.of("[PROJECT]", "[REGION]");
* String formattedRegion = ProjectRegionName.format("[PROJECT]", "[REGION]");
* Address addressResource = Address.newBuilder().build();
* InsertAddressHttpRequest request = InsertAddressHttpRequest.newBuilder()
* .setRegion(region.toString())
* .setRegion(formattedRegion)
* .setAddressResource(addressResource)
* .build();
* ApiFuture&lt;Operation&gt; future = addressClient.insertAddressCallable().futureCall(request);
Expand Down Expand Up @@ -656,9 +656,9 @@ public final ListAddressesPagedResponse listAddresses(String region) {
*
* <pre><code>
* try (AddressClient addressClient = AddressClient.create()) {
* ProjectRegionName region = ProjectRegionName.of("[PROJECT]", "[REGION]");
* String formattedRegion = ProjectRegionName.format("[PROJECT]", "[REGION]");
* ListAddressesHttpRequest request = ListAddressesHttpRequest.newBuilder()
* .setRegion(region.toString())
* .setRegion(formattedRegion)
* .build();
* for (Address element : addressClient.listAddresses(request).iterateAll()) {
* // doThingsWith(element);
Expand All @@ -682,9 +682,9 @@ public final ListAddressesPagedResponse listAddresses(ListAddressesHttpRequest r
*
* <pre><code>
* try (AddressClient addressClient = AddressClient.create()) {
* ProjectRegionName region = ProjectRegionName.of("[PROJECT]", "[REGION]");
* String formattedRegion = ProjectRegionName.format("[PROJECT]", "[REGION]");
* ListAddressesHttpRequest request = ListAddressesHttpRequest.newBuilder()
* .setRegion(region.toString())
* .setRegion(formattedRegion)
* .build();
* ApiFuture&lt;ListAddressesPagedResponse&gt; future = addressClient.listAddressesPagedCallable().futureCall(request);
* // Do something
Expand All @@ -708,9 +708,9 @@ public final ListAddressesPagedResponse listAddresses(ListAddressesHttpRequest r
*
* <pre><code>
* try (AddressClient addressClient = AddressClient.create()) {
* ProjectRegionName region = ProjectRegionName.of("[PROJECT]", "[REGION]");
* String formattedRegion = ProjectRegionName.format("[PROJECT]", "[REGION]");
* ListAddressesHttpRequest request = ListAddressesHttpRequest.newBuilder()
* .setRegion(region.toString())
* .setRegion(formattedRegion)
* .build();
* while (true) {
* AddressList response = addressClient.listAddressesCallable().call(request);
Expand Down
Loading

0 comments on commit 8e8cf57

Please sign in to comment.