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 Summary
Modifier and TypeMethodDescriptionbooleanRequired.getEtag()Required.com.google.protobuf.ByteStringRequired.getName()Identifier.com.google.protobuf.ByteStringIdentifier.Deprecated.intRequired.Required.getNotificationSettingsOrDefault(String key, NotificationSettings defaultValue) Required.Required.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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
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.UsegetNotificationSettingsMap()instead. -
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
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.
-