/aosp_15_r20/external/google-cloud-java/java-analytics-admin/google-analytics-admin/src/test/java/com/google/analytics/admin/v1alpha/ |
H A D | MockAnalyticsAdminServiceImpl.java | 45 public void addResponse(AbstractMessage response) { in addResponse() argument 46 responses.add(response); in addResponse() 64 Object response = responses.poll(); in getAccount() local 65 if (response instanceof Account) { in getAccount() 67 responseObserver.onNext(((Account) response)); in getAccount() 69 } else if (response instanceof Exception) { in getAccount() 70 responseObserver.onError(((Exception) response)); in getAccount() 75 "Unrecognized response type %s for method GetAccount, expected %s or %s", in getAccount() 76 response == null ? "null" : response.getClass().getName(), in getAccount() 85 Object response = responses.poll(); in listAccounts() local [all …]
|
/aosp_15_r20/external/google-cloud-java/java-channel/google-cloud-channel/src/test/java/com/google/cloud/channel/v1/ |
H A D | MockCloudChannelServiceImpl.java | 46 public void addResponse(AbstractMessage response) { in addResponse() argument 47 responses.add(response); in addResponse() 66 Object response = responses.poll(); in listCustomers() local 67 if (response instanceof ListCustomersResponse) { in listCustomers() 69 responseObserver.onNext(((ListCustomersResponse) response)); in listCustomers() 71 } else if (response instanceof Exception) { in listCustomers() 72 responseObserver.onError(((Exception) response)); in listCustomers() 77 "Unrecognized response type %s for method ListCustomers, expected %s or %s", in listCustomers() 78 response == null ? "null" : response.getClass().getName(), in listCustomers() 86 Object response = responses.poll(); in getCustomer() local [all …]
|
/aosp_15_r20/external/google-cloud-java/java-vmmigration/google-cloud-vmmigration/src/test/java/com/google/cloud/vmmigration/v1/ |
H A D | MockVmMigrationImpl.java | 45 public void addResponse(AbstractMessage response) { in addResponse() argument 46 responses.add(response); in addResponse() 65 Object response = responses.poll(); in listSources() local 66 if (response instanceof ListSourcesResponse) { in listSources() 68 responseObserver.onNext(((ListSourcesResponse) response)); in listSources() 70 } else if (response instanceof Exception) { in listSources() 71 responseObserver.onError(((Exception) response)); in listSources() 76 "Unrecognized response type %s for method ListSources, expected %s or %s", in listSources() 77 response == null ? "null" : response.getClass().getName(), in listSources() 85 Object response = responses.poll(); in getSource() local [all …]
|
/aosp_15_r20/external/google-cloud-java/java-analytics-admin/google-analytics-admin/src/test/java/com/google/analytics/admin/v1beta/ |
H A D | MockAnalyticsAdminServiceImpl.java | 45 public void addResponse(AbstractMessage response) { in addResponse() argument 46 responses.add(response); in addResponse() 64 Object response = responses.poll(); in getAccount() local 65 if (response instanceof Account) { in getAccount() 67 responseObserver.onNext(((Account) response)); in getAccount() 69 } else if (response instanceof Exception) { in getAccount() 70 responseObserver.onError(((Exception) response)); in getAccount() 75 "Unrecognized response type %s for method GetAccount, expected %s or %s", in getAccount() 76 response == null ? "null" : response.getClass().getName(), in getAccount() 85 Object response = responses.poll(); in listAccounts() local [all …]
|
/aosp_15_r20/external/google-cloud-java/java-securitycenter/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1/ |
H A D | MockSecurityCenterImpl.java | 51 public void addResponse(AbstractMessage response) { in addResponse() argument 52 responses.add(response); in addResponse() 71 Object response = responses.poll(); in bulkMuteFindings() local 72 if (response instanceof Operation) { in bulkMuteFindings() 74 responseObserver.onNext(((Operation) response)); in bulkMuteFindings() 76 } else if (response instanceof Exception) { in bulkMuteFindings() 77 responseObserver.onError(((Exception) response)); in bulkMuteFindings() 82 "Unrecognized response type %s for method BulkMuteFindings, expected %s or %s", in bulkMuteFindings() 83 response == null ? "null" : response.getClass().getName(), in bulkMuteFindings() 93 Object response = responses.poll(); in createSecurityHealthAnalyticsCustomModule() local [all …]
|
/aosp_15_r20/external/google-cloud-java/java-contact-center-insights/google-cloud-contact-center-insights/src/test/java/com/google/cloud/contactcenterinsights/v1/ |
H A D | MockContactCenterInsightsImpl.java | 46 public void addResponse(AbstractMessage response) { in addResponse() argument 47 responses.add(response); in addResponse() 66 Object response = responses.poll(); in createConversation() local 67 if (response instanceof Conversation) { in createConversation() 69 responseObserver.onNext(((Conversation) response)); in createConversation() 71 } else if (response instanceof Exception) { in createConversation() 72 responseObserver.onError(((Exception) response)); in createConversation() 77 "Unrecognized response type %s for method CreateConversation, expected %s or %s", in createConversation() 78 response == null ? "null" : response.getClass().getName(), in createConversation() 87 Object response = responses.poll(); in uploadConversation() local [all …]
|
/aosp_15_r20/external/google-cloud-java/java-dataform/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1beta1/ |
H A D | MockDataformImpl.java | 45 public void addResponse(AbstractMessage response) { in addResponse() argument 46 responses.add(response); in addResponse() 65 Object response = responses.poll(); in listRepositories() local 66 if (response instanceof ListRepositoriesResponse) { in listRepositories() 68 responseObserver.onNext(((ListRepositoriesResponse) response)); in listRepositories() 70 } else if (response instanceof Exception) { in listRepositories() 71 responseObserver.onError(((Exception) response)); in listRepositories() 76 "Unrecognized response type %s for method ListRepositories, expected %s or %s", in listRepositories() 77 response == null ? "null" : response.getClass().getName(), in listRepositories() 86 Object response = responses.poll(); in getRepository() local [all …]
|
/aosp_15_r20/external/google-cloud-java/java-dataform/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1alpha2/ |
H A D | MockDataformImpl.java | 45 public void addResponse(AbstractMessage response) { in addResponse() argument 46 responses.add(response); in addResponse() 65 Object response = responses.poll(); in listRepositories() local 66 if (response instanceof ListRepositoriesResponse) { in listRepositories() 68 responseObserver.onNext(((ListRepositoriesResponse) response)); in listRepositories() 70 } else if (response instanceof Exception) { in listRepositories() 71 responseObserver.onError(((Exception) response)); in listRepositories() 76 "Unrecognized response type %s for method ListRepositories, expected %s or %s", in listRepositories() 77 response == null ? "null" : response.getClass().getName(), in listRepositories() 86 Object response = responses.poll(); in getRepository() local [all …]
|
/aosp_15_r20/external/google-cloud-java/java-artifact-registry/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/ |
H A D | MockArtifactRegistryImpl.java | 51 public void addResponse(AbstractMessage response) { in addResponse() argument 52 responses.add(response); in addResponse() 71 Object response = responses.poll(); in listDockerImages() local 72 if (response instanceof ListDockerImagesResponse) { in listDockerImages() 74 responseObserver.onNext(((ListDockerImagesResponse) response)); in listDockerImages() 76 } else if (response instanceof Exception) { in listDockerImages() 77 responseObserver.onError(((Exception) response)); in listDockerImages() 82 "Unrecognized response type %s for method ListDockerImages, expected %s or %s", in listDockerImages() 83 response == null ? "null" : response.getClass().getName(), in listDockerImages() 92 Object response = responses.poll(); in getDockerImage() local [all …]
|
/aosp_15_r20/external/google-cloud-java/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/ |
H A D | MockJobServiceImpl.java | 46 public void addResponse(AbstractMessage response) { in addResponse() argument 47 responses.add(response); in addResponse() 66 Object response = responses.poll(); in createCustomJob() local 67 if (response instanceof CustomJob) { in createCustomJob() 69 responseObserver.onNext(((CustomJob) response)); in createCustomJob() 71 } else if (response instanceof Exception) { in createCustomJob() 72 responseObserver.onError(((Exception) response)); in createCustomJob() 77 "Unrecognized response type %s for method CreateCustomJob, expected %s or %s", in createCustomJob() 78 response == null ? "null" : response.getClass().getName(), in createCustomJob() 87 Object response = responses.poll(); in getCustomJob() local [all …]
|
H A D | MockMetadataServiceImpl.java | 45 public void addResponse(AbstractMessage response) { in addResponse() argument 46 responses.add(response); in addResponse() 65 Object response = responses.poll(); in createMetadataStore() local 66 if (response instanceof Operation) { in createMetadataStore() 68 responseObserver.onNext(((Operation) response)); in createMetadataStore() 70 } else if (response instanceof Exception) { in createMetadataStore() 71 responseObserver.onError(((Exception) response)); in createMetadataStore() 76 "Unrecognized response type %s for method CreateMetadataStore, expected %s or %s", in createMetadataStore() 77 response == null ? "null" : response.getClass().getName(), in createMetadataStore() 86 Object response = responses.poll(); in getMetadataStore() local [all …]
|
H A D | MockTensorboardServiceImpl.java | 45 public void addResponse(AbstractMessage response) { in addResponse() argument 46 responses.add(response); in addResponse() 65 Object response = responses.poll(); in createTensorboard() local 66 if (response instanceof Operation) { in createTensorboard() 68 responseObserver.onNext(((Operation) response)); in createTensorboard() 70 } else if (response instanceof Exception) { in createTensorboard() 71 responseObserver.onError(((Exception) response)); in createTensorboard() 76 "Unrecognized response type %s for method CreateTensorboard, expected %s or %s", in createTensorboard() 77 response == null ? "null" : response.getClass().getName(), in createTensorboard() 86 Object response = responses.poll(); in getTensorboard() local [all …]
|
/aosp_15_r20/external/google-cloud-java/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1/ |
H A D | MockJobServiceImpl.java | 46 public void addResponse(AbstractMessage response) { in addResponse() argument 47 responses.add(response); in addResponse() 66 Object response = responses.poll(); in createCustomJob() local 67 if (response instanceof CustomJob) { in createCustomJob() 69 responseObserver.onNext(((CustomJob) response)); in createCustomJob() 71 } else if (response instanceof Exception) { in createCustomJob() 72 responseObserver.onError(((Exception) response)); in createCustomJob() 77 "Unrecognized response type %s for method CreateCustomJob, expected %s or %s", in createCustomJob() 78 response == null ? "null" : response.getClass().getName(), in createCustomJob() 87 Object response = responses.poll(); in getCustomJob() local [all …]
|
H A D | MockMetadataServiceImpl.java | 45 public void addResponse(AbstractMessage response) { in addResponse() argument 46 responses.add(response); in addResponse() 65 Object response = responses.poll(); in createMetadataStore() local 66 if (response instanceof Operation) { in createMetadataStore() 68 responseObserver.onNext(((Operation) response)); in createMetadataStore() 70 } else if (response instanceof Exception) { in createMetadataStore() 71 responseObserver.onError(((Exception) response)); in createMetadataStore() 76 "Unrecognized response type %s for method CreateMetadataStore, expected %s or %s", in createMetadataStore() 77 response == null ? "null" : response.getClass().getName(), in createMetadataStore() 86 Object response = responses.poll(); in getMetadataStore() local [all …]
|
H A D | MockTensorboardServiceImpl.java | 45 public void addResponse(AbstractMessage response) { in addResponse() argument 46 responses.add(response); in addResponse() 65 Object response = responses.poll(); in createTensorboard() local 66 if (response instanceof Operation) { in createTensorboard() 68 responseObserver.onNext(((Operation) response)); in createTensorboard() 70 } else if (response instanceof Exception) { in createTensorboard() 71 responseObserver.onError(((Exception) response)); in createTensorboard() 76 "Unrecognized response type %s for method CreateTensorboard, expected %s or %s", in createTensorboard() 77 response == null ? "null" : response.getClass().getName(), in createTensorboard() 86 Object response = responses.poll(); in getTensorboard() local [all …]
|
/aosp_15_r20/external/google-cloud-java/java-apigee-registry/google-cloud-apigee-registry/src/test/java/com/google/cloud/apigeeregistry/v1/ |
H A D | MockRegistryImpl.java | 46 public void addResponse(AbstractMessage response) { in addResponse() argument 47 responses.add(response); in addResponse() 65 Object response = responses.poll(); in listApis() local 66 if (response instanceof ListApisResponse) { in listApis() 68 responseObserver.onNext(((ListApisResponse) response)); in listApis() 70 } else if (response instanceof Exception) { in listApis() 71 responseObserver.onError(((Exception) response)); in listApis() 76 "Unrecognized response type %s for method ListApis, expected %s or %s", in listApis() 77 response == null ? "null" : response.getClass().getName(), in listApis() 85 Object response = responses.poll(); in getApi() local [all …]
|
/aosp_15_r20/external/google-cloud-java/java-datalabeling/google-cloud-datalabeling/src/test/java/com/google/cloud/datalabeling/v1beta1/ |
H A D | MockDataLabelingServiceImpl.java | 46 public void addResponse(AbstractMessage response) { in addResponse() argument 47 responses.add(response); in addResponse() 66 Object response = responses.poll(); in createDataset() local 67 if (response instanceof Dataset) { in createDataset() 69 responseObserver.onNext(((Dataset) response)); in createDataset() 71 } else if (response instanceof Exception) { in createDataset() 72 responseObserver.onError(((Exception) response)); in createDataset() 77 "Unrecognized response type %s for method CreateDataset, expected %s or %s", in createDataset() 78 response == null ? "null" : response.getClass().getName(), in createDataset() 86 Object response = responses.poll(); in getDataset() local [all …]
|
/aosp_15_r20/external/google-cloud-java/java-notebooks/google-cloud-notebooks/src/test/java/com/google/cloud/notebooks/v1/ |
H A D | MockNotebookServiceImpl.java | 45 public void addResponse(AbstractMessage response) { in addResponse() argument 46 responses.add(response); in addResponse() 65 Object response = responses.poll(); in listInstances() local 66 if (response instanceof ListInstancesResponse) { in listInstances() 68 responseObserver.onNext(((ListInstancesResponse) response)); in listInstances() 70 } else if (response instanceof Exception) { in listInstances() 71 responseObserver.onError(((Exception) response)); in listInstances() 76 "Unrecognized response type %s for method ListInstances, expected %s or %s", in listInstances() 77 response == null ? "null" : response.getClass().getName(), in listInstances() 85 Object response = responses.poll(); in getInstance() local [all …]
|
/aosp_15_r20/external/google-cloud-java/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1/ |
H A D | MockDataCatalogImpl.java | 51 public void addResponse(AbstractMessage response) { in addResponse() argument 52 responses.add(response); in addResponse() 71 Object response = responses.poll(); in searchCatalog() local 72 if (response instanceof SearchCatalogResponse) { in searchCatalog() 74 responseObserver.onNext(((SearchCatalogResponse) response)); in searchCatalog() 76 } else if (response instanceof Exception) { in searchCatalog() 77 responseObserver.onError(((Exception) response)); in searchCatalog() 82 "Unrecognized response type %s for method SearchCatalog, expected %s or %s", in searchCatalog() 83 response == null ? "null" : response.getClass().getName(), in searchCatalog() 92 Object response = responses.poll(); in createEntryGroup() local [all …]
|
/aosp_15_r20/external/google-cloud-java/java-dataplex/google-cloud-dataplex/src/test/java/com/google/cloud/dataplex/v1/ |
H A D | MockDataplexServiceImpl.java | 46 public void addResponse(AbstractMessage response) { in addResponse() argument 47 responses.add(response); in addResponse() 65 Object response = responses.poll(); in createLake() local 66 if (response instanceof Operation) { in createLake() 68 responseObserver.onNext(((Operation) response)); in createLake() 70 } else if (response instanceof Exception) { in createLake() 71 responseObserver.onError(((Exception) response)); in createLake() 76 "Unrecognized response type %s for method CreateLake, expected %s or %s", in createLake() 77 response == null ? "null" : response.getClass().getName(), in createLake() 85 Object response = responses.poll(); in updateLake() local [all …]
|
/aosp_15_r20/external/google-cloud-java/java-container/google-cloud-container/src/test/java/com/google/cloud/container/v1/ |
H A D | MockClusterManagerImpl.java | 87 public void addResponse(AbstractMessage response) { in addResponse() argument 88 responses.add(response); in addResponse() 107 Object response = responses.poll(); in listClusters() local 108 if (response instanceof ListClustersResponse) { in listClusters() 110 responseObserver.onNext(((ListClustersResponse) response)); in listClusters() 112 } else if (response instanceof Exception) { in listClusters() 113 responseObserver.onError(((Exception) response)); in listClusters() 118 "Unrecognized response type %s for method ListClusters, expected %s or %s", in listClusters() 119 response == null ? "null" : response.getClass().getName(), in listClusters() 127 Object response = responses.poll(); in getCluster() local [all …]
|
/aosp_15_r20/external/google-cloud-java/java-vmwareengine/google-cloud-vmwareengine/src/test/java/com/google/cloud/vmwareengine/v1/ |
H A D | MockVmwareEngineImpl.java | 45 public void addResponse(AbstractMessage response) { in addResponse() argument 46 responses.add(response); in addResponse() 66 Object response = responses.poll(); in listPrivateClouds() local 67 if (response instanceof ListPrivateCloudsResponse) { in listPrivateClouds() 69 responseObserver.onNext(((ListPrivateCloudsResponse) response)); in listPrivateClouds() 71 } else if (response instanceof Exception) { in listPrivateClouds() 72 responseObserver.onError(((Exception) response)); in listPrivateClouds() 77 "Unrecognized response type %s for method ListPrivateClouds, expected %s or %s", in listPrivateClouds() 78 response == null ? "null" : response.getClass().getName(), in listPrivateClouds() 87 Object response = responses.poll(); in getPrivateCloud() local [all …]
|
/aosp_15_r20/external/google-cloud-java/java-security-private-ca/google-cloud-security-private-ca/src/test/java/com/google/cloud/security/privateca/v1/ |
H A D | MockCertificateAuthorityServiceImpl.java | 45 public void addResponse(AbstractMessage response) { in addResponse() argument 46 responses.add(response); in addResponse() 65 Object response = responses.poll(); in createCertificate() local 66 if (response instanceof Certificate) { in createCertificate() 68 responseObserver.onNext(((Certificate) response)); in createCertificate() 70 } else if (response instanceof Exception) { in createCertificate() 71 responseObserver.onError(((Exception) response)); in createCertificate() 76 "Unrecognized response type %s for method CreateCertificate, expected %s or %s", in createCertificate() 77 response == null ? "null" : response.getClass().getName(), in createCertificate() 86 Object response = responses.poll(); in getCertificate() local [all …]
|
/aosp_15_r20/external/google-cloud-java/java-dlp/google-cloud-dlp/src/test/java/com/google/cloud/dlp/v2/ |
H A D | MockDlpServiceImpl.java | 95 public void addResponse(AbstractMessage response) { in addResponse() argument 96 responses.add(response); in addResponse() 115 Object response = responses.poll(); in inspectContent() local 116 if (response instanceof InspectContentResponse) { in inspectContent() 118 responseObserver.onNext(((InspectContentResponse) response)); in inspectContent() 120 } else if (response instanceof Exception) { in inspectContent() 121 responseObserver.onError(((Exception) response)); in inspectContent() 126 "Unrecognized response type %s for method InspectContent, expected %s or %s", in inspectContent() 127 response == null ? "null" : response.getClass().getName(), in inspectContent() 136 Object response = responses.poll(); in redactImage() local [all …]
|
/aosp_15_r20/external/google-cloud-java/java-container/google-cloud-container/src/test/java/com/google/cloud/container/v1beta1/ |
H A D | MockClusterManagerImpl.java | 89 public void addResponse(AbstractMessage response) { in addResponse() argument 90 responses.add(response); in addResponse() 109 Object response = responses.poll(); in listClusters() local 110 if (response instanceof ListClustersResponse) { in listClusters() 112 responseObserver.onNext(((ListClustersResponse) response)); in listClusters() 114 } else if (response instanceof Exception) { in listClusters() 115 responseObserver.onError(((Exception) response)); in listClusters() 120 "Unrecognized response type %s for method ListClusters, expected %s or %s", in listClusters() 121 response == null ? "null" : response.getClass().getName(), in listClusters() 129 Object response = responses.poll(); in getCluster() local [all …]
|