public class GrpcEdgeNetworkStub extends EdgeNetworkStub
gRPC stub implementation for the EdgeNetwork service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final GrpcEdgeNetworkStub create(ClientContext clientContext)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcEdgeNetworkStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
create(EdgeNetworkStubSettings settings)
public static final GrpcEdgeNetworkStub create(EdgeNetworkStubSettings settings)
Constructors
GrpcEdgeNetworkStub(EdgeNetworkStubSettings settings, ClientContext clientContext)
protected GrpcEdgeNetworkStub(EdgeNetworkStubSettings settings, ClientContext clientContext)
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.
GrpcEdgeNetworkStub(EdgeNetworkStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcEdgeNetworkStub(EdgeNetworkStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
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.
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
createInterconnectAttachmentCallable()
public UnaryCallable<CreateInterconnectAttachmentRequest,Operation> createInterconnectAttachmentCallable()
Overrides
createInterconnectAttachmentOperationCallable()
public OperationCallable<CreateInterconnectAttachmentRequest,InterconnectAttachment,OperationMetadata> createInterconnectAttachmentOperationCallable()
Overrides
createNetworkCallable()
public UnaryCallable<CreateNetworkRequest,Operation> createNetworkCallable()
Overrides
createNetworkOperationCallable()
public OperationCallable<CreateNetworkRequest,Network,OperationMetadata> createNetworkOperationCallable()
Overrides
createRouterCallable()
public UnaryCallable<CreateRouterRequest,Operation> createRouterCallable()
Overrides
createRouterOperationCallable()
public OperationCallable<CreateRouterRequest,Router,OperationMetadata> createRouterOperationCallable()
Overrides
createSubnetCallable()
public UnaryCallable<CreateSubnetRequest,Operation> createSubnetCallable()
Overrides
createSubnetOperationCallable()
public OperationCallable<CreateSubnetRequest,Subnet,OperationMetadata> createSubnetOperationCallable()
Overrides
deleteInterconnectAttachmentCallable()
public UnaryCallable<DeleteInterconnectAttachmentRequest,Operation> deleteInterconnectAttachmentCallable()
Overrides
deleteInterconnectAttachmentOperationCallable()
public OperationCallable<DeleteInterconnectAttachmentRequest,Empty,OperationMetadata> deleteInterconnectAttachmentOperationCallable()
Overrides
deleteNetworkCallable()
public UnaryCallable<DeleteNetworkRequest,Operation> deleteNetworkCallable()
Overrides
deleteNetworkOperationCallable()
public OperationCallable<DeleteNetworkRequest,Empty,OperationMetadata> deleteNetworkOperationCallable()
Overrides
deleteRouterCallable()
public UnaryCallable<DeleteRouterRequest,Operation> deleteRouterCallable()
Overrides
deleteRouterOperationCallable()
public OperationCallable<DeleteRouterRequest,Empty,OperationMetadata> deleteRouterOperationCallable()
Overrides
deleteSubnetCallable()
public UnaryCallable<DeleteSubnetRequest,Operation> deleteSubnetCallable()
Overrides
deleteSubnetOperationCallable()
public OperationCallable<DeleteSubnetRequest,Empty,OperationMetadata> deleteSubnetOperationCallable()
Overrides
diagnoseInterconnectCallable()
public UnaryCallable<DiagnoseInterconnectRequest,DiagnoseInterconnectResponse> diagnoseInterconnectCallable()
Overrides
diagnoseNetworkCallable()
public UnaryCallable<DiagnoseNetworkRequest,DiagnoseNetworkResponse> diagnoseNetworkCallable()
Overrides
diagnoseRouterCallable()
public UnaryCallable<DiagnoseRouterRequest,DiagnoseRouterResponse> diagnoseRouterCallable()
Overrides
getInterconnectAttachmentCallable()
public UnaryCallable<GetInterconnectAttachmentRequest,InterconnectAttachment> getInterconnectAttachmentCallable()
Overrides
getInterconnectCallable()
public UnaryCallable<GetInterconnectRequest,Interconnect> getInterconnectCallable()
Overrides
getLocationCallable()
public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns |
---|
Type | Description |
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> | |
Overrides
getNetworkCallable()
public UnaryCallable<GetNetworkRequest,Network> getNetworkCallable()
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Overrides
getRouterCallable()
public UnaryCallable<GetRouterRequest,Router> getRouterCallable()
Overrides
getSubnetCallable()
public UnaryCallable<GetSubnetRequest,Subnet> getSubnetCallable()
Overrides
getZoneCallable()
public UnaryCallable<GetZoneRequest,Zone> getZoneCallable()
Overrides
initializeZoneCallable()
public UnaryCallable<InitializeZoneRequest,InitializeZoneResponse> initializeZoneCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listInterconnectAttachmentsCallable()
public UnaryCallable<ListInterconnectAttachmentsRequest,ListInterconnectAttachmentsResponse> listInterconnectAttachmentsCallable()
Overrides
listInterconnectAttachmentsPagedCallable()
public UnaryCallable<ListInterconnectAttachmentsRequest,EdgeNetworkClient.ListInterconnectAttachmentsPagedResponse> listInterconnectAttachmentsPagedCallable()
Overrides
listInterconnectsCallable()
public UnaryCallable<ListInterconnectsRequest,ListInterconnectsResponse> listInterconnectsCallable()
Overrides
listInterconnectsPagedCallable()
public UnaryCallable<ListInterconnectsRequest,EdgeNetworkClient.ListInterconnectsPagedResponse> listInterconnectsPagedCallable()
Overrides
listLocationsCallable()
public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns |
---|
Type | Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> | |
Overrides
listLocationsPagedCallable()
public UnaryCallable<ListLocationsRequest,EdgeNetworkClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Overrides
listNetworksCallable()
public UnaryCallable<ListNetworksRequest,ListNetworksResponse> listNetworksCallable()
Overrides
listNetworksPagedCallable()
public UnaryCallable<ListNetworksRequest,EdgeNetworkClient.ListNetworksPagedResponse> listNetworksPagedCallable()
Overrides
listRoutersCallable()
public UnaryCallable<ListRoutersRequest,ListRoutersResponse> listRoutersCallable()
Overrides
listRoutersPagedCallable()
public UnaryCallable<ListRoutersRequest,EdgeNetworkClient.ListRoutersPagedResponse> listRoutersPagedCallable()
Overrides
listSubnetsCallable()
public UnaryCallable<ListSubnetsRequest,ListSubnetsResponse> listSubnetsCallable()
Overrides
listSubnetsPagedCallable()
public UnaryCallable<ListSubnetsRequest,EdgeNetworkClient.ListSubnetsPagedResponse> listSubnetsPagedCallable()
Overrides
listZonesCallable()
public UnaryCallable<ListZonesRequest,ListZonesResponse> listZonesCallable()
Overrides
listZonesPagedCallable()
public UnaryCallable<ListZonesRequest,EdgeNetworkClient.ListZonesPagedResponse> listZonesPagedCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
updateRouterCallable()
public UnaryCallable<UpdateRouterRequest,Operation> updateRouterCallable()
Overrides
updateRouterOperationCallable()
public OperationCallable<UpdateRouterRequest,Router,OperationMetadata> updateRouterOperationCallable()
Overrides
updateSubnetCallable()
public UnaryCallable<UpdateSubnetRequest,Operation> updateSubnetCallable()
Overrides
updateSubnetOperationCallable()
public OperationCallable<UpdateSubnetRequest,Subnet,OperationMetadata> updateSubnetOperationCallable()
Overrides