Interface UpdateSubscriptionRequestOrBuilder (1.14.8)

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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the updateMask field is set.