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.
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()
createInterconnectAttachmentCallable()
public UnaryCallable<CreateInterconnectAttachmentRequest,Operation> createInterconnectAttachmentCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateInterconnectAttachmentRequest,Operation> |
createInterconnectAttachmentOperationCallable()
public OperationCallable<CreateInterconnectAttachmentRequest,InterconnectAttachment,OperationMetadata> createInterconnectAttachmentOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateInterconnectAttachmentRequest,InterconnectAttachment,OperationMetadata> |
createNetworkCallable()
public UnaryCallable<CreateNetworkRequest,Operation> createNetworkCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateNetworkRequest,Operation> |
createNetworkOperationCallable()
public OperationCallable<CreateNetworkRequest,Network,OperationMetadata> createNetworkOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateNetworkRequest,Network,OperationMetadata> |
createRouterCallable()
public UnaryCallable<CreateRouterRequest,Operation> createRouterCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateRouterRequest,Operation> |
createRouterOperationCallable()
public OperationCallable<CreateRouterRequest,Router,OperationMetadata> createRouterOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateRouterRequest,Router,OperationMetadata> |
createSubnetCallable()
public UnaryCallable<CreateSubnetRequest,Operation> createSubnetCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateSubnetRequest,Operation> |
createSubnetOperationCallable()
public OperationCallable<CreateSubnetRequest,Subnet,OperationMetadata> createSubnetOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateSubnetRequest,Subnet,OperationMetadata> |
deleteInterconnectAttachmentCallable()
public UnaryCallable<DeleteInterconnectAttachmentRequest,Operation> deleteInterconnectAttachmentCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteInterconnectAttachmentRequest,Operation> |
deleteInterconnectAttachmentOperationCallable()
public OperationCallable<DeleteInterconnectAttachmentRequest,Empty,OperationMetadata> deleteInterconnectAttachmentOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteInterconnectAttachmentRequest,Empty,OperationMetadata> |
deleteNetworkCallable()
public UnaryCallable<DeleteNetworkRequest,Operation> deleteNetworkCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteNetworkRequest,Operation> |
deleteNetworkOperationCallable()
public OperationCallable<DeleteNetworkRequest,Empty,OperationMetadata> deleteNetworkOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteNetworkRequest,Empty,OperationMetadata> |
deleteRouterCallable()
public UnaryCallable<DeleteRouterRequest,Operation> deleteRouterCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteRouterRequest,Operation> |
deleteRouterOperationCallable()
public OperationCallable<DeleteRouterRequest,Empty,OperationMetadata> deleteRouterOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteRouterRequest,Empty,OperationMetadata> |
deleteSubnetCallable()
public UnaryCallable<DeleteSubnetRequest,Operation> deleteSubnetCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteSubnetRequest,Operation> |
deleteSubnetOperationCallable()
public OperationCallable<DeleteSubnetRequest,Empty,OperationMetadata> deleteSubnetOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteSubnetRequest,Empty,OperationMetadata> |
diagnoseInterconnectCallable()
public UnaryCallable<DiagnoseInterconnectRequest,DiagnoseInterconnectResponse> diagnoseInterconnectCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DiagnoseInterconnectRequest,DiagnoseInterconnectResponse> |
diagnoseNetworkCallable()
public UnaryCallable<DiagnoseNetworkRequest,DiagnoseNetworkResponse> diagnoseNetworkCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DiagnoseNetworkRequest,DiagnoseNetworkResponse> |
diagnoseRouterCallable()
public UnaryCallable<DiagnoseRouterRequest,DiagnoseRouterResponse> diagnoseRouterCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DiagnoseRouterRequest,DiagnoseRouterResponse> |
getHttpJsonOperationsStub()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns | |
---|---|
Type | Description |
HttpJsonOperationsStub |
getInterconnectAttachmentCallable()
public UnaryCallable<GetInterconnectAttachmentRequest,InterconnectAttachment> getInterconnectAttachmentCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetInterconnectAttachmentRequest,InterconnectAttachment> |
getInterconnectCallable()
public UnaryCallable<GetInterconnectRequest,Interconnect> getInterconnectCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetInterconnectRequest,Interconnect> |
getLocationCallable()
public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
getNetworkCallable()
public UnaryCallable<GetNetworkRequest,Network> getNetworkCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetNetworkRequest,Network> |
getRouterCallable()
public UnaryCallable<GetRouterRequest,Router> getRouterCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetRouterRequest,Router> |
getSubnetCallable()
public UnaryCallable<GetSubnetRequest,Subnet> getSubnetCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetSubnetRequest,Subnet> |
getZoneCallable()
public UnaryCallable<GetZoneRequest,Zone> getZoneCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetZoneRequest,Zone> |
initializeZoneCallable()
public UnaryCallable<InitializeZoneRequest,InitializeZoneResponse> initializeZoneCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<InitializeZoneRequest,InitializeZoneResponse> |
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> |
listInterconnectAttachmentsPagedCallable()
public UnaryCallable<ListInterconnectAttachmentsRequest,EdgeNetworkClient.ListInterconnectAttachmentsPagedResponse> listInterconnectAttachmentsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListInterconnectAttachmentsRequest,ListInterconnectAttachmentsPagedResponse> |
listInterconnectsCallable()
public UnaryCallable<ListInterconnectsRequest,ListInterconnectsResponse> listInterconnectsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListInterconnectsRequest,ListInterconnectsResponse> |
listInterconnectsPagedCallable()
public UnaryCallable<ListInterconnectsRequest,EdgeNetworkClient.ListInterconnectsPagedResponse> listInterconnectsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListInterconnectsRequest,ListInterconnectsPagedResponse> |
listLocationsCallable()
public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> |
listLocationsPagedCallable()
public UnaryCallable<ListLocationsRequest,EdgeNetworkClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse> |
listNetworksCallable()
public UnaryCallable<ListNetworksRequest,ListNetworksResponse> listNetworksCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListNetworksRequest,ListNetworksResponse> |
listNetworksPagedCallable()
public UnaryCallable<ListNetworksRequest,EdgeNetworkClient.ListNetworksPagedResponse> listNetworksPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListNetworksRequest,ListNetworksPagedResponse> |
listRoutersCallable()
public UnaryCallable<ListRoutersRequest,ListRoutersResponse> listRoutersCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListRoutersRequest,ListRoutersResponse> |
listRoutersPagedCallable()
public UnaryCallable<ListRoutersRequest,EdgeNetworkClient.ListRoutersPagedResponse> listRoutersPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListRoutersRequest,ListRoutersPagedResponse> |
listSubnetsCallable()
public UnaryCallable<ListSubnetsRequest,ListSubnetsResponse> listSubnetsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListSubnetsRequest,ListSubnetsResponse> |
listSubnetsPagedCallable()
public UnaryCallable<ListSubnetsRequest,EdgeNetworkClient.ListSubnetsPagedResponse> listSubnetsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListSubnetsRequest,ListSubnetsPagedResponse> |
listZonesCallable()
public UnaryCallable<ListZonesRequest,ListZonesResponse> listZonesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListZonesRequest,ListZonesResponse> |
listZonesPagedCallable()
public UnaryCallable<ListZonesRequest,EdgeNetworkClient.ListZonesPagedResponse> listZonesPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListZonesRequest,ListZonesPagedResponse> |
shutdown()
public void shutdown()
shutdownNow()
public void shutdownNow()
updateRouterCallable()
public UnaryCallable<UpdateRouterRequest,Operation> updateRouterCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateRouterRequest,Operation> |
updateRouterOperationCallable()
public OperationCallable<UpdateRouterRequest,Router,OperationMetadata> updateRouterOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateRouterRequest,Router,OperationMetadata> |
updateSubnetCallable()
public UnaryCallable<UpdateSubnetRequest,Operation> updateSubnetCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateSubnetRequest,Operation> |
updateSubnetOperationCallable()
public OperationCallable<UpdateSubnetRequest,Subnet,OperationMetadata> updateSubnetOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateSubnetRequest,Subnet,OperationMetadata> |