Interface DeleteNotificationChannelRequestOrBuilder

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

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

    Modifier and Type
    Method
    Description
    boolean
    If true, the notification channel will be deleted regardless of its use in alert policies (the policies will be updated to remove the channel).
    Required.
    com.google.protobuf.ByteString
    Required.

    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. The channel for which to execute the request. The format is:
      
       projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
       
      string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Required. The channel for which to execute the request. The format is:
      
       projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
       
      string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for name.
    • getForce

      boolean getForce()
       If true, the notification channel will be deleted regardless of its
       use in alert policies (the policies will be updated to remove the
       channel). If false, this operation will fail if the notification channel
       is referenced by existing alerting policies.
       
      bool force = 5;
      Returns:
      The force.