Class EdgeNetworkSettings.Builder (0.15.0)

public static class EdgeNetworkSettings.Builder extends ClientSettings.Builder<EdgeNetworkSettings,EdgeNetworkSettings.Builder>

Builder for EdgeNetworkSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > EdgeNetworkSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(EdgeNetworkSettings settings)

protected Builder(EdgeNetworkSettings settings)
Parameter
Name Description
settings EdgeNetworkSettings

Builder(EdgeNetworkStubSettings.Builder stubSettings)

protected Builder(EdgeNetworkStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings EdgeNetworkStubSettings.Builder

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public EdgeNetworkSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

Applies the given settings updater function to all of the unary API methods in this service.

Note: This method does not support applying settings to streaming methods.

Parameter
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
EdgeNetworkSettings.Builder

build()

public EdgeNetworkSettings build()
Returns
Type Description
EdgeNetworkSettings
Overrides
Exceptions
Type Description
IOException

createInterconnectAttachmentOperationSettings()

public OperationCallSettings.Builder<CreateInterconnectAttachmentRequest,InterconnectAttachment,OperationMetadata> createInterconnectAttachmentOperationSettings()

Returns the builder for the settings used for calls to createInterconnectAttachment.

Returns
Type Description
Builder<CreateInterconnectAttachmentRequest,InterconnectAttachment,OperationMetadata>

createInterconnectAttachmentSettings()

public UnaryCallSettings.Builder<CreateInterconnectAttachmentRequest,Operation> createInterconnectAttachmentSettings()

Returns the builder for the settings used for calls to createInterconnectAttachment.

Returns
Type Description
Builder<CreateInterconnectAttachmentRequest,Operation>

createNetworkOperationSettings()

public OperationCallSettings.Builder<CreateNetworkRequest,Network,OperationMetadata> createNetworkOperationSettings()

Returns the builder for the settings used for calls to createNetwork.

Returns
Type Description
Builder<CreateNetworkRequest,Network,OperationMetadata>

createNetworkSettings()

public UnaryCallSettings.Builder<CreateNetworkRequest,Operation> createNetworkSettings()

Returns the builder for the settings used for calls to createNetwork.

Returns
Type Description
Builder<CreateNetworkRequest,Operation>

createRouterOperationSettings()

public OperationCallSettings.Builder<CreateRouterRequest,Router,OperationMetadata> createRouterOperationSettings()

Returns the builder for the settings used for calls to createRouter.

Returns
Type Description
Builder<CreateRouterRequest,Router,OperationMetadata>

createRouterSettings()

public UnaryCallSettings.Builder<CreateRouterRequest,Operation> createRouterSettings()

Returns the builder for the settings used for calls to createRouter.

Returns
Type Description
Builder<CreateRouterRequest,Operation>

createSubnetOperationSettings()

public OperationCallSettings.Builder<CreateSubnetRequest,Subnet,OperationMetadata> createSubnetOperationSettings()

Returns the builder for the settings used for calls to createSubnet.

Returns
Type Description
Builder<CreateSubnetRequest,Subnet,OperationMetadata>

createSubnetSettings()

public UnaryCallSettings.Builder<CreateSubnetRequest,Operation> createSubnetSettings()

Returns the builder for the settings used for calls to createSubnet.

Returns
Type Description
Builder<CreateSubnetRequest,Operation>

deleteInterconnectAttachmentOperationSettings()

public OperationCallSettings.Builder<DeleteInterconnectAttachmentRequest,Empty,OperationMetadata> deleteInterconnectAttachmentOperationSettings()

Returns the builder for the settings used for calls to deleteInterconnectAttachment.

Returns
Type Description
Builder<DeleteInterconnectAttachmentRequest,Empty,OperationMetadata>

deleteInterconnectAttachmentSettings()

public UnaryCallSettings.Builder<DeleteInterconnectAttachmentRequest,Operation> deleteInterconnectAttachmentSettings()

Returns the builder for the settings used for calls to deleteInterconnectAttachment.

Returns
Type Description
Builder<DeleteInterconnectAttachmentRequest,Operation>

deleteNetworkOperationSettings()

public OperationCallSettings.Builder<DeleteNetworkRequest,Empty,OperationMetadata> deleteNetworkOperationSettings()

Returns the builder for the settings used for calls to deleteNetwork.

Returns
Type Description
Builder<DeleteNetworkRequest,Empty,OperationMetadata>

deleteNetworkSettings()

public UnaryCallSettings.Builder<DeleteNetworkRequest,Operation> deleteNetworkSettings()

Returns the builder for the settings used for calls to deleteNetwork.

Returns
Type Description
Builder<DeleteNetworkRequest,Operation>

deleteRouterOperationSettings()

public OperationCallSettings.Builder<DeleteRouterRequest,Empty,OperationMetadata> deleteRouterOperationSettings()

Returns the builder for the settings used for calls to deleteRouter.

Returns
Type Description
Builder<DeleteRouterRequest,Empty,OperationMetadata>

deleteRouterSettings()

public UnaryCallSettings.Builder<DeleteRouterRequest,Operation> deleteRouterSettings()

Returns the builder for the settings used for calls to deleteRouter.

Returns
Type Description
Builder<DeleteRouterRequest,Operation>

deleteSubnetOperationSettings()

public OperationCallSettings.Builder<DeleteSubnetRequest,Empty,OperationMetadata> deleteSubnetOperationSettings()

Returns the builder for the settings used for calls to deleteSubnet.

Returns
Type Description
Builder<DeleteSubnetRequest,Empty,OperationMetadata>

deleteSubnetSettings()

public UnaryCallSettings.Builder<DeleteSubnetRequest,Operation> deleteSubnetSettings()

Returns the builder for the settings used for calls to deleteSubnet.

Returns
Type Description
Builder<DeleteSubnetRequest,Operation>

diagnoseInterconnectSettings()

public UnaryCallSettings.Builder<DiagnoseInterconnectRequest,DiagnoseInterconnectResponse> diagnoseInterconnectSettings()

Returns the builder for the settings used for calls to diagnoseInterconnect.

Returns
Type Description
Builder<DiagnoseInterconnectRequest,DiagnoseInterconnectResponse>

diagnoseNetworkSettings()

public UnaryCallSettings.Builder<DiagnoseNetworkRequest,DiagnoseNetworkResponse> diagnoseNetworkSettings()

Returns the builder for the settings used for calls to diagnoseNetwork.

Returns
Type Description
Builder<DiagnoseNetworkRequest,DiagnoseNetworkResponse>

diagnoseRouterSettings()

public UnaryCallSettings.Builder<DiagnoseRouterRequest,DiagnoseRouterResponse> diagnoseRouterSettings()

Returns the builder for the settings used for calls to diagnoseRouter.

Returns
Type Description
Builder<DiagnoseRouterRequest,DiagnoseRouterResponse>

getInterconnectAttachmentSettings()

public UnaryCallSettings.Builder<GetInterconnectAttachmentRequest,InterconnectAttachment> getInterconnectAttachmentSettings()

Returns the builder for the settings used for calls to getInterconnectAttachment.

Returns
Type Description
Builder<GetInterconnectAttachmentRequest,InterconnectAttachment>

getInterconnectSettings()

public UnaryCallSettings.Builder<GetInterconnectRequest,Interconnect> getInterconnectSettings()

Returns the builder for the settings used for calls to getInterconnect.

Returns
Type Description
Builder<GetInterconnectRequest,Interconnect>

getLocationSettings()

public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()

Returns the builder for the settings used for calls to getLocation.

Returns
Type Description
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

getNetworkSettings()

public UnaryCallSettings.Builder<GetNetworkRequest,Network> getNetworkSettings()

Returns the builder for the settings used for calls to getNetwork.

Returns
Type Description
Builder<GetNetworkRequest,Network>

getRouterSettings()

public UnaryCallSettings.Builder<GetRouterRequest,Router> getRouterSettings()

Returns the builder for the settings used for calls to getRouter.

Returns
Type Description
Builder<GetRouterRequest,Router>

getStubSettingsBuilder()

public EdgeNetworkStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
EdgeNetworkStubSettings.Builder

getSubnetSettings()

public UnaryCallSettings.Builder<GetSubnetRequest,Subnet> getSubnetSettings()

Returns the builder for the settings used for calls to getSubnet.

Returns
Type Description
Builder<GetSubnetRequest,Subnet>

getZoneSettings() (deprecated)

public UnaryCallSettings.Builder<GetZoneRequest,Zone> getZoneSettings()

Deprecated. This method is deprecated and will be removed in the next major version update.

Returns the builder for the settings used for calls to getZone.

Returns
Type Description
Builder<GetZoneRequest,Zone>

initializeZoneSettings()

public UnaryCallSettings.Builder<InitializeZoneRequest,InitializeZoneResponse> initializeZoneSettings()

Returns the builder for the settings used for calls to initializeZone.

Returns
Type Description
Builder<InitializeZoneRequest,InitializeZoneResponse>

listInterconnectAttachmentsSettings()

public PagedCallSettings.Builder<ListInterconnectAttachmentsRequest,ListInterconnectAttachmentsResponse,EdgeNetworkClient.ListInterconnectAttachmentsPagedResponse> listInterconnectAttachmentsSettings()

Returns the builder for the settings used for calls to listInterconnectAttachments.

Returns
Type Description
Builder<ListInterconnectAttachmentsRequest,ListInterconnectAttachmentsResponse,ListInterconnectAttachmentsPagedResponse>

listInterconnectsSettings()

public PagedCallSettings.Builder<ListInterconnectsRequest,ListInterconnectsResponse,EdgeNetworkClient.ListInterconnectsPagedResponse> listInterconnectsSettings()

Returns the builder for the settings used for calls to listInterconnects.

Returns
Type Description
Builder<ListInterconnectsRequest,ListInterconnectsResponse,ListInterconnectsPagedResponse>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,EdgeNetworkClient.ListLocationsPagedResponse> listLocationsSettings()

Returns the builder for the settings used for calls to listLocations.

Returns
Type Description
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>

listNetworksSettings()

public PagedCallSettings.Builder<ListNetworksRequest,ListNetworksResponse,EdgeNetworkClient.ListNetworksPagedResponse> listNetworksSettings()

Returns the builder for the settings used for calls to listNetworks.

Returns
Type Description
Builder<ListNetworksRequest,ListNetworksResponse,ListNetworksPagedResponse>

listRoutersSettings()

public PagedCallSettings.Builder<ListRoutersRequest,ListRoutersResponse,EdgeNetworkClient.ListRoutersPagedResponse> listRoutersSettings()

Returns the builder for the settings used for calls to listRouters.

Returns
Type Description
Builder<ListRoutersRequest,ListRoutersResponse,ListRoutersPagedResponse>

listSubnetsSettings()

public PagedCallSettings.Builder<ListSubnetsRequest,ListSubnetsResponse,EdgeNetworkClient.ListSubnetsPagedResponse> listSubnetsSettings()

Returns the builder for the settings used for calls to listSubnets.

Returns
Type Description
Builder<ListSubnetsRequest,ListSubnetsResponse,ListSubnetsPagedResponse>

listZonesSettings() (deprecated)

public PagedCallSettings.Builder<ListZonesRequest,ListZonesResponse,EdgeNetworkClient.ListZonesPagedResponse> listZonesSettings()

Deprecated. This method is deprecated and will be removed in the next major version update.

Returns the builder for the settings used for calls to listZones.

Returns
Type Description
Builder<ListZonesRequest,ListZonesResponse,ListZonesPagedResponse>

updateRouterOperationSettings()

public OperationCallSettings.Builder<UpdateRouterRequest,Router,OperationMetadata> updateRouterOperationSettings()

Returns the builder for the settings used for calls to updateRouter.

Returns
Type Description
Builder<UpdateRouterRequest,Router,OperationMetadata>

updateRouterSettings()

public UnaryCallSettings.Builder<UpdateRouterRequest,Operation> updateRouterSettings()

Returns the builder for the settings used for calls to updateRouter.

Returns
Type Description
Builder<UpdateRouterRequest,Operation>

updateSubnetOperationSettings()

public OperationCallSettings.Builder<UpdateSubnetRequest,Subnet,OperationMetadata> updateSubnetOperationSettings()

Returns the builder for the settings used for calls to updateSubnet.

Returns
Type Description
Builder<UpdateSubnetRequest,Subnet,OperationMetadata>

updateSubnetSettings()

public UnaryCallSettings.Builder<UpdateSubnetRequest,Operation> updateSubnetSettings()

Returns the builder for the settings used for calls to updateSubnet.

Returns
Type Description
Builder<UpdateSubnetRequest,Operation>