public final class Settings extends com.google.protobuf.GeneratedMessageV3 implements SettingsOrBuilder
Settings for Advisory Notifications.Protobuf type
google.cloud.advisorynotifications.v1.Settings| Modifier and Type | Class and Description |
|---|---|
static class |
Settings.Builder
Settings for Advisory Notifications.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ETAG_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
NOTIFICATION_SETTINGS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsNotificationSettings(String key)
Required.
|
boolean |
equals(Object obj) |
static Settings |
getDefaultInstance() |
Settings |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getEtag()
Required.
|
com.google.protobuf.ByteString |
getEtagBytes()
Required.
|
String |
getName()
Output only.
|
com.google.protobuf.ByteString |
getNameBytes()
Output only.
|
Map<String,NotificationSettings> |
getNotificationSettings()
Deprecated.
|
int |
getNotificationSettingsCount()
Required.
|
Map<String,NotificationSettings> |
getNotificationSettingsMap()
Required.
|
NotificationSettings |
getNotificationSettingsOrDefault(String key,
NotificationSettings defaultValue)
Required.
|
NotificationSettings |
getNotificationSettingsOrThrow(String key)
Required.
|
com.google.protobuf.Parser<Settings> |
getParserForType() |
int |
getSerializedSize() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static Settings.Builder |
newBuilder() |
static Settings.Builder |
newBuilder(Settings prototype) |
Settings.Builder |
newBuilderForType() |
protected Settings.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Settings |
parseDelimitedFrom(InputStream input) |
static Settings |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Settings |
parseFrom(byte[] data) |
static Settings |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Settings |
parseFrom(ByteBuffer data) |
static Settings |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Settings |
parseFrom(com.google.protobuf.ByteString data) |
static Settings |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Settings |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Settings |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Settings |
parseFrom(InputStream input) |
static Settings |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Settings> |
parser() |
Settings.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int NOTIFICATION_SETTINGS_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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];getName in interface SettingsOrBuilderpublic com.google.protobuf.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];getNameBytes in interface SettingsOrBuilderpublic int getNotificationSettingsCount()
SettingsOrBuilderRequired. 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];
getNotificationSettingsCount in interface SettingsOrBuilderpublic 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];
containsNotificationSettings in interface SettingsOrBuilder@Deprecated public Map<String,NotificationSettings> getNotificationSettings()
getNotificationSettingsMap() instead.getNotificationSettings in interface SettingsOrBuilderpublic 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];
getNotificationSettingsMap in interface SettingsOrBuilderpublic 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];
getNotificationSettingsOrDefault in interface SettingsOrBuilderpublic 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];
getNotificationSettingsOrThrow in interface SettingsOrBuilderpublic 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];getEtag in interface SettingsOrBuilderpublic 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];getEtagBytes in interface SettingsOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Settings parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Settings parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Settings parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Settings parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Settings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Settings parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Settings parseFrom(InputStream input) throws IOException
IOExceptionpublic static Settings parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Settings parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Settings parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Settings parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Settings parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Settings.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Settings.Builder newBuilder()
public static Settings.Builder newBuilder(Settings prototype)
public Settings.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Settings.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Settings getDefaultInstance()
public static com.google.protobuf.Parser<Settings> parser()
public com.google.protobuf.Parser<Settings> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Settings getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.