Skip to content
This repository was archived by the owner on Sep 16, 2023. It is now read-only.

Commit 76ff98f

Browse files
chore: update gapic-generator-java to 0.0.9
Committer: @miraleung PiperOrigin-RevId: 346372957 Source-Author: Google APIs <noreply@google.com> Source-Date: Tue Dec 8 11:37:30 2020 -0800 Source-Repo: googleapis/googleapis Source-Sha: 857f70daef9f4c38f042fb3dfb7b8423ae18fd19 Source-Link: googleapis/googleapis@857f70d
1 parent 816b07f commit 76ff98f

File tree

5 files changed

+46
-26
lines changed

5 files changed

+46
-26
lines changed

google-cloud-redis/src/main/java/com/google/cloud/redis/v1/CloudRedisClient.java

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -353,8 +353,8 @@ public final UnaryCallable<GetInstanceRequest, Instance> getInstanceCallable() {
353353
*
354354
* @param parent Required. The resource name of the instance location using the form:
355355
* `projects/{project_id}/locations/{location_id}` where `location_id` refers to a GCP region.
356-
* @param instance_id Required. The logical name of the Redis instance in the customer project
357-
* with the following restrictions:
356+
* @param instanceId Required. The logical name of the Redis instance in the customer project with
357+
* the following restrictions:
358358
* <ul>
359359
* <li>Must contain only lowercase letters, numbers, and hyphens.
360360
* <li>Must start with a letter.
@@ -394,8 +394,8 @@ public final OperationFuture<Instance, OperationMetadata> createInstanceAsync(
394394
*
395395
* @param parent Required. The resource name of the instance location using the form:
396396
* `projects/{project_id}/locations/{location_id}` where `location_id` refers to a GCP region.
397-
* @param instance_id Required. The logical name of the Redis instance in the customer project
398-
* with the following restrictions:
397+
* @param instanceId Required. The logical name of the Redis instance in the customer project with
398+
* the following restrictions:
399399
* <ul>
400400
* <li>Must contain only lowercase letters, numbers, and hyphens.
401401
* <li>Must start with a letter.
@@ -492,7 +492,7 @@ public final UnaryCallable<CreateInstanceRequest, Operation> createInstanceCalla
492492
* The returned operation is automatically deleted after a few hours, so there is no need to call
493493
* DeleteOperation.
494494
*
495-
* @param update_mask Required. Mask of fields to update. At least one path must be supplied in
495+
* @param updateMask Required. Mask of fields to update. At least one path must be supplied in
496496
* this field. The elements of the repeated paths field may only include these fields from
497497
* [Instance][google.cloud.redis.v1.Instance]:
498498
* <p>&#42; `displayName` &#42; `labels` &#42; `memorySizeGb` &#42; `redisConfig`
@@ -558,7 +558,7 @@ public final UnaryCallable<UpdateInstanceRequest, Operation> updateInstanceCalla
558558
* @param name Required. Redis instance resource name using the form:
559559
* `projects/{project_id}/locations/{location_id}/instances/{instance_id}` where `location_id`
560560
* refers to a GCP region.
561-
* @param redis_version Required. Specifies the target version of Redis software to upgrade to.
561+
* @param redisVersion Required. Specifies the target version of Redis software to upgrade to.
562562
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
563563
*/
564564
public final OperationFuture<Instance, OperationMetadata> upgradeInstanceAsync(
@@ -578,7 +578,7 @@ public final OperationFuture<Instance, OperationMetadata> upgradeInstanceAsync(
578578
* @param name Required. Redis instance resource name using the form:
579579
* `projects/{project_id}/locations/{location_id}/instances/{instance_id}` where `location_id`
580580
* refers to a GCP region.
581-
* @param redis_version Required. Specifies the target version of Redis software to upgrade to.
581+
* @param redisVersion Required. Specifies the target version of Redis software to upgrade to.
582582
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
583583
*/
584584
public final OperationFuture<Instance, OperationMetadata> upgradeInstanceAsync(
@@ -634,7 +634,7 @@ public final UnaryCallable<UpgradeInstanceRequest, Operation> upgradeInstanceCal
634634
* @param name Required. Redis instance resource name using the form:
635635
* `projects/{project_id}/locations/{location_id}/instances/{instance_id}` where `location_id`
636636
* refers to a GCP region.
637-
* @param input_config Required. Specify data to be imported.
637+
* @param inputConfig Required. Specify data to be imported.
638638
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
639639
*/
640640
public final OperationFuture<Instance, OperationMetadata> importInstanceAsync(
@@ -707,7 +707,7 @@ public final UnaryCallable<ImportInstanceRequest, Operation> importInstanceCalla
707707
* @param name Required. Redis instance resource name using the form:
708708
* `projects/{project_id}/locations/{location_id}/instances/{instance_id}` where `location_id`
709709
* refers to a GCP region.
710-
* @param output_config Required. Specify data to be exported.
710+
* @param outputConfig Required. Specify data to be exported.
711711
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
712712
*/
713713
public final OperationFuture<Instance, OperationMetadata> exportInstanceAsync(
@@ -773,7 +773,7 @@ public final UnaryCallable<ExportInstanceRequest, Operation> exportInstanceCalla
773773
* @param name Required. Redis instance resource name using the form:
774774
* `projects/{project_id}/locations/{location_id}/instances/{instance_id}` where `location_id`
775775
* refers to a GCP region.
776-
* @param data_protection_mode Optional. Available data protection modes that the user can choose.
776+
* @param dataProtectionMode Optional. Available data protection modes that the user can choose.
777777
* If it's unspecified, data protection mode will be LIMITED_DATA_LOSS by default.
778778
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
779779
*/
@@ -795,7 +795,7 @@ public final OperationFuture<Instance, OperationMetadata> failoverInstanceAsync(
795795
* @param name Required. Redis instance resource name using the form:
796796
* `projects/{project_id}/locations/{location_id}/instances/{instance_id}` where `location_id`
797797
* refers to a GCP region.
798-
* @param data_protection_mode Optional. Available data protection modes that the user can choose.
798+
* @param dataProtectionMode Optional. Available data protection modes that the user can choose.
799799
* If it's unspecified, data protection mode will be LIMITED_DATA_LOSS by default.
800800
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
801801
*/

google-cloud-redis/src/main/java/com/google/cloud/redis/v1/stub/GrpcCloudRedisStub.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,11 +191,21 @@ public static final GrpcCloudRedisStub create(
191191
CloudRedisStubSettings.newBuilder().build(), clientContext, callableFactory);
192192
}
193193

194+
/**
195+
* Constructs an instance of GrpcCloudRedisStub, using the given settings. This is protected so
196+
* that it is easy to make a subclass, but otherwise, the static factory methods should be
197+
* preferred.
198+
*/
194199
protected GrpcCloudRedisStub(CloudRedisStubSettings settings, ClientContext clientContext)
195200
throws IOException {
196201
this(settings, clientContext, new GrpcCloudRedisCallableFactory());
197202
}
198203

204+
/**
205+
* Constructs an instance of GrpcCloudRedisStub, using the given settings. This is protected so
206+
* that it is easy to make a subclass, but otherwise, the static factory methods should be
207+
* preferred.
208+
*/
199209
protected GrpcCloudRedisStub(
200210
CloudRedisStubSettings settings,
201211
ClientContext clientContext,

google-cloud-redis/src/main/java/com/google/cloud/redis/v1beta1/CloudRedisClient.java

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -354,8 +354,8 @@ public final UnaryCallable<GetInstanceRequest, Instance> getInstanceCallable() {
354354
*
355355
* @param parent Required. The resource name of the instance location using the form:
356356
* `projects/{project_id}/locations/{location_id}` where `location_id` refers to a GCP region.
357-
* @param instance_id Required. The logical name of the Redis instance in the customer project
358-
* with the following restrictions:
357+
* @param instanceId Required. The logical name of the Redis instance in the customer project with
358+
* the following restrictions:
359359
* <ul>
360360
* <li>Must contain only lowercase letters, numbers, and hyphens.
361361
* <li>Must start with a letter.
@@ -395,8 +395,8 @@ public final OperationFuture<Instance, Any> createInstanceAsync(
395395
*
396396
* @param parent Required. The resource name of the instance location using the form:
397397
* `projects/{project_id}/locations/{location_id}` where `location_id` refers to a GCP region.
398-
* @param instance_id Required. The logical name of the Redis instance in the customer project
399-
* with the following restrictions:
398+
* @param instanceId Required. The logical name of the Redis instance in the customer project with
399+
* the following restrictions:
400400
* <ul>
401401
* <li>Must contain only lowercase letters, numbers, and hyphens.
402402
* <li>Must start with a letter.
@@ -492,7 +492,7 @@ public final UnaryCallable<CreateInstanceRequest, Operation> createInstanceCalla
492492
* The returned operation is automatically deleted after a few hours, so there is no need to call
493493
* DeleteOperation.
494494
*
495-
* @param update_mask Required. Mask of fields to update. At least one path must be supplied in
495+
* @param updateMask Required. Mask of fields to update. At least one path must be supplied in
496496
* this field. The elements of the repeated paths field may only include these fields from
497497
* [Instance][google.cloud.redis.v1beta1.Instance]:
498498
* <p>&#42; `displayName` &#42; `labels` &#42; `memorySizeGb` &#42; `redisConfig`
@@ -557,7 +557,7 @@ public final UnaryCallable<UpdateInstanceRequest, Operation> updateInstanceCalla
557557
* @param name Required. Redis instance resource name using the form:
558558
* `projects/{project_id}/locations/{location_id}/instances/{instance_id}` where `location_id`
559559
* refers to a GCP region.
560-
* @param redis_version Required. Specifies the target version of Redis software to upgrade to.
560+
* @param redisVersion Required. Specifies the target version of Redis software to upgrade to.
561561
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
562562
*/
563563
public final OperationFuture<Instance, Any> upgradeInstanceAsync(
@@ -577,7 +577,7 @@ public final OperationFuture<Instance, Any> upgradeInstanceAsync(
577577
* @param name Required. Redis instance resource name using the form:
578578
* `projects/{project_id}/locations/{location_id}/instances/{instance_id}` where `location_id`
579579
* refers to a GCP region.
580-
* @param redis_version Required. Specifies the target version of Redis software to upgrade to.
580+
* @param redisVersion Required. Specifies the target version of Redis software to upgrade to.
581581
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
582582
*/
583583
public final OperationFuture<Instance, Any> upgradeInstanceAsync(
@@ -632,7 +632,7 @@ public final UnaryCallable<UpgradeInstanceRequest, Operation> upgradeInstanceCal
632632
* @param name Required. Redis instance resource name using the form:
633633
* `projects/{project_id}/locations/{location_id}/instances/{instance_id}` where `location_id`
634634
* refers to a GCP region.
635-
* @param input_config Required. Specify data to be imported.
635+
* @param inputConfig Required. Specify data to be imported.
636636
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
637637
*/
638638
public final OperationFuture<Instance, Any> importInstanceAsync(
@@ -704,7 +704,7 @@ public final UnaryCallable<ImportInstanceRequest, Operation> importInstanceCalla
704704
* @param name Required. Redis instance resource name using the form:
705705
* `projects/{project_id}/locations/{location_id}/instances/{instance_id}` where `location_id`
706706
* refers to a GCP region.
707-
* @param output_config Required. Specify data to be exported.
707+
* @param outputConfig Required. Specify data to be exported.
708708
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
709709
*/
710710
public final OperationFuture<Instance, Any> exportInstanceAsync(
@@ -769,7 +769,7 @@ public final UnaryCallable<ExportInstanceRequest, Operation> exportInstanceCalla
769769
* @param name Required. Redis instance resource name using the form:
770770
* `projects/{project_id}/locations/{location_id}/instances/{instance_id}` where `location_id`
771771
* refers to a GCP region.
772-
* @param data_protection_mode Optional. Available data protection modes that the user can choose.
772+
* @param dataProtectionMode Optional. Available data protection modes that the user can choose.
773773
* If it's unspecified, data protection mode will be LIMITED_DATA_LOSS by default.
774774
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
775775
*/
@@ -791,7 +791,7 @@ public final OperationFuture<Instance, Any> failoverInstanceAsync(
791791
* @param name Required. Redis instance resource name using the form:
792792
* `projects/{project_id}/locations/{location_id}/instances/{instance_id}` where `location_id`
793793
* refers to a GCP region.
794-
* @param data_protection_mode Optional. Available data protection modes that the user can choose.
794+
* @param dataProtectionMode Optional. Available data protection modes that the user can choose.
795795
* If it's unspecified, data protection mode will be LIMITED_DATA_LOSS by default.
796796
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
797797
*/

google-cloud-redis/src/main/java/com/google/cloud/redis/v1beta1/stub/GrpcCloudRedisStub.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,11 +191,21 @@ public static final GrpcCloudRedisStub create(
191191
CloudRedisStubSettings.newBuilder().build(), clientContext, callableFactory);
192192
}
193193

194+
/**
195+
* Constructs an instance of GrpcCloudRedisStub, using the given settings. This is protected so
196+
* that it is easy to make a subclass, but otherwise, the static factory methods should be
197+
* preferred.
198+
*/
194199
protected GrpcCloudRedisStub(CloudRedisStubSettings settings, ClientContext clientContext)
195200
throws IOException {
196201
this(settings, clientContext, new GrpcCloudRedisCallableFactory());
197202
}
198203

204+
/**
205+
* Constructs an instance of GrpcCloudRedisStub, using the given settings. This is protected so
206+
* that it is easy to make a subclass, but otherwise, the static factory methods should be
207+
* preferred.
208+
*/
199209
protected GrpcCloudRedisStub(
200210
CloudRedisStubSettings settings,
201211
ClientContext clientContext,

synth.metadata

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@
1111
"git": {
1212
"name": "googleapis",
1313
"remote": "https://github.com/googleapis/googleapis.git",
14-
"sha": "b8b2f8c288cec1f673bf10aa5008819c1576bf2e",
15-
"internalRef": "346126713"
14+
"sha": "857f70daef9f4c38f042fb3dfb7b8423ae18fd19",
15+
"internalRef": "346372957"
1616
}
1717
},
1818
{
1919
"git": {
2020
"name": "googleapis",
2121
"remote": "https://github.com/googleapis/googleapis.git",
22-
"sha": "b8b2f8c288cec1f673bf10aa5008819c1576bf2e",
23-
"internalRef": "346126713"
22+
"sha": "857f70daef9f4c38f042fb3dfb7b8423ae18fd19",
23+
"internalRef": "346372957"
2424
}
2525
},
2626
{

0 commit comments

Comments
 (0)