Class ApiTracerContext.Builder (2.83.0)
Stay organized with collections
Save and categorize content based on your preferences.
public abstract static class ApiTracerContext.Builder
Constructors
Builder()
Methods
build()
public abstract ApiTracerContext build()
setFullMethodName(@Nullable String rpcMethod)
public abstract ApiTracerContext.Builder setFullMethodName(@Nullable String rpcMethod)
| Parameter |
| Name |
Description |
rpcMethod |
@org.jspecify.annotations.Nullable java.lang.String
|
setHttpMethod(@Nullable String httpMethod)
public abstract ApiTracerContext.Builder setHttpMethod(@Nullable String httpMethod)
| Parameter |
| Name |
Description |
httpMethod |
@org.jspecify.annotations.Nullable java.lang.String
|
setHttpPathTemplate(@Nullable String rawString)
public abstract ApiTracerContext.Builder setHttpPathTemplate(@Nullable String rawString)
| Parameter |
| Name |
Description |
rawString |
@org.jspecify.annotations.Nullable java.lang.String
|
setLibraryMetadata(LibraryMetadata gapicProperties)
public abstract ApiTracerContext.Builder setLibraryMetadata(LibraryMetadata gapicProperties)
setServerAddress(@Nullable String serverAddress)
public abstract ApiTracerContext.Builder setServerAddress(@Nullable String serverAddress)
| Parameter |
| Name |
Description |
serverAddress |
@org.jspecify.annotations.Nullable java.lang.String
|
setServerPort(@Nullable Integer serverPort)
public abstract ApiTracerContext.Builder setServerPort(@Nullable Integer serverPort)
| Parameter |
| Name |
Description |
serverPort |
@org.jspecify.annotations.Nullable java.lang.Integer
|
setServiceName(@Nullable String serviceName)
public abstract ApiTracerContext.Builder setServiceName(@Nullable String serviceName)
| Parameter |
| Name |
Description |
serviceName |
@org.jspecify.annotations.Nullable java.lang.String
|
setTransport(@Nullable ApiTracerContext.Transport transport)
public abstract ApiTracerContext.Builder setTransport(@Nullable ApiTracerContext.Transport transport)
| Parameter |
| Name |
Description |
transport |
@org.jspecify.annotations.Nullable com.google.api.gax.tracing.ApiTracerContext.Transport
|
setUrlDomain(@Nullable String urlDomain)
public abstract ApiTracerContext.Builder setUrlDomain(@Nullable String urlDomain)
| Parameter |
| Name |
Description |
urlDomain |
@org.jspecify.annotations.Nullable java.lang.String
|
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 2026-08-04 UTC.
[null,null,["Last updated 2026-08-04 UTC."],[],[]]