Class EdgeNetworkStubSettings.Builder (0.2.0)

public static class EdgeNetworkStubSettings.Builder extends StubSettings.Builder<EdgeNetworkStubSettings,EdgeNetworkStubSettings.Builder>

Builder for EdgeNetworkStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > EdgeNetworkStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(EdgeNetworkStubSettings settings)

protected Builder(EdgeNetworkStubSettings settings)
Parameter
NameDescription
settingsEdgeNetworkStubSettings

Methods

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

public EdgeNetworkStubSettings.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
EdgeNetworkStubSettings.Builder

build()

public EdgeNetworkStubSettings build()
Returns
TypeDescription
EdgeNetworkStubSettings
Overrides
Exceptions
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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.

getEndpoint()

public String getEndpoint()

Returns the endpoint set by the user or the the service's default endpoint.

Returns
TypeDescription
String
Overrides

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.

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>

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.

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
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.

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()

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

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

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
com.google.common.collect.ImmutableList<Builder<?,?>>

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
TypeDescription
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
TypeDescription
Builder<UpdateSubnetRequest,Operation>