Send feedback
  
   
 
  
    
      Class HttpJsonEdgeNetworkStub (0.46.0) 
  
  
  
   
  
    
  
  
    
    
    
    
    
  Version latestkeyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
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 )  
  
  
  
  create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) 
  
    
public   static   final   HttpJsonEdgeNetworkStub   create ( ClientContext   clientContext ,   HttpJsonStubCallableFactory   callableFactory )  
  
  
  
  create(EdgeNetworkStubSettings settings) 
  
    
public   static   final   HttpJsonEdgeNetworkStub   create ( EdgeNetworkStubSettings   settings )  
  
  
  
  getMethodDescriptors() 
  
    
public   static   List<ApiMethodDescriptor>   getMethodDescriptors ()  
  
  
  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.
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.
Methods
   
  awaitTermination(long duration, TimeUnit unit) 
  
    
public   boolean   awaitTermination ( long   duration ,   TimeUnit   unit )  
  
  
  
  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 ()  
  
  Overrides 
  
  getInterconnectAttachmentCallable() 
  
    
public   UnaryCallable<GetInterconnectAttachmentRequest , InterconnectAttachment >  getInterconnectAttachmentCallable ()  
  
  Overrides 
  
  getInterconnectCallable() 
  
    
public   UnaryCallable<GetInterconnectRequest , Interconnect >  getInterconnectCallable ()  
  
  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 ()  
  
  Overrides 
  
  getRouterCallable() 
  
    
public   UnaryCallable<GetRouterRequest , Router >  getRouterCallable ()  
  
  Overrides 
  
  getSubnetCallable() 
  
    
public   UnaryCallable<GetSubnetRequest , Subnet >  getSubnetCallable ()  
  
  Overrides 
  
  getZoneCallable() 
  
    
public   UnaryCallable<GetZoneRequest , Zone >  getZoneCallable ()  
  
  Overrides 
  
  initializeZoneCallable() 
  
    
public   UnaryCallable<InitializeZoneRequest , InitializeZoneResponse >  initializeZoneCallable ()  
  
  Overrides 
  
  isShutdown() 
  
    
public   boolean   isShutdown ()  
  
  isTerminated() 
  
    
public   boolean   isTerminated ()  
  
  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  
      
        Type Description  
      
        UnaryCallable <com.google.cloud.location.ListLocationsRequest ,com.google.cloud.location.ListLocationsResponse > 
     
  
  Overrides 
  
  listLocationsPagedCallable() 
  
    
public   UnaryCallable<ListLocationsRequest , EdgeNetworkClient . ListLocationsPagedResponse >  listLocationsPagedCallable ()  
  
  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() 
  
  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 
  
 
     
    
  
  
  
     
  
    
    
      
       
         
  
  
    
    Send feedback
  
   
 
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-29 UTC.
 
 
  
  
    
    
    
      
  
  
    Need to tell us more?
  
   
 
     
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-29 UTC."],[],[]]