Class NetworkEndpointGroupsStubSettings.Builder (1.50.0)

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

Builder for NetworkEndpointGroupsStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > NetworkEndpointGroupsStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(NetworkEndpointGroupsStubSettings settings)

protected Builder(NetworkEndpointGroupsStubSettings settings)
Parameter
NameDescription
settingsNetworkEndpointGroupsStubSettings

Methods

aggregatedListSettings()

public PagedCallSettings.Builder<AggregatedListNetworkEndpointGroupsRequest,NetworkEndpointGroupAggregatedList,NetworkEndpointGroupsClient.AggregatedListPagedResponse> aggregatedListSettings()

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

Returns
TypeDescription
Builder<AggregatedListNetworkEndpointGroupsRequest,NetworkEndpointGroupAggregatedList,AggregatedListPagedResponse>

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

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

attachNetworkEndpointsOperationSettings()

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

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

Returns
TypeDescription
Builder<AttachNetworkEndpointsNetworkEndpointGroupRequest,Operation,Operation>

attachNetworkEndpointsSettings()

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

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

Returns
TypeDescription
Builder<AttachNetworkEndpointsNetworkEndpointGroupRequest,Operation>

build()

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

deleteOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteNetworkEndpointGroupRequest,Operation,Operation>

deleteSettings()

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

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

Returns
TypeDescription
Builder<DeleteNetworkEndpointGroupRequest,Operation>

detachNetworkEndpointsOperationSettings()

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

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

Returns
TypeDescription
Builder<DetachNetworkEndpointsNetworkEndpointGroupRequest,Operation,Operation>

detachNetworkEndpointsSettings()

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

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

Returns
TypeDescription
Builder<DetachNetworkEndpointsNetworkEndpointGroupRequest,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<GetNetworkEndpointGroupRequest,NetworkEndpointGroup> getSettings()

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

Returns
TypeDescription
Builder<GetNetworkEndpointGroupRequest,NetworkEndpointGroup>

insertOperationSettings()

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

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

Returns
TypeDescription
Builder<InsertNetworkEndpointGroupRequest,Operation,Operation>

insertSettings()

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

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

Returns
TypeDescription
Builder<InsertNetworkEndpointGroupRequest,Operation>

listNetworkEndpointsSettings()

public PagedCallSettings.Builder<ListNetworkEndpointsNetworkEndpointGroupsRequest,NetworkEndpointGroupsListNetworkEndpoints,NetworkEndpointGroupsClient.ListNetworkEndpointsPagedResponse> listNetworkEndpointsSettings()

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

Returns
TypeDescription
Builder<ListNetworkEndpointsNetworkEndpointGroupsRequest,NetworkEndpointGroupsListNetworkEndpoints,ListNetworkEndpointsPagedResponse>

listSettings()

public PagedCallSettings.Builder<ListNetworkEndpointGroupsRequest,NetworkEndpointGroupList,NetworkEndpointGroupsClient.ListPagedResponse> listSettings()

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

Returns
TypeDescription
Builder<ListNetworkEndpointGroupsRequest,NetworkEndpointGroupList,ListPagedResponse>

testIamPermissionsSettings()

public UnaryCallSettings.Builder<TestIamPermissionsNetworkEndpointGroupRequest,TestPermissionsResponse> testIamPermissionsSettings()

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

Returns
TypeDescription
Builder<TestIamPermissionsNetworkEndpointGroupRequest,TestPermissionsResponse>

unaryMethodSettingsBuilders()

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