Class GrpcTransportManagerStub
java.lang.Object
com.google.cloud.networkconnectivity.v1beta.stub.TransportManagerStub
com.google.cloud.networkconnectivity.v1beta.stub.GrpcTransportManagerStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@BetaApi
@Generated("by gapic-generator-java")
public class GrpcTransportManagerStub
extends TransportManagerStub
gRPC stub implementation for the TransportManager service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGrpcTransportManagerStub(TransportManagerStubSettings settings, ClientContext clientContext) Constructs an instance of GrpcTransportManagerStub, using the given settings.protectedGrpcTransportManagerStub(TransportManagerStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) Constructs an instance of GrpcTransportManagerStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final GrpcTransportManagerStubcreate(ClientContext clientContext) static final GrpcTransportManagerStubcreate(ClientContext clientContext, GrpcStubCallableFactory callableFactory) static final GrpcTransportManagerStubcreate(TransportManagerStubSettings settings) OperationCallable<DeleteTransportRequest,com.google.protobuf.Empty, OperationMetadata> booleanbooleanUnaryCallable<ListRemoteTransportProfilesRequest,TransportManagerClient.ListRemoteTransportProfilesPagedResponse> voidshutdown()void
-
Constructor Details
-
GrpcTransportManagerStub
protected GrpcTransportManagerStub(TransportManagerStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of GrpcTransportManagerStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.- Throws:
IOException
-
GrpcTransportManagerStub
protected GrpcTransportManagerStub(TransportManagerStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException Constructs an instance of GrpcTransportManagerStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.- Throws:
IOException
-
-
Method Details
-
create
public static final GrpcTransportManagerStub create(TransportManagerStubSettings settings) throws IOException - Throws:
IOException
-
create
- Throws:
IOException
-
create
public static final GrpcTransportManagerStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getOperationsStub
- Overrides:
getOperationsStubin classTransportManagerStub
-
listRemoteTransportProfilesCallable
public UnaryCallable<ListRemoteTransportProfilesRequest,ListRemoteTransportProfilesResponse> listRemoteTransportProfilesCallable()- Overrides:
listRemoteTransportProfilesCallablein classTransportManagerStub
-
listRemoteTransportProfilesPagedCallable
public UnaryCallable<ListRemoteTransportProfilesRequest,TransportManagerClient.ListRemoteTransportProfilesPagedResponse> listRemoteTransportProfilesPagedCallable()- Overrides:
listRemoteTransportProfilesPagedCallablein classTransportManagerStub
-
getRemoteTransportProfileCallable
public UnaryCallable<GetRemoteTransportProfileRequest,RemoteTransportProfile> getRemoteTransportProfileCallable()- Overrides:
getRemoteTransportProfileCallablein classTransportManagerStub
-
listTransportsCallable
- Overrides:
listTransportsCallablein classTransportManagerStub
-
listTransportsPagedCallable
public UnaryCallable<ListTransportsRequest,TransportManagerClient.ListTransportsPagedResponse> listTransportsPagedCallable()- Overrides:
listTransportsPagedCallablein classTransportManagerStub
-
getTransportCallable
- Overrides:
getTransportCallablein classTransportManagerStub
-
getStatusCallable
- Overrides:
getStatusCallablein classTransportManagerStub
-
createTransportCallable
- Overrides:
createTransportCallablein classTransportManagerStub
-
createTransportOperationCallable
public OperationCallable<CreateTransportRequest,Transport, createTransportOperationCallable()OperationMetadata> - Overrides:
createTransportOperationCallablein classTransportManagerStub
-
updateTransportCallable
- Overrides:
updateTransportCallablein classTransportManagerStub
-
updateTransportOperationCallable
public OperationCallable<UpdateTransportRequest,Transport, updateTransportOperationCallable()OperationMetadata> - Overrides:
updateTransportOperationCallablein classTransportManagerStub
-
deleteTransportCallable
- Overrides:
deleteTransportCallablein classTransportManagerStub
-
deleteTransportOperationCallable
public OperationCallable<DeleteTransportRequest,com.google.protobuf.Empty, deleteTransportOperationCallable()OperationMetadata> - Overrides:
deleteTransportOperationCallablein classTransportManagerStub
-
listLocationsCallable
- Overrides:
listLocationsCallablein classTransportManagerStub
-
listLocationsPagedCallable
public UnaryCallable<ListLocationsRequest,TransportManagerClient.ListLocationsPagedResponse> listLocationsPagedCallable()- Overrides:
listLocationsPagedCallablein classTransportManagerStub
-
getLocationCallable
- Overrides:
getLocationCallablein classTransportManagerStub
-
setIamPolicyCallable
- Overrides:
setIamPolicyCallablein classTransportManagerStub
-
getIamPolicyCallable
- Overrides:
getIamPolicyCallablein classTransportManagerStub
-
testIamPermissionsCallable
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()- Overrides:
testIamPermissionsCallablein classTransportManagerStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classTransportManagerStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-