Class GrpcEdgeNetworkStub
java.lang.Object
com.google.cloud.edgenetwork.v1.stub.EdgeNetworkStub
com.google.cloud.edgenetwork.v1.stub.GrpcEdgeNetworkStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
gRPC stub implementation for the EdgeNetwork service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGrpcEdgeNetworkStub(EdgeNetworkStubSettings settings, ClientContext clientContext) Constructs an instance of GrpcEdgeNetworkStub, using the given settings.protectedGrpcEdgeNetworkStub(EdgeNetworkStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) Constructs an instance of GrpcEdgeNetworkStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final GrpcEdgeNetworkStubcreate(ClientContext clientContext) static final GrpcEdgeNetworkStubcreate(ClientContext clientContext, GrpcStubCallableFactory callableFactory) static final GrpcEdgeNetworkStubcreate(EdgeNetworkStubSettings settings) OperationCallable<DeleteInterconnectAttachmentRequest,com.google.protobuf.Empty, OperationMetadata> OperationCallable<DeleteNetworkRequest,com.google.protobuf.Empty, OperationMetadata> OperationCallable<DeleteRouterRequest,com.google.protobuf.Empty, OperationMetadata> OperationCallable<DeleteSubnetRequest,com.google.protobuf.Empty, OperationMetadata> booleanbooleanUnaryCallable<ListInterconnectAttachmentsRequest,EdgeNetworkClient.ListInterconnectAttachmentsPagedResponse> voidshutdown()voidMethods inherited from class com.google.cloud.edgenetwork.v1.stub.EdgeNetworkStub
getHttpJsonOperationsStub
-
Constructor Details
-
GrpcEdgeNetworkStub
protected GrpcEdgeNetworkStub(EdgeNetworkStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of GrpcEdgeNetworkStub, 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
-
GrpcEdgeNetworkStub
protected GrpcEdgeNetworkStub(EdgeNetworkStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException Constructs an instance of GrpcEdgeNetworkStub, 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
- Throws:
IOException
-
create
- Throws:
IOException
-
create
public static final GrpcEdgeNetworkStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getOperationsStub
- Overrides:
getOperationsStubin classEdgeNetworkStub
-
initializeZoneCallable
- Overrides:
initializeZoneCallablein classEdgeNetworkStub
-
listZonesCallable
- Overrides:
listZonesCallablein classEdgeNetworkStub
-
listZonesPagedCallable
public UnaryCallable<ListZonesRequest,EdgeNetworkClient.ListZonesPagedResponse> listZonesPagedCallable()- Overrides:
listZonesPagedCallablein classEdgeNetworkStub
-
getZoneCallable
- Overrides:
getZoneCallablein classEdgeNetworkStub
-
listNetworksCallable
- Overrides:
listNetworksCallablein classEdgeNetworkStub
-
listNetworksPagedCallable
public UnaryCallable<ListNetworksRequest,EdgeNetworkClient.ListNetworksPagedResponse> listNetworksPagedCallable()- Overrides:
listNetworksPagedCallablein classEdgeNetworkStub
-
getNetworkCallable
- Overrides:
getNetworkCallablein classEdgeNetworkStub
-
diagnoseNetworkCallable
- Overrides:
diagnoseNetworkCallablein classEdgeNetworkStub
-
createNetworkCallable
- Overrides:
createNetworkCallablein classEdgeNetworkStub
-
createNetworkOperationCallable
public OperationCallable<CreateNetworkRequest,Network, createNetworkOperationCallable()OperationMetadata> - Overrides:
createNetworkOperationCallablein classEdgeNetworkStub
-
deleteNetworkCallable
- Overrides:
deleteNetworkCallablein classEdgeNetworkStub
-
deleteNetworkOperationCallable
public OperationCallable<DeleteNetworkRequest,com.google.protobuf.Empty, deleteNetworkOperationCallable()OperationMetadata> - Overrides:
deleteNetworkOperationCallablein classEdgeNetworkStub
-
listSubnetsCallable
- Overrides:
listSubnetsCallablein classEdgeNetworkStub
-
listSubnetsPagedCallable
public UnaryCallable<ListSubnetsRequest,EdgeNetworkClient.ListSubnetsPagedResponse> listSubnetsPagedCallable()- Overrides:
listSubnetsPagedCallablein classEdgeNetworkStub
-
getSubnetCallable
- Overrides:
getSubnetCallablein classEdgeNetworkStub
-
createSubnetCallable
- Overrides:
createSubnetCallablein classEdgeNetworkStub
-
createSubnetOperationCallable
public OperationCallable<CreateSubnetRequest,Subnet, createSubnetOperationCallable()OperationMetadata> - Overrides:
createSubnetOperationCallablein classEdgeNetworkStub
-
updateSubnetCallable
- Overrides:
updateSubnetCallablein classEdgeNetworkStub
-
updateSubnetOperationCallable
public OperationCallable<UpdateSubnetRequest,Subnet, updateSubnetOperationCallable()OperationMetadata> - Overrides:
updateSubnetOperationCallablein classEdgeNetworkStub
-
deleteSubnetCallable
- Overrides:
deleteSubnetCallablein classEdgeNetworkStub
-
deleteSubnetOperationCallable
public OperationCallable<DeleteSubnetRequest,com.google.protobuf.Empty, deleteSubnetOperationCallable()OperationMetadata> - Overrides:
deleteSubnetOperationCallablein classEdgeNetworkStub
-
listInterconnectsCallable
public UnaryCallable<ListInterconnectsRequest,ListInterconnectsResponse> listInterconnectsCallable()- Overrides:
listInterconnectsCallablein classEdgeNetworkStub
-
listInterconnectsPagedCallable
public UnaryCallable<ListInterconnectsRequest,EdgeNetworkClient.ListInterconnectsPagedResponse> listInterconnectsPagedCallable()- Overrides:
listInterconnectsPagedCallablein classEdgeNetworkStub
-
getInterconnectCallable
- Overrides:
getInterconnectCallablein classEdgeNetworkStub
-
diagnoseInterconnectCallable
public UnaryCallable<DiagnoseInterconnectRequest,DiagnoseInterconnectResponse> diagnoseInterconnectCallable()- Overrides:
diagnoseInterconnectCallablein classEdgeNetworkStub
-
listInterconnectAttachmentsCallable
public UnaryCallable<ListInterconnectAttachmentsRequest,ListInterconnectAttachmentsResponse> listInterconnectAttachmentsCallable()- Overrides:
listInterconnectAttachmentsCallablein classEdgeNetworkStub
-
listInterconnectAttachmentsPagedCallable
public UnaryCallable<ListInterconnectAttachmentsRequest,EdgeNetworkClient.ListInterconnectAttachmentsPagedResponse> listInterconnectAttachmentsPagedCallable()- Overrides:
listInterconnectAttachmentsPagedCallablein classEdgeNetworkStub
-
getInterconnectAttachmentCallable
public UnaryCallable<GetInterconnectAttachmentRequest,InterconnectAttachment> getInterconnectAttachmentCallable()- Overrides:
getInterconnectAttachmentCallablein classEdgeNetworkStub
-
createInterconnectAttachmentCallable
public UnaryCallable<CreateInterconnectAttachmentRequest,Operation> createInterconnectAttachmentCallable()- Overrides:
createInterconnectAttachmentCallablein classEdgeNetworkStub
-
createInterconnectAttachmentOperationCallable
public OperationCallable<CreateInterconnectAttachmentRequest,InterconnectAttachment, createInterconnectAttachmentOperationCallable()OperationMetadata> - Overrides:
createInterconnectAttachmentOperationCallablein classEdgeNetworkStub
-
deleteInterconnectAttachmentCallable
public UnaryCallable<DeleteInterconnectAttachmentRequest,Operation> deleteInterconnectAttachmentCallable()- Overrides:
deleteInterconnectAttachmentCallablein classEdgeNetworkStub
-
deleteInterconnectAttachmentOperationCallable
public OperationCallable<DeleteInterconnectAttachmentRequest,com.google.protobuf.Empty, deleteInterconnectAttachmentOperationCallable()OperationMetadata> - Overrides:
deleteInterconnectAttachmentOperationCallablein classEdgeNetworkStub
-
listRoutersCallable
- Overrides:
listRoutersCallablein classEdgeNetworkStub
-
listRoutersPagedCallable
public UnaryCallable<ListRoutersRequest,EdgeNetworkClient.ListRoutersPagedResponse> listRoutersPagedCallable()- Overrides:
listRoutersPagedCallablein classEdgeNetworkStub
-
getRouterCallable
- Overrides:
getRouterCallablein classEdgeNetworkStub
-
diagnoseRouterCallable
- Overrides:
diagnoseRouterCallablein classEdgeNetworkStub
-
createRouterCallable
- Overrides:
createRouterCallablein classEdgeNetworkStub
-
createRouterOperationCallable
public OperationCallable<CreateRouterRequest,Router, createRouterOperationCallable()OperationMetadata> - Overrides:
createRouterOperationCallablein classEdgeNetworkStub
-
updateRouterCallable
- Overrides:
updateRouterCallablein classEdgeNetworkStub
-
updateRouterOperationCallable
public OperationCallable<UpdateRouterRequest,Router, updateRouterOperationCallable()OperationMetadata> - Overrides:
updateRouterOperationCallablein classEdgeNetworkStub
-
deleteRouterCallable
- Overrides:
deleteRouterCallablein classEdgeNetworkStub
-
deleteRouterOperationCallable
public OperationCallable<DeleteRouterRequest,com.google.protobuf.Empty, deleteRouterOperationCallable()OperationMetadata> - Overrides:
deleteRouterOperationCallablein classEdgeNetworkStub
-
listLocationsCallable
- Overrides:
listLocationsCallablein classEdgeNetworkStub
-
listLocationsPagedCallable
public UnaryCallable<ListLocationsRequest,EdgeNetworkClient.ListLocationsPagedResponse> listLocationsPagedCallable()- Overrides:
listLocationsPagedCallablein classEdgeNetworkStub
-
getLocationCallable
- Overrides:
getLocationCallablein classEdgeNetworkStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classEdgeNetworkStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-