Class NetworkServicesStubSettings.Builder (0.2.0)

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

Builder for NetworkServicesStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > NetworkServicesStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(NetworkServicesStubSettings settings)

protected Builder(NetworkServicesStubSettings settings)
Parameter
Name Description
settings NetworkServicesStubSettings

Methods

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

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

build()

public NetworkServicesStubSettings build()
Returns
Type Description
NetworkServicesStubSettings
Overrides
Exceptions
Type Description
IOException

createEndpointPolicyOperationSettings()

public OperationCallSettings.Builder<CreateEndpointPolicyRequest,EndpointPolicy,OperationMetadata> createEndpointPolicyOperationSettings()

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

Returns
Type Description
Builder<CreateEndpointPolicyRequest,EndpointPolicy,OperationMetadata>

createEndpointPolicySettings()

public UnaryCallSettings.Builder<CreateEndpointPolicyRequest,Operation> createEndpointPolicySettings()

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

Returns
Type Description
Builder<CreateEndpointPolicyRequest,Operation>

createGatewayOperationSettings()

public OperationCallSettings.Builder<CreateGatewayRequest,Gateway,OperationMetadata> createGatewayOperationSettings()

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

Returns
Type Description
Builder<CreateGatewayRequest,Gateway,OperationMetadata>

createGatewaySettings()

public UnaryCallSettings.Builder<CreateGatewayRequest,Operation> createGatewaySettings()

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

Returns
Type Description
Builder<CreateGatewayRequest,Operation>

createGrpcRouteOperationSettings()

public OperationCallSettings.Builder<CreateGrpcRouteRequest,GrpcRoute,OperationMetadata> createGrpcRouteOperationSettings()

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

Returns
Type Description
Builder<CreateGrpcRouteRequest,GrpcRoute,OperationMetadata>

createGrpcRouteSettings()

public UnaryCallSettings.Builder<CreateGrpcRouteRequest,Operation> createGrpcRouteSettings()

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

Returns
Type Description
Builder<CreateGrpcRouteRequest,Operation>

createHttpRouteOperationSettings()

public OperationCallSettings.Builder<CreateHttpRouteRequest,HttpRoute,OperationMetadata> createHttpRouteOperationSettings()

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

Returns
Type Description
Builder<CreateHttpRouteRequest,HttpRoute,OperationMetadata>

createHttpRouteSettings()

public UnaryCallSettings.Builder<CreateHttpRouteRequest,Operation> createHttpRouteSettings()

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

Returns
Type Description
Builder<CreateHttpRouteRequest,Operation>

createMeshOperationSettings()

public OperationCallSettings.Builder<CreateMeshRequest,Mesh,OperationMetadata> createMeshOperationSettings()

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

Returns
Type Description
Builder<CreateMeshRequest,Mesh,OperationMetadata>

createMeshSettings()

public UnaryCallSettings.Builder<CreateMeshRequest,Operation> createMeshSettings()

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

Returns
Type Description
Builder<CreateMeshRequest,Operation>

createServiceBindingOperationSettings()

public OperationCallSettings.Builder<CreateServiceBindingRequest,ServiceBinding,OperationMetadata> createServiceBindingOperationSettings()

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

Returns
Type Description
Builder<CreateServiceBindingRequest,ServiceBinding,OperationMetadata>

createServiceBindingSettings()

public UnaryCallSettings.Builder<CreateServiceBindingRequest,Operation> createServiceBindingSettings()

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

Returns
Type Description
Builder<CreateServiceBindingRequest,Operation>

createTcpRouteOperationSettings()

public OperationCallSettings.Builder<CreateTcpRouteRequest,TcpRoute,OperationMetadata> createTcpRouteOperationSettings()

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

Returns
Type Description
Builder<CreateTcpRouteRequest,TcpRoute,OperationMetadata>

createTcpRouteSettings()

public UnaryCallSettings.Builder<CreateTcpRouteRequest,Operation> createTcpRouteSettings()

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

Returns
Type Description
Builder<CreateTcpRouteRequest,Operation>

createTlsRouteOperationSettings()

public OperationCallSettings.Builder<CreateTlsRouteRequest,TlsRoute,OperationMetadata> createTlsRouteOperationSettings()

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

Returns
Type Description
Builder<CreateTlsRouteRequest,TlsRoute,OperationMetadata>

createTlsRouteSettings()

public UnaryCallSettings.Builder<CreateTlsRouteRequest,Operation> createTlsRouteSettings()

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

Returns
Type Description
Builder<CreateTlsRouteRequest,Operation>

deleteEndpointPolicyOperationSettings()

public OperationCallSettings.Builder<DeleteEndpointPolicyRequest,Empty,OperationMetadata> deleteEndpointPolicyOperationSettings()

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

Returns
Type Description
Builder<DeleteEndpointPolicyRequest,Empty,OperationMetadata>

deleteEndpointPolicySettings()

public UnaryCallSettings.Builder<DeleteEndpointPolicyRequest,Operation> deleteEndpointPolicySettings()

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

Returns
Type Description
Builder<DeleteEndpointPolicyRequest,Operation>

deleteGatewayOperationSettings()

public OperationCallSettings.Builder<DeleteGatewayRequest,Empty,OperationMetadata> deleteGatewayOperationSettings()

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

Returns
Type Description
Builder<DeleteGatewayRequest,Empty,OperationMetadata>

deleteGatewaySettings()

public UnaryCallSettings.Builder<DeleteGatewayRequest,Operation> deleteGatewaySettings()

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

Returns
Type Description
Builder<DeleteGatewayRequest,Operation>

deleteGrpcRouteOperationSettings()

public OperationCallSettings.Builder<DeleteGrpcRouteRequest,Empty,OperationMetadata> deleteGrpcRouteOperationSettings()

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

Returns
Type Description
Builder<DeleteGrpcRouteRequest,Empty,OperationMetadata>

deleteGrpcRouteSettings()

public UnaryCallSettings.Builder<DeleteGrpcRouteRequest,Operation> deleteGrpcRouteSettings()

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

Returns
Type Description
Builder<DeleteGrpcRouteRequest,Operation>

deleteHttpRouteOperationSettings()

public OperationCallSettings.Builder<DeleteHttpRouteRequest,Empty,OperationMetadata> deleteHttpRouteOperationSettings()

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

Returns
Type Description
Builder<DeleteHttpRouteRequest,Empty,OperationMetadata>

deleteHttpRouteSettings()

public UnaryCallSettings.Builder<DeleteHttpRouteRequest,Operation> deleteHttpRouteSettings()

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

Returns
Type Description
Builder<DeleteHttpRouteRequest,Operation>

deleteMeshOperationSettings()

public OperationCallSettings.Builder<DeleteMeshRequest,Empty,OperationMetadata> deleteMeshOperationSettings()

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

Returns
Type Description
Builder<DeleteMeshRequest,Empty,OperationMetadata>

deleteMeshSettings()

public UnaryCallSettings.Builder<DeleteMeshRequest,Operation> deleteMeshSettings()

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

Returns
Type Description
Builder<DeleteMeshRequest,Operation>

deleteServiceBindingOperationSettings()

public OperationCallSettings.Builder<DeleteServiceBindingRequest,Empty,OperationMetadata> deleteServiceBindingOperationSettings()

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

Returns
Type Description
Builder<DeleteServiceBindingRequest,Empty,OperationMetadata>

deleteServiceBindingSettings()

public UnaryCallSettings.Builder<DeleteServiceBindingRequest,Operation> deleteServiceBindingSettings()

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

Returns
Type Description
Builder<DeleteServiceBindingRequest,Operation>

deleteTcpRouteOperationSettings()

public OperationCallSettings.Builder<DeleteTcpRouteRequest,Empty,OperationMetadata> deleteTcpRouteOperationSettings()

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

Returns
Type Description
Builder<DeleteTcpRouteRequest,Empty,OperationMetadata>

deleteTcpRouteSettings()

public UnaryCallSettings.Builder<DeleteTcpRouteRequest,Operation> deleteTcpRouteSettings()

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

Returns
Type Description
Builder<DeleteTcpRouteRequest,Operation>

deleteTlsRouteOperationSettings()

public OperationCallSettings.Builder<DeleteTlsRouteRequest,Empty,OperationMetadata> deleteTlsRouteOperationSettings()

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

Returns
Type Description
Builder<DeleteTlsRouteRequest,Empty,OperationMetadata>

deleteTlsRouteSettings()

public UnaryCallSettings.Builder<DeleteTlsRouteRequest,Operation> deleteTlsRouteSettings()

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

Returns
Type Description
Builder<DeleteTlsRouteRequest,Operation>

getEndpointPolicySettings()

public UnaryCallSettings.Builder<GetEndpointPolicyRequest,EndpointPolicy> getEndpointPolicySettings()

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

Returns
Type Description
Builder<GetEndpointPolicyRequest,EndpointPolicy>

getGatewaySettings()

public UnaryCallSettings.Builder<GetGatewayRequest,Gateway> getGatewaySettings()

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

Returns
Type Description
Builder<GetGatewayRequest,Gateway>

getGrpcRouteSettings()

public UnaryCallSettings.Builder<GetGrpcRouteRequest,GrpcRoute> getGrpcRouteSettings()

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

Returns
Type Description
Builder<GetGrpcRouteRequest,GrpcRoute>

getHttpRouteSettings()

public UnaryCallSettings.Builder<GetHttpRouteRequest,HttpRoute> getHttpRouteSettings()

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

Returns
Type Description
Builder<GetHttpRouteRequest,HttpRoute>

getIamPolicySettings()

public UnaryCallSettings.Builder<GetIamPolicyRequest,Policy> getIamPolicySettings()

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

Returns
Type Description
Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>

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>

getMeshSettings()

public UnaryCallSettings.Builder<GetMeshRequest,Mesh> getMeshSettings()

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

Returns
Type Description
Builder<GetMeshRequest,Mesh>

getServiceBindingSettings()

public UnaryCallSettings.Builder<GetServiceBindingRequest,ServiceBinding> getServiceBindingSettings()

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

Returns
Type Description
Builder<GetServiceBindingRequest,ServiceBinding>

getTcpRouteSettings()

public UnaryCallSettings.Builder<GetTcpRouteRequest,TcpRoute> getTcpRouteSettings()

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

Returns
Type Description
Builder<GetTcpRouteRequest,TcpRoute>

getTlsRouteSettings()

public UnaryCallSettings.Builder<GetTlsRouteRequest,TlsRoute> getTlsRouteSettings()

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

Returns
Type Description
Builder<GetTlsRouteRequest,TlsRoute>

listEndpointPoliciesSettings()

public PagedCallSettings.Builder<ListEndpointPoliciesRequest,ListEndpointPoliciesResponse,NetworkServicesClient.ListEndpointPoliciesPagedResponse> listEndpointPoliciesSettings()

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

Returns
Type Description
Builder<ListEndpointPoliciesRequest,ListEndpointPoliciesResponse,ListEndpointPoliciesPagedResponse>

listGatewaysSettings()

public PagedCallSettings.Builder<ListGatewaysRequest,ListGatewaysResponse,NetworkServicesClient.ListGatewaysPagedResponse> listGatewaysSettings()

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

Returns
Type Description
Builder<ListGatewaysRequest,ListGatewaysResponse,ListGatewaysPagedResponse>

listGrpcRoutesSettings()

public PagedCallSettings.Builder<ListGrpcRoutesRequest,ListGrpcRoutesResponse,NetworkServicesClient.ListGrpcRoutesPagedResponse> listGrpcRoutesSettings()

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

Returns
Type Description
Builder<ListGrpcRoutesRequest,ListGrpcRoutesResponse,ListGrpcRoutesPagedResponse>

listHttpRoutesSettings()

public PagedCallSettings.Builder<ListHttpRoutesRequest,ListHttpRoutesResponse,NetworkServicesClient.ListHttpRoutesPagedResponse> listHttpRoutesSettings()

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

Returns
Type Description
Builder<ListHttpRoutesRequest,ListHttpRoutesResponse,ListHttpRoutesPagedResponse>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,NetworkServicesClient.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>

listMeshesSettings()

public PagedCallSettings.Builder<ListMeshesRequest,ListMeshesResponse,NetworkServicesClient.ListMeshesPagedResponse> listMeshesSettings()

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

Returns
Type Description
Builder<ListMeshesRequest,ListMeshesResponse,ListMeshesPagedResponse>

listServiceBindingsSettings()

public PagedCallSettings.Builder<ListServiceBindingsRequest,ListServiceBindingsResponse,NetworkServicesClient.ListServiceBindingsPagedResponse> listServiceBindingsSettings()

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

Returns
Type Description
Builder<ListServiceBindingsRequest,ListServiceBindingsResponse,ListServiceBindingsPagedResponse>

listTcpRoutesSettings()

public PagedCallSettings.Builder<ListTcpRoutesRequest,ListTcpRoutesResponse,NetworkServicesClient.ListTcpRoutesPagedResponse> listTcpRoutesSettings()

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

Returns
Type Description
Builder<ListTcpRoutesRequest,ListTcpRoutesResponse,ListTcpRoutesPagedResponse>

listTlsRoutesSettings()

public PagedCallSettings.Builder<ListTlsRoutesRequest,ListTlsRoutesResponse,NetworkServicesClient.ListTlsRoutesPagedResponse> listTlsRoutesSettings()

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

Returns
Type Description
Builder<ListTlsRoutesRequest,ListTlsRoutesResponse,ListTlsRoutesPagedResponse>

setIamPolicySettings()

public UnaryCallSettings.Builder<SetIamPolicyRequest,Policy> setIamPolicySettings()

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

Returns
Type Description
Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>

testIamPermissionsSettings()

public UnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()

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

Returns
Type Description
Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>

unaryMethodSettingsBuilders()

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

updateEndpointPolicyOperationSettings()

public OperationCallSettings.Builder<UpdateEndpointPolicyRequest,EndpointPolicy,OperationMetadata> updateEndpointPolicyOperationSettings()

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

Returns
Type Description
Builder<UpdateEndpointPolicyRequest,EndpointPolicy,OperationMetadata>

updateEndpointPolicySettings()

public UnaryCallSettings.Builder<UpdateEndpointPolicyRequest,Operation> updateEndpointPolicySettings()

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

Returns
Type Description
Builder<UpdateEndpointPolicyRequest,Operation>

updateGatewayOperationSettings()

public OperationCallSettings.Builder<UpdateGatewayRequest,Gateway,OperationMetadata> updateGatewayOperationSettings()

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

Returns
Type Description
Builder<UpdateGatewayRequest,Gateway,OperationMetadata>

updateGatewaySettings()

public UnaryCallSettings.Builder<UpdateGatewayRequest,Operation> updateGatewaySettings()

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

Returns
Type Description
Builder<UpdateGatewayRequest,Operation>

updateGrpcRouteOperationSettings()

public OperationCallSettings.Builder<UpdateGrpcRouteRequest,GrpcRoute,OperationMetadata> updateGrpcRouteOperationSettings()

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

Returns
Type Description
Builder<UpdateGrpcRouteRequest,GrpcRoute,OperationMetadata>

updateGrpcRouteSettings()

public UnaryCallSettings.Builder<UpdateGrpcRouteRequest,Operation> updateGrpcRouteSettings()

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

Returns
Type Description
Builder<UpdateGrpcRouteRequest,Operation>

updateHttpRouteOperationSettings()

public OperationCallSettings.Builder<UpdateHttpRouteRequest,HttpRoute,OperationMetadata> updateHttpRouteOperationSettings()

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

Returns
Type Description
Builder<UpdateHttpRouteRequest,HttpRoute,OperationMetadata>

updateHttpRouteSettings()

public UnaryCallSettings.Builder<UpdateHttpRouteRequest,Operation> updateHttpRouteSettings()

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

Returns
Type Description
Builder<UpdateHttpRouteRequest,Operation>

updateMeshOperationSettings()

public OperationCallSettings.Builder<UpdateMeshRequest,Mesh,OperationMetadata> updateMeshOperationSettings()

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

Returns
Type Description
Builder<UpdateMeshRequest,Mesh,OperationMetadata>

updateMeshSettings()

public UnaryCallSettings.Builder<UpdateMeshRequest,Operation> updateMeshSettings()

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

Returns
Type Description
Builder<UpdateMeshRequest,Operation>

updateTcpRouteOperationSettings()

public OperationCallSettings.Builder<UpdateTcpRouteRequest,TcpRoute,OperationMetadata> updateTcpRouteOperationSettings()

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

Returns
Type Description
Builder<UpdateTcpRouteRequest,TcpRoute,OperationMetadata>

updateTcpRouteSettings()

public UnaryCallSettings.Builder<UpdateTcpRouteRequest,Operation> updateTcpRouteSettings()

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

Returns
Type Description
Builder<UpdateTcpRouteRequest,Operation>

updateTlsRouteOperationSettings()

public OperationCallSettings.Builder<UpdateTlsRouteRequest,TlsRoute,OperationMetadata> updateTlsRouteOperationSettings()

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

Returns
Type Description
Builder<UpdateTlsRouteRequest,TlsRoute,OperationMetadata>

updateTlsRouteSettings()

public UnaryCallSettings.Builder<UpdateTlsRouteRequest,Operation> updateTlsRouteSettings()

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

Returns
Type Description
Builder<UpdateTlsRouteRequest,Operation>