Searched full:resourcemanageroptions (Results 1 – 21 of 21) sorted by relevance
32 public class ResourceManagerOptions class33 extends ServiceOptions<ResourceManager, ResourceManagerOptions> {45 public ResourceManager create(ResourceManagerOptions options) { in create()50 /** Returns a default {@code ResourceManagerOptions} instance. */51 public static ResourceManagerOptions getDefaultInstance() { in getDefaultInstance()60 public ServiceRpc create(ResourceManagerOptions options) { in create()71 extends ServiceOptions.Builder<ResourceManager, ResourceManagerOptions, Builder> {75 private Builder(ResourceManagerOptions options) { in Builder()89 public ResourceManagerOptions build() { in build()90 return new ResourceManagerOptions(this); in build()[all …]
45 final class ResourceManagerImpl extends BaseService<ResourceManagerOptions>50 ResourceManagerImpl(ResourceManagerOptions options) { in ResourceManagerImpl()119 private final ResourceManagerOptions serviceOptions;122 ResourceManagerOptions serviceOptions,142 final ResourceManagerOptions serviceOptions,363 private final ResourceManagerOptions serviceOptions;367 ResourceManagerOptions serviceOptions,390 final ResourceManagerOptions serviceOptions,425 private final ResourceManagerOptions serviceOptions;429 ResourceManagerOptions serviceOptions,[all …]
27 * ResourceManager resourceManager = ResourceManagerOptions.getDefaultInstance().getService();42 * ResourceManager resourceManager = ResourceManagerOptions.getDefaultInstance().getService();
28 extends ServiceFactory<ResourceManager, ResourceManagerOptions> {}
43 private final ResourceManagerOptions options;
44 public interface ResourceManager extends Service<ResourceManagerOptions> {
444 when(rpcFactoryMock.create(Mockito.any(ResourceManagerOptions.class))) in testRetryableException()447 ResourceManagerOptions.newBuilder() in testRetryableException()465 when(rpcFactoryMock.create(Mockito.any(ResourceManagerOptions.class))) in testNonRetryableException()468 ResourceManagerOptions.newBuilder() in testNonRetryableException()486 when(rpcFactoryMock.create(Mockito.any(ResourceManagerOptions.class))) in testRuntimeException()489 ResourceManagerOptions.newBuilder() in testRuntimeException()516 when(rpcFactoryMock.create(Mockito.any(ResourceManagerOptions.class))) in testTestOrgPermissions()519 ResourceManagerOptions.newBuilder() in testTestOrgPermissions()536 when(rpcFactoryMock.create(Mockito.any(ResourceManagerOptions.class))) in testTestOrgPermissionsWithResourceManagerException()539 ResourceManagerOptions.newBuilder() in testTestOrgPermissionsWithResourceManagerException()[all …]
29 ResourceManagerOptions.getDefaultInstance().getService();52 ResourceManagerOptions options = ResourceManagerOptions.newBuilder().build(); in serializableObjects()53 ResourceManagerOptions otherOptions = in serializableObjects()
30 ResourceManagerOptions.newBuilder() in testInvalidTransport()
65 private ResourceManagerOptions mockOptions = createMock(ResourceManagerOptions.class);
19 import com.google.cloud.resourcemanager.ResourceManagerOptions;29 public interface ResourceManagerRpcFactory extends ServiceRpcFactory<ResourceManagerOptions> {}
28 import com.google.cloud.resourcemanager.ResourceManagerOptions;38 ResourceManager resourceManager = ResourceManagerOptions.getDefaultInstance().getService(); in main()
30 import com.google.cloud.resourcemanager.ResourceManagerOptions;38 ResourceManager resourceManager = ResourceManagerOptions.getDefaultInstance().getService(); in main()
27 import com.google.cloud.resourcemanager.ResourceManagerOptions;38 ResourceManager resourceManager = ResourceManagerOptions.getDefaultInstance().getService(); in main()
29 import com.google.cloud.resourcemanager.ResourceManagerOptions;40 ResourceManagerOptions.getDefaultInstance().getService();
35 import com.google.cloud.resourcemanager.ResourceManagerOptions;122 ResourceManager resourceManager = ResourceManagerOptions.getDefaultInstance().getService(); in getProjectNumber()
12 import com.google.cloud.resourcemanager.ResourceManagerOptions;14 ResourceManager resourceManager = ResourceManagerOptions.getDefaultInstance().getService();
104 import com.google.cloud.resourcemanager.ResourceManagerOptions;106 ResourceManager resourceManager = ResourceManagerOptions.getDefaultInstance().getService();
22 import com.google.cloud.resourcemanager.ResourceManagerOptions;211 ResourceManager resourceManager = ResourceManagerOptions.getDefaultInstance().getService(); in main()
33 import com.google.cloud.resourcemanager.ResourceManagerOptions;755 * Returns a {@link ResourceManagerOptions} instance that sets the host to use the mock server.757 public ResourceManagerOptions getOptions() { in getOptions()758 return ResourceManagerOptions.newBuilder() in getOptions()
58 import com.google.cloud.resourcemanager.ResourceManagerOptions;135 public HttpResourceManagerRpc(ResourceManagerOptions options) { in HttpResourceManagerRpc()