diff --git a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/create/SyncCreateSetCredentialsProvider.java b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/create/SyncCreateSetCredentialsProvider.java index 19f829ee776..caaa66fc441 100644 --- a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/create/SyncCreateSetCredentialsProvider.java +++ b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/create/SyncCreateSetCredentialsProvider.java @@ -16,8 +16,7 @@ package com.google.cloud.servicedirectory.v1.samples; -// [START -// servicedirectory_v1_generated_registrationserviceclient_create_setcredentialsprovider_sync] +// [START servicedirectory_v1_generated_registrationserviceclient_create_setcredentialsprovider_sync] import com.google.api.gax.core.FixedCredentialsProvider; import com.google.cloud.servicedirectory.v1.RegistrationServiceClient; import com.google.cloud.servicedirectory.v1.RegistrationServiceSettings; diff --git a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/create/SyncCreateSetCredentialsProvider1.java b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/create/SyncCreateSetCredentialsProvider1.java index c7954310e52..05f76c0d43d 100644 --- a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/create/SyncCreateSetCredentialsProvider1.java +++ b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/create/SyncCreateSetCredentialsProvider1.java @@ -16,8 +16,7 @@ package com.google.cloud.servicedirectory.v1.samples; -// [START -// servicedirectory_v1_generated_registrationserviceclient_create_setcredentialsprovider1_sync] +// [START servicedirectory_v1_generated_registrationserviceclient_create_setcredentialsprovider1_sync] import com.google.cloud.servicedirectory.v1.RegistrationServiceClient; import com.google.cloud.servicedirectory.v1.RegistrationServiceSettings; diff --git a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/createendpoint/SyncCreateEndpointServicenameEndpointString.java b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/createendpoint/SyncCreateEndpointServicenameEndpointString.java index 112bdac20a7..97f5c374381 100644 --- a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/createendpoint/SyncCreateEndpointServicenameEndpointString.java +++ b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/createendpoint/SyncCreateEndpointServicenameEndpointString.java @@ -16,8 +16,7 @@ package com.google.cloud.servicedirectory.v1.samples; -// [START -// servicedirectory_v1_generated_registrationserviceclient_createendpoint_servicenameendpointstring_sync] +// [START servicedirectory_v1_generated_registrationserviceclient_createendpoint_servicenameendpointstring_sync] import com.google.cloud.servicedirectory.v1.Endpoint; import com.google.cloud.servicedirectory.v1.RegistrationServiceClient; import com.google.cloud.servicedirectory.v1.ServiceName; @@ -39,5 +38,4 @@ public static void syncCreateEndpointServicenameEndpointString() throws Exceptio } } } -// [END -// servicedirectory_v1_generated_registrationserviceclient_createendpoint_servicenameendpointstring_sync] +// [END servicedirectory_v1_generated_registrationserviceclient_createendpoint_servicenameendpointstring_sync] diff --git a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/createendpoint/SyncCreateEndpointStringEndpointString.java b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/createendpoint/SyncCreateEndpointStringEndpointString.java index 19f345484c5..825271418c9 100644 --- a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/createendpoint/SyncCreateEndpointStringEndpointString.java +++ b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/createendpoint/SyncCreateEndpointStringEndpointString.java @@ -16,8 +16,7 @@ package com.google.cloud.servicedirectory.v1.samples; -// [START -// servicedirectory_v1_generated_registrationserviceclient_createendpoint_stringendpointstring_sync] +// [START servicedirectory_v1_generated_registrationserviceclient_createendpoint_stringendpointstring_sync] import com.google.cloud.servicedirectory.v1.Endpoint; import com.google.cloud.servicedirectory.v1.RegistrationServiceClient; import com.google.cloud.servicedirectory.v1.ServiceName; @@ -40,5 +39,4 @@ public static void syncCreateEndpointStringEndpointString() throws Exception { } } } -// [END -// servicedirectory_v1_generated_registrationserviceclient_createendpoint_stringendpointstring_sync] +// [END servicedirectory_v1_generated_registrationserviceclient_createendpoint_stringendpointstring_sync] diff --git a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/createnamespace/SyncCreateNamespaceLocationnameNamespaceString.java b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/createnamespace/SyncCreateNamespaceLocationnameNamespaceString.java index a09671d9dc4..bd73527d5d5 100644 --- a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/createnamespace/SyncCreateNamespaceLocationnameNamespaceString.java +++ b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/createnamespace/SyncCreateNamespaceLocationnameNamespaceString.java @@ -16,8 +16,7 @@ package com.google.cloud.servicedirectory.v1.samples; -// [START -// servicedirectory_v1_generated_registrationserviceclient_createnamespace_locationnamenamespacestring_sync] +// [START servicedirectory_v1_generated_registrationserviceclient_createnamespace_locationnamenamespacestring_sync] import com.google.cloud.servicedirectory.v1.LocationName; import com.google.cloud.servicedirectory.v1.Namespace; import com.google.cloud.servicedirectory.v1.RegistrationServiceClient; @@ -40,5 +39,4 @@ public static void syncCreateNamespaceLocationnameNamespaceString() throws Excep } } } -// [END -// servicedirectory_v1_generated_registrationserviceclient_createnamespace_locationnamenamespacestring_sync] +// [END servicedirectory_v1_generated_registrationserviceclient_createnamespace_locationnamenamespacestring_sync] diff --git a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/createnamespace/SyncCreateNamespaceStringNamespaceString.java b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/createnamespace/SyncCreateNamespaceStringNamespaceString.java index 806fa2ca69d..fce319d0947 100644 --- a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/createnamespace/SyncCreateNamespaceStringNamespaceString.java +++ b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/createnamespace/SyncCreateNamespaceStringNamespaceString.java @@ -16,8 +16,7 @@ package com.google.cloud.servicedirectory.v1.samples; -// [START -// servicedirectory_v1_generated_registrationserviceclient_createnamespace_stringnamespacestring_sync] +// [START servicedirectory_v1_generated_registrationserviceclient_createnamespace_stringnamespacestring_sync] import com.google.cloud.servicedirectory.v1.LocationName; import com.google.cloud.servicedirectory.v1.Namespace; import com.google.cloud.servicedirectory.v1.RegistrationServiceClient; @@ -40,5 +39,4 @@ public static void syncCreateNamespaceStringNamespaceString() throws Exception { } } } -// [END -// servicedirectory_v1_generated_registrationserviceclient_createnamespace_stringnamespacestring_sync] +// [END servicedirectory_v1_generated_registrationserviceclient_createnamespace_stringnamespacestring_sync] diff --git a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/createservice/SyncCreateServiceNamespacenameServiceString.java b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/createservice/SyncCreateServiceNamespacenameServiceString.java index d14190bde09..8fc14dc74f9 100644 --- a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/createservice/SyncCreateServiceNamespacenameServiceString.java +++ b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/createservice/SyncCreateServiceNamespacenameServiceString.java @@ -16,8 +16,7 @@ package com.google.cloud.servicedirectory.v1.samples; -// [START -// servicedirectory_v1_generated_registrationserviceclient_createservice_namespacenameservicestring_sync] +// [START servicedirectory_v1_generated_registrationserviceclient_createservice_namespacenameservicestring_sync] import com.google.cloud.servicedirectory.v1.NamespaceName; import com.google.cloud.servicedirectory.v1.RegistrationServiceClient; import com.google.cloud.servicedirectory.v1.Service; @@ -39,5 +38,4 @@ public static void syncCreateServiceNamespacenameServiceString() throws Exceptio } } } -// [END -// servicedirectory_v1_generated_registrationserviceclient_createservice_namespacenameservicestring_sync] +// [END servicedirectory_v1_generated_registrationserviceclient_createservice_namespacenameservicestring_sync] diff --git a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/createservice/SyncCreateServiceStringServiceString.java b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/createservice/SyncCreateServiceStringServiceString.java index 4d663c44dac..cd23e02b24c 100644 --- a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/createservice/SyncCreateServiceStringServiceString.java +++ b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/createservice/SyncCreateServiceStringServiceString.java @@ -16,8 +16,7 @@ package com.google.cloud.servicedirectory.v1.samples; -// [START -// servicedirectory_v1_generated_registrationserviceclient_createservice_stringservicestring_sync] +// [START servicedirectory_v1_generated_registrationserviceclient_createservice_stringservicestring_sync] import com.google.cloud.servicedirectory.v1.NamespaceName; import com.google.cloud.servicedirectory.v1.RegistrationServiceClient; import com.google.cloud.servicedirectory.v1.Service; @@ -39,5 +38,4 @@ public static void syncCreateServiceStringServiceString() throws Exception { } } } -// [END -// servicedirectory_v1_generated_registrationserviceclient_createservice_stringservicestring_sync] +// [END servicedirectory_v1_generated_registrationserviceclient_createservice_stringservicestring_sync] diff --git a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/deleteendpoint/SyncDeleteEndpoint.java b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/deleteendpoint/SyncDeleteEndpoint.java index 7e6c3eb9b7c..94f8e8ad85d 100644 --- a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/deleteendpoint/SyncDeleteEndpoint.java +++ b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/deleteendpoint/SyncDeleteEndpoint.java @@ -20,6 +20,7 @@ import com.google.cloud.servicedirectory.v1.DeleteEndpointRequest; import com.google.cloud.servicedirectory.v1.EndpointName; import com.google.cloud.servicedirectory.v1.RegistrationServiceClient; +import com.google.protobuf.Empty; public class SyncDeleteEndpoint { diff --git a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/deleteendpoint/SyncDeleteEndpointEndpointname.java b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/deleteendpoint/SyncDeleteEndpointEndpointname.java index 7ad64ab2786..afe84fc331b 100644 --- a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/deleteendpoint/SyncDeleteEndpointEndpointname.java +++ b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/deleteendpoint/SyncDeleteEndpointEndpointname.java @@ -19,6 +19,7 @@ // [START servicedirectory_v1_generated_registrationserviceclient_deleteendpoint_endpointname_sync] import com.google.cloud.servicedirectory.v1.EndpointName; import com.google.cloud.servicedirectory.v1.RegistrationServiceClient; +import com.google.protobuf.Empty; public class SyncDeleteEndpointEndpointname { diff --git a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/deleteendpoint/SyncDeleteEndpointString.java b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/deleteendpoint/SyncDeleteEndpointString.java index 9ffc1f548a5..e19fa6db4f6 100644 --- a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/deleteendpoint/SyncDeleteEndpointString.java +++ b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/deleteendpoint/SyncDeleteEndpointString.java @@ -19,6 +19,7 @@ // [START servicedirectory_v1_generated_registrationserviceclient_deleteendpoint_string_sync] import com.google.cloud.servicedirectory.v1.EndpointName; import com.google.cloud.servicedirectory.v1.RegistrationServiceClient; +import com.google.protobuf.Empty; public class SyncDeleteEndpointString { diff --git a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/deletenamespace/SyncDeleteNamespace.java b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/deletenamespace/SyncDeleteNamespace.java index 7a148fddb25..f555fd13c71 100644 --- a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/deletenamespace/SyncDeleteNamespace.java +++ b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/deletenamespace/SyncDeleteNamespace.java @@ -20,6 +20,7 @@ import com.google.cloud.servicedirectory.v1.DeleteNamespaceRequest; import com.google.cloud.servicedirectory.v1.NamespaceName; import com.google.cloud.servicedirectory.v1.RegistrationServiceClient; +import com.google.protobuf.Empty; public class SyncDeleteNamespace { diff --git a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/deletenamespace/SyncDeleteNamespaceNamespacename.java b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/deletenamespace/SyncDeleteNamespaceNamespacename.java index 1c349b07b8f..9a6e1c8ff11 100644 --- a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/deletenamespace/SyncDeleteNamespaceNamespacename.java +++ b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/deletenamespace/SyncDeleteNamespaceNamespacename.java @@ -16,10 +16,10 @@ package com.google.cloud.servicedirectory.v1.samples; -// [START -// servicedirectory_v1_generated_registrationserviceclient_deletenamespace_namespacename_sync] +// [START servicedirectory_v1_generated_registrationserviceclient_deletenamespace_namespacename_sync] import com.google.cloud.servicedirectory.v1.NamespaceName; import com.google.cloud.servicedirectory.v1.RegistrationServiceClient; +import com.google.protobuf.Empty; public class SyncDeleteNamespaceNamespacename { diff --git a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/deletenamespace/SyncDeleteNamespaceString.java b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/deletenamespace/SyncDeleteNamespaceString.java index 11552613174..c61c661b329 100644 --- a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/deletenamespace/SyncDeleteNamespaceString.java +++ b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/deletenamespace/SyncDeleteNamespaceString.java @@ -19,6 +19,7 @@ // [START servicedirectory_v1_generated_registrationserviceclient_deletenamespace_string_sync] import com.google.cloud.servicedirectory.v1.NamespaceName; import com.google.cloud.servicedirectory.v1.RegistrationServiceClient; +import com.google.protobuf.Empty; public class SyncDeleteNamespaceString { diff --git a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/deleteservice/SyncDeleteService.java b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/deleteservice/SyncDeleteService.java index 174d8fdd1b7..2510f6d312c 100644 --- a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/deleteservice/SyncDeleteService.java +++ b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/deleteservice/SyncDeleteService.java @@ -20,6 +20,7 @@ import com.google.cloud.servicedirectory.v1.DeleteServiceRequest; import com.google.cloud.servicedirectory.v1.RegistrationServiceClient; import com.google.cloud.servicedirectory.v1.ServiceName; +import com.google.protobuf.Empty; public class SyncDeleteService { diff --git a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/deleteservice/SyncDeleteServiceServicename.java b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/deleteservice/SyncDeleteServiceServicename.java index 38324981518..87e203907e9 100644 --- a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/deleteservice/SyncDeleteServiceServicename.java +++ b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/deleteservice/SyncDeleteServiceServicename.java @@ -19,6 +19,7 @@ // [START servicedirectory_v1_generated_registrationserviceclient_deleteservice_servicename_sync] import com.google.cloud.servicedirectory.v1.RegistrationServiceClient; import com.google.cloud.servicedirectory.v1.ServiceName; +import com.google.protobuf.Empty; public class SyncDeleteServiceServicename { diff --git a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/deleteservice/SyncDeleteServiceString.java b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/deleteservice/SyncDeleteServiceString.java index ea7801981b3..271b59f143a 100644 --- a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/deleteservice/SyncDeleteServiceString.java +++ b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/deleteservice/SyncDeleteServiceString.java @@ -19,6 +19,7 @@ // [START servicedirectory_v1_generated_registrationserviceclient_deleteservice_string_sync] import com.google.cloud.servicedirectory.v1.RegistrationServiceClient; import com.google.cloud.servicedirectory.v1.ServiceName; +import com.google.protobuf.Empty; public class SyncDeleteServiceString { diff --git a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/updateendpoint/SyncUpdateEndpointEndpointFieldmask.java b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/updateendpoint/SyncUpdateEndpointEndpointFieldmask.java index 0d51cbd9c53..bd35030d6d6 100644 --- a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/updateendpoint/SyncUpdateEndpointEndpointFieldmask.java +++ b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/updateendpoint/SyncUpdateEndpointEndpointFieldmask.java @@ -16,8 +16,7 @@ package com.google.cloud.servicedirectory.v1.samples; -// [START -// servicedirectory_v1_generated_registrationserviceclient_updateendpoint_endpointfieldmask_sync] +// [START servicedirectory_v1_generated_registrationserviceclient_updateendpoint_endpointfieldmask_sync] import com.google.cloud.servicedirectory.v1.Endpoint; import com.google.cloud.servicedirectory.v1.RegistrationServiceClient; import com.google.protobuf.FieldMask; @@ -38,5 +37,4 @@ public static void syncUpdateEndpointEndpointFieldmask() throws Exception { } } } -// [END -// servicedirectory_v1_generated_registrationserviceclient_updateendpoint_endpointfieldmask_sync] +// [END servicedirectory_v1_generated_registrationserviceclient_updateendpoint_endpointfieldmask_sync] diff --git a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/updatenamespace/SyncUpdateNamespaceNamespaceFieldmask.java b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/updatenamespace/SyncUpdateNamespaceNamespaceFieldmask.java index c770117b4de..45fc0b4e742 100644 --- a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/updatenamespace/SyncUpdateNamespaceNamespaceFieldmask.java +++ b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/updatenamespace/SyncUpdateNamespaceNamespaceFieldmask.java @@ -16,8 +16,7 @@ package com.google.cloud.servicedirectory.v1.samples; -// [START -// servicedirectory_v1_generated_registrationserviceclient_updatenamespace_namespacefieldmask_sync] +// [START servicedirectory_v1_generated_registrationserviceclient_updatenamespace_namespacefieldmask_sync] import com.google.cloud.servicedirectory.v1.Namespace; import com.google.cloud.servicedirectory.v1.RegistrationServiceClient; import com.google.protobuf.FieldMask; @@ -38,5 +37,4 @@ public static void syncUpdateNamespaceNamespaceFieldmask() throws Exception { } } } -// [END -// servicedirectory_v1_generated_registrationserviceclient_updatenamespace_namespacefieldmask_sync] +// [END servicedirectory_v1_generated_registrationserviceclient_updatenamespace_namespacefieldmask_sync] diff --git a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/updateservice/SyncUpdateServiceServiceFieldmask.java b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/updateservice/SyncUpdateServiceServiceFieldmask.java index 805cd78b8e2..a9c32027505 100644 --- a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/updateservice/SyncUpdateServiceServiceFieldmask.java +++ b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/updateservice/SyncUpdateServiceServiceFieldmask.java @@ -16,8 +16,7 @@ package com.google.cloud.servicedirectory.v1.samples; -// [START -// servicedirectory_v1_generated_registrationserviceclient_updateservice_servicefieldmask_sync] +// [START servicedirectory_v1_generated_registrationserviceclient_updateservice_servicefieldmask_sync] import com.google.cloud.servicedirectory.v1.RegistrationServiceClient; import com.google.cloud.servicedirectory.v1.Service; import com.google.protobuf.FieldMask; diff --git a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/lookupserviceclient/create/SyncCreateSetCredentialsProvider1.java b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/lookupserviceclient/create/SyncCreateSetCredentialsProvider1.java index 4456a2b4ac7..d54d841cca3 100644 --- a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/lookupserviceclient/create/SyncCreateSetCredentialsProvider1.java +++ b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/lookupserviceclient/create/SyncCreateSetCredentialsProvider1.java @@ -16,8 +16,7 @@ package com.google.cloud.servicedirectory.v1beta1.samples; -// [START -// servicedirectory_v1beta1_generated_lookupserviceclient_create_setcredentialsprovider1_sync] +// [START servicedirectory_v1beta1_generated_lookupserviceclient_create_setcredentialsprovider1_sync] import com.google.cloud.servicedirectory.v1beta1.LookupServiceClient; import com.google.cloud.servicedirectory.v1beta1.LookupServiceSettings; diff --git a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/create/SyncCreateSetCredentialsProvider.java b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/create/SyncCreateSetCredentialsProvider.java index 949fee4a9ec..dbd68985f8e 100644 --- a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/create/SyncCreateSetCredentialsProvider.java +++ b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/create/SyncCreateSetCredentialsProvider.java @@ -16,8 +16,7 @@ package com.google.cloud.servicedirectory.v1beta1.samples; -// [START -// servicedirectory_v1beta1_generated_registrationserviceclient_create_setcredentialsprovider_sync] +// [START servicedirectory_v1beta1_generated_registrationserviceclient_create_setcredentialsprovider_sync] import com.google.api.gax.core.FixedCredentialsProvider; import com.google.cloud.servicedirectory.v1beta1.RegistrationServiceClient; import com.google.cloud.servicedirectory.v1beta1.RegistrationServiceSettings; @@ -40,5 +39,4 @@ public static void syncCreateSetCredentialsProvider() throws Exception { RegistrationServiceClient.create(registrationServiceSettings); } } -// [END -// servicedirectory_v1beta1_generated_registrationserviceclient_create_setcredentialsprovider_sync] +// [END servicedirectory_v1beta1_generated_registrationserviceclient_create_setcredentialsprovider_sync] diff --git a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/create/SyncCreateSetCredentialsProvider1.java b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/create/SyncCreateSetCredentialsProvider1.java index 19ecfebc45e..77d45527fee 100644 --- a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/create/SyncCreateSetCredentialsProvider1.java +++ b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/create/SyncCreateSetCredentialsProvider1.java @@ -16,8 +16,7 @@ package com.google.cloud.servicedirectory.v1beta1.samples; -// [START -// servicedirectory_v1beta1_generated_registrationserviceclient_create_setcredentialsprovider1_sync] +// [START servicedirectory_v1beta1_generated_registrationserviceclient_create_setcredentialsprovider1_sync] import com.google.cloud.servicedirectory.v1beta1.RegistrationServiceClient; import com.google.cloud.servicedirectory.v1beta1.RegistrationServiceSettings; @@ -39,5 +38,4 @@ public static void syncCreateSetCredentialsProvider1() throws Exception { RegistrationServiceClient.create(registrationServiceSettings); } } -// [END -// servicedirectory_v1beta1_generated_registrationserviceclient_create_setcredentialsprovider1_sync] +// [END servicedirectory_v1beta1_generated_registrationserviceclient_create_setcredentialsprovider1_sync] diff --git a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/createendpoint/SyncCreateEndpointServicenameEndpointString.java b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/createendpoint/SyncCreateEndpointServicenameEndpointString.java index e7296674d9f..8cb08dfed9e 100644 --- a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/createendpoint/SyncCreateEndpointServicenameEndpointString.java +++ b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/createendpoint/SyncCreateEndpointServicenameEndpointString.java @@ -16,8 +16,7 @@ package com.google.cloud.servicedirectory.v1beta1.samples; -// [START -// servicedirectory_v1beta1_generated_registrationserviceclient_createendpoint_servicenameendpointstring_sync] +// [START servicedirectory_v1beta1_generated_registrationserviceclient_createendpoint_servicenameendpointstring_sync] import com.google.cloud.servicedirectory.v1beta1.Endpoint; import com.google.cloud.servicedirectory.v1beta1.RegistrationServiceClient; import com.google.cloud.servicedirectory.v1beta1.ServiceName; @@ -39,5 +38,4 @@ public static void syncCreateEndpointServicenameEndpointString() throws Exceptio } } } -// [END -// servicedirectory_v1beta1_generated_registrationserviceclient_createendpoint_servicenameendpointstring_sync] +// [END servicedirectory_v1beta1_generated_registrationserviceclient_createendpoint_servicenameendpointstring_sync] diff --git a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/createendpoint/SyncCreateEndpointStringEndpointString.java b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/createendpoint/SyncCreateEndpointStringEndpointString.java index 02b882f7294..b8b91c33a7c 100644 --- a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/createendpoint/SyncCreateEndpointStringEndpointString.java +++ b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/createendpoint/SyncCreateEndpointStringEndpointString.java @@ -16,8 +16,7 @@ package com.google.cloud.servicedirectory.v1beta1.samples; -// [START -// servicedirectory_v1beta1_generated_registrationserviceclient_createendpoint_stringendpointstring_sync] +// [START servicedirectory_v1beta1_generated_registrationserviceclient_createendpoint_stringendpointstring_sync] import com.google.cloud.servicedirectory.v1beta1.Endpoint; import com.google.cloud.servicedirectory.v1beta1.RegistrationServiceClient; import com.google.cloud.servicedirectory.v1beta1.ServiceName; @@ -40,5 +39,4 @@ public static void syncCreateEndpointStringEndpointString() throws Exception { } } } -// [END -// servicedirectory_v1beta1_generated_registrationserviceclient_createendpoint_stringendpointstring_sync] +// [END servicedirectory_v1beta1_generated_registrationserviceclient_createendpoint_stringendpointstring_sync] diff --git a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/createnamespace/SyncCreateNamespaceLocationnameNamespaceString.java b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/createnamespace/SyncCreateNamespaceLocationnameNamespaceString.java index a1a8a7a06ce..539e3e47630 100644 --- a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/createnamespace/SyncCreateNamespaceLocationnameNamespaceString.java +++ b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/createnamespace/SyncCreateNamespaceLocationnameNamespaceString.java @@ -16,8 +16,7 @@ package com.google.cloud.servicedirectory.v1beta1.samples; -// [START -// servicedirectory_v1beta1_generated_registrationserviceclient_createnamespace_locationnamenamespacestring_sync] +// [START servicedirectory_v1beta1_generated_registrationserviceclient_createnamespace_locationnamenamespacestring_sync] import com.google.cloud.servicedirectory.v1beta1.LocationName; import com.google.cloud.servicedirectory.v1beta1.Namespace; import com.google.cloud.servicedirectory.v1beta1.RegistrationServiceClient; @@ -40,5 +39,4 @@ public static void syncCreateNamespaceLocationnameNamespaceString() throws Excep } } } -// [END -// servicedirectory_v1beta1_generated_registrationserviceclient_createnamespace_locationnamenamespacestring_sync] +// [END servicedirectory_v1beta1_generated_registrationserviceclient_createnamespace_locationnamenamespacestring_sync] diff --git a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/createnamespace/SyncCreateNamespaceStringNamespaceString.java b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/createnamespace/SyncCreateNamespaceStringNamespaceString.java index d28e0883cb7..8ba9ff392ff 100644 --- a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/createnamespace/SyncCreateNamespaceStringNamespaceString.java +++ b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/createnamespace/SyncCreateNamespaceStringNamespaceString.java @@ -16,8 +16,7 @@ package com.google.cloud.servicedirectory.v1beta1.samples; -// [START -// servicedirectory_v1beta1_generated_registrationserviceclient_createnamespace_stringnamespacestring_sync] +// [START servicedirectory_v1beta1_generated_registrationserviceclient_createnamespace_stringnamespacestring_sync] import com.google.cloud.servicedirectory.v1beta1.LocationName; import com.google.cloud.servicedirectory.v1beta1.Namespace; import com.google.cloud.servicedirectory.v1beta1.RegistrationServiceClient; @@ -40,5 +39,4 @@ public static void syncCreateNamespaceStringNamespaceString() throws Exception { } } } -// [END -// servicedirectory_v1beta1_generated_registrationserviceclient_createnamespace_stringnamespacestring_sync] +// [END servicedirectory_v1beta1_generated_registrationserviceclient_createnamespace_stringnamespacestring_sync] diff --git a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/createservice/SyncCreateServiceNamespacenameServiceString.java b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/createservice/SyncCreateServiceNamespacenameServiceString.java index 88273a2363e..160299284b7 100644 --- a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/createservice/SyncCreateServiceNamespacenameServiceString.java +++ b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/createservice/SyncCreateServiceNamespacenameServiceString.java @@ -16,8 +16,7 @@ package com.google.cloud.servicedirectory.v1beta1.samples; -// [START -// servicedirectory_v1beta1_generated_registrationserviceclient_createservice_namespacenameservicestring_sync] +// [START servicedirectory_v1beta1_generated_registrationserviceclient_createservice_namespacenameservicestring_sync] import com.google.cloud.servicedirectory.v1beta1.NamespaceName; import com.google.cloud.servicedirectory.v1beta1.RegistrationServiceClient; import com.google.cloud.servicedirectory.v1beta1.Service; @@ -39,5 +38,4 @@ public static void syncCreateServiceNamespacenameServiceString() throws Exceptio } } } -// [END -// servicedirectory_v1beta1_generated_registrationserviceclient_createservice_namespacenameservicestring_sync] +// [END servicedirectory_v1beta1_generated_registrationserviceclient_createservice_namespacenameservicestring_sync] diff --git a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/createservice/SyncCreateServiceStringServiceString.java b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/createservice/SyncCreateServiceStringServiceString.java index 62a5939a338..0cac32b0df7 100644 --- a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/createservice/SyncCreateServiceStringServiceString.java +++ b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/createservice/SyncCreateServiceStringServiceString.java @@ -16,8 +16,7 @@ package com.google.cloud.servicedirectory.v1beta1.samples; -// [START -// servicedirectory_v1beta1_generated_registrationserviceclient_createservice_stringservicestring_sync] +// [START servicedirectory_v1beta1_generated_registrationserviceclient_createservice_stringservicestring_sync] import com.google.cloud.servicedirectory.v1beta1.NamespaceName; import com.google.cloud.servicedirectory.v1beta1.RegistrationServiceClient; import com.google.cloud.servicedirectory.v1beta1.Service; @@ -39,5 +38,4 @@ public static void syncCreateServiceStringServiceString() throws Exception { } } } -// [END -// servicedirectory_v1beta1_generated_registrationserviceclient_createservice_stringservicestring_sync] +// [END servicedirectory_v1beta1_generated_registrationserviceclient_createservice_stringservicestring_sync] diff --git a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/deleteendpoint/SyncDeleteEndpoint.java b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/deleteendpoint/SyncDeleteEndpoint.java index ac2aacedff9..5047d8f1ffb 100644 --- a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/deleteendpoint/SyncDeleteEndpoint.java +++ b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/deleteendpoint/SyncDeleteEndpoint.java @@ -20,6 +20,7 @@ import com.google.cloud.servicedirectory.v1beta1.DeleteEndpointRequest; import com.google.cloud.servicedirectory.v1beta1.EndpointName; import com.google.cloud.servicedirectory.v1beta1.RegistrationServiceClient; +import com.google.protobuf.Empty; public class SyncDeleteEndpoint { diff --git a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/deleteendpoint/SyncDeleteEndpointEndpointname.java b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/deleteendpoint/SyncDeleteEndpointEndpointname.java index eadd1301a10..aa1157cc011 100644 --- a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/deleteendpoint/SyncDeleteEndpointEndpointname.java +++ b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/deleteendpoint/SyncDeleteEndpointEndpointname.java @@ -16,10 +16,10 @@ package com.google.cloud.servicedirectory.v1beta1.samples; -// [START -// servicedirectory_v1beta1_generated_registrationserviceclient_deleteendpoint_endpointname_sync] +// [START servicedirectory_v1beta1_generated_registrationserviceclient_deleteendpoint_endpointname_sync] import com.google.cloud.servicedirectory.v1beta1.EndpointName; import com.google.cloud.servicedirectory.v1beta1.RegistrationServiceClient; +import com.google.protobuf.Empty; public class SyncDeleteEndpointEndpointname { @@ -37,5 +37,4 @@ public static void syncDeleteEndpointEndpointname() throws Exception { } } } -// [END -// servicedirectory_v1beta1_generated_registrationserviceclient_deleteendpoint_endpointname_sync] +// [END servicedirectory_v1beta1_generated_registrationserviceclient_deleteendpoint_endpointname_sync] diff --git a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/deleteendpoint/SyncDeleteEndpointString.java b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/deleteendpoint/SyncDeleteEndpointString.java index 489998593c8..57e69672913 100644 --- a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/deleteendpoint/SyncDeleteEndpointString.java +++ b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/deleteendpoint/SyncDeleteEndpointString.java @@ -19,6 +19,7 @@ // [START servicedirectory_v1beta1_generated_registrationserviceclient_deleteendpoint_string_sync] import com.google.cloud.servicedirectory.v1beta1.EndpointName; import com.google.cloud.servicedirectory.v1beta1.RegistrationServiceClient; +import com.google.protobuf.Empty; public class SyncDeleteEndpointString { diff --git a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/deletenamespace/SyncDeleteNamespace.java b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/deletenamespace/SyncDeleteNamespace.java index a19880b2c53..2ede48e335f 100644 --- a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/deletenamespace/SyncDeleteNamespace.java +++ b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/deletenamespace/SyncDeleteNamespace.java @@ -20,6 +20,7 @@ import com.google.cloud.servicedirectory.v1beta1.DeleteNamespaceRequest; import com.google.cloud.servicedirectory.v1beta1.NamespaceName; import com.google.cloud.servicedirectory.v1beta1.RegistrationServiceClient; +import com.google.protobuf.Empty; public class SyncDeleteNamespace { diff --git a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/deletenamespace/SyncDeleteNamespaceNamespacename.java b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/deletenamespace/SyncDeleteNamespaceNamespacename.java index e461b25334e..3ffd512e3c7 100644 --- a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/deletenamespace/SyncDeleteNamespaceNamespacename.java +++ b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/deletenamespace/SyncDeleteNamespaceNamespacename.java @@ -16,10 +16,10 @@ package com.google.cloud.servicedirectory.v1beta1.samples; -// [START -// servicedirectory_v1beta1_generated_registrationserviceclient_deletenamespace_namespacename_sync] +// [START servicedirectory_v1beta1_generated_registrationserviceclient_deletenamespace_namespacename_sync] import com.google.cloud.servicedirectory.v1beta1.NamespaceName; import com.google.cloud.servicedirectory.v1beta1.RegistrationServiceClient; +import com.google.protobuf.Empty; public class SyncDeleteNamespaceNamespacename { @@ -36,5 +36,4 @@ public static void syncDeleteNamespaceNamespacename() throws Exception { } } } -// [END -// servicedirectory_v1beta1_generated_registrationserviceclient_deletenamespace_namespacename_sync] +// [END servicedirectory_v1beta1_generated_registrationserviceclient_deletenamespace_namespacename_sync] diff --git a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/deletenamespace/SyncDeleteNamespaceString.java b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/deletenamespace/SyncDeleteNamespaceString.java index 20d53569c3f..48769cdbd7c 100644 --- a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/deletenamespace/SyncDeleteNamespaceString.java +++ b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/deletenamespace/SyncDeleteNamespaceString.java @@ -19,6 +19,7 @@ // [START servicedirectory_v1beta1_generated_registrationserviceclient_deletenamespace_string_sync] import com.google.cloud.servicedirectory.v1beta1.NamespaceName; import com.google.cloud.servicedirectory.v1beta1.RegistrationServiceClient; +import com.google.protobuf.Empty; public class SyncDeleteNamespaceString { diff --git a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/deleteservice/SyncDeleteService.java b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/deleteservice/SyncDeleteService.java index 55e506c8188..4fdc8b66384 100644 --- a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/deleteservice/SyncDeleteService.java +++ b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/deleteservice/SyncDeleteService.java @@ -20,6 +20,7 @@ import com.google.cloud.servicedirectory.v1beta1.DeleteServiceRequest; import com.google.cloud.servicedirectory.v1beta1.RegistrationServiceClient; import com.google.cloud.servicedirectory.v1beta1.ServiceName; +import com.google.protobuf.Empty; public class SyncDeleteService { diff --git a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/deleteservice/SyncDeleteServiceServicename.java b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/deleteservice/SyncDeleteServiceServicename.java index a00250633db..f5b2093cfb3 100644 --- a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/deleteservice/SyncDeleteServiceServicename.java +++ b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/deleteservice/SyncDeleteServiceServicename.java @@ -16,10 +16,10 @@ package com.google.cloud.servicedirectory.v1beta1.samples; -// [START -// servicedirectory_v1beta1_generated_registrationserviceclient_deleteservice_servicename_sync] +// [START servicedirectory_v1beta1_generated_registrationserviceclient_deleteservice_servicename_sync] import com.google.cloud.servicedirectory.v1beta1.RegistrationServiceClient; import com.google.cloud.servicedirectory.v1beta1.ServiceName; +import com.google.protobuf.Empty; public class SyncDeleteServiceServicename { diff --git a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/deleteservice/SyncDeleteServiceString.java b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/deleteservice/SyncDeleteServiceString.java index fc4377f3d63..d218e221efd 100644 --- a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/deleteservice/SyncDeleteServiceString.java +++ b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/deleteservice/SyncDeleteServiceString.java @@ -19,6 +19,7 @@ // [START servicedirectory_v1beta1_generated_registrationserviceclient_deleteservice_string_sync] import com.google.cloud.servicedirectory.v1beta1.RegistrationServiceClient; import com.google.cloud.servicedirectory.v1beta1.ServiceName; +import com.google.protobuf.Empty; public class SyncDeleteServiceString { diff --git a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/getendpoint/SyncGetEndpointEndpointname.java b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/getendpoint/SyncGetEndpointEndpointname.java index ea7e6ec47a5..8731306206d 100644 --- a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/getendpoint/SyncGetEndpointEndpointname.java +++ b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/getendpoint/SyncGetEndpointEndpointname.java @@ -16,8 +16,7 @@ package com.google.cloud.servicedirectory.v1beta1.samples; -// [START -// servicedirectory_v1beta1_generated_registrationserviceclient_getendpoint_endpointname_sync] +// [START servicedirectory_v1beta1_generated_registrationserviceclient_getendpoint_endpointname_sync] import com.google.cloud.servicedirectory.v1beta1.Endpoint; import com.google.cloud.servicedirectory.v1beta1.EndpointName; import com.google.cloud.servicedirectory.v1beta1.RegistrationServiceClient; diff --git a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/getnamespace/SyncGetNamespaceNamespacename.java b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/getnamespace/SyncGetNamespaceNamespacename.java index c2438676382..d62a10faebf 100644 --- a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/getnamespace/SyncGetNamespaceNamespacename.java +++ b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/getnamespace/SyncGetNamespaceNamespacename.java @@ -16,8 +16,7 @@ package com.google.cloud.servicedirectory.v1beta1.samples; -// [START -// servicedirectory_v1beta1_generated_registrationserviceclient_getnamespace_namespacename_sync] +// [START servicedirectory_v1beta1_generated_registrationserviceclient_getnamespace_namespacename_sync] import com.google.cloud.servicedirectory.v1beta1.Namespace; import com.google.cloud.servicedirectory.v1beta1.NamespaceName; import com.google.cloud.servicedirectory.v1beta1.RegistrationServiceClient; @@ -37,5 +36,4 @@ public static void syncGetNamespaceNamespacename() throws Exception { } } } -// [END -// servicedirectory_v1beta1_generated_registrationserviceclient_getnamespace_namespacename_sync] +// [END servicedirectory_v1beta1_generated_registrationserviceclient_getnamespace_namespacename_sync] diff --git a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/listendpoints/SyncListEndpointsServicename.java b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/listendpoints/SyncListEndpointsServicename.java index 4760f2b9342..8007111c501 100644 --- a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/listendpoints/SyncListEndpointsServicename.java +++ b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/listendpoints/SyncListEndpointsServicename.java @@ -16,8 +16,7 @@ package com.google.cloud.servicedirectory.v1beta1.samples; -// [START -// servicedirectory_v1beta1_generated_registrationserviceclient_listendpoints_servicename_sync] +// [START servicedirectory_v1beta1_generated_registrationserviceclient_listendpoints_servicename_sync] import com.google.cloud.servicedirectory.v1beta1.Endpoint; import com.google.cloud.servicedirectory.v1beta1.RegistrationServiceClient; import com.google.cloud.servicedirectory.v1beta1.ServiceName; diff --git a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/listnamespaces/SyncListNamespacesLocationname.java b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/listnamespaces/SyncListNamespacesLocationname.java index 40fe86e2b5b..1cedeb21b23 100644 --- a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/listnamespaces/SyncListNamespacesLocationname.java +++ b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/listnamespaces/SyncListNamespacesLocationname.java @@ -16,8 +16,7 @@ package com.google.cloud.servicedirectory.v1beta1.samples; -// [START -// servicedirectory_v1beta1_generated_registrationserviceclient_listnamespaces_locationname_sync] +// [START servicedirectory_v1beta1_generated_registrationserviceclient_listnamespaces_locationname_sync] import com.google.cloud.servicedirectory.v1beta1.LocationName; import com.google.cloud.servicedirectory.v1beta1.Namespace; import com.google.cloud.servicedirectory.v1beta1.RegistrationServiceClient; @@ -39,5 +38,4 @@ public static void syncListNamespacesLocationname() throws Exception { } } } -// [END -// servicedirectory_v1beta1_generated_registrationserviceclient_listnamespaces_locationname_sync] +// [END servicedirectory_v1beta1_generated_registrationserviceclient_listnamespaces_locationname_sync] diff --git a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/listservices/SyncListServicesNamespacename.java b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/listservices/SyncListServicesNamespacename.java index d197f353c8a..e38a4b3c3a4 100644 --- a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/listservices/SyncListServicesNamespacename.java +++ b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/listservices/SyncListServicesNamespacename.java @@ -16,8 +16,7 @@ package com.google.cloud.servicedirectory.v1beta1.samples; -// [START -// servicedirectory_v1beta1_generated_registrationserviceclient_listservices_namespacename_sync] +// [START servicedirectory_v1beta1_generated_registrationserviceclient_listservices_namespacename_sync] import com.google.cloud.servicedirectory.v1beta1.NamespaceName; import com.google.cloud.servicedirectory.v1beta1.RegistrationServiceClient; import com.google.cloud.servicedirectory.v1beta1.Service; @@ -39,5 +38,4 @@ public static void syncListServicesNamespacename() throws Exception { } } } -// [END -// servicedirectory_v1beta1_generated_registrationserviceclient_listservices_namespacename_sync] +// [END servicedirectory_v1beta1_generated_registrationserviceclient_listservices_namespacename_sync] diff --git a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/updateendpoint/SyncUpdateEndpointEndpointFieldmask.java b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/updateendpoint/SyncUpdateEndpointEndpointFieldmask.java index a4993b62177..77b1d32cb81 100644 --- a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/updateendpoint/SyncUpdateEndpointEndpointFieldmask.java +++ b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/updateendpoint/SyncUpdateEndpointEndpointFieldmask.java @@ -16,8 +16,7 @@ package com.google.cloud.servicedirectory.v1beta1.samples; -// [START -// servicedirectory_v1beta1_generated_registrationserviceclient_updateendpoint_endpointfieldmask_sync] +// [START servicedirectory_v1beta1_generated_registrationserviceclient_updateendpoint_endpointfieldmask_sync] import com.google.cloud.servicedirectory.v1beta1.Endpoint; import com.google.cloud.servicedirectory.v1beta1.RegistrationServiceClient; import com.google.protobuf.FieldMask; @@ -38,5 +37,4 @@ public static void syncUpdateEndpointEndpointFieldmask() throws Exception { } } } -// [END -// servicedirectory_v1beta1_generated_registrationserviceclient_updateendpoint_endpointfieldmask_sync] +// [END servicedirectory_v1beta1_generated_registrationserviceclient_updateendpoint_endpointfieldmask_sync] diff --git a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/updatenamespace/SyncUpdateNamespaceNamespaceFieldmask.java b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/updatenamespace/SyncUpdateNamespaceNamespaceFieldmask.java index a08ad78fc38..5339c130d6d 100644 --- a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/updatenamespace/SyncUpdateNamespaceNamespaceFieldmask.java +++ b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/updatenamespace/SyncUpdateNamespaceNamespaceFieldmask.java @@ -16,8 +16,7 @@ package com.google.cloud.servicedirectory.v1beta1.samples; -// [START -// servicedirectory_v1beta1_generated_registrationserviceclient_updatenamespace_namespacefieldmask_sync] +// [START servicedirectory_v1beta1_generated_registrationserviceclient_updatenamespace_namespacefieldmask_sync] import com.google.cloud.servicedirectory.v1beta1.Namespace; import com.google.cloud.servicedirectory.v1beta1.RegistrationServiceClient; import com.google.protobuf.FieldMask; @@ -38,5 +37,4 @@ public static void syncUpdateNamespaceNamespaceFieldmask() throws Exception { } } } -// [END -// servicedirectory_v1beta1_generated_registrationserviceclient_updatenamespace_namespacefieldmask_sync] +// [END servicedirectory_v1beta1_generated_registrationserviceclient_updatenamespace_namespacefieldmask_sync] diff --git a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/updateservice/SyncUpdateServiceServiceFieldmask.java b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/updateservice/SyncUpdateServiceServiceFieldmask.java index 6151931441f..0cef2c0012a 100644 --- a/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/updateservice/SyncUpdateServiceServiceFieldmask.java +++ b/servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1beta1/registrationserviceclient/updateservice/SyncUpdateServiceServiceFieldmask.java @@ -16,8 +16,7 @@ package com.google.cloud.servicedirectory.v1beta1.samples; -// [START -// servicedirectory_v1beta1_generated_registrationserviceclient_updateservice_servicefieldmask_sync] +// [START servicedirectory_v1beta1_generated_registrationserviceclient_updateservice_servicefieldmask_sync] import com.google.cloud.servicedirectory.v1beta1.RegistrationServiceClient; import com.google.cloud.servicedirectory.v1beta1.Service; import com.google.protobuf.FieldMask; @@ -38,5 +37,4 @@ public static void syncUpdateServiceServiceFieldmask() throws Exception { } } } -// [END -// servicedirectory_v1beta1_generated_registrationserviceclient_updateservice_servicefieldmask_sync] +// [END servicedirectory_v1beta1_generated_registrationserviceclient_updateservice_servicefieldmask_sync]