| Package | Description |
|---|---|
| com.google.cloud.pubsub |
A client to Google Cloud Pub/Sub.
|
| Modifier and Type | Method and Description |
|---|---|
PushConfig.Builder |
PushConfig.Builder.addAttribute(String name,
String value)
Adds an API-supported attribute that can be used to control different aspects of the message
delivery.
|
PushConfig.Builder |
PushConfig.Builder.attributes(Map<String,String> attributes)
Sets the API-supported attributes that can be used to control different aspects of the
message delivery.
|
static PushConfig.Builder |
PushConfig.builder(String endpoint)
Creates a builder for
PushConfig objects given the push endpoint. |
static PushConfig.Builder |
PushConfig.builder(String endpoint,
Map<String,String> attributes)
Creates a builder for
PushConfig objects given the push endpoint and the API-supported
attributes that can be used to control different aspects of the message delivery. |
PushConfig.Builder |
PushConfig.Builder.clearAttributes()
Clears all API-supported attributes.
|
PushConfig.Builder |
PushConfig.Builder.endpoint(String endpoint)
Sets the URL locating the endpoint to which messages should be pushed.
|
PushConfig.Builder |
PushConfig.Builder.removeAttribute(String name)
Removes an API-supported attribute.
|
PushConfig.Builder |
PushConfig.toBuilder()
Returns a builder for the
PushConfig object. |
Copyright © 2016 Google. All rights reserved.