Package com.google.pubsub.v1
Interface ModifyPushConfigRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ModifyPushConfigRequest,ModifyPushConfigRequest.Builder
public interface ModifyPushConfigRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PushConfiggetPushConfig()Required.PushConfigOrBuildergetPushConfigOrBuilder()Required.StringgetSubscription()Required.com.google.protobuf.ByteStringgetSubscriptionBytes()Required.booleanhasPushConfig()Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getSubscription
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:
- The subscription.
-
getSubscriptionBytes
com.google.protobuf.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:
- The bytes for subscription.
-
hasPushConfig
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:
- Whether the pushConfig field is set.
-
getPushConfig
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:
- The pushConfig.
-
getPushConfigOrBuilder
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];
-
-