Interface ModifyPushConfigRequestOrBuilder (1.117.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the pushConfig field is set.