Skip to content

Commit 7f1fb5f

Browse files
chore: Set rest_numeric_enums = False for all gapic rules explicitly (#764)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 485623855 Source-Link: https://togithub.com/googleapis/googleapis/commit/807125e7953e32535710924fe4bf0362ac93754d Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/c4ddd6d651da69658a4762c5eafff5cd8f0e25c5 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYzRkZGQ2ZDY1MWRhNjk2NThhNDc2MmM1ZWFmZmY1Y2Q4ZjBlMjVjNSJ9
1 parent 7ab2a58 commit 7f1fb5f

File tree

156 files changed

+316
-328
lines changed

Some content is hidden

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

156 files changed

+316
-328
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
package com.google.cloud.servicedirectory.v1.samples;
1818

19-
// [START servicedirectory_v1_generated_lookupserviceclient_create_setcredentialsprovider_sync]
19+
// [START servicedirectory_v1_generated_LookupService_Create_SetCredentialsProvider_sync]
2020
import com.google.api.gax.core.FixedCredentialsProvider;
2121
import com.google.cloud.servicedirectory.v1.LookupServiceClient;
2222
import com.google.cloud.servicedirectory.v1.LookupServiceSettings;
@@ -41,4 +41,4 @@ public static void syncCreateSetCredentialsProvider() throws Exception {
4141
LookupServiceClient lookupServiceClient = LookupServiceClient.create(lookupServiceSettings);
4242
}
4343
}
44-
// [END servicedirectory_v1_generated_lookupserviceclient_create_setcredentialsprovider_sync]
44+
// [END servicedirectory_v1_generated_LookupService_Create_SetCredentialsProvider_sync]
Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
package com.google.cloud.servicedirectory.v1.samples;
1818

19-
// [START servicedirectory_v1_generated_lookupserviceclient_create_setcredentialsprovider1_sync]
19+
// [START servicedirectory_v1_generated_LookupService_Create_SetCredentialsProvider1_sync]
2020
import com.google.cloud.servicedirectory.v1.LookupServiceClient;
2121
import com.google.cloud.servicedirectory.v1.LookupServiceSettings;
2222

@@ -33,11 +33,8 @@ public static void syncCreateSetCredentialsProvider1() throws Exception {
3333
// - It may require specifying regional endpoints when creating the service client as shown in
3434
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
3535
LookupServiceSettings lookupServiceSettings =
36-
LookupServiceSettings.newBuilder()
37-
.setTransportChannelProvider(
38-
LookupServiceSettings.defaultHttpJsonTransportProviderBuilder().build())
39-
.build();
36+
LookupServiceSettings.newHttpJsonBuilder().build();
4037
LookupServiceClient lookupServiceClient = LookupServiceClient.create(lookupServiceSettings);
4138
}
4239
}
43-
// [END servicedirectory_v1_generated_lookupserviceclient_create_setcredentialsprovider1_sync]
40+
// [END servicedirectory_v1_generated_LookupService_Create_SetCredentialsProvider1_sync]
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
package com.google.cloud.servicedirectory.v1.samples;
1818

19-
// [START servicedirectory_v1_generated_lookupserviceclient_create_setendpoint_sync]
19+
// [START servicedirectory_v1_generated_LookupService_Create_SetEndpoint_sync]
2020
import com.google.cloud.servicedirectory.v1.LookupServiceClient;
2121
import com.google.cloud.servicedirectory.v1.LookupServiceSettings;
2222
import com.google.cloud.servicedirectory.v1.myEndpoint;
@@ -38,4 +38,4 @@ public static void syncCreateSetEndpoint() throws Exception {
3838
LookupServiceClient lookupServiceClient = LookupServiceClient.create(lookupServiceSettings);
3939
}
4040
}
41-
// [END servicedirectory_v1_generated_lookupserviceclient_create_setendpoint_sync]
41+
// [END servicedirectory_v1_generated_LookupService_Create_SetEndpoint_sync]
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
package com.google.cloud.servicedirectory.v1.samples;
1818

19-
// [START servicedirectory_v1_generated_lookupserviceclient_resolveservice_async]
19+
// [START servicedirectory_v1_generated_LookupService_ResolveService_async]
2020
import com.google.api.core.ApiFuture;
2121
import com.google.cloud.servicedirectory.v1.LookupServiceClient;
2222
import com.google.cloud.servicedirectory.v1.ResolveServiceRequest;
@@ -50,4 +50,4 @@ public static void asyncResolveService() throws Exception {
5050
}
5151
}
5252
}
53-
// [END servicedirectory_v1_generated_lookupserviceclient_resolveservice_async]
53+
// [END servicedirectory_v1_generated_LookupService_ResolveService_async]
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
package com.google.cloud.servicedirectory.v1.samples;
1818

19-
// [START servicedirectory_v1_generated_lookupserviceclient_resolveservice_sync]
19+
// [START servicedirectory_v1_generated_LookupService_ResolveService_sync]
2020
import com.google.cloud.servicedirectory.v1.LookupServiceClient;
2121
import com.google.cloud.servicedirectory.v1.ResolveServiceRequest;
2222
import com.google.cloud.servicedirectory.v1.ResolveServiceResponse;
@@ -46,4 +46,4 @@ public static void syncResolveService() throws Exception {
4646
}
4747
}
4848
}
49-
// [END servicedirectory_v1_generated_lookupserviceclient_resolveservice_sync]
49+
// [END servicedirectory_v1_generated_LookupService_ResolveService_sync]

servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/lookupservicesettings/resolveservice/SyncResolveService.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
package com.google.cloud.servicedirectory.v1.samples;
1818

19-
// [START servicedirectory_v1_generated_lookupservicesettings_resolveservice_sync]
19+
// [START servicedirectory_v1_generated_LookupServiceSettings_ResolveService_sync]
2020
import com.google.cloud.servicedirectory.v1.LookupServiceSettings;
2121
import java.time.Duration;
2222

@@ -42,4 +42,4 @@ public static void syncResolveService() throws Exception {
4242
LookupServiceSettings lookupServiceSettings = lookupServiceSettingsBuilder.build();
4343
}
4444
}
45-
// [END servicedirectory_v1_generated_lookupservicesettings_resolveservice_sync]
45+
// [END servicedirectory_v1_generated_LookupServiceSettings_ResolveService_sync]
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
package com.google.cloud.servicedirectory.v1.samples;
1818

19-
// [START servicedirectory_v1_generated_registrationserviceclient_create_setcredentialsprovider_sync]
19+
// [START servicedirectory_v1_generated_RegistrationService_Create_SetCredentialsProvider_sync]
2020
import com.google.api.gax.core.FixedCredentialsProvider;
2121
import com.google.cloud.servicedirectory.v1.RegistrationServiceClient;
2222
import com.google.cloud.servicedirectory.v1.RegistrationServiceSettings;
@@ -42,4 +42,4 @@ public static void syncCreateSetCredentialsProvider() throws Exception {
4242
RegistrationServiceClient.create(registrationServiceSettings);
4343
}
4444
}
45-
// [END servicedirectory_v1_generated_registrationserviceclient_create_setcredentialsprovider_sync]
45+
// [END servicedirectory_v1_generated_RegistrationService_Create_SetCredentialsProvider_sync]
Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
package com.google.cloud.servicedirectory.v1.samples;
1818

19-
// [START servicedirectory_v1_generated_registrationserviceclient_create_setcredentialsprovider1_sync]
19+
// [START servicedirectory_v1_generated_RegistrationService_Create_SetCredentialsProvider1_sync]
2020
import com.google.cloud.servicedirectory.v1.RegistrationServiceClient;
2121
import com.google.cloud.servicedirectory.v1.RegistrationServiceSettings;
2222

@@ -33,12 +33,9 @@ public static void syncCreateSetCredentialsProvider1() throws Exception {
3333
// - It may require specifying regional endpoints when creating the service client as shown in
3434
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
3535
RegistrationServiceSettings registrationServiceSettings =
36-
RegistrationServiceSettings.newBuilder()
37-
.setTransportChannelProvider(
38-
RegistrationServiceSettings.defaultHttpJsonTransportProviderBuilder().build())
39-
.build();
36+
RegistrationServiceSettings.newHttpJsonBuilder().build();
4037
RegistrationServiceClient registrationServiceClient =
4138
RegistrationServiceClient.create(registrationServiceSettings);
4239
}
4340
}
44-
// [END servicedirectory_v1_generated_registrationserviceclient_create_setcredentialsprovider1_sync]
41+
// [END servicedirectory_v1_generated_RegistrationService_Create_SetCredentialsProvider1_sync]
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
package com.google.cloud.servicedirectory.v1.samples;
1818

19-
// [START servicedirectory_v1_generated_registrationserviceclient_create_setendpoint_sync]
19+
// [START servicedirectory_v1_generated_RegistrationService_Create_SetEndpoint_sync]
2020
import com.google.cloud.servicedirectory.v1.RegistrationServiceClient;
2121
import com.google.cloud.servicedirectory.v1.RegistrationServiceSettings;
2222
import com.google.cloud.servicedirectory.v1.myEndpoint;
@@ -39,4 +39,4 @@ public static void syncCreateSetEndpoint() throws Exception {
3939
RegistrationServiceClient.create(registrationServiceSettings);
4040
}
4141
}
42-
// [END servicedirectory_v1_generated_registrationserviceclient_create_setendpoint_sync]
42+
// [END servicedirectory_v1_generated_RegistrationService_Create_SetEndpoint_sync]
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
package com.google.cloud.servicedirectory.v1.samples;
1818

19-
// [START servicedirectory_v1_generated_registrationserviceclient_createendpoint_async]
19+
// [START servicedirectory_v1_generated_RegistrationService_CreateEndpoint_async]
2020
import com.google.api.core.ApiFuture;
2121
import com.google.cloud.servicedirectory.v1.CreateEndpointRequest;
2222
import com.google.cloud.servicedirectory.v1.Endpoint;
@@ -50,4 +50,4 @@ public static void asyncCreateEndpoint() throws Exception {
5050
}
5151
}
5252
}
53-
// [END servicedirectory_v1_generated_registrationserviceclient_createendpoint_async]
53+
// [END servicedirectory_v1_generated_RegistrationService_CreateEndpoint_async]
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
package com.google.cloud.servicedirectory.v1.samples;
1818

19-
// [START servicedirectory_v1_generated_registrationserviceclient_createendpoint_sync]
19+
// [START servicedirectory_v1_generated_RegistrationService_CreateEndpoint_sync]
2020
import com.google.cloud.servicedirectory.v1.CreateEndpointRequest;
2121
import com.google.cloud.servicedirectory.v1.Endpoint;
2222
import com.google.cloud.servicedirectory.v1.RegistrationServiceClient;
@@ -46,4 +46,4 @@ public static void syncCreateEndpoint() throws Exception {
4646
}
4747
}
4848
}
49-
// [END servicedirectory_v1_generated_registrationserviceclient_createendpoint_sync]
49+
// [END servicedirectory_v1_generated_RegistrationService_CreateEndpoint_sync]
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
package com.google.cloud.servicedirectory.v1.samples;
1818

19-
// [START servicedirectory_v1_generated_registrationserviceclient_createendpoint_servicenameendpointstring_sync]
19+
// [START servicedirectory_v1_generated_RegistrationService_CreateEndpoint_ServicenameEndpointString_sync]
2020
import com.google.cloud.servicedirectory.v1.Endpoint;
2121
import com.google.cloud.servicedirectory.v1.RegistrationServiceClient;
2222
import com.google.cloud.servicedirectory.v1.ServiceName;
@@ -41,4 +41,4 @@ public static void syncCreateEndpointServicenameEndpointString() throws Exceptio
4141
}
4242
}
4343
}
44-
// [END servicedirectory_v1_generated_registrationserviceclient_createendpoint_servicenameendpointstring_sync]
44+
// [END servicedirectory_v1_generated_RegistrationService_CreateEndpoint_ServicenameEndpointString_sync]
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
package com.google.cloud.servicedirectory.v1.samples;
1818

19-
// [START servicedirectory_v1_generated_registrationserviceclient_createendpoint_stringendpointstring_sync]
19+
// [START servicedirectory_v1_generated_RegistrationService_CreateEndpoint_StringEndpointString_sync]
2020
import com.google.cloud.servicedirectory.v1.Endpoint;
2121
import com.google.cloud.servicedirectory.v1.RegistrationServiceClient;
2222
import com.google.cloud.servicedirectory.v1.ServiceName;
@@ -42,4 +42,4 @@ public static void syncCreateEndpointStringEndpointString() throws Exception {
4242
}
4343
}
4444
}
45-
// [END servicedirectory_v1_generated_registrationserviceclient_createendpoint_stringendpointstring_sync]
45+
// [END servicedirectory_v1_generated_RegistrationService_CreateEndpoint_StringEndpointString_sync]
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
package com.google.cloud.servicedirectory.v1.samples;
1818

19-
// [START servicedirectory_v1_generated_registrationserviceclient_createnamespace_async]
19+
// [START servicedirectory_v1_generated_RegistrationService_CreateNamespace_async]
2020
import com.google.api.core.ApiFuture;
2121
import com.google.cloud.servicedirectory.v1.CreateNamespaceRequest;
2222
import com.google.cloud.servicedirectory.v1.LocationName;
@@ -49,4 +49,4 @@ public static void asyncCreateNamespace() throws Exception {
4949
}
5050
}
5151
}
52-
// [END servicedirectory_v1_generated_registrationserviceclient_createnamespace_async]
52+
// [END servicedirectory_v1_generated_RegistrationService_CreateNamespace_async]
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
package com.google.cloud.servicedirectory.v1.samples;
1818

19-
// [START servicedirectory_v1_generated_registrationserviceclient_createnamespace_sync]
19+
// [START servicedirectory_v1_generated_RegistrationService_CreateNamespace_sync]
2020
import com.google.cloud.servicedirectory.v1.CreateNamespaceRequest;
2121
import com.google.cloud.servicedirectory.v1.LocationName;
2222
import com.google.cloud.servicedirectory.v1.Namespace;
@@ -45,4 +45,4 @@ public static void syncCreateNamespace() throws Exception {
4545
}
4646
}
4747
}
48-
// [END servicedirectory_v1_generated_registrationserviceclient_createnamespace_sync]
48+
// [END servicedirectory_v1_generated_RegistrationService_CreateNamespace_sync]
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
package com.google.cloud.servicedirectory.v1.samples;
1818

19-
// [START servicedirectory_v1_generated_registrationserviceclient_createnamespace_locationnamenamespacestring_sync]
19+
// [START servicedirectory_v1_generated_RegistrationService_CreateNamespace_LocationnameNamespaceString_sync]
2020
import com.google.cloud.servicedirectory.v1.LocationName;
2121
import com.google.cloud.servicedirectory.v1.Namespace;
2222
import com.google.cloud.servicedirectory.v1.RegistrationServiceClient;
@@ -42,4 +42,4 @@ public static void syncCreateNamespaceLocationnameNamespaceString() throws Excep
4242
}
4343
}
4444
}
45-
// [END servicedirectory_v1_generated_registrationserviceclient_createnamespace_locationnamenamespacestring_sync]
45+
// [END servicedirectory_v1_generated_RegistrationService_CreateNamespace_LocationnameNamespaceString_sync]
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
package com.google.cloud.servicedirectory.v1.samples;
1818

19-
// [START servicedirectory_v1_generated_registrationserviceclient_createnamespace_stringnamespacestring_sync]
19+
// [START servicedirectory_v1_generated_RegistrationService_CreateNamespace_StringNamespaceString_sync]
2020
import com.google.cloud.servicedirectory.v1.LocationName;
2121
import com.google.cloud.servicedirectory.v1.Namespace;
2222
import com.google.cloud.servicedirectory.v1.RegistrationServiceClient;
@@ -42,4 +42,4 @@ public static void syncCreateNamespaceStringNamespaceString() throws Exception {
4242
}
4343
}
4444
}
45-
// [END servicedirectory_v1_generated_registrationserviceclient_createnamespace_stringnamespacestring_sync]
45+
// [END servicedirectory_v1_generated_RegistrationService_CreateNamespace_StringNamespaceString_sync]
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
package com.google.cloud.servicedirectory.v1.samples;
1818

19-
// [START servicedirectory_v1_generated_registrationserviceclient_createservice_async]
19+
// [START servicedirectory_v1_generated_RegistrationService_CreateService_async]
2020
import com.google.api.core.ApiFuture;
2121
import com.google.cloud.servicedirectory.v1.CreateServiceRequest;
2222
import com.google.cloud.servicedirectory.v1.NamespaceName;
@@ -49,4 +49,4 @@ public static void asyncCreateService() throws Exception {
4949
}
5050
}
5151
}
52-
// [END servicedirectory_v1_generated_registrationserviceclient_createservice_async]
52+
// [END servicedirectory_v1_generated_RegistrationService_CreateService_async]
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
package com.google.cloud.servicedirectory.v1.samples;
1818

19-
// [START servicedirectory_v1_generated_registrationserviceclient_createservice_sync]
19+
// [START servicedirectory_v1_generated_RegistrationService_CreateService_sync]
2020
import com.google.cloud.servicedirectory.v1.CreateServiceRequest;
2121
import com.google.cloud.servicedirectory.v1.NamespaceName;
2222
import com.google.cloud.servicedirectory.v1.RegistrationServiceClient;
@@ -45,4 +45,4 @@ public static void syncCreateService() throws Exception {
4545
}
4646
}
4747
}
48-
// [END servicedirectory_v1_generated_registrationserviceclient_createservice_sync]
48+
// [END servicedirectory_v1_generated_RegistrationService_CreateService_sync]
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
package com.google.cloud.servicedirectory.v1.samples;
1818

19-
// [START servicedirectory_v1_generated_registrationserviceclient_createservice_namespacenameservicestring_sync]
19+
// [START servicedirectory_v1_generated_RegistrationService_CreateService_NamespacenameServiceString_sync]
2020
import com.google.cloud.servicedirectory.v1.NamespaceName;
2121
import com.google.cloud.servicedirectory.v1.RegistrationServiceClient;
2222
import com.google.cloud.servicedirectory.v1.Service;
@@ -41,4 +41,4 @@ public static void syncCreateServiceNamespacenameServiceString() throws Exceptio
4141
}
4242
}
4343
}
44-
// [END servicedirectory_v1_generated_registrationserviceclient_createservice_namespacenameservicestring_sync]
44+
// [END servicedirectory_v1_generated_RegistrationService_CreateService_NamespacenameServiceString_sync]
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
package com.google.cloud.servicedirectory.v1.samples;
1818

19-
// [START servicedirectory_v1_generated_registrationserviceclient_createservice_stringservicestring_sync]
19+
// [START servicedirectory_v1_generated_RegistrationService_CreateService_StringServiceString_sync]
2020
import com.google.cloud.servicedirectory.v1.NamespaceName;
2121
import com.google.cloud.servicedirectory.v1.RegistrationServiceClient;
2222
import com.google.cloud.servicedirectory.v1.Service;
@@ -41,4 +41,4 @@ public static void syncCreateServiceStringServiceString() throws Exception {
4141
}
4242
}
4343
}
44-
// [END servicedirectory_v1_generated_registrationserviceclient_createservice_stringservicestring_sync]
44+
// [END servicedirectory_v1_generated_RegistrationService_CreateService_StringServiceString_sync]
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
package com.google.cloud.servicedirectory.v1.samples;
1818

19-
// [START servicedirectory_v1_generated_registrationserviceclient_deleteendpoint_async]
19+
// [START servicedirectory_v1_generated_RegistrationService_DeleteEndpoint_async]
2020
import com.google.api.core.ApiFuture;
2121
import com.google.cloud.servicedirectory.v1.DeleteEndpointRequest;
2222
import com.google.cloud.servicedirectory.v1.EndpointName;
@@ -50,4 +50,4 @@ public static void asyncDeleteEndpoint() throws Exception {
5050
}
5151
}
5252
}
53-
// [END servicedirectory_v1_generated_registrationserviceclient_deleteendpoint_async]
53+
// [END servicedirectory_v1_generated_RegistrationService_DeleteEndpoint_async]
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
package com.google.cloud.servicedirectory.v1.samples;
1818

19-
// [START servicedirectory_v1_generated_registrationserviceclient_deleteendpoint_sync]
19+
// [START servicedirectory_v1_generated_RegistrationService_DeleteEndpoint_sync]
2020
import com.google.cloud.servicedirectory.v1.DeleteEndpointRequest;
2121
import com.google.cloud.servicedirectory.v1.EndpointName;
2222
import com.google.cloud.servicedirectory.v1.RegistrationServiceClient;
@@ -46,4 +46,4 @@ public static void syncDeleteEndpoint() throws Exception {
4646
}
4747
}
4848
}
49-
// [END servicedirectory_v1_generated_registrationserviceclient_deleteendpoint_sync]
49+
// [END servicedirectory_v1_generated_RegistrationService_DeleteEndpoint_sync]
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
package com.google.cloud.servicedirectory.v1.samples;
1818

19-
// [START servicedirectory_v1_generated_registrationserviceclient_deleteendpoint_endpointname_sync]
19+
// [START servicedirectory_v1_generated_RegistrationService_DeleteEndpoint_Endpointname_sync]
2020
import com.google.cloud.servicedirectory.v1.EndpointName;
2121
import com.google.cloud.servicedirectory.v1.RegistrationServiceClient;
2222
import com.google.protobuf.Empty;
@@ -40,4 +40,4 @@ public static void syncDeleteEndpointEndpointname() throws Exception {
4040
}
4141
}
4242
}
43-
// [END servicedirectory_v1_generated_registrationserviceclient_deleteendpoint_endpointname_sync]
43+
// [END servicedirectory_v1_generated_RegistrationService_DeleteEndpoint_Endpointname_sync]
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
package com.google.cloud.servicedirectory.v1.samples;
1818

19-
// [START servicedirectory_v1_generated_registrationserviceclient_deleteendpoint_string_sync]
19+
// [START servicedirectory_v1_generated_RegistrationService_DeleteEndpoint_String_sync]
2020
import com.google.cloud.servicedirectory.v1.EndpointName;
2121
import com.google.cloud.servicedirectory.v1.RegistrationServiceClient;
2222
import com.google.protobuf.Empty;
@@ -41,4 +41,4 @@ public static void syncDeleteEndpointString() throws Exception {
4141
}
4242
}
4343
}
44-
// [END servicedirectory_v1_generated_registrationserviceclient_deleteendpoint_string_sync]
44+
// [END servicedirectory_v1_generated_RegistrationService_DeleteEndpoint_String_sync]

0 commit comments

Comments
 (0)