Class GrpcInternalRangeServiceStub
java.lang.Object
com.google.cloud.networkconnectivity.v1.stub.InternalRangeServiceStub
com.google.cloud.networkconnectivity.v1.stub.GrpcInternalRangeServiceStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java")
public class GrpcInternalRangeServiceStub
extends InternalRangeServiceStub
gRPC stub implementation for the InternalRangeService service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGrpcInternalRangeServiceStub(InternalRangeServiceStubSettings settings, ClientContext clientContext) Constructs an instance of GrpcInternalRangeServiceStub, using the given settings.protectedGrpcInternalRangeServiceStub(InternalRangeServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) Constructs an instance of GrpcInternalRangeServiceStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final GrpcInternalRangeServiceStubcreate(ClientContext clientContext) static final GrpcInternalRangeServiceStubcreate(ClientContext clientContext, GrpcStubCallableFactory callableFactory) static final GrpcInternalRangeServiceStubcreate(InternalRangeServiceStubSettings settings) OperationCallable<DeleteInternalRangeRequest,com.google.protobuf.Empty, OperationMetadata> booleanbooleanvoidshutdown()void
-
Constructor Details
-
GrpcInternalRangeServiceStub
protected GrpcInternalRangeServiceStub(InternalRangeServiceStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of GrpcInternalRangeServiceStub, 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
-
GrpcInternalRangeServiceStub
protected GrpcInternalRangeServiceStub(InternalRangeServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException Constructs an instance of GrpcInternalRangeServiceStub, 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 GrpcInternalRangeServiceStub create(InternalRangeServiceStubSettings settings) throws IOException - Throws:
IOException
-
create
public static final GrpcInternalRangeServiceStub create(ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final GrpcInternalRangeServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getOperationsStub
- Overrides:
getOperationsStubin classInternalRangeServiceStub
-
listInternalRangesCallable
public UnaryCallable<ListInternalRangesRequest,ListInternalRangesResponse> listInternalRangesCallable()- Overrides:
listInternalRangesCallablein classInternalRangeServiceStub
-
listInternalRangesPagedCallable
public UnaryCallable<ListInternalRangesRequest,InternalRangeServiceClient.ListInternalRangesPagedResponse> listInternalRangesPagedCallable()- Overrides:
listInternalRangesPagedCallablein classInternalRangeServiceStub
-
getInternalRangeCallable
- Overrides:
getInternalRangeCallablein classInternalRangeServiceStub
-
createInternalRangeCallable
- Overrides:
createInternalRangeCallablein classInternalRangeServiceStub
-
createInternalRangeOperationCallable
public OperationCallable<CreateInternalRangeRequest,InternalRange, createInternalRangeOperationCallable()OperationMetadata> - Overrides:
createInternalRangeOperationCallablein classInternalRangeServiceStub
-
updateInternalRangeCallable
- Overrides:
updateInternalRangeCallablein classInternalRangeServiceStub
-
updateInternalRangeOperationCallable
public OperationCallable<UpdateInternalRangeRequest,InternalRange, updateInternalRangeOperationCallable()OperationMetadata> - Overrides:
updateInternalRangeOperationCallablein classInternalRangeServiceStub
-
deleteInternalRangeCallable
- Overrides:
deleteInternalRangeCallablein classInternalRangeServiceStub
-
deleteInternalRangeOperationCallable
public OperationCallable<DeleteInternalRangeRequest,com.google.protobuf.Empty, deleteInternalRangeOperationCallable()OperationMetadata> - Overrides:
deleteInternalRangeOperationCallablein classInternalRangeServiceStub
-
listLocationsCallable
- Overrides:
listLocationsCallablein classInternalRangeServiceStub
-
listLocationsPagedCallable
public UnaryCallable<ListLocationsRequest,InternalRangeServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()- Overrides:
listLocationsPagedCallablein classInternalRangeServiceStub
-
getLocationCallable
- Overrides:
getLocationCallablein classInternalRangeServiceStub
-
setIamPolicyCallable
- Overrides:
setIamPolicyCallablein classInternalRangeServiceStub
-
getIamPolicyCallable
- Overrides:
getIamPolicyCallablein classInternalRangeServiceStub
-
testIamPermissionsCallable
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()- Overrides:
testIamPermissionsCallablein classInternalRangeServiceStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classInternalRangeServiceStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-