Class EdgeNetworkSettings.Builder (0.4.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
NameDescription
clientContextClientContext

Builder(EdgeNetworkSettings settings)

protected Builder(EdgeNetworkSettings settings)
Parameter
NameDescription
settingsEdgeNetworkSettings

Builder(EdgeNetworkStubSettings.Builder stubSettings)

protected Builder(EdgeNetworkStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsEdgeNetworkStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
EdgeNetworkSettings.Builder

build()

public EdgeNetworkSettings build()
Returns
TypeDescription
EdgeNetworkSettings
Overrides
Exceptions
TypeDescription
IOException

createInterconnectAttachmentOperationSettings()

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

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

Returns
TypeDescription
Builder<CreateInterconnectAttachmentRequest,InterconnectAttachment,OperationMetadata>

createInterconnectAttachmentSettings()

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

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

Returns
TypeDescription
Builder<CreateInterconnectAttachmentRequest,Operation>

createNetworkOperationSettings()

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

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

Returns
TypeDescription
Builder<CreateNetworkRequest,Network,OperationMetadata>

createNetworkSettings()

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

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

Returns
TypeDescription
Builder<CreateNetworkRequest,Operation>

createRouterOperationSettings()

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

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

Returns
TypeDescription
Builder<CreateRouterRequest,Router,OperationMetadata>

createRouterSettings()

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

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

Returns
TypeDescription
Builder<CreateRouterRequest,Operation>

createSubnetOperationSettings()

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

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

Returns
TypeDescription
Builder<CreateSubnetRequest,Subnet,OperationMetadata>

createSubnetSettings()

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

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

Returns
TypeDescription
Builder<CreateSubnetRequest,Operation>

deleteInterconnectAttachmentOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteInterconnectAttachmentRequest,Empty,OperationMetadata>

deleteInterconnectAttachmentSettings()

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

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

Returns
TypeDescription
Builder<DeleteInterconnectAttachmentRequest,Operation>

deleteNetworkOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteNetworkRequest,Empty,OperationMetadata>

deleteNetworkSettings()

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

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

Returns
TypeDescription
Builder<DeleteNetworkRequest,Operation>

deleteRouterOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteRouterRequest,Empty,OperationMetadata>

deleteRouterSettings()

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

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

Returns
TypeDescription
Builder<DeleteRouterRequest,Operation>

deleteSubnetOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteSubnetRequest,Empty,OperationMetadata>

deleteSubnetSettings()

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

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

Returns
TypeDescription
Builder<DeleteSubnetRequest,Operation>

diagnoseInterconnectSettings()

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

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

Returns
TypeDescription
Builder<DiagnoseInterconnectRequest,DiagnoseInterconnectResponse>

diagnoseNetworkSettings()

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

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

Returns
TypeDescription
Builder<DiagnoseNetworkRequest,DiagnoseNetworkResponse>

diagnoseRouterSettings()

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

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

Returns
TypeDescription
Builder<DiagnoseRouterRequest,DiagnoseRouterResponse>

getInterconnectAttachmentSettings()

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

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

Returns
TypeDescription
Builder<GetInterconnectAttachmentRequest,InterconnectAttachment>

getInterconnectSettings()

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

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

Returns
TypeDescription
Builder<GetInterconnectRequest,Interconnect>

getLocationSettings()

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

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

Returns
TypeDescription
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
TypeDescription
Builder<GetNetworkRequest,Network>

getRouterSettings()

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

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

Returns
TypeDescription
Builder<GetRouterRequest,Router>

getStubSettingsBuilder()

public EdgeNetworkStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
EdgeNetworkStubSettings.Builder

getSubnetSettings()

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

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

Returns
TypeDescription
Builder<GetSubnetRequest,Subnet>

getZoneSettings()

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

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

Returns
TypeDescription
Builder<GetZoneRequest,Zone>

initializeZoneSettings()

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

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

Returns
TypeDescription
Builder<InitializeZoneRequest,InitializeZoneResponse>

listInterconnectAttachmentsSettings()

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

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Builder<ListSubnetsRequest,ListSubnetsResponse,ListSubnetsPagedResponse>

listZonesSettings()

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

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

Returns
TypeDescription
Builder<ListZonesRequest,ListZonesResponse,ListZonesPagedResponse>

updateRouterOperationSettings()

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

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

Returns
TypeDescription
Builder<UpdateRouterRequest,Router,OperationMetadata>

updateRouterSettings()

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

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

Returns
TypeDescription
Builder<UpdateRouterRequest,Operation>

updateSubnetOperationSettings()

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

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

Returns
TypeDescription
Builder<UpdateSubnetRequest,Subnet,OperationMetadata>

updateSubnetSettings()

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

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

Returns
TypeDescription
Builder<UpdateSubnetRequest,Operation>