Interface UpdateSubscriptionRequestOrBuilder (1.117.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
FieldMaskOrBuilder

hasSubscription()

public abstract boolean hasSubscription()

Required. The updated subscription object.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the updateMask field is set.