Interface ModifyPushConfigRequestOrBuilder (1.130.0)

public interface ModifyPushConfigRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPushConfig()

public abstract PushConfig getPushConfig()

Required. The push configuration for future deliveries.

An empty pushConfig indicates that the Pub/Sub system should stop pushing messages from the given subscription and allow messages to be pulled and acknowledged - effectively pausing the subscription if Pull or StreamingPull is not called.

.google.pubsub.v1.PushConfig push_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PushConfig

The pushConfig.

getPushConfigOrBuilder()

public abstract PushConfigOrBuilder getPushConfigOrBuilder()

Required. The push configuration for future deliveries.

An empty pushConfig indicates that the Pub/Sub system should stop pushing messages from the given subscription and allow messages to be pulled and acknowledged - effectively pausing the subscription if Pull or StreamingPull is not called.

.google.pubsub.v1.PushConfig push_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PushConfigOrBuilder

getSubscription()

public abstract String getSubscription()

Required. The name of the subscription. Format is projects/{project}/subscriptions/{sub}.

string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The subscription.

getSubscriptionBytes()

public abstract ByteString getSubscriptionBytes()

Required. The name of the subscription. Format is projects/{project}/subscriptions/{sub}.

string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for subscription.

hasPushConfig()

public abstract boolean hasPushConfig()

Required. The push configuration for future deliveries.

An empty pushConfig indicates that the Pub/Sub system should stop pushing messages from the given subscription and allow messages to be pulled and acknowledged - effectively pausing the subscription if Pull or StreamingPull is not called.

.google.pubsub.v1.PushConfig push_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the pushConfig field is set.