Class RemoteFunctionOptions.Builder (2.55.2)
public abstract static class RemoteFunctionOptions.Builder
Constructors
Builder()
Methods
build()
public abstract RemoteFunctionOptions build()
Creates a RemoteFunctionOptions
object.
setConnection(String connection)
public abstract RemoteFunctionOptions.Builder setConnection(String connection)
Fully qualified name of the user-provided connection object which holds the authentication
information to send requests to the remote service. Format:
<code><code>"projects/{projectId}/locations/{locationId}/connections/{connectionId}"</code></code>
Parameter |
Name |
Description |
connection |
String
|
setEndpoint(String endpoint)
public abstract RemoteFunctionOptions.Builder setEndpoint(String endpoint)
Sets Endpoint argument Endpoint of the user-provided remote service, e.g.
<code><code>https://us-east1-my_gcf_project.cloudfunctions.net/remote_add</code></code>
Parameter |
Name |
Description |
endpoint |
String
|
setMaxBatchingRows(Long maxBatchingRows)
public abstract RemoteFunctionOptions.Builder setMaxBatchingRows(Long maxBatchingRows)
Max number of rows in each batch sent to the remote service. If absent or if 0, BigQuery
dynamically decides the number of rows in a batch.
Parameter |
Name |
Description |
maxBatchingRows |
Long
|
setUserDefinedContext(Map<String,String> userDefinedContext)
public abstract RemoteFunctionOptions.Builder setUserDefinedContext(Map<String,String> userDefinedContext)
User-defined context as a set of key/value pairs, which will be sent as function invocation
context together with batched arguments in the requests to the remote service. The total
number of bytes of keys and values must be less than 8KB.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-11 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-11 UTC."],[],[]]