Interface UpdateSubscriptionRequestOrBuilder (1.130.0)

public interface UpdateSubscriptionRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getSubscription()

public abstract Subscription getSubscription()

Required. The updated subscription object.

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

Returns
Type Description
Subscription

The subscription.

getSubscriptionOrBuilder()

public abstract SubscriptionOrBuilder getSubscriptionOrBuilder()

Required. The updated subscription object.

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

Returns
Type Description
SubscriptionOrBuilder

getUpdateMask()

public abstract FieldMask getUpdateMask()

Required. Indicates which fields in the provided subscription to update. Must be specified and non-empty.

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

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public abstract FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. Indicates which fields in the provided subscription to update. Must be specified and non-empty.

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

Returns
Type Description
FieldMaskOrBuilder

hasSubscription()

public abstract boolean hasSubscription()

Required. The updated subscription object.

.google.pubsub.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. Indicates which fields in the provided subscription to update. Must be specified and non-empty.

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

Returns
Type Description
boolean

Whether the updateMask field is set.