Skip to content

Commit

Permalink
fix: update gapic-generator-java with mock service generation fixes (g…
Browse files Browse the repository at this point in the history
…oogleapis#197)

- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 457524730

Source-Link: googleapis/googleapis@917e7f2

Source-Link: https://github.com/googleapis/googleapis-gen/commit/2497f9a069d3f6b2d6810d5a4e239cda1e7e5a39
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjQ5N2Y5YTA2OWQzZjZiMmQ2ODEwZDVhNGUyMzljZGExZTdlNWEzOSJ9
  • Loading branch information
gcf-owl-bot[bot] authored Jun 28, 2022
1 parent a1dba2c commit 3d47af2
Show file tree
Hide file tree
Showing 24 changed files with 32 additions and 34 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

import com.google.api.core.ApiFuture;
import com.google.api.core.ApiFutures;
import com.google.api.core.BetaApi;
import com.google.api.gax.core.BackgroundResource;
import com.google.api.gax.httpjson.longrunning.OperationsClient;
import com.google.api.gax.longrunning.OperationFuture;
Expand Down Expand Up @@ -218,6 +219,7 @@ public final com.google.longrunning.OperationsClient getOperationsClient() {
* Returns the OperationsClient that can be used to query the status of a long-running operation
* returned by another API method call.
*/
@BetaApi
public final OperationsClient getHttpJsonOperationsClient() {
return httpJsonOperationsClient;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ public final com.google.longrunning.OperationsClient getOperationsClient() {
* Returns the OperationsClient that can be used to query the status of a long-running operation
* returned by another API method call.
*/
@BetaApi
public final OperationsClient getHttpJsonOperationsClient() {
return httpJsonOperationsClient;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@

package com.google.cloud.filestore.v1.samples;

// [START
// filestore_v1_generated_cloudfilestoremanagerclient_createbackup_locationnamebackupstring_sync]
// [START filestore_v1_generated_cloudfilestoremanagerclient_createbackup_locationnamebackupstring_sync]
import com.google.cloud.filestore.v1.Backup;
import com.google.cloud.filestore.v1.CloudFilestoreManagerClient;
import com.google.cloud.filestore.v1.LocationName;
Expand All @@ -41,5 +40,4 @@ public static void syncCreateBackupLocationnameBackupString() throws Exception {
}
}
}
// [END
// filestore_v1_generated_cloudfilestoremanagerclient_createbackup_locationnamebackupstring_sync]
// [END filestore_v1_generated_cloudfilestoremanagerclient_createbackup_locationnamebackupstring_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@

package com.google.cloud.filestore.v1.samples;

// [START
// filestore_v1_generated_cloudfilestoremanagerclient_createinstance_locationnameinstancestring_sync]
// [START filestore_v1_generated_cloudfilestoremanagerclient_createinstance_locationnameinstancestring_sync]
import com.google.cloud.filestore.v1.CloudFilestoreManagerClient;
import com.google.cloud.filestore.v1.Instance;
import com.google.cloud.filestore.v1.LocationName;
Expand All @@ -41,5 +40,4 @@ public static void syncCreateInstanceLocationnameInstanceString() throws Excepti
}
}
}
// [END
// filestore_v1_generated_cloudfilestoremanagerclient_createinstance_locationnameinstancestring_sync]
// [END filestore_v1_generated_cloudfilestoremanagerclient_createinstance_locationnameinstancestring_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@

package com.google.cloud.filestore.v1.samples;

// [START
// filestore_v1_generated_cloudfilestoremanagerclient_createinstance_stringinstancestring_sync]
// [START filestore_v1_generated_cloudfilestoremanagerclient_createinstance_stringinstancestring_sync]
import com.google.cloud.filestore.v1.CloudFilestoreManagerClient;
import com.google.cloud.filestore.v1.Instance;
import com.google.cloud.filestore.v1.LocationName;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
import com.google.cloud.filestore.v1.BackupName;
import com.google.cloud.filestore.v1.CloudFilestoreManagerClient;
import com.google.cloud.filestore.v1.DeleteBackupRequest;
import com.google.protobuf.Empty;

public class SyncDeleteBackup {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
// [START filestore_v1_generated_cloudfilestoremanagerclient_deletebackup_backupname_sync]
import com.google.cloud.filestore.v1.BackupName;
import com.google.cloud.filestore.v1.CloudFilestoreManagerClient;
import com.google.protobuf.Empty;

public class SyncDeleteBackupBackupname {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
// [START filestore_v1_generated_cloudfilestoremanagerclient_deletebackup_string_sync]
import com.google.cloud.filestore.v1.BackupName;
import com.google.cloud.filestore.v1.CloudFilestoreManagerClient;
import com.google.protobuf.Empty;

public class SyncDeleteBackupString {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
import com.google.cloud.filestore.v1.CloudFilestoreManagerClient;
import com.google.cloud.filestore.v1.DeleteInstanceRequest;
import com.google.cloud.filestore.v1.InstanceName;
import com.google.protobuf.Empty;

public class SyncDeleteInstance {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
// [START filestore_v1_generated_cloudfilestoremanagerclient_deleteinstance_instancename_sync]
import com.google.cloud.filestore.v1.CloudFilestoreManagerClient;
import com.google.cloud.filestore.v1.InstanceName;
import com.google.protobuf.Empty;

public class SyncDeleteInstanceInstancename {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
// [START filestore_v1_generated_cloudfilestoremanagerclient_deleteinstance_string_sync]
import com.google.cloud.filestore.v1.CloudFilestoreManagerClient;
import com.google.cloud.filestore.v1.InstanceName;
import com.google.protobuf.Empty;

public class SyncDeleteInstanceString {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@

package com.google.cloud.filestore.v1beta1.samples;

// [START
// filestore_v1beta1_generated_cloudfilestoremanagerclient_create_setcredentialsprovider_sync]
// [START filestore_v1beta1_generated_cloudfilestoremanagerclient_create_setcredentialsprovider_sync]
import com.google.api.gax.core.FixedCredentialsProvider;
import com.google.cloud.filestore.v1beta1.CloudFilestoreManagerClient;
import com.google.cloud.filestore.v1beta1.CloudFilestoreManagerSettings;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@

package com.google.cloud.filestore.v1beta1.samples;

// [START
// filestore_v1beta1_generated_cloudfilestoremanagerclient_create_setcredentialsprovider1_sync]
// [START filestore_v1beta1_generated_cloudfilestoremanagerclient_create_setcredentialsprovider1_sync]
import com.google.cloud.filestore.v1beta1.CloudFilestoreManagerClient;
import com.google.cloud.filestore.v1beta1.CloudFilestoreManagerSettings;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@

package com.google.cloud.filestore.v1beta1.samples;

// [START
// filestore_v1beta1_generated_cloudfilestoremanagerclient_createbackup_locationnamebackupstring_sync]
// [START filestore_v1beta1_generated_cloudfilestoremanagerclient_createbackup_locationnamebackupstring_sync]
import com.google.cloud.filestore.v1beta1.Backup;
import com.google.cloud.filestore.v1beta1.CloudFilestoreManagerClient;
import com.google.cloud.filestore.v1beta1.LocationName;
Expand All @@ -41,5 +40,4 @@ public static void syncCreateBackupLocationnameBackupString() throws Exception {
}
}
}
// [END
// filestore_v1beta1_generated_cloudfilestoremanagerclient_createbackup_locationnamebackupstring_sync]
// [END filestore_v1beta1_generated_cloudfilestoremanagerclient_createbackup_locationnamebackupstring_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@

package com.google.cloud.filestore.v1beta1.samples;

// [START
// filestore_v1beta1_generated_cloudfilestoremanagerclient_createbackup_stringbackupstring_sync]
// [START filestore_v1beta1_generated_cloudfilestoremanagerclient_createbackup_stringbackupstring_sync]
import com.google.cloud.filestore.v1beta1.Backup;
import com.google.cloud.filestore.v1beta1.CloudFilestoreManagerClient;
import com.google.cloud.filestore.v1beta1.LocationName;
Expand All @@ -41,5 +40,4 @@ public static void syncCreateBackupStringBackupString() throws Exception {
}
}
}
// [END
// filestore_v1beta1_generated_cloudfilestoremanagerclient_createbackup_stringbackupstring_sync]
// [END filestore_v1beta1_generated_cloudfilestoremanagerclient_createbackup_stringbackupstring_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@

package com.google.cloud.filestore.v1beta1.samples;

// [START
// filestore_v1beta1_generated_cloudfilestoremanagerclient_createinstance_locationnameinstancestring_sync]
// [START filestore_v1beta1_generated_cloudfilestoremanagerclient_createinstance_locationnameinstancestring_sync]
import com.google.cloud.filestore.v1beta1.CloudFilestoreManagerClient;
import com.google.cloud.filestore.v1beta1.Instance;
import com.google.cloud.filestore.v1beta1.LocationName;
Expand All @@ -41,5 +40,4 @@ public static void syncCreateInstanceLocationnameInstanceString() throws Excepti
}
}
}
// [END
// filestore_v1beta1_generated_cloudfilestoremanagerclient_createinstance_locationnameinstancestring_sync]
// [END filestore_v1beta1_generated_cloudfilestoremanagerclient_createinstance_locationnameinstancestring_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@

package com.google.cloud.filestore.v1beta1.samples;

// [START
// filestore_v1beta1_generated_cloudfilestoremanagerclient_createinstance_stringinstancestring_sync]
// [START filestore_v1beta1_generated_cloudfilestoremanagerclient_createinstance_stringinstancestring_sync]
import com.google.cloud.filestore.v1beta1.CloudFilestoreManagerClient;
import com.google.cloud.filestore.v1beta1.Instance;
import com.google.cloud.filestore.v1beta1.LocationName;
Expand All @@ -41,5 +40,4 @@ public static void syncCreateInstanceStringInstanceString() throws Exception {
}
}
}
// [END
// filestore_v1beta1_generated_cloudfilestoremanagerclient_createinstance_stringinstancestring_sync]
// [END filestore_v1beta1_generated_cloudfilestoremanagerclient_createinstance_stringinstancestring_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
import com.google.cloud.filestore.v1beta1.BackupName;
import com.google.cloud.filestore.v1beta1.CloudFilestoreManagerClient;
import com.google.cloud.filestore.v1beta1.DeleteBackupRequest;
import com.google.protobuf.Empty;

public class SyncDeleteBackup {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
// [START filestore_v1beta1_generated_cloudfilestoremanagerclient_deletebackup_backupname_sync]
import com.google.cloud.filestore.v1beta1.BackupName;
import com.google.cloud.filestore.v1beta1.CloudFilestoreManagerClient;
import com.google.protobuf.Empty;

public class SyncDeleteBackupBackupname {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
// [START filestore_v1beta1_generated_cloudfilestoremanagerclient_deletebackup_string_sync]
import com.google.cloud.filestore.v1beta1.BackupName;
import com.google.cloud.filestore.v1beta1.CloudFilestoreManagerClient;
import com.google.protobuf.Empty;

public class SyncDeleteBackupString {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
import com.google.cloud.filestore.v1beta1.CloudFilestoreManagerClient;
import com.google.cloud.filestore.v1beta1.DeleteInstanceRequest;
import com.google.cloud.filestore.v1beta1.InstanceName;
import com.google.protobuf.Empty;

public class SyncDeleteInstance {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
// [START filestore_v1beta1_generated_cloudfilestoremanagerclient_deleteinstance_instancename_sync]
import com.google.cloud.filestore.v1beta1.CloudFilestoreManagerClient;
import com.google.cloud.filestore.v1beta1.InstanceName;
import com.google.protobuf.Empty;

public class SyncDeleteInstanceInstancename {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
// [START filestore_v1beta1_generated_cloudfilestoremanagerclient_deleteinstance_string_sync]
import com.google.cloud.filestore.v1beta1.CloudFilestoreManagerClient;
import com.google.cloud.filestore.v1beta1.InstanceName;
import com.google.protobuf.Empty;

public class SyncDeleteInstanceString {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@

package com.google.cloud.filestore.v1beta1.samples;

// [START
// filestore_v1beta1_generated_cloudfilestoremanagerclient_updateinstance_instancefieldmask_sync]
// [START filestore_v1beta1_generated_cloudfilestoremanagerclient_updateinstance_instancefieldmask_sync]
import com.google.cloud.filestore.v1beta1.CloudFilestoreManagerClient;
import com.google.cloud.filestore.v1beta1.Instance;
import com.google.protobuf.FieldMask;
Expand All @@ -40,5 +39,4 @@ public static void syncUpdateInstanceInstanceFieldmask() throws Exception {
}
}
}
// [END
// filestore_v1beta1_generated_cloudfilestoremanagerclient_updateinstance_instancefieldmask_sync]
// [END filestore_v1beta1_generated_cloudfilestoremanagerclient_updateinstance_instancefieldmask_sync]

0 comments on commit 3d47af2

Please sign in to comment.