Class GcpTraceProperties
java.lang.Object
com.google.cloud.spring.autoconfigure.trace.GcpTraceProperties
- All Implemented Interfaces:
CredentialsSupplier
@ConfigurationProperties("spring.cloud.gcp.trace")
public class GcpTraceProperties
extends Object
implements CredentialsSupplier
Stackdriver Trace Properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSupplies credentials configuration.int
int
void
setAuthority
(String authority) void
setCompression
(String compression) void
setDeadlineMs
(long deadlineMs) void
setMaxInboundSize
(int maxInboundSize) void
setMaxOutboundSize
(int maxOutboundSize) void
setMessageTimeout
(int messageTimeout) void
setNumExecutorThreads
(int numExecutorThreads) void
setProjectId
(String projectId) void
setServerResponseTimeoutMs
(Long serverResponseTimeoutMs) void
setWaitForReady
(boolean waitForReady)
-
Constructor Details
-
GcpTraceProperties
public GcpTraceProperties()
-
-
Method Details
-
getProjectId
-
setProjectId
-
getCredentials
Description copied from interface:CredentialsSupplier
Supplies credentials configuration.- Specified by:
getCredentials
in interfaceCredentialsSupplier
- Returns:
- a POJO containing Google Cloud credentials location and scopes
-
getNumExecutorThreads
public int getNumExecutorThreads() -
setNumExecutorThreads
public void setNumExecutorThreads(int numExecutorThreads) -
getAuthority
-
setAuthority
-
getCompression
-
setCompression
-
getDeadlineMs
-
setDeadlineMs
public void setDeadlineMs(long deadlineMs) -
getMaxInboundSize
-
setMaxInboundSize
public void setMaxInboundSize(int maxInboundSize) -
getMaxOutboundSize
-
setMaxOutboundSize
public void setMaxOutboundSize(int maxOutboundSize) -
isWaitForReady
-
setWaitForReady
public void setWaitForReady(boolean waitForReady) -
getMessageTimeout
public int getMessageTimeout() -
setMessageTimeout
public void setMessageTimeout(int messageTimeout) -
getServerResponseTimeoutMs
-
setServerResponseTimeoutMs
-