public interface CreateSubscriptionRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getParent()
Required.
|
com.google.protobuf.ByteString |
getParentBytes()
Required.
|
boolean |
getSkipBacklog()
If true, the newly created subscription will only receive messages
published after the subscription was created.
|
Subscription |
getSubscription()
Required.
|
String |
getSubscriptionId()
Required.
|
com.google.protobuf.ByteString |
getSubscriptionIdBytes()
Required.
|
SubscriptionOrBuilder |
getSubscriptionOrBuilder()
Required.
|
boolean |
hasSubscription()
Required.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getParent()
Required. The parent location in which to create the subscription.
Structured like `projects/{project_number}/locations/{location}`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
com.google.protobuf.ByteString getParentBytes()
Required. The parent location in which to create the subscription.
Structured like `projects/{project_number}/locations/{location}`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
boolean hasSubscription()
Required. Configuration of the subscription to create. Its `name` field is ignored.
.google.cloud.pubsublite.v1.Subscription subscription = 2 [(.google.api.field_behavior) = REQUIRED];
Subscription getSubscription()
Required. Configuration of the subscription to create. Its `name` field is ignored.
.google.cloud.pubsublite.v1.Subscription subscription = 2 [(.google.api.field_behavior) = REQUIRED];
SubscriptionOrBuilder getSubscriptionOrBuilder()
Required. Configuration of the subscription to create. Its `name` field is ignored.
.google.cloud.pubsublite.v1.Subscription subscription = 2 [(.google.api.field_behavior) = REQUIRED];
String getSubscriptionId()
Required. The ID to use for the subscription, which will become the final component of the subscription's name. This value is structured like: `my-sub-name`.
string subscription_id = 3 [(.google.api.field_behavior) = REQUIRED];com.google.protobuf.ByteString getSubscriptionIdBytes()
Required. The ID to use for the subscription, which will become the final component of the subscription's name. This value is structured like: `my-sub-name`.
string subscription_id = 3 [(.google.api.field_behavior) = REQUIRED];boolean getSkipBacklog()
If true, the newly created subscription will only receive messages published after the subscription was created. Otherwise, the entire message backlog will be received on the subscription. Defaults to false.
bool skip_backlog = 4;Copyright © 2023 Google LLC. All rights reserved.