Interface SettingsOrBuilder (0.43.0)

public interface SettingsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsNotificationSettings(String key)

public abstract 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];

Parameter
Name Description
key String
Returns
Type Description
boolean

getEtag()

public abstract 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
Type Description
String

The etag.

getEtagBytes()

public abstract 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
Type Description
ByteString

The bytes for etag.

getName()

public abstract 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
Type Description
String

The name.

getNameBytes()

public abstract 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
Type Description
ByteString

The bytes for name.

getNotificationSettings() (deprecated)

public abstract Map<String,NotificationSettings> getNotificationSettings()
Returns
Type Description
Map<String,NotificationSettings>

getNotificationSettingsCount()

public abstract 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];

Returns
Type Description
int

getNotificationSettingsMap()

public abstract 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];

Returns
Type Description
Map<String,NotificationSettings>

getNotificationSettingsOrDefault(String key, NotificationSettings defaultValue)

public abstract 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];

Parameters
Name Description
key String
defaultValue NotificationSettings
Returns
Type Description
NotificationSettings

getNotificationSettingsOrThrow(String key)

public abstract 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];

Parameter
Name Description
key String
Returns
Type Description
NotificationSettings