Skip to content

Commit 11b0068

Browse files
chore: generate libraries at Thu Mar 28 03:14:11 UTC 2024 (#10634)
1 parent fa72d04 commit 11b0068

76 files changed

Lines changed: 27347 additions & 228 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

generation_config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
gapic_generator_version: 2.38.1
22
protobuf_version: '25.2'
3-
googleapis_commitish: b0665ea5950660fca012c4cc8b7079dbc2d3f5dd
3+
googleapis_commitish: 0acc64cb759eb3a11c2230d42f24f1a35f81b178
44
owlbot_cli_image: sha256:623647ee79ac605858d09e60c1382a716c125fb776f69301b72de1cd35d49409
55
synthtool_commitish: 6612ab8f3afcd5e292aecd647f0fa68812c9f5b5
66
template_excludes:

java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1alpha/BatchServiceClient.java

Lines changed: 966 additions & 79 deletions
Large diffs are not rendered by default.

java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1alpha/BatchServiceSettings.java

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
import static com.google.cloud.batch.v1alpha.BatchServiceClient.ListJobsPagedResponse;
2020
import static com.google.cloud.batch.v1alpha.BatchServiceClient.ListLocationsPagedResponse;
21+
import static com.google.cloud.batch.v1alpha.BatchServiceClient.ListResourceAllowancesPagedResponse;
2122
import static com.google.cloud.batch.v1alpha.BatchServiceClient.ListTasksPagedResponse;
2223

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

126+
/** Returns the object with the settings used for calls to createResourceAllowance. */
127+
public UnaryCallSettings<CreateResourceAllowanceRequest, ResourceAllowance>
128+
createResourceAllowanceSettings() {
129+
return ((BatchServiceStubSettings) getStubSettings()).createResourceAllowanceSettings();
130+
}
131+
132+
/** Returns the object with the settings used for calls to getResourceAllowance. */
133+
public UnaryCallSettings<GetResourceAllowanceRequest, ResourceAllowance>
134+
getResourceAllowanceSettings() {
135+
return ((BatchServiceStubSettings) getStubSettings()).getResourceAllowanceSettings();
136+
}
137+
138+
/** Returns the object with the settings used for calls to deleteResourceAllowance. */
139+
public UnaryCallSettings<DeleteResourceAllowanceRequest, Operation>
140+
deleteResourceAllowanceSettings() {
141+
return ((BatchServiceStubSettings) getStubSettings()).deleteResourceAllowanceSettings();
142+
}
143+
144+
/** Returns the object with the settings used for calls to deleteResourceAllowance. */
145+
public OperationCallSettings<DeleteResourceAllowanceRequest, Empty, OperationMetadata>
146+
deleteResourceAllowanceOperationSettings() {
147+
return ((BatchServiceStubSettings) getStubSettings())
148+
.deleteResourceAllowanceOperationSettings();
149+
}
150+
151+
/** Returns the object with the settings used for calls to listResourceAllowances. */
152+
public PagedCallSettings<
153+
ListResourceAllowancesRequest,
154+
ListResourceAllowancesResponse,
155+
ListResourceAllowancesPagedResponse>
156+
listResourceAllowancesSettings() {
157+
return ((BatchServiceStubSettings) getStubSettings()).listResourceAllowancesSettings();
158+
}
159+
160+
/** Returns the object with the settings used for calls to updateResourceAllowance. */
161+
public UnaryCallSettings<UpdateResourceAllowanceRequest, ResourceAllowance>
162+
updateResourceAllowanceSettings() {
163+
return ((BatchServiceStubSettings) getStubSettings()).updateResourceAllowanceSettings();
164+
}
165+
125166
/** Returns the object with the settings used for calls to listLocations. */
126167
public PagedCallSettings<ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse>
127168
listLocationsSettings() {
@@ -283,6 +324,45 @@ public UnaryCallSettings.Builder<GetTaskRequest, Task> getTaskSettings() {
283324
return getStubSettingsBuilder().listTasksSettings();
284325
}
285326

327+
/** Returns the builder for the settings used for calls to createResourceAllowance. */
328+
public UnaryCallSettings.Builder<CreateResourceAllowanceRequest, ResourceAllowance>
329+
createResourceAllowanceSettings() {
330+
return getStubSettingsBuilder().createResourceAllowanceSettings();
331+
}
332+
333+
/** Returns the builder for the settings used for calls to getResourceAllowance. */
334+
public UnaryCallSettings.Builder<GetResourceAllowanceRequest, ResourceAllowance>
335+
getResourceAllowanceSettings() {
336+
return getStubSettingsBuilder().getResourceAllowanceSettings();
337+
}
338+
339+
/** Returns the builder for the settings used for calls to deleteResourceAllowance. */
340+
public UnaryCallSettings.Builder<DeleteResourceAllowanceRequest, Operation>
341+
deleteResourceAllowanceSettings() {
342+
return getStubSettingsBuilder().deleteResourceAllowanceSettings();
343+
}
344+
345+
/** Returns the builder for the settings used for calls to deleteResourceAllowance. */
346+
public OperationCallSettings.Builder<DeleteResourceAllowanceRequest, Empty, OperationMetadata>
347+
deleteResourceAllowanceOperationSettings() {
348+
return getStubSettingsBuilder().deleteResourceAllowanceOperationSettings();
349+
}
350+
351+
/** Returns the builder for the settings used for calls to listResourceAllowances. */
352+
public PagedCallSettings.Builder<
353+
ListResourceAllowancesRequest,
354+
ListResourceAllowancesResponse,
355+
ListResourceAllowancesPagedResponse>
356+
listResourceAllowancesSettings() {
357+
return getStubSettingsBuilder().listResourceAllowancesSettings();
358+
}
359+
360+
/** Returns the builder for the settings used for calls to updateResourceAllowance. */
361+
public UnaryCallSettings.Builder<UpdateResourceAllowanceRequest, ResourceAllowance>
362+
updateResourceAllowanceSettings() {
363+
return getStubSettingsBuilder().updateResourceAllowanceSettings();
364+
}
365+
286366
/** Returns the builder for the settings used for calls to listLocations. */
287367
public PagedCallSettings.Builder<
288368
ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse>

java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1alpha/gapic_metadata.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,24 @@
1313
"CreateJob": {
1414
"methods": ["createJob", "createJob", "createJob", "createJobCallable"]
1515
},
16+
"CreateResourceAllowance": {
17+
"methods": ["createResourceAllowance", "createResourceAllowance", "createResourceAllowance", "createResourceAllowanceCallable"]
18+
},
1619
"DeleteJob": {
1720
"methods": ["deleteJobAsync", "deleteJobAsync", "deleteJobOperationCallable", "deleteJobCallable"]
1821
},
22+
"DeleteResourceAllowance": {
23+
"methods": ["deleteResourceAllowanceAsync", "deleteResourceAllowanceAsync", "deleteResourceAllowanceAsync", "deleteResourceAllowanceOperationCallable", "deleteResourceAllowanceCallable"]
24+
},
1925
"GetJob": {
2026
"methods": ["getJob", "getJob", "getJob", "getJobCallable"]
2127
},
2228
"GetLocation": {
2329
"methods": ["getLocation", "getLocationCallable"]
2430
},
31+
"GetResourceAllowance": {
32+
"methods": ["getResourceAllowance", "getResourceAllowance", "getResourceAllowance", "getResourceAllowanceCallable"]
33+
},
2534
"GetTask": {
2635
"methods": ["getTask", "getTask", "getTask", "getTaskCallable"]
2736
},
@@ -31,8 +40,14 @@
3140
"ListLocations": {
3241
"methods": ["listLocations", "listLocationsPagedCallable", "listLocationsCallable"]
3342
},
43+
"ListResourceAllowances": {
44+
"methods": ["listResourceAllowances", "listResourceAllowances", "listResourceAllowances", "listResourceAllowancesPagedCallable", "listResourceAllowancesCallable"]
45+
},
3446
"ListTasks": {
3547
"methods": ["listTasks", "listTasks", "listTasks", "listTasksPagedCallable", "listTasksCallable"]
48+
},
49+
"UpdateResourceAllowance": {
50+
"methods": ["updateResourceAllowance", "updateResourceAllowance", "updateResourceAllowanceCallable"]
3651
}
3752
}
3853
}

java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1alpha/stub/BatchServiceStub.java

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,23 +18,31 @@
1818

1919
import static com.google.cloud.batch.v1alpha.BatchServiceClient.ListJobsPagedResponse;
2020
import static com.google.cloud.batch.v1alpha.BatchServiceClient.ListLocationsPagedResponse;
21+
import static com.google.cloud.batch.v1alpha.BatchServiceClient.ListResourceAllowancesPagedResponse;
2122
import static com.google.cloud.batch.v1alpha.BatchServiceClient.ListTasksPagedResponse;
2223

2324
import com.google.api.core.BetaApi;
2425
import com.google.api.gax.core.BackgroundResource;
2526
import com.google.api.gax.rpc.OperationCallable;
2627
import com.google.api.gax.rpc.UnaryCallable;
2728
import com.google.cloud.batch.v1alpha.CreateJobRequest;
29+
import com.google.cloud.batch.v1alpha.CreateResourceAllowanceRequest;
2830
import com.google.cloud.batch.v1alpha.DeleteJobRequest;
31+
import com.google.cloud.batch.v1alpha.DeleteResourceAllowanceRequest;
2932
import com.google.cloud.batch.v1alpha.GetJobRequest;
33+
import com.google.cloud.batch.v1alpha.GetResourceAllowanceRequest;
3034
import com.google.cloud.batch.v1alpha.GetTaskRequest;
3135
import com.google.cloud.batch.v1alpha.Job;
3236
import com.google.cloud.batch.v1alpha.ListJobsRequest;
3337
import com.google.cloud.batch.v1alpha.ListJobsResponse;
38+
import com.google.cloud.batch.v1alpha.ListResourceAllowancesRequest;
39+
import com.google.cloud.batch.v1alpha.ListResourceAllowancesResponse;
3440
import com.google.cloud.batch.v1alpha.ListTasksRequest;
3541
import com.google.cloud.batch.v1alpha.ListTasksResponse;
3642
import com.google.cloud.batch.v1alpha.OperationMetadata;
43+
import com.google.cloud.batch.v1alpha.ResourceAllowance;
3744
import com.google.cloud.batch.v1alpha.Task;
45+
import com.google.cloud.batch.v1alpha.UpdateResourceAllowanceRequest;
3846
import com.google.cloud.location.GetLocationRequest;
3947
import com.google.cloud.location.ListLocationsRequest;
4048
import com.google.cloud.location.ListLocationsResponse;
@@ -99,6 +107,43 @@ public UnaryCallable<ListTasksRequest, ListTasksResponse> listTasksCallable() {
99107
throw new UnsupportedOperationException("Not implemented: listTasksCallable()");
100108
}
101109

110+
public UnaryCallable<CreateResourceAllowanceRequest, ResourceAllowance>
111+
createResourceAllowanceCallable() {
112+
throw new UnsupportedOperationException("Not implemented: createResourceAllowanceCallable()");
113+
}
114+
115+
public UnaryCallable<GetResourceAllowanceRequest, ResourceAllowance>
116+
getResourceAllowanceCallable() {
117+
throw new UnsupportedOperationException("Not implemented: getResourceAllowanceCallable()");
118+
}
119+
120+
public OperationCallable<DeleteResourceAllowanceRequest, Empty, OperationMetadata>
121+
deleteResourceAllowanceOperationCallable() {
122+
throw new UnsupportedOperationException(
123+
"Not implemented: deleteResourceAllowanceOperationCallable()");
124+
}
125+
126+
public UnaryCallable<DeleteResourceAllowanceRequest, Operation>
127+
deleteResourceAllowanceCallable() {
128+
throw new UnsupportedOperationException("Not implemented: deleteResourceAllowanceCallable()");
129+
}
130+
131+
public UnaryCallable<ListResourceAllowancesRequest, ListResourceAllowancesPagedResponse>
132+
listResourceAllowancesPagedCallable() {
133+
throw new UnsupportedOperationException(
134+
"Not implemented: listResourceAllowancesPagedCallable()");
135+
}
136+
137+
public UnaryCallable<ListResourceAllowancesRequest, ListResourceAllowancesResponse>
138+
listResourceAllowancesCallable() {
139+
throw new UnsupportedOperationException("Not implemented: listResourceAllowancesCallable()");
140+
}
141+
142+
public UnaryCallable<UpdateResourceAllowanceRequest, ResourceAllowance>
143+
updateResourceAllowanceCallable() {
144+
throw new UnsupportedOperationException("Not implemented: updateResourceAllowanceCallable()");
145+
}
146+
102147
public UnaryCallable<ListLocationsRequest, ListLocationsPagedResponse>
103148
listLocationsPagedCallable() {
104149
throw new UnsupportedOperationException("Not implemented: listLocationsPagedCallable()");

0 commit comments

Comments
 (0)