Interface DeleteSubscriptionRequestOrBuilder

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

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

    Modifier and Type
    Method
    Description
    boolean
    Optional.
    Optional.
    com.google.protobuf.ByteString
    Optional.
    Required.
    com.google.protobuf.ByteString
    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

    • getName

      String getName()
       Required. Resource name of the subscription to delete.
      
       Format: `subscriptions/{subscription}`
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Required. Resource name of the subscription to delete.
      
       Format: `subscriptions/{subscription}`
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for name.
    • getValidateOnly

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

      boolean getAllowMissing()
       Optional. If set to `true` and the subscription isn't found, the request
       succeeds but doesn't delete the subscription.
       
      bool allow_missing = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The allowMissing.
    • getEtag

      String getEtag()
       Optional. Etag of the subscription.
      
       If present, it must match with the server's etag. Otherwise, request
       fails with the status `ABORTED`.
       
      string etag = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The etag.
    • getEtagBytes

      com.google.protobuf.ByteString getEtagBytes()
       Optional. Etag of the subscription.
      
       If present, it must match with the server's etag. Otherwise, request
       fails with the status `ABORTED`.
       
      string etag = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for etag.