Skip to content

Commit

Permalink
chore: remove unused proto imports (#703)
Browse files Browse the repository at this point in the history
- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 468735472

Source-Link: googleapis/googleapis@cfa1b37

Source-Link: https://github.com/googleapis/googleapis-gen/commit/09b7666656510f5b00b893f003a0ba5766f9e250
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMDliNzY2NjY1NjUxMGY1YjAwYjg5M2YwMDNhMGJhNTc2NmY5ZTI1MCJ9
  • Loading branch information
gcf-owl-bot[bot] authored Aug 22, 2022
1 parent 139161a commit dd0c31e
Show file tree
Hide file tree
Showing 46 changed files with 74 additions and 112 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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]
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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]
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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]
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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]
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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]
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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]
Original file line number Diff line number Diff line change
Expand Up @@ -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 {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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]
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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]
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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]
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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]
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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]
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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]
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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]
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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]
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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]
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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]
Original file line number Diff line number Diff line change
Expand Up @@ -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 {

Expand Down
Loading

0 comments on commit dd0c31e

Please sign in to comment.