Interface SettingsOrBuilder (0.19.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
NameDescription
keyString
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for etag.

getName()

public abstract String getName()

Output only. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Output only. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for name.

getNotificationSettings()

public abstract Map<String,NotificationSettings> getNotificationSettings()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
keyString
defaultValueNotificationSettings
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
NotificationSettings