Class HttpJsonEdgeNetworkStub (0.1.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
NameDescription
clientContextClientContext
Returns
TypeDescription
HttpJsonEdgeNetworkStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonEdgeNetworkStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory
Returns
TypeDescription
HttpJsonEdgeNetworkStub
Exceptions
TypeDescription
IOException

create(EdgeNetworkStubSettings settings)

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

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
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
NameDescription
settingsEdgeNetworkStubSettings
clientContextClientContext

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
NameDescription
settingsEdgeNetworkStubSettings
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory

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

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
TypeDescription
HttpJsonOperationsStub
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

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