Class GrpcEdgeNetworkStub (0.9.0)

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.

Inheritance

java.lang.Object > EdgeNetworkStub > GrpcEdgeNetworkStub

Static Methods

create(ClientContext clientContext)

public static final GrpcEdgeNetworkStub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
GrpcEdgeNetworkStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcEdgeNetworkStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryGrpcStubCallableFactory
Returns
TypeDescription
GrpcEdgeNetworkStub
Exceptions
TypeDescription
IOException

create(EdgeNetworkStubSettings settings)

public static final GrpcEdgeNetworkStub create(EdgeNetworkStubSettings settings)
Parameter
NameDescription
settingsEdgeNetworkStubSettings
Returns
TypeDescription
GrpcEdgeNetworkStub
Exceptions
TypeDescription
IOException

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.

Parameters
NameDescription
settingsEdgeNetworkStubSettings
clientContextClientContext

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.

Parameters
NameDescription
settingsEdgeNetworkStubSettings
clientContextClientContext
callableFactoryGrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

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
TypeDescription
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
Overrides

getNetworkCallable()

public UnaryCallable<GetNetworkRequest,Network> getNetworkCallable()
Returns
TypeDescription
UnaryCallable<GetNetworkRequest,Network>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub
Overrides

getRouterCallable()

public UnaryCallable<GetRouterRequest,Router> getRouterCallable()
Returns
TypeDescription
UnaryCallable<GetRouterRequest,Router>
Overrides

getSubnetCallable()

public UnaryCallable<GetSubnetRequest,Subnet> getSubnetCallable()
Returns
TypeDescription
UnaryCallable<GetSubnetRequest,Subnet>
Overrides

getZoneCallable()

public UnaryCallable<GetZoneRequest,Zone> getZoneCallable()
Returns
TypeDescription
UnaryCallable<GetZoneRequest,Zone>
Overrides

initializeZoneCallable()

public UnaryCallable<InitializeZoneRequest,InitializeZoneResponse> initializeZoneCallable()
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

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
TypeDescription
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse>
Overrides

listLocationsPagedCallable()

public UnaryCallable<ListLocationsRequest,EdgeNetworkClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
TypeDescription
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
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()

public void 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