Class HttpJsonEdgeNetworkStub (0.10.0)

public class HttpJsonEdgeNetworkStub extends EdgeNetworkStub

REST stub implementation for the EdgeNetwork service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > EdgeNetworkStub > HttpJsonEdgeNetworkStub

Static Methods

create(ClientContext clientContext)

public static final HttpJsonEdgeNetworkStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
HttpJsonEdgeNetworkStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonEdgeNetworkStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory
Returns
Type Description
HttpJsonEdgeNetworkStub
Exceptions
Type Description
IOException

create(EdgeNetworkStubSettings settings)

public static final HttpJsonEdgeNetworkStub create(EdgeNetworkStubSettings settings)
Parameter
Name Description
settings EdgeNetworkStubSettings
Returns
Type Description
HttpJsonEdgeNetworkStub
Exceptions
Type Description
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
List<ApiMethodDescriptor>

Constructors

HttpJsonEdgeNetworkStub(EdgeNetworkStubSettings settings, ClientContext clientContext)

protected HttpJsonEdgeNetworkStub(EdgeNetworkStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonEdgeNetworkStub, 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
Name Description
settings EdgeNetworkStubSettings
clientContext ClientContext

HttpJsonEdgeNetworkStub(EdgeNetworkStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonEdgeNetworkStub(EdgeNetworkStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonEdgeNetworkStub, 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
Name Description
settings EdgeNetworkStubSettings
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

public final void close()
Overrides

createInterconnectAttachmentCallable()

public UnaryCallable<CreateInterconnectAttachmentRequest,Operation> createInterconnectAttachmentCallable()
Returns
Type Description
UnaryCallable<CreateInterconnectAttachmentRequest,Operation>
Overrides

createInterconnectAttachmentOperationCallable()

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

createNetworkCallable()

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

createNetworkOperationCallable()

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

createRouterCallable()

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

createRouterOperationCallable()

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

createSubnetCallable()

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

createSubnetOperationCallable()

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

deleteInterconnectAttachmentCallable()

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

deleteInterconnectAttachmentOperationCallable()

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

deleteNetworkCallable()

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

deleteNetworkOperationCallable()

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

deleteRouterCallable()

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

deleteRouterOperationCallable()

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

deleteSubnetCallable()

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

deleteSubnetOperationCallable()

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

diagnoseInterconnectCallable()

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

diagnoseNetworkCallable()

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

diagnoseRouterCallable()

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

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
Type Description
HttpJsonOperationsStub
Overrides

getInterconnectAttachmentCallable()

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

getInterconnectCallable()

public UnaryCallable<GetInterconnectRequest,Interconnect> getInterconnectCallable()
Returns
Type Description
UnaryCallable<GetInterconnectRequest,Interconnect>
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()
Returns
Type Description
UnaryCallable<GetNetworkRequest,Network>
Overrides

getRouterCallable()

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

getSubnetCallable()

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

getZoneCallable()

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

initializeZoneCallable()

public UnaryCallable<InitializeZoneRequest,InitializeZoneResponse> initializeZoneCallable()
Returns
Type Description
UnaryCallable<InitializeZoneRequest,InitializeZoneResponse>
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listInterconnectAttachmentsCallable()

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

listInterconnectAttachmentsPagedCallable()

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

listInterconnectsCallable()

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

listInterconnectsPagedCallable()

public UnaryCallable<ListInterconnectsRequest,EdgeNetworkClient.ListInterconnectsPagedResponse> listInterconnectsPagedCallable()
Returns
Type Description
UnaryCallable<ListInterconnectsRequest,ListInterconnectsPagedResponse>
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()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Overrides

listNetworksCallable()

public UnaryCallable<ListNetworksRequest,ListNetworksResponse> listNetworksCallable()
Returns
Type Description
UnaryCallable<ListNetworksRequest,ListNetworksResponse>
Overrides

listNetworksPagedCallable()

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

listRoutersCallable()

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

listRoutersPagedCallable()

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

listSubnetsCallable()

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

listSubnetsPagedCallable()

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

listZonesCallable()

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

listZonesPagedCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateRouterCallable()

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

updateRouterOperationCallable()

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

updateSubnetCallable()

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

updateSubnetOperationCallable()

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