Skip to content

Commit

Permalink
chore: generate libraries at Thu Mar 28 03:14:11 UTC 2024 (#10634)
Browse files Browse the repository at this point in the history
  • Loading branch information
cloud-java-bot authored Mar 28, 2024
1 parent fa72d04 commit 11b0068
Show file tree
Hide file tree
Showing 76 changed files with 27,347 additions and 228 deletions.
2 changes: 1 addition & 1 deletion generation_config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
gapic_generator_version: 2.38.1
protobuf_version: '25.2'
googleapis_commitish: b0665ea5950660fca012c4cc8b7079dbc2d3f5dd
googleapis_commitish: 0acc64cb759eb3a11c2230d42f24f1a35f81b178
owlbot_cli_image: sha256:623647ee79ac605858d09e60c1382a716c125fb776f69301b72de1cd35d49409
synthtool_commitish: 6612ab8f3afcd5e292aecd647f0fa68812c9f5b5
template_excludes:
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

import static com.google.cloud.batch.v1alpha.BatchServiceClient.ListJobsPagedResponse;
import static com.google.cloud.batch.v1alpha.BatchServiceClient.ListLocationsPagedResponse;
import static com.google.cloud.batch.v1alpha.BatchServiceClient.ListResourceAllowancesPagedResponse;
import static com.google.cloud.batch.v1alpha.BatchServiceClient.ListTasksPagedResponse;

import com.google.api.core.ApiFunction;
Expand Down Expand Up @@ -122,6 +123,46 @@ public UnaryCallSettings<GetTaskRequest, Task> getTaskSettings() {
return ((BatchServiceStubSettings) getStubSettings()).listTasksSettings();
}

/** Returns the object with the settings used for calls to createResourceAllowance. */
public UnaryCallSettings<CreateResourceAllowanceRequest, ResourceAllowance>
createResourceAllowanceSettings() {
return ((BatchServiceStubSettings) getStubSettings()).createResourceAllowanceSettings();
}

/** Returns the object with the settings used for calls to getResourceAllowance. */
public UnaryCallSettings<GetResourceAllowanceRequest, ResourceAllowance>
getResourceAllowanceSettings() {
return ((BatchServiceStubSettings) getStubSettings()).getResourceAllowanceSettings();
}

/** Returns the object with the settings used for calls to deleteResourceAllowance. */
public UnaryCallSettings<DeleteResourceAllowanceRequest, Operation>
deleteResourceAllowanceSettings() {
return ((BatchServiceStubSettings) getStubSettings()).deleteResourceAllowanceSettings();
}

/** Returns the object with the settings used for calls to deleteResourceAllowance. */
public OperationCallSettings<DeleteResourceAllowanceRequest, Empty, OperationMetadata>
deleteResourceAllowanceOperationSettings() {
return ((BatchServiceStubSettings) getStubSettings())
.deleteResourceAllowanceOperationSettings();
}

/** Returns the object with the settings used for calls to listResourceAllowances. */
public PagedCallSettings<
ListResourceAllowancesRequest,
ListResourceAllowancesResponse,
ListResourceAllowancesPagedResponse>
listResourceAllowancesSettings() {
return ((BatchServiceStubSettings) getStubSettings()).listResourceAllowancesSettings();
}

/** Returns the object with the settings used for calls to updateResourceAllowance. */
public UnaryCallSettings<UpdateResourceAllowanceRequest, ResourceAllowance>
updateResourceAllowanceSettings() {
return ((BatchServiceStubSettings) getStubSettings()).updateResourceAllowanceSettings();
}

/** Returns the object with the settings used for calls to listLocations. */
public PagedCallSettings<ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse>
listLocationsSettings() {
Expand Down Expand Up @@ -283,6 +324,45 @@ public UnaryCallSettings.Builder<GetTaskRequest, Task> getTaskSettings() {
return getStubSettingsBuilder().listTasksSettings();
}

/** Returns the builder for the settings used for calls to createResourceAllowance. */
public UnaryCallSettings.Builder<CreateResourceAllowanceRequest, ResourceAllowance>
createResourceAllowanceSettings() {
return getStubSettingsBuilder().createResourceAllowanceSettings();
}

/** Returns the builder for the settings used for calls to getResourceAllowance. */
public UnaryCallSettings.Builder<GetResourceAllowanceRequest, ResourceAllowance>
getResourceAllowanceSettings() {
return getStubSettingsBuilder().getResourceAllowanceSettings();
}

/** Returns the builder for the settings used for calls to deleteResourceAllowance. */
public UnaryCallSettings.Builder<DeleteResourceAllowanceRequest, Operation>
deleteResourceAllowanceSettings() {
return getStubSettingsBuilder().deleteResourceAllowanceSettings();
}

/** Returns the builder for the settings used for calls to deleteResourceAllowance. */
public OperationCallSettings.Builder<DeleteResourceAllowanceRequest, Empty, OperationMetadata>
deleteResourceAllowanceOperationSettings() {
return getStubSettingsBuilder().deleteResourceAllowanceOperationSettings();
}

/** Returns the builder for the settings used for calls to listResourceAllowances. */
public PagedCallSettings.Builder<
ListResourceAllowancesRequest,
ListResourceAllowancesResponse,
ListResourceAllowancesPagedResponse>
listResourceAllowancesSettings() {
return getStubSettingsBuilder().listResourceAllowancesSettings();
}

/** Returns the builder for the settings used for calls to updateResourceAllowance. */
public UnaryCallSettings.Builder<UpdateResourceAllowanceRequest, ResourceAllowance>
updateResourceAllowanceSettings() {
return getStubSettingsBuilder().updateResourceAllowanceSettings();
}

/** Returns the builder for the settings used for calls to listLocations. */
public PagedCallSettings.Builder<
ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,24 @@
"CreateJob": {
"methods": ["createJob", "createJob", "createJob", "createJobCallable"]
},
"CreateResourceAllowance": {
"methods": ["createResourceAllowance", "createResourceAllowance", "createResourceAllowance", "createResourceAllowanceCallable"]
},
"DeleteJob": {
"methods": ["deleteJobAsync", "deleteJobAsync", "deleteJobOperationCallable", "deleteJobCallable"]
},
"DeleteResourceAllowance": {
"methods": ["deleteResourceAllowanceAsync", "deleteResourceAllowanceAsync", "deleteResourceAllowanceAsync", "deleteResourceAllowanceOperationCallable", "deleteResourceAllowanceCallable"]
},
"GetJob": {
"methods": ["getJob", "getJob", "getJob", "getJobCallable"]
},
"GetLocation": {
"methods": ["getLocation", "getLocationCallable"]
},
"GetResourceAllowance": {
"methods": ["getResourceAllowance", "getResourceAllowance", "getResourceAllowance", "getResourceAllowanceCallable"]
},
"GetTask": {
"methods": ["getTask", "getTask", "getTask", "getTaskCallable"]
},
Expand All @@ -31,8 +40,14 @@
"ListLocations": {
"methods": ["listLocations", "listLocationsPagedCallable", "listLocationsCallable"]
},
"ListResourceAllowances": {
"methods": ["listResourceAllowances", "listResourceAllowances", "listResourceAllowances", "listResourceAllowancesPagedCallable", "listResourceAllowancesCallable"]
},
"ListTasks": {
"methods": ["listTasks", "listTasks", "listTasks", "listTasksPagedCallable", "listTasksCallable"]
},
"UpdateResourceAllowance": {
"methods": ["updateResourceAllowance", "updateResourceAllowance", "updateResourceAllowanceCallable"]
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,31 @@

import static com.google.cloud.batch.v1alpha.BatchServiceClient.ListJobsPagedResponse;
import static com.google.cloud.batch.v1alpha.BatchServiceClient.ListLocationsPagedResponse;
import static com.google.cloud.batch.v1alpha.BatchServiceClient.ListResourceAllowancesPagedResponse;
import static com.google.cloud.batch.v1alpha.BatchServiceClient.ListTasksPagedResponse;

import com.google.api.core.BetaApi;
import com.google.api.gax.core.BackgroundResource;
import com.google.api.gax.rpc.OperationCallable;
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.batch.v1alpha.CreateJobRequest;
import com.google.cloud.batch.v1alpha.CreateResourceAllowanceRequest;
import com.google.cloud.batch.v1alpha.DeleteJobRequest;
import com.google.cloud.batch.v1alpha.DeleteResourceAllowanceRequest;
import com.google.cloud.batch.v1alpha.GetJobRequest;
import com.google.cloud.batch.v1alpha.GetResourceAllowanceRequest;
import com.google.cloud.batch.v1alpha.GetTaskRequest;
import com.google.cloud.batch.v1alpha.Job;
import com.google.cloud.batch.v1alpha.ListJobsRequest;
import com.google.cloud.batch.v1alpha.ListJobsResponse;
import com.google.cloud.batch.v1alpha.ListResourceAllowancesRequest;
import com.google.cloud.batch.v1alpha.ListResourceAllowancesResponse;
import com.google.cloud.batch.v1alpha.ListTasksRequest;
import com.google.cloud.batch.v1alpha.ListTasksResponse;
import com.google.cloud.batch.v1alpha.OperationMetadata;
import com.google.cloud.batch.v1alpha.ResourceAllowance;
import com.google.cloud.batch.v1alpha.Task;
import com.google.cloud.batch.v1alpha.UpdateResourceAllowanceRequest;
import com.google.cloud.location.GetLocationRequest;
import com.google.cloud.location.ListLocationsRequest;
import com.google.cloud.location.ListLocationsResponse;
Expand Down Expand Up @@ -99,6 +107,43 @@ public UnaryCallable<ListTasksRequest, ListTasksResponse> listTasksCallable() {
throw new UnsupportedOperationException("Not implemented: listTasksCallable()");
}

public UnaryCallable<CreateResourceAllowanceRequest, ResourceAllowance>
createResourceAllowanceCallable() {
throw new UnsupportedOperationException("Not implemented: createResourceAllowanceCallable()");
}

public UnaryCallable<GetResourceAllowanceRequest, ResourceAllowance>
getResourceAllowanceCallable() {
throw new UnsupportedOperationException("Not implemented: getResourceAllowanceCallable()");
}

public OperationCallable<DeleteResourceAllowanceRequest, Empty, OperationMetadata>
deleteResourceAllowanceOperationCallable() {
throw new UnsupportedOperationException(
"Not implemented: deleteResourceAllowanceOperationCallable()");
}

public UnaryCallable<DeleteResourceAllowanceRequest, Operation>
deleteResourceAllowanceCallable() {
throw new UnsupportedOperationException("Not implemented: deleteResourceAllowanceCallable()");
}

public UnaryCallable<ListResourceAllowancesRequest, ListResourceAllowancesPagedResponse>
listResourceAllowancesPagedCallable() {
throw new UnsupportedOperationException(
"Not implemented: listResourceAllowancesPagedCallable()");
}

public UnaryCallable<ListResourceAllowancesRequest, ListResourceAllowancesResponse>
listResourceAllowancesCallable() {
throw new UnsupportedOperationException("Not implemented: listResourceAllowancesCallable()");
}

public UnaryCallable<UpdateResourceAllowanceRequest, ResourceAllowance>
updateResourceAllowanceCallable() {
throw new UnsupportedOperationException("Not implemented: updateResourceAllowanceCallable()");
}

public UnaryCallable<ListLocationsRequest, ListLocationsPagedResponse>
listLocationsPagedCallable() {
throw new UnsupportedOperationException("Not implemented: listLocationsPagedCallable()");
Expand Down
Loading

0 comments on commit 11b0068

Please sign in to comment.