Interface UpdateSubscriptionRequestOrBuilder (1.11.2)

public interface UpdateSubscriptionRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getSubscription()

public abstract Subscription getSubscription()

Required. The subscription to update. Its name field must be populated. Topic field must not be populated.

.google.cloud.pubsublite.v1.Subscription subscription = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Subscription

The subscription.

getSubscriptionOrBuilder()

public abstract SubscriptionOrBuilder getSubscriptionOrBuilder()

Required. The subscription to update. Its name field must be populated. Topic field must not be populated.

.google.cloud.pubsublite.v1.Subscription subscription = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
SubscriptionOrBuilder

getUpdateMask()

public abstract FieldMask getUpdateMask()

Required. A mask specifying the subscription fields to change.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public abstract FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. A mask specifying the subscription fields to change.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
FieldMaskOrBuilder

hasSubscription()

public abstract boolean hasSubscription()

Required. The subscription to update. Its name field must be populated. Topic field must not be populated.

.google.cloud.pubsublite.v1.Subscription subscription = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the subscription field is set.

hasUpdateMask()

public abstract boolean hasUpdateMask()

Required. A mask specifying the subscription fields to change.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the updateMask field is set.