Interface SettingsOrBuilder

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

@Generated public interface SettingsOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getName

      String getName()
       Identifier. The resource name of the settings to retrieve.
       Format:
       organizations/{organization}/locations/{location}/settings or
       projects/{projects}/locations/{location}/settings.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Identifier. The resource name of the settings to retrieve.
       Format:
       organizations/{organization}/locations/{location}/settings or
       projects/{projects}/locations/{location}/settings.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      The bytes for name.
    • getNotificationSettingsCount

      int getNotificationSettingsCount()
       Required. Map of each notification type and its settings to get/set all
       settings at once. The server will validate the value for each notification
       type.
       
      map<string, .google.cloud.advisorynotifications.v1.NotificationSettings> notification_settings = 2 [(.google.api.field_behavior) = REQUIRED];
    • containsNotificationSettings

      boolean containsNotificationSettings(String key)
       Required. Map of each notification type and its settings to get/set all
       settings at once. The server will validate the value for each notification
       type.
       
      map<string, .google.cloud.advisorynotifications.v1.NotificationSettings> notification_settings = 2 [(.google.api.field_behavior) = REQUIRED];
    • getNotificationSettings

      @Deprecated Map<String,NotificationSettings> getNotificationSettings()
      Deprecated.
    • getNotificationSettingsMap

      Map<String,NotificationSettings> getNotificationSettingsMap()
       Required. Map of each notification type and its settings to get/set all
       settings at once. The server will validate the value for each notification
       type.
       
      map<string, .google.cloud.advisorynotifications.v1.NotificationSettings> notification_settings = 2 [(.google.api.field_behavior) = REQUIRED];
    • getNotificationSettingsOrDefault

      NotificationSettings getNotificationSettingsOrDefault(String key, NotificationSettings defaultValue)
       Required. Map of each notification type and its settings to get/set all
       settings at once. The server will validate the value for each notification
       type.
       
      map<string, .google.cloud.advisorynotifications.v1.NotificationSettings> notification_settings = 2 [(.google.api.field_behavior) = REQUIRED];
    • getNotificationSettingsOrThrow

      NotificationSettings getNotificationSettingsOrThrow(String key)
       Required. Map of each notification type and its settings to get/set all
       settings at once. The server will validate the value for each notification
       type.
       
      map<string, .google.cloud.advisorynotifications.v1.NotificationSettings> notification_settings = 2 [(.google.api.field_behavior) = REQUIRED];
    • getEtag

      String getEtag()
       Required. Fingerprint for optimistic concurrency returned in Get requests.
       Must be provided for Update requests. If the value provided does not match
       the value known to the server, ABORTED will be thrown, and the client
       should retry the read-modify-write cycle.
       
      string etag = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The etag.
    • getEtagBytes

      com.google.protobuf.ByteString getEtagBytes()
       Required. Fingerprint for optimistic concurrency returned in Get requests.
       Must be provided for Update requests. If the value provided does not match
       the value known to the server, ABORTED will be thrown, and the client
       should retry the read-modify-write cycle.
       
      string etag = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for etag.