Class GrpcEdgeNetworkStub (0.4.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()
Returns
TypeDescription
UnaryCallable<CreateInterconnectAttachmentRequest,Operation>
Overrides

createInterconnectAttachmentOperationCallable()

public OperationCallable<CreateInterconnectAttachmentRequest,InterconnectAttachment,OperationMetadata> createInterconnectAttachmentOperationCallable()
Returns
TypeDescription
OperationCallable<CreateInterconnectAttachmentRequest,InterconnectAttachment,OperationMetadata>
Overrides

createNetworkCallable()

public UnaryCallable<CreateNetworkRequest,Operation> createNetworkCallable()
Returns
TypeDescription
UnaryCallable<CreateNetworkRequest,Operation>
Overrides

createNetworkOperationCallable()

public OperationCallable<CreateNetworkRequest,Network,OperationMetadata> createNetworkOperationCallable()
Returns
TypeDescription
OperationCallable<CreateNetworkRequest,Network,OperationMetadata>
Overrides

createRouterCallable()

public UnaryCallable<CreateRouterRequest,Operation> createRouterCallable()
Returns
TypeDescription
UnaryCallable<CreateRouterRequest,Operation>
Overrides

createRouterOperationCallable()

public OperationCallable<CreateRouterRequest,Router,OperationMetadata> createRouterOperationCallable()
Returns
TypeDescription
OperationCallable<CreateRouterRequest,Router,OperationMetadata>
Overrides

createSubnetCallable()

public UnaryCallable<CreateSubnetRequest,Operation> createSubnetCallable()
Returns
TypeDescription
UnaryCallable<CreateSubnetRequest,Operation>
Overrides

createSubnetOperationCallable()

public OperationCallable<CreateSubnetRequest,Subnet,OperationMetadata> createSubnetOperationCallable()
Returns
TypeDescription
OperationCallable<CreateSubnetRequest,Subnet,OperationMetadata>
Overrides

deleteInterconnectAttachmentCallable()

public UnaryCallable<DeleteInterconnectAttachmentRequest,Operation> deleteInterconnectAttachmentCallable()
Returns
TypeDescription
UnaryCallable<DeleteInterconnectAttachmentRequest,Operation>
Overrides

deleteInterconnectAttachmentOperationCallable()

public OperationCallable<DeleteInterconnectAttachmentRequest,Empty,OperationMetadata> deleteInterconnectAttachmentOperationCallable()
Returns
TypeDescription
OperationCallable<DeleteInterconnectAttachmentRequest,Empty,OperationMetadata>
Overrides

deleteNetworkCallable()

public UnaryCallable<DeleteNetworkRequest,Operation> deleteNetworkCallable()
Returns
TypeDescription
UnaryCallable<DeleteNetworkRequest,Operation>
Overrides

deleteNetworkOperationCallable()

public OperationCallable<DeleteNetworkRequest,Empty,OperationMetadata> deleteNetworkOperationCallable()
Returns
TypeDescription
OperationCallable<DeleteNetworkRequest,Empty,OperationMetadata>
Overrides

deleteRouterCallable()

public UnaryCallable<DeleteRouterRequest,Operation> deleteRouterCallable()
Returns
TypeDescription
UnaryCallable<DeleteRouterRequest,Operation>
Overrides

deleteRouterOperationCallable()

public OperationCallable<DeleteRouterRequest,Empty,OperationMetadata> deleteRouterOperationCallable()
Returns
TypeDescription
OperationCallable<DeleteRouterRequest,Empty,OperationMetadata>
Overrides

deleteSubnetCallable()

public UnaryCallable<DeleteSubnetRequest,Operation> deleteSubnetCallable()
Returns
TypeDescription
UnaryCallable<DeleteSubnetRequest,Operation>
Overrides

deleteSubnetOperationCallable()

public OperationCallable<DeleteSubnetRequest,Empty,OperationMetadata> deleteSubnetOperationCallable()
Returns
TypeDescription
OperationCallable<DeleteSubnetRequest,Empty,OperationMetadata>
Overrides

diagnoseInterconnectCallable()

public UnaryCallable<DiagnoseInterconnectRequest,DiagnoseInterconnectResponse> diagnoseInterconnectCallable()
Returns
TypeDescription
UnaryCallable<DiagnoseInterconnectRequest,DiagnoseInterconnectResponse>
Overrides

diagnoseNetworkCallable()

public UnaryCallable<DiagnoseNetworkRequest,DiagnoseNetworkResponse> diagnoseNetworkCallable()
Returns
TypeDescription
UnaryCallable<DiagnoseNetworkRequest,DiagnoseNetworkResponse>
Overrides

diagnoseRouterCallable()

public UnaryCallable<DiagnoseRouterRequest,DiagnoseRouterResponse> diagnoseRouterCallable()
Returns
TypeDescription
UnaryCallable<DiagnoseRouterRequest,DiagnoseRouterResponse>
Overrides

getInterconnectAttachmentCallable()

public UnaryCallable<GetInterconnectAttachmentRequest,InterconnectAttachment> getInterconnectAttachmentCallable()
Returns
TypeDescription
UnaryCallable<GetInterconnectAttachmentRequest,InterconnectAttachment>
Overrides

getInterconnectCallable()

public UnaryCallable<GetInterconnectRequest,Interconnect> getInterconnectCallable()
Returns
TypeDescription
UnaryCallable<GetInterconnectRequest,Interconnect>
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()
Returns
TypeDescription
UnaryCallable<InitializeZoneRequest,InitializeZoneResponse>
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listInterconnectAttachmentsCallable()

public UnaryCallable<ListInterconnectAttachmentsRequest,ListInterconnectAttachmentsResponse> listInterconnectAttachmentsCallable()
Returns
TypeDescription
UnaryCallable<ListInterconnectAttachmentsRequest,ListInterconnectAttachmentsResponse>
Overrides

listInterconnectAttachmentsPagedCallable()

public UnaryCallable<ListInterconnectAttachmentsRequest,EdgeNetworkClient.ListInterconnectAttachmentsPagedResponse> listInterconnectAttachmentsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListInterconnectAttachmentsRequest,ListInterconnectAttachmentsPagedResponse>
Overrides

listInterconnectsCallable()

public UnaryCallable<ListInterconnectsRequest,ListInterconnectsResponse> listInterconnectsCallable()
Returns
TypeDescription
UnaryCallable<ListInterconnectsRequest,ListInterconnectsResponse>
Overrides

listInterconnectsPagedCallable()

public UnaryCallable<ListInterconnectsRequest,EdgeNetworkClient.ListInterconnectsPagedResponse> listInterconnectsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListInterconnectsRequest,ListInterconnectsPagedResponse>
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()
Returns
TypeDescription
UnaryCallable<ListNetworksRequest,ListNetworksResponse>
Overrides

listNetworksPagedCallable()

public UnaryCallable<ListNetworksRequest,EdgeNetworkClient.ListNetworksPagedResponse> listNetworksPagedCallable()
Returns
TypeDescription
UnaryCallable<ListNetworksRequest,ListNetworksPagedResponse>
Overrides

listRoutersCallable()

public UnaryCallable<ListRoutersRequest,ListRoutersResponse> listRoutersCallable()
Returns
TypeDescription
UnaryCallable<ListRoutersRequest,ListRoutersResponse>
Overrides

listRoutersPagedCallable()

public UnaryCallable<ListRoutersRequest,EdgeNetworkClient.ListRoutersPagedResponse> listRoutersPagedCallable()
Returns
TypeDescription
UnaryCallable<ListRoutersRequest,ListRoutersPagedResponse>
Overrides

listSubnetsCallable()

public UnaryCallable<ListSubnetsRequest,ListSubnetsResponse> listSubnetsCallable()
Returns
TypeDescription
UnaryCallable<ListSubnetsRequest,ListSubnetsResponse>
Overrides

listSubnetsPagedCallable()

public UnaryCallable<ListSubnetsRequest,EdgeNetworkClient.ListSubnetsPagedResponse> listSubnetsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListSubnetsRequest,ListSubnetsPagedResponse>
Overrides

listZonesCallable()

public UnaryCallable<ListZonesRequest,ListZonesResponse> listZonesCallable()
Returns
TypeDescription
UnaryCallable<ListZonesRequest,ListZonesResponse>
Overrides

listZonesPagedCallable()

public UnaryCallable<ListZonesRequest,EdgeNetworkClient.ListZonesPagedResponse> listZonesPagedCallable()
Returns
TypeDescription
UnaryCallable<ListZonesRequest,ListZonesPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateRouterCallable()

public UnaryCallable<UpdateRouterRequest,Operation> updateRouterCallable()
Returns
TypeDescription
UnaryCallable<UpdateRouterRequest,Operation>
Overrides

updateRouterOperationCallable()

public OperationCallable<UpdateRouterRequest,Router,OperationMetadata> updateRouterOperationCallable()
Returns
TypeDescription
OperationCallable<UpdateRouterRequest,Router,OperationMetadata>
Overrides

updateSubnetCallable()

public UnaryCallable<UpdateSubnetRequest,Operation> updateSubnetCallable()
Returns
TypeDescription
UnaryCallable<UpdateSubnetRequest,Operation>
Overrides

updateSubnetOperationCallable()

public OperationCallable<UpdateSubnetRequest,Subnet,OperationMetadata> updateSubnetOperationCallable()
Returns
TypeDescription
OperationCallable<UpdateSubnetRequest,Subnet,OperationMetadata>
Overrides