From d28dd8f59e895ca12dff9a7a4640cedd2744c03c Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Tue, 28 Jun 2022 04:16:11 +0000 Subject: [PATCH] fix: update gapic-generator-java with mock service generation fixes (#317) - [ ] Regenerate this pull request now. PiperOrigin-RevId: 457524730 Source-Link: https://github.com/googleapis/googleapis/commit/917e7f21cb1dc062744c6694437cdd46219f28cb Source-Link: https://github.com/googleapis/googleapis-gen/commit/2497f9a069d3f6b2d6810d5a4e239cda1e7e5a39 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjQ5N2Y5YTA2OWQzZjZiMmQ2ODEwZDVhNGUyMzljZGExZTdlNWEzOSJ9 --- .../google/cloud/channel/v1/CloudChannelServiceClient.java | 2 ++ .../cancelentitlement/SyncCancelEntitlement.java | 1 + ...hannelpartnerlinknameChannelpartnerrepricingconfig.java | 6 ++---- ...RepricingConfigStringChannelpartnerrepricingconfig.java | 6 ++---- ...RepricingConfigCustomernameCustomerrepricingconfig.java | 6 ++---- ...stomerRepricingConfigStringCustomerrepricingconfig.java | 6 ++---- .../SyncDeleteChannelPartnerRepricingConfig.java | 1 + ...erRepricingConfigChannelpartnerrepricingconfigname.java | 7 +++---- .../SyncDeleteChannelPartnerRepricingConfigString.java | 7 +++---- .../deletecustomer/SyncDeleteCustomer.java | 1 + .../deletecustomer/SyncDeleteCustomerCustomername.java | 1 + .../deletecustomer/SyncDeleteCustomerString.java | 1 + .../SyncDeleteCustomerRepricingConfig.java | 1 + ...CustomerRepricingConfigCustomerrepricingconfigname.java | 7 +++---- .../SyncDeleteCustomerRepricingConfigString.java | 1 + ...erRepricingConfigChannelpartnerrepricingconfigname.java | 6 ++---- .../SyncGetChannelPartnerRepricingConfigString.java | 3 +-- ...CustomerRepricingConfigCustomerrepricingconfigname.java | 6 ++---- .../AsyncListChannelPartnerRepricingConfigsPaged.java | 6 ++---- ...annelPartnerRepricingConfigsChannelpartnerlinkname.java | 6 ++---- .../SyncListChannelPartnerRepricingConfigsString.java | 6 ++---- .../SyncListCustomerRepricingConfigsCustomername.java | 6 ++---- .../SyncTransferEntitlementsToGoogle.java | 1 + ...artnerRepricingConfigChannelpartnerrepricingconfig.java | 6 ++---- ...dateCustomerRepricingConfigCustomerrepricingconfig.java | 6 ++---- 25 files changed, 44 insertions(+), 62 deletions(-) diff --git a/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceClient.java b/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceClient.java index c5ac27e9..3a6033a9 100644 --- a/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceClient.java +++ b/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/CloudChannelServiceClient.java @@ -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; @@ -207,6 +208,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; } diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/cancelentitlement/SyncCancelEntitlement.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/cancelentitlement/SyncCancelEntitlement.java index 337e8422..8c2557e9 100644 --- a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/cancelentitlement/SyncCancelEntitlement.java +++ b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/cancelentitlement/SyncCancelEntitlement.java @@ -19,6 +19,7 @@ // [START channel_v1_generated_cloudchannelserviceclient_cancelentitlement_sync] import com.google.cloud.channel.v1.CancelEntitlementRequest; import com.google.cloud.channel.v1.CloudChannelServiceClient; +import com.google.protobuf.Empty; public class SyncCancelEntitlement { diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfigChannelpartnerlinknameChannelpartnerrepricingconfig.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfigChannelpartnerlinknameChannelpartnerrepricingconfig.java index e0e3e941..41c1c8ba 100644 --- a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfigChannelpartnerlinknameChannelpartnerrepricingconfig.java +++ b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfigChannelpartnerlinknameChannelpartnerrepricingconfig.java @@ -16,8 +16,7 @@ package com.google.cloud.channel.v1.samples; -// [START -// channel_v1_generated_cloudchannelserviceclient_createchannelpartnerrepricingconfig_channelpartnerlinknamechannelpartnerrepricingconfig_sync] +// [START channel_v1_generated_cloudchannelserviceclient_createchannelpartnerrepricingconfig_channelpartnerlinknamechannelpartnerrepricingconfig_sync] import com.google.cloud.channel.v1.ChannelPartnerLinkName; import com.google.cloud.channel.v1.ChannelPartnerRepricingConfig; import com.google.cloud.channel.v1.CloudChannelServiceClient; @@ -45,5 +44,4 @@ public static void main(String[] args) throws Exception { } } } -// [END -// channel_v1_generated_cloudchannelserviceclient_createchannelpartnerrepricingconfig_channelpartnerlinknamechannelpartnerrepricingconfig_sync] +// [END channel_v1_generated_cloudchannelserviceclient_createchannelpartnerrepricingconfig_channelpartnerlinknamechannelpartnerrepricingconfig_sync] diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfigStringChannelpartnerrepricingconfig.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfigStringChannelpartnerrepricingconfig.java index 4cdba327..b767c815 100644 --- a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfigStringChannelpartnerrepricingconfig.java +++ b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createchannelpartnerrepricingconfig/SyncCreateChannelPartnerRepricingConfigStringChannelpartnerrepricingconfig.java @@ -16,8 +16,7 @@ package com.google.cloud.channel.v1.samples; -// [START -// channel_v1_generated_cloudchannelserviceclient_createchannelpartnerrepricingconfig_stringchannelpartnerrepricingconfig_sync] +// [START channel_v1_generated_cloudchannelserviceclient_createchannelpartnerrepricingconfig_stringchannelpartnerrepricingconfig_sync] import com.google.cloud.channel.v1.ChannelPartnerLinkName; import com.google.cloud.channel.v1.ChannelPartnerRepricingConfig; import com.google.cloud.channel.v1.CloudChannelServiceClient; @@ -42,5 +41,4 @@ public static void syncCreateChannelPartnerRepricingConfigStringChannelpartnerre } } } -// [END -// channel_v1_generated_cloudchannelserviceclient_createchannelpartnerrepricingconfig_stringchannelpartnerrepricingconfig_sync] +// [END channel_v1_generated_cloudchannelserviceclient_createchannelpartnerrepricingconfig_stringchannelpartnerrepricingconfig_sync] diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfigCustomernameCustomerrepricingconfig.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfigCustomernameCustomerrepricingconfig.java index fd48c920..2589ae10 100644 --- a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfigCustomernameCustomerrepricingconfig.java +++ b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfigCustomernameCustomerrepricingconfig.java @@ -16,8 +16,7 @@ package com.google.cloud.channel.v1.samples; -// [START -// channel_v1_generated_cloudchannelserviceclient_createcustomerrepricingconfig_customernamecustomerrepricingconfig_sync] +// [START channel_v1_generated_cloudchannelserviceclient_createcustomerrepricingconfig_customernamecustomerrepricingconfig_sync] import com.google.cloud.channel.v1.CloudChannelServiceClient; import com.google.cloud.channel.v1.CustomerName; import com.google.cloud.channel.v1.CustomerRepricingConfig; @@ -41,5 +40,4 @@ public static void syncCreateCustomerRepricingConfigCustomernameCustomerrepricin } } } -// [END -// channel_v1_generated_cloudchannelserviceclient_createcustomerrepricingconfig_customernamecustomerrepricingconfig_sync] +// [END channel_v1_generated_cloudchannelserviceclient_createcustomerrepricingconfig_customernamecustomerrepricingconfig_sync] diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfigStringCustomerrepricingconfig.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfigStringCustomerrepricingconfig.java index 20f83e4e..a4da0c8f 100644 --- a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfigStringCustomerrepricingconfig.java +++ b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/createcustomerrepricingconfig/SyncCreateCustomerRepricingConfigStringCustomerrepricingconfig.java @@ -16,8 +16,7 @@ package com.google.cloud.channel.v1.samples; -// [START -// channel_v1_generated_cloudchannelserviceclient_createcustomerrepricingconfig_stringcustomerrepricingconfig_sync] +// [START channel_v1_generated_cloudchannelserviceclient_createcustomerrepricingconfig_stringcustomerrepricingconfig_sync] import com.google.cloud.channel.v1.CloudChannelServiceClient; import com.google.cloud.channel.v1.CustomerName; import com.google.cloud.channel.v1.CustomerRepricingConfig; @@ -41,5 +40,4 @@ public static void syncCreateCustomerRepricingConfigStringCustomerrepricingconfi } } } -// [END -// channel_v1_generated_cloudchannelserviceclient_createcustomerrepricingconfig_stringcustomerrepricingconfig_sync] +// [END channel_v1_generated_cloudchannelserviceclient_createcustomerrepricingconfig_stringcustomerrepricingconfig_sync] diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfig.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfig.java index 9accb6ca..c5c35ed2 100644 --- a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfig.java +++ b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfig.java @@ -20,6 +20,7 @@ import com.google.cloud.channel.v1.ChannelPartnerRepricingConfigName; import com.google.cloud.channel.v1.CloudChannelServiceClient; import com.google.cloud.channel.v1.DeleteChannelPartnerRepricingConfigRequest; +import com.google.protobuf.Empty; public class SyncDeleteChannelPartnerRepricingConfig { diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfigChannelpartnerrepricingconfigname.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfigChannelpartnerrepricingconfigname.java index 74aaeab9..2a32c531 100644 --- a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfigChannelpartnerrepricingconfigname.java +++ b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfigChannelpartnerrepricingconfigname.java @@ -16,10 +16,10 @@ package com.google.cloud.channel.v1.samples; -// [START -// channel_v1_generated_cloudchannelserviceclient_deletechannelpartnerrepricingconfig_channelpartnerrepricingconfigname_sync] +// [START channel_v1_generated_cloudchannelserviceclient_deletechannelpartnerrepricingconfig_channelpartnerrepricingconfigname_sync] import com.google.cloud.channel.v1.ChannelPartnerRepricingConfigName; import com.google.cloud.channel.v1.CloudChannelServiceClient; +import com.google.protobuf.Empty; public class SyncDeleteChannelPartnerRepricingConfigChannelpartnerrepricingconfigname { @@ -39,5 +39,4 @@ public static void syncDeleteChannelPartnerRepricingConfigChannelpartnerrepricin } } } -// [END -// channel_v1_generated_cloudchannelserviceclient_deletechannelpartnerrepricingconfig_channelpartnerrepricingconfigname_sync] +// [END channel_v1_generated_cloudchannelserviceclient_deletechannelpartnerrepricingconfig_channelpartnerrepricingconfigname_sync] diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfigString.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfigString.java index eeec59af..b0486e57 100644 --- a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfigString.java +++ b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletechannelpartnerrepricingconfig/SyncDeleteChannelPartnerRepricingConfigString.java @@ -16,10 +16,10 @@ package com.google.cloud.channel.v1.samples; -// [START -// channel_v1_generated_cloudchannelserviceclient_deletechannelpartnerrepricingconfig_string_sync] +// [START channel_v1_generated_cloudchannelserviceclient_deletechannelpartnerrepricingconfig_string_sync] import com.google.cloud.channel.v1.ChannelPartnerRepricingConfigName; import com.google.cloud.channel.v1.CloudChannelServiceClient; +import com.google.protobuf.Empty; public class SyncDeleteChannelPartnerRepricingConfigString { @@ -39,5 +39,4 @@ public static void syncDeleteChannelPartnerRepricingConfigString() throws Except } } } -// [END -// channel_v1_generated_cloudchannelserviceclient_deletechannelpartnerrepricingconfig_string_sync] +// [END channel_v1_generated_cloudchannelserviceclient_deletechannelpartnerrepricingconfig_string_sync] diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/SyncDeleteCustomer.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/SyncDeleteCustomer.java index 29983dc0..0d22a5a3 100644 --- a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/SyncDeleteCustomer.java +++ b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/SyncDeleteCustomer.java @@ -20,6 +20,7 @@ import com.google.cloud.channel.v1.CloudChannelServiceClient; import com.google.cloud.channel.v1.CustomerName; import com.google.cloud.channel.v1.DeleteCustomerRequest; +import com.google.protobuf.Empty; public class SyncDeleteCustomer { diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/SyncDeleteCustomerCustomername.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/SyncDeleteCustomerCustomername.java index f3cbf507..6644ef13 100644 --- a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/SyncDeleteCustomerCustomername.java +++ b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/SyncDeleteCustomerCustomername.java @@ -19,6 +19,7 @@ // [START channel_v1_generated_cloudchannelserviceclient_deletecustomer_customername_sync] import com.google.cloud.channel.v1.CloudChannelServiceClient; import com.google.cloud.channel.v1.CustomerName; +import com.google.protobuf.Empty; public class SyncDeleteCustomerCustomername { diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/SyncDeleteCustomerString.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/SyncDeleteCustomerString.java index 56e2e656..21d7efe8 100644 --- a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/SyncDeleteCustomerString.java +++ b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomer/SyncDeleteCustomerString.java @@ -19,6 +19,7 @@ // [START channel_v1_generated_cloudchannelserviceclient_deletecustomer_string_sync] import com.google.cloud.channel.v1.CloudChannelServiceClient; import com.google.cloud.channel.v1.CustomerName; +import com.google.protobuf.Empty; public class SyncDeleteCustomerString { diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfig.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfig.java index d831f5b2..ffc3beca 100644 --- a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfig.java +++ b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfig.java @@ -20,6 +20,7 @@ import com.google.cloud.channel.v1.CloudChannelServiceClient; import com.google.cloud.channel.v1.CustomerRepricingConfigName; import com.google.cloud.channel.v1.DeleteCustomerRepricingConfigRequest; +import com.google.protobuf.Empty; public class SyncDeleteCustomerRepricingConfig { diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfigCustomerrepricingconfigname.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfigCustomerrepricingconfigname.java index d73d5a8b..5fcf12a0 100644 --- a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfigCustomerrepricingconfigname.java +++ b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfigCustomerrepricingconfigname.java @@ -16,10 +16,10 @@ package com.google.cloud.channel.v1.samples; -// [START -// channel_v1_generated_cloudchannelserviceclient_deletecustomerrepricingconfig_customerrepricingconfigname_sync] +// [START channel_v1_generated_cloudchannelserviceclient_deletecustomerrepricingconfig_customerrepricingconfigname_sync] import com.google.cloud.channel.v1.CloudChannelServiceClient; import com.google.cloud.channel.v1.CustomerRepricingConfigName; +import com.google.protobuf.Empty; public class SyncDeleteCustomerRepricingConfigCustomerrepricingconfigname { @@ -38,5 +38,4 @@ public static void syncDeleteCustomerRepricingConfigCustomerrepricingconfigname( } } } -// [END -// channel_v1_generated_cloudchannelserviceclient_deletecustomerrepricingconfig_customerrepricingconfigname_sync] +// [END channel_v1_generated_cloudchannelserviceclient_deletecustomerrepricingconfig_customerrepricingconfigname_sync] diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfigString.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfigString.java index 81c441f0..8d1626ec 100644 --- a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfigString.java +++ b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/deletecustomerrepricingconfig/SyncDeleteCustomerRepricingConfigString.java @@ -19,6 +19,7 @@ // [START channel_v1_generated_cloudchannelserviceclient_deletecustomerrepricingconfig_string_sync] import com.google.cloud.channel.v1.CloudChannelServiceClient; import com.google.cloud.channel.v1.CustomerRepricingConfigName; +import com.google.protobuf.Empty; public class SyncDeleteCustomerRepricingConfigString { diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfigChannelpartnerrepricingconfigname.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfigChannelpartnerrepricingconfigname.java index f8c3d96c..9eaa1a12 100644 --- a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfigChannelpartnerrepricingconfigname.java +++ b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfigChannelpartnerrepricingconfigname.java @@ -16,8 +16,7 @@ package com.google.cloud.channel.v1.samples; -// [START -// channel_v1_generated_cloudchannelserviceclient_getchannelpartnerrepricingconfig_channelpartnerrepricingconfigname_sync] +// [START channel_v1_generated_cloudchannelserviceclient_getchannelpartnerrepricingconfig_channelpartnerrepricingconfigname_sync] import com.google.cloud.channel.v1.ChannelPartnerRepricingConfig; import com.google.cloud.channel.v1.ChannelPartnerRepricingConfigName; import com.google.cloud.channel.v1.CloudChannelServiceClient; @@ -41,5 +40,4 @@ public static void syncGetChannelPartnerRepricingConfigChannelpartnerrepricingco } } } -// [END -// channel_v1_generated_cloudchannelserviceclient_getchannelpartnerrepricingconfig_channelpartnerrepricingconfigname_sync] +// [END channel_v1_generated_cloudchannelserviceclient_getchannelpartnerrepricingconfig_channelpartnerrepricingconfigname_sync] diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfigString.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfigString.java index f4abe7dd..6f3b5db6 100644 --- a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfigString.java +++ b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getchannelpartnerrepricingconfig/SyncGetChannelPartnerRepricingConfigString.java @@ -16,8 +16,7 @@ package com.google.cloud.channel.v1.samples; -// [START -// channel_v1_generated_cloudchannelserviceclient_getchannelpartnerrepricingconfig_string_sync] +// [START channel_v1_generated_cloudchannelserviceclient_getchannelpartnerrepricingconfig_string_sync] import com.google.cloud.channel.v1.ChannelPartnerRepricingConfig; import com.google.cloud.channel.v1.ChannelPartnerRepricingConfigName; import com.google.cloud.channel.v1.CloudChannelServiceClient; diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomerrepricingconfig/SyncGetCustomerRepricingConfigCustomerrepricingconfigname.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomerrepricingconfig/SyncGetCustomerRepricingConfigCustomerrepricingconfigname.java index df6db0fb..c93be54a 100644 --- a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomerrepricingconfig/SyncGetCustomerRepricingConfigCustomerrepricingconfigname.java +++ b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/getcustomerrepricingconfig/SyncGetCustomerRepricingConfigCustomerrepricingconfigname.java @@ -16,8 +16,7 @@ package com.google.cloud.channel.v1.samples; -// [START -// channel_v1_generated_cloudchannelserviceclient_getcustomerrepricingconfig_customerrepricingconfigname_sync] +// [START channel_v1_generated_cloudchannelserviceclient_getcustomerrepricingconfig_customerrepricingconfigname_sync] import com.google.cloud.channel.v1.CloudChannelServiceClient; import com.google.cloud.channel.v1.CustomerRepricingConfig; import com.google.cloud.channel.v1.CustomerRepricingConfigName; @@ -38,5 +37,4 @@ public static void syncGetCustomerRepricingConfigCustomerrepricingconfigname() t } } } -// [END -// channel_v1_generated_cloudchannelserviceclient_getcustomerrepricingconfig_customerrepricingconfigname_sync] +// [END channel_v1_generated_cloudchannelserviceclient_getcustomerrepricingconfig_customerrepricingconfigname_sync] diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/AsyncListChannelPartnerRepricingConfigsPaged.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/AsyncListChannelPartnerRepricingConfigsPaged.java index 08236e24..1076e5d5 100644 --- a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/AsyncListChannelPartnerRepricingConfigsPaged.java +++ b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/AsyncListChannelPartnerRepricingConfigsPaged.java @@ -16,8 +16,7 @@ package com.google.cloud.channel.v1.samples; -// [START -// channel_v1_generated_cloudchannelserviceclient_listchannelpartnerrepricingconfigs_paged_async] +// [START channel_v1_generated_cloudchannelserviceclient_listchannelpartnerrepricingconfigs_paged_async] import com.google.cloud.channel.v1.ChannelPartnerLinkName; import com.google.cloud.channel.v1.ChannelPartnerRepricingConfig; import com.google.cloud.channel.v1.CloudChannelServiceClient; @@ -60,5 +59,4 @@ public static void asyncListChannelPartnerRepricingConfigsPaged() throws Excepti } } } -// [END -// channel_v1_generated_cloudchannelserviceclient_listchannelpartnerrepricingconfigs_paged_async] +// [END channel_v1_generated_cloudchannelserviceclient_listchannelpartnerrepricingconfigs_paged_async] diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigsChannelpartnerlinkname.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigsChannelpartnerlinkname.java index e3843e57..182184a8 100644 --- a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigsChannelpartnerlinkname.java +++ b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigsChannelpartnerlinkname.java @@ -16,8 +16,7 @@ package com.google.cloud.channel.v1.samples; -// [START -// channel_v1_generated_cloudchannelserviceclient_listchannelpartnerrepricingconfigs_channelpartnerlinkname_sync] +// [START channel_v1_generated_cloudchannelserviceclient_listchannelpartnerrepricingconfigs_channelpartnerlinkname_sync] import com.google.cloud.channel.v1.ChannelPartnerLinkName; import com.google.cloud.channel.v1.ChannelPartnerRepricingConfig; import com.google.cloud.channel.v1.CloudChannelServiceClient; @@ -42,5 +41,4 @@ public static void syncListChannelPartnerRepricingConfigsChannelpartnerlinkname( } } } -// [END -// channel_v1_generated_cloudchannelserviceclient_listchannelpartnerrepricingconfigs_channelpartnerlinkname_sync] +// [END channel_v1_generated_cloudchannelserviceclient_listchannelpartnerrepricingconfigs_channelpartnerlinkname_sync] diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigsString.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigsString.java index 286c0c22..3baa9996 100644 --- a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigsString.java +++ b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listchannelpartnerrepricingconfigs/SyncListChannelPartnerRepricingConfigsString.java @@ -16,8 +16,7 @@ package com.google.cloud.channel.v1.samples; -// [START -// channel_v1_generated_cloudchannelserviceclient_listchannelpartnerrepricingconfigs_string_sync] +// [START channel_v1_generated_cloudchannelserviceclient_listchannelpartnerrepricingconfigs_string_sync] import com.google.cloud.channel.v1.ChannelPartnerLinkName; import com.google.cloud.channel.v1.ChannelPartnerRepricingConfig; import com.google.cloud.channel.v1.CloudChannelServiceClient; @@ -40,5 +39,4 @@ public static void syncListChannelPartnerRepricingConfigsString() throws Excepti } } } -// [END -// channel_v1_generated_cloudchannelserviceclient_listchannelpartnerrepricingconfigs_string_sync] +// [END channel_v1_generated_cloudchannelserviceclient_listchannelpartnerrepricingconfigs_string_sync] diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigsCustomername.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigsCustomername.java index b7895fc3..cf33c84d 100644 --- a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigsCustomername.java +++ b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/listcustomerrepricingconfigs/SyncListCustomerRepricingConfigsCustomername.java @@ -16,8 +16,7 @@ package com.google.cloud.channel.v1.samples; -// [START -// channel_v1_generated_cloudchannelserviceclient_listcustomerrepricingconfigs_customername_sync] +// [START channel_v1_generated_cloudchannelserviceclient_listcustomerrepricingconfigs_customername_sync] import com.google.cloud.channel.v1.CloudChannelServiceClient; import com.google.cloud.channel.v1.CustomerName; import com.google.cloud.channel.v1.CustomerRepricingConfig; @@ -40,5 +39,4 @@ public static void syncListCustomerRepricingConfigsCustomername() throws Excepti } } } -// [END -// channel_v1_generated_cloudchannelserviceclient_listcustomerrepricingconfigs_customername_sync] +// [END channel_v1_generated_cloudchannelserviceclient_listcustomerrepricingconfigs_customername_sync] diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlementstogoogle/SyncTransferEntitlementsToGoogle.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlementstogoogle/SyncTransferEntitlementsToGoogle.java index 8b094874..c157acba 100644 --- a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlementstogoogle/SyncTransferEntitlementsToGoogle.java +++ b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/transferentitlementstogoogle/SyncTransferEntitlementsToGoogle.java @@ -20,6 +20,7 @@ import com.google.cloud.channel.v1.CloudChannelServiceClient; import com.google.cloud.channel.v1.Entitlement; import com.google.cloud.channel.v1.TransferEntitlementsToGoogleRequest; +import com.google.protobuf.Empty; import java.util.ArrayList; public class SyncTransferEntitlementsToGoogle { diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerrepricingconfig/SyncUpdateChannelPartnerRepricingConfigChannelpartnerrepricingconfig.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerrepricingconfig/SyncUpdateChannelPartnerRepricingConfigChannelpartnerrepricingconfig.java index ae4e22ca..a1a83e4f 100644 --- a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerrepricingconfig/SyncUpdateChannelPartnerRepricingConfigChannelpartnerrepricingconfig.java +++ b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatechannelpartnerrepricingconfig/SyncUpdateChannelPartnerRepricingConfigChannelpartnerrepricingconfig.java @@ -16,8 +16,7 @@ package com.google.cloud.channel.v1.samples; -// [START -// channel_v1_generated_cloudchannelserviceclient_updatechannelpartnerrepricingconfig_channelpartnerrepricingconfig_sync] +// [START channel_v1_generated_cloudchannelserviceclient_updatechannelpartnerrepricingconfig_channelpartnerrepricingconfig_sync] import com.google.cloud.channel.v1.ChannelPartnerRepricingConfig; import com.google.cloud.channel.v1.CloudChannelServiceClient; @@ -40,5 +39,4 @@ public static void syncUpdateChannelPartnerRepricingConfigChannelpartnerrepricin } } } -// [END -// channel_v1_generated_cloudchannelserviceclient_updatechannelpartnerrepricingconfig_channelpartnerrepricingconfig_sync] +// [END channel_v1_generated_cloudchannelserviceclient_updatechannelpartnerrepricingconfig_channelpartnerrepricingconfig_sync] diff --git a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomerrepricingconfig/SyncUpdateCustomerRepricingConfigCustomerrepricingconfig.java b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomerrepricingconfig/SyncUpdateCustomerRepricingConfigCustomerrepricingconfig.java index 11708418..38e1297d 100644 --- a/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomerrepricingconfig/SyncUpdateCustomerRepricingConfigCustomerrepricingconfig.java +++ b/samples/snippets/generated/com/google/cloud/channel/v1/cloudchannelserviceclient/updatecustomerrepricingconfig/SyncUpdateCustomerRepricingConfigCustomerrepricingconfig.java @@ -16,8 +16,7 @@ package com.google.cloud.channel.v1.samples; -// [START -// channel_v1_generated_cloudchannelserviceclient_updatecustomerrepricingconfig_customerrepricingconfig_sync] +// [START channel_v1_generated_cloudchannelserviceclient_updatecustomerrepricingconfig_customerrepricingconfig_sync] import com.google.cloud.channel.v1.CloudChannelServiceClient; import com.google.cloud.channel.v1.CustomerRepricingConfig; @@ -38,5 +37,4 @@ public static void syncUpdateCustomerRepricingConfigCustomerrepricingconfig() th } } } -// [END -// channel_v1_generated_cloudchannelserviceclient_updatecustomerrepricingconfig_customerrepricingconfig_sync] +// [END channel_v1_generated_cloudchannelserviceclient_updatecustomerrepricingconfig_customerrepricingconfig_sync]