|
85 | 85 | * as threads. In the example above, try-with-resources is used, which automatically calls close().
|
86 | 86 | *
|
87 | 87 | * <table>
|
| 88 | + * <caption>Methods</caption> |
88 | 89 | * <tr>
|
89 | 90 | * <th>Method</th>
|
90 | 91 | * <th>Description</th>
|
91 | 92 | * <th>Method Variants</th>
|
| 93 | + * </tr> |
92 | 94 | * <tr>
|
93 |
| - * <td>ListInstances</td> |
| 95 | + * <td><p> ListInstances</td> |
94 | 96 | * <td><p> Lists Instances in a given location.</td>
|
95 | 97 | * <td>
|
96 | 98 | * <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
|
97 | 99 | * <ul>
|
98 |
| - * <li>listInstances(ListInstancesRequest request) |
| 100 | + * <li><p> listInstances(ListInstancesRequest request) |
99 | 101 | * </ul>
|
100 | 102 | * <p>"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.</p>
|
101 | 103 | * <ul>
|
102 |
| - * <li>listInstances(LocationName parent) |
103 |
| - * <li>listInstances(String parent) |
| 104 | + * <li><p> listInstances(LocationName parent) |
| 105 | + * <li><p> listInstances(String parent) |
104 | 106 | * </ul>
|
105 | 107 | * <p>Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.</p>
|
106 | 108 | * <ul>
|
107 |
| - * <li>listInstancesPagedCallable() |
108 |
| - * <li>listInstancesCallable() |
| 109 | + * <li><p> listInstancesPagedCallable() |
| 110 | + * <li><p> listInstancesCallable() |
109 | 111 | * </ul>
|
110 | 112 | * </td>
|
111 | 113 | * </tr>
|
112 | 114 | * <tr>
|
113 |
| - * <td>GetInstance</td> |
| 115 | + * <td><p> GetInstance</td> |
114 | 116 | * <td><p> Gets details of a single Instance.</td>
|
115 | 117 | * <td>
|
116 | 118 | * <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
|
117 | 119 | * <ul>
|
118 |
| - * <li>getInstance(GetInstanceRequest request) |
| 120 | + * <li><p> getInstance(GetInstanceRequest request) |
119 | 121 | * </ul>
|
120 | 122 | * <p>"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.</p>
|
121 | 123 | * <ul>
|
122 |
| - * <li>getInstance(InstanceName name) |
123 |
| - * <li>getInstance(String name) |
| 124 | + * <li><p> getInstance(InstanceName name) |
| 125 | + * <li><p> getInstance(String name) |
124 | 126 | * </ul>
|
125 | 127 | * <p>Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.</p>
|
126 | 128 | * <ul>
|
127 |
| - * <li>getInstanceCallable() |
| 129 | + * <li><p> getInstanceCallable() |
128 | 130 | * </ul>
|
129 | 131 | * </td>
|
130 | 132 | * </tr>
|
131 | 133 | * <tr>
|
132 |
| - * <td>CreateInstance</td> |
| 134 | + * <td><p> CreateInstance</td> |
133 | 135 | * <td><p> Creates a new Instance in a given location.</td>
|
134 | 136 | * <td>
|
135 | 137 | * <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
|
136 | 138 | * <ul>
|
137 |
| - * <li>createInstanceAsync(CreateInstanceRequest request) |
| 139 | + * <li><p> createInstanceAsync(CreateInstanceRequest request) |
138 | 140 | * </ul>
|
139 | 141 | * <p>Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.</p>
|
140 | 142 | * <ul>
|
141 |
| - * <li>createInstanceAsync(LocationName parent, Instance instance, String instanceId) |
142 |
| - * <li>createInstanceAsync(String parent, Instance instance, String instanceId) |
| 143 | + * <li><p> createInstanceAsync(LocationName parent, Instance instance, String instanceId) |
| 144 | + * <li><p> createInstanceAsync(String parent, Instance instance, String instanceId) |
143 | 145 | * </ul>
|
144 | 146 | * <p>Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.</p>
|
145 | 147 | * <ul>
|
146 |
| - * <li>createInstanceOperationCallable() |
147 |
| - * <li>createInstanceCallable() |
| 148 | + * <li><p> createInstanceOperationCallable() |
| 149 | + * <li><p> createInstanceCallable() |
148 | 150 | * </ul>
|
149 | 151 | * </td>
|
150 | 152 | * </tr>
|
151 | 153 | * <tr>
|
152 |
| - * <td>UpdateInstance</td> |
| 154 | + * <td><p> UpdateInstance</td> |
153 | 155 | * <td><p> Updates an existing Instance in a given project and location.</td>
|
154 | 156 | * <td>
|
155 | 157 | * <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
|
156 | 158 | * <ul>
|
157 |
| - * <li>updateInstanceAsync(UpdateInstanceRequest request) |
| 159 | + * <li><p> updateInstanceAsync(UpdateInstanceRequest request) |
158 | 160 | * </ul>
|
159 | 161 | * <p>Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.</p>
|
160 | 162 | * <ul>
|
161 |
| - * <li>updateInstanceAsync(Instance instance, FieldMask updateMask) |
| 163 | + * <li><p> updateInstanceAsync(Instance instance, FieldMask updateMask) |
162 | 164 | * </ul>
|
163 | 165 | * <p>Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.</p>
|
164 | 166 | * <ul>
|
165 |
| - * <li>updateInstanceOperationCallable() |
166 |
| - * <li>updateInstanceCallable() |
| 167 | + * <li><p> updateInstanceOperationCallable() |
| 168 | + * <li><p> updateInstanceCallable() |
167 | 169 | * </ul>
|
168 | 170 | * </td>
|
169 | 171 | * </tr>
|
170 | 172 | * <tr>
|
171 |
| - * <td>UpdateParameters</td> |
| 173 | + * <td><p> UpdateParameters</td> |
172 | 174 | * <td><p> Updates the defined Memcached parameters for an existing instance. This method only stages the parameters, it must be followed by `ApplyParameters` to apply the parameters to nodes of the Memcached instance.</td>
|
173 | 175 | * <td>
|
174 | 176 | * <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
|
175 | 177 | * <ul>
|
176 |
| - * <li>updateParametersAsync(UpdateParametersRequest request) |
| 178 | + * <li><p> updateParametersAsync(UpdateParametersRequest request) |
177 | 179 | * </ul>
|
178 | 180 | * <p>Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.</p>
|
179 | 181 | * <ul>
|
180 |
| - * <li>updateParametersAsync(InstanceName name, FieldMask updateMask, MemcacheParameters parameters) |
181 |
| - * <li>updateParametersAsync(String name, FieldMask updateMask, MemcacheParameters parameters) |
| 182 | + * <li><p> updateParametersAsync(InstanceName name, FieldMask updateMask, MemcacheParameters parameters) |
| 183 | + * <li><p> updateParametersAsync(String name, FieldMask updateMask, MemcacheParameters parameters) |
182 | 184 | * </ul>
|
183 | 185 | * <p>Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.</p>
|
184 | 186 | * <ul>
|
185 |
| - * <li>updateParametersOperationCallable() |
186 |
| - * <li>updateParametersCallable() |
| 187 | + * <li><p> updateParametersOperationCallable() |
| 188 | + * <li><p> updateParametersCallable() |
187 | 189 | * </ul>
|
188 | 190 | * </td>
|
189 | 191 | * </tr>
|
190 | 192 | * <tr>
|
191 |
| - * <td>DeleteInstance</td> |
| 193 | + * <td><p> DeleteInstance</td> |
192 | 194 | * <td><p> Deletes a single Instance.</td>
|
193 | 195 | * <td>
|
194 | 196 | * <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
|
195 | 197 | * <ul>
|
196 |
| - * <li>deleteInstanceAsync(DeleteInstanceRequest request) |
| 198 | + * <li><p> deleteInstanceAsync(DeleteInstanceRequest request) |
197 | 199 | * </ul>
|
198 | 200 | * <p>Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.</p>
|
199 | 201 | * <ul>
|
200 |
| - * <li>deleteInstanceAsync(InstanceName name) |
201 |
| - * <li>deleteInstanceAsync(String name) |
| 202 | + * <li><p> deleteInstanceAsync(InstanceName name) |
| 203 | + * <li><p> deleteInstanceAsync(String name) |
202 | 204 | * </ul>
|
203 | 205 | * <p>Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.</p>
|
204 | 206 | * <ul>
|
205 |
| - * <li>deleteInstanceOperationCallable() |
206 |
| - * <li>deleteInstanceCallable() |
| 207 | + * <li><p> deleteInstanceOperationCallable() |
| 208 | + * <li><p> deleteInstanceCallable() |
207 | 209 | * </ul>
|
208 | 210 | * </td>
|
209 | 211 | * </tr>
|
210 | 212 | * <tr>
|
211 |
| - * <td>ApplyParameters</td> |
| 213 | + * <td><p> ApplyParameters</td> |
212 | 214 | * <td><p> `ApplyParameters` restarts the set of specified nodes in order to update them to the current set of parameters for the Memcached Instance.</td>
|
213 | 215 | * <td>
|
214 | 216 | * <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
|
215 | 217 | * <ul>
|
216 |
| - * <li>applyParametersAsync(ApplyParametersRequest request) |
| 218 | + * <li><p> applyParametersAsync(ApplyParametersRequest request) |
217 | 219 | * </ul>
|
218 | 220 | * <p>Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.</p>
|
219 | 221 | * <ul>
|
220 |
| - * <li>applyParametersAsync(InstanceName name, List<String> nodeIds, boolean applyAll) |
221 |
| - * <li>applyParametersAsync(String name, List<String> nodeIds, boolean applyAll) |
| 222 | + * <li><p> applyParametersAsync(InstanceName name, List<String> nodeIds, boolean applyAll) |
| 223 | + * <li><p> applyParametersAsync(String name, List<String> nodeIds, boolean applyAll) |
222 | 224 | * </ul>
|
223 | 225 | * <p>Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.</p>
|
224 | 226 | * <ul>
|
225 |
| - * <li>applyParametersOperationCallable() |
226 |
| - * <li>applyParametersCallable() |
| 227 | + * <li><p> applyParametersOperationCallable() |
| 228 | + * <li><p> applyParametersCallable() |
227 | 229 | * </ul>
|
228 | 230 | * </td>
|
229 | 231 | * </tr>
|
230 | 232 | * <tr>
|
231 |
| - * <td>RescheduleMaintenance</td> |
| 233 | + * <td><p> RescheduleMaintenance</td> |
232 | 234 | * <td><p> Reschedules upcoming maintenance event.</td>
|
233 | 235 | * <td>
|
234 | 236 | * <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
|
235 | 237 | * <ul>
|
236 |
| - * <li>rescheduleMaintenanceAsync(RescheduleMaintenanceRequest request) |
| 238 | + * <li><p> rescheduleMaintenanceAsync(RescheduleMaintenanceRequest request) |
237 | 239 | * </ul>
|
238 | 240 | * <p>Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.</p>
|
239 | 241 | * <ul>
|
240 |
| - * <li>rescheduleMaintenanceAsync(InstanceName instance, RescheduleMaintenanceRequest.RescheduleType rescheduleType, Timestamp scheduleTime) |
241 |
| - * <li>rescheduleMaintenanceAsync(String instance, RescheduleMaintenanceRequest.RescheduleType rescheduleType, Timestamp scheduleTime) |
| 242 | + * <li><p> rescheduleMaintenanceAsync(InstanceName instance, RescheduleMaintenanceRequest.RescheduleType rescheduleType, Timestamp scheduleTime) |
| 243 | + * <li><p> rescheduleMaintenanceAsync(String instance, RescheduleMaintenanceRequest.RescheduleType rescheduleType, Timestamp scheduleTime) |
242 | 244 | * </ul>
|
243 | 245 | * <p>Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.</p>
|
244 | 246 | * <ul>
|
245 |
| - * <li>rescheduleMaintenanceOperationCallable() |
246 |
| - * <li>rescheduleMaintenanceCallable() |
| 247 | + * <li><p> rescheduleMaintenanceOperationCallable() |
| 248 | + * <li><p> rescheduleMaintenanceCallable() |
247 | 249 | * </ul>
|
248 | 250 | * </td>
|
249 | 251 | * </tr>
|
250 | 252 | * <tr>
|
251 |
| - * <td>ListLocations</td> |
| 253 | + * <td><p> ListLocations</td> |
252 | 254 | * <td><p> Lists information about the supported locations for this service.</td>
|
253 | 255 | * <td>
|
254 | 256 | * <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
|
255 | 257 | * <ul>
|
256 |
| - * <li>listLocations(ListLocationsRequest request) |
| 258 | + * <li><p> listLocations(ListLocationsRequest request) |
257 | 259 | * </ul>
|
258 | 260 | * <p>Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.</p>
|
259 | 261 | * <ul>
|
260 |
| - * <li>listLocationsPagedCallable() |
261 |
| - * <li>listLocationsCallable() |
| 262 | + * <li><p> listLocationsPagedCallable() |
| 263 | + * <li><p> listLocationsCallable() |
262 | 264 | * </ul>
|
263 | 265 | * </td>
|
264 | 266 | * </tr>
|
265 | 267 | * <tr>
|
266 |
| - * <td>GetLocation</td> |
| 268 | + * <td><p> GetLocation</td> |
267 | 269 | * <td><p> Gets information about a location.</td>
|
268 | 270 | * <td>
|
269 | 271 | * <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
|
270 | 272 | * <ul>
|
271 |
| - * <li>getLocation(GetLocationRequest request) |
| 273 | + * <li><p> getLocation(GetLocationRequest request) |
272 | 274 | * </ul>
|
273 | 275 | * <p>Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.</p>
|
274 | 276 | * <ul>
|
275 |
| - * <li>getLocationCallable() |
| 277 | + * <li><p> getLocationCallable() |
276 | 278 | * </ul>
|
277 | 279 | * </td>
|
278 | 280 | * </tr>
|
279 |
| - * </tr> |
280 | 281 | * </table>
|
281 | 282 | *
|
282 | 283 | * <p>See the individual methods for example code.
|
|
0 commit comments