@ConfigurationProperties(value="spring.cloud.gcp.pubsub") public class GcpPubSubProperties extends Object implements CredentialsSupplier
| Modifier and Type | Class and Description |
|---|---|
static class |
GcpPubSubProperties.Batching
Batching settings.
|
static class |
GcpPubSubProperties.FlowControl
flow control settings.
|
static class |
GcpPubSubProperties.Publisher
Publisher settings.
|
static class |
GcpPubSubProperties.Retry
Retry settings.
|
static class |
GcpPubSubProperties.Subscriber
Subscriber settings.
|
| Constructor and Description |
|---|
GcpPubSubProperties() |
| Modifier and Type | Method and Description |
|---|---|
Credentials |
getCredentials()
Supplies credentials configuration.
|
String |
getEmulatorHost() |
int |
getKeepAliveIntervalMinutes() |
String |
getProjectId() |
GcpPubSubProperties.Publisher |
getPublisher() |
GcpPubSubProperties.Subscriber |
getSubscriber() |
void |
setEmulatorHost(String emulatorHost)
Set the emulator host.
|
void |
setKeepAliveIntervalMinutes(int keepAliveIntervalMinutes) |
void |
setProjectId(String projectId) |
public GcpPubSubProperties.Subscriber getSubscriber()
public GcpPubSubProperties.Publisher getPublisher()
public String getProjectId()
public void setProjectId(String projectId)
public Credentials getCredentials()
CredentialsSuppliergetCredentials in interface CredentialsSupplierpublic String getEmulatorHost()
public void setEmulatorHost(String emulatorHost)
emulatorHost - the emulator host.public int getKeepAliveIntervalMinutes()
public void setKeepAliveIntervalMinutes(int keepAliveIntervalMinutes)
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.