Class EdgeNetworkSettings.Builder (0.26.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.

createInterconnectAttachmentSettings()

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

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

createNetworkOperationSettings()

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

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

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.

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.

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.

deleteInterconnectAttachmentSettings()

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

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

deleteNetworkOperationSettings()

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

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

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.

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.

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.

diagnoseNetworkSettings()

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

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

diagnoseRouterSettings()

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

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

getInterconnectAttachmentSettings()

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

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

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.

listInterconnectAttachmentsSettings()

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

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

listInterconnectsSettings()

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

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

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.

listRoutersSettings()

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

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

listSubnetsSettings()

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

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

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.

updateRouterOperationSettings()

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

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

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.

updateSubnetSettings()

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

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

Returns
Type Description
Builder<UpdateSubnetRequest,Operation>