Class GlobalNetworkEndpointGroupsStubSettings.Builder (1.46.0)

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

Builder for GlobalNetworkEndpointGroupsStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > GlobalNetworkEndpointGroupsStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(GlobalNetworkEndpointGroupsStubSettings settings)

protected Builder(GlobalNetworkEndpointGroupsStubSettings settings)
Parameter
NameDescription
settingsGlobalNetworkEndpointGroupsStubSettings

Methods

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

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

attachNetworkEndpointsOperationSettings()

public OperationCallSettings.Builder<AttachNetworkEndpointsGlobalNetworkEndpointGroupRequest,Operation,Operation> attachNetworkEndpointsOperationSettings()

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

Returns
TypeDescription
Builder<AttachNetworkEndpointsGlobalNetworkEndpointGroupRequest,Operation,Operation>

attachNetworkEndpointsSettings()

public UnaryCallSettings.Builder<AttachNetworkEndpointsGlobalNetworkEndpointGroupRequest,Operation> attachNetworkEndpointsSettings()

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

Returns
TypeDescription
Builder<AttachNetworkEndpointsGlobalNetworkEndpointGroupRequest,Operation>

build()

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

deleteOperationSettings()

public OperationCallSettings.Builder<DeleteGlobalNetworkEndpointGroupRequest,Operation,Operation> deleteOperationSettings()

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

Returns
TypeDescription
Builder<DeleteGlobalNetworkEndpointGroupRequest,Operation,Operation>

deleteSettings()

public UnaryCallSettings.Builder<DeleteGlobalNetworkEndpointGroupRequest,Operation> deleteSettings()

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

Returns
TypeDescription
Builder<DeleteGlobalNetworkEndpointGroupRequest,Operation>

detachNetworkEndpointsOperationSettings()

public OperationCallSettings.Builder<DetachNetworkEndpointsGlobalNetworkEndpointGroupRequest,Operation,Operation> detachNetworkEndpointsOperationSettings()

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

Returns
TypeDescription
Builder<DetachNetworkEndpointsGlobalNetworkEndpointGroupRequest,Operation,Operation>

detachNetworkEndpointsSettings()

public UnaryCallSettings.Builder<DetachNetworkEndpointsGlobalNetworkEndpointGroupRequest,Operation> detachNetworkEndpointsSettings()

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

Returns
TypeDescription
Builder<DetachNetworkEndpointsGlobalNetworkEndpointGroupRequest,Operation>

getEndpoint()

public String getEndpoint()

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

Returns
TypeDescription
String
Overrides

getSettings()

public UnaryCallSettings.Builder<GetGlobalNetworkEndpointGroupRequest,NetworkEndpointGroup> getSettings()

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

Returns
TypeDescription
Builder<GetGlobalNetworkEndpointGroupRequest,NetworkEndpointGroup>

insertOperationSettings()

public OperationCallSettings.Builder<InsertGlobalNetworkEndpointGroupRequest,Operation,Operation> insertOperationSettings()

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

Returns
TypeDescription
Builder<InsertGlobalNetworkEndpointGroupRequest,Operation,Operation>

insertSettings()

public UnaryCallSettings.Builder<InsertGlobalNetworkEndpointGroupRequest,Operation> insertSettings()

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

Returns
TypeDescription
Builder<InsertGlobalNetworkEndpointGroupRequest,Operation>

listNetworkEndpointsSettings()

public PagedCallSettings.Builder<ListNetworkEndpointsGlobalNetworkEndpointGroupsRequest,NetworkEndpointGroupsListNetworkEndpoints,GlobalNetworkEndpointGroupsClient.ListNetworkEndpointsPagedResponse> listNetworkEndpointsSettings()

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

Returns
TypeDescription
Builder<ListNetworkEndpointsGlobalNetworkEndpointGroupsRequest,NetworkEndpointGroupsListNetworkEndpoints,ListNetworkEndpointsPagedResponse>

listSettings()

public PagedCallSettings.Builder<ListGlobalNetworkEndpointGroupsRequest,NetworkEndpointGroupList,GlobalNetworkEndpointGroupsClient.ListPagedResponse> listSettings()

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

Returns
TypeDescription
Builder<ListGlobalNetworkEndpointGroupsRequest,NetworkEndpointGroupList,ListPagedResponse>

unaryMethodSettingsBuilders()

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