Interface UpdateSubscriptionRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
UpdateSubscriptionRequest, UpdateSubscriptionRequest.Builder

@Generated public interface UpdateSubscriptionRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Required.
    Required.
    com.google.protobuf.FieldMask
    Optional.
    com.google.protobuf.FieldMaskOrBuilder
    Optional.
    boolean
    Optional.
    boolean
    Required.
    boolean
    Optional.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasSubscription

      boolean hasSubscription()
       Required. The subscription to update.
      
       The subscription's `name` field is used to identify the subscription to
       update.
       
      .google.apps.events.subscriptions.v1beta.Subscription subscription = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the subscription field is set.
    • getSubscription

      Subscription getSubscription()
       Required. The subscription to update.
      
       The subscription's `name` field is used to identify the subscription to
       update.
       
      .google.apps.events.subscriptions.v1beta.Subscription subscription = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The subscription.
    • getSubscriptionOrBuilder

      SubscriptionOrBuilder getSubscriptionOrBuilder()
       Required. The subscription to update.
      
       The subscription's `name` field is used to identify the subscription to
       update.
       
      .google.apps.events.subscriptions.v1beta.Subscription subscription = 1 [(.google.api.field_behavior) = REQUIRED];
    • hasUpdateMask

      boolean hasUpdateMask()
       Optional. The field to update. If omitted, updates any fields included in
       the request.
      
       You can update one of the following fields in a subscription:
      
       * [`expire_time`][google.apps.events.subscriptions.v1beta.Subscription.expire_time]: The timestamp when the
       subscription expires.
       * [`ttl`][google.apps.events.subscriptions.v1beta.Subscription.ttl]: The
       time-to-live (TTL) or duration of the
       subscription.
       * [`event_types`][google.apps.events.subscriptions.v1beta.Subscription.event_types]: The list of event types to
       receive about the target resource.
      
       To fully replace the subscription (the equivalent of `PUT`), use `*`. Any
       omitted fields are updated with empty values.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the updateMask field is set.
    • getUpdateMask

      com.google.protobuf.FieldMask getUpdateMask()
       Optional. The field to update. If omitted, updates any fields included in
       the request.
      
       You can update one of the following fields in a subscription:
      
       * [`expire_time`][google.apps.events.subscriptions.v1beta.Subscription.expire_time]: The timestamp when the
       subscription expires.
       * [`ttl`][google.apps.events.subscriptions.v1beta.Subscription.ttl]: The
       time-to-live (TTL) or duration of the
       subscription.
       * [`event_types`][google.apps.events.subscriptions.v1beta.Subscription.event_types]: The list of event types to
       receive about the target resource.
      
       To fully replace the subscription (the equivalent of `PUT`), use `*`. Any
       omitted fields are updated with empty values.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The updateMask.
    • getUpdateMaskOrBuilder

      com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
       Optional. The field to update. If omitted, updates any fields included in
       the request.
      
       You can update one of the following fields in a subscription:
      
       * [`expire_time`][google.apps.events.subscriptions.v1beta.Subscription.expire_time]: The timestamp when the
       subscription expires.
       * [`ttl`][google.apps.events.subscriptions.v1beta.Subscription.ttl]: The
       time-to-live (TTL) or duration of the
       subscription.
       * [`event_types`][google.apps.events.subscriptions.v1beta.Subscription.event_types]: The list of event types to
       receive about the target resource.
      
       To fully replace the subscription (the equivalent of `PUT`), use `*`. Any
       omitted fields are updated with empty values.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getValidateOnly

      boolean getValidateOnly()
       Optional. If set to `true`, validates and previews the request, but doesn't
       update the subscription.
       
      bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The validateOnly.