public final class NotificationChannelDescriptor extends com.google.protobuf.GeneratedMessageV3 implements NotificationChannelDescriptorOrBuilder
A description of a notification channel. The descriptor includes the properties of the channel and the set of labels or fields that must be specified to configure channels of a given type.Protobuf type
google.monitoring.v3.NotificationChannelDescriptor| Modifier and Type | Class and Description |
|---|---|
static class |
NotificationChannelDescriptor.Builder
A description of a notification channel.
|
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 |
DESCRIPTION_FIELD_NUMBER |
static int |
DISPLAY_NAME_FIELD_NUMBER |
static int |
LABELS_FIELD_NUMBER |
static int |
LAUNCH_STAGE_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
SUPPORTED_TIERS_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static NotificationChannelDescriptor |
getDefaultInstance() |
NotificationChannelDescriptor |
getDefaultInstanceForType() |
String |
getDescription()
A human-readable description of the notification channel
type.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
A human-readable description of the notification channel
type.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getDisplayName()
A human-readable name for the notification channel type.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
A human-readable name for the notification channel type.
|
com.google.api.LabelDescriptor |
getLabels(int index)
The set of labels that must be defined to identify a particular
channel of the corresponding type.
|
int |
getLabelsCount()
The set of labels that must be defined to identify a particular
channel of the corresponding type.
|
List<com.google.api.LabelDescriptor> |
getLabelsList()
The set of labels that must be defined to identify a particular
channel of the corresponding type.
|
com.google.api.LabelDescriptorOrBuilder |
getLabelsOrBuilder(int index)
The set of labels that must be defined to identify a particular
channel of the corresponding type.
|
List<? extends com.google.api.LabelDescriptorOrBuilder> |
getLabelsOrBuilderList()
The set of labels that must be defined to identify a particular
channel of the corresponding type.
|
com.google.api.LaunchStage |
getLaunchStage()
The product launch stage for channels of this type.
|
int |
getLaunchStageValue()
The product launch stage for channels of this type.
|
String |
getName()
The full REST resource name for this descriptor.
|
com.google.protobuf.ByteString |
getNameBytes()
The full REST resource name for this descriptor.
|
com.google.protobuf.Parser<NotificationChannelDescriptor> |
getParserForType() |
int |
getSerializedSize() |
ServiceTier |
getSupportedTiers(int index)
Deprecated.
google.monitoring.v3.NotificationChannelDescriptor.supported_tiers is deprecated.
See google/monitoring/v3/notification.proto;l=75
|
int |
getSupportedTiersCount()
Deprecated.
google.monitoring.v3.NotificationChannelDescriptor.supported_tiers is deprecated.
See google/monitoring/v3/notification.proto;l=75
|
List<ServiceTier> |
getSupportedTiersList()
Deprecated.
google.monitoring.v3.NotificationChannelDescriptor.supported_tiers is deprecated.
See google/monitoring/v3/notification.proto;l=75
|
int |
getSupportedTiersValue(int index)
Deprecated.
google.monitoring.v3.NotificationChannelDescriptor.supported_tiers is deprecated.
See google/monitoring/v3/notification.proto;l=75
|
List<Integer> |
getSupportedTiersValueList()
Deprecated.
google.monitoring.v3.NotificationChannelDescriptor.supported_tiers is deprecated.
See google/monitoring/v3/notification.proto;l=75
|
String |
getType()
The type of notification channel, such as "email" and "sms".
|
com.google.protobuf.ByteString |
getTypeBytes()
The type of notification channel, such as "email" and "sms".
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static NotificationChannelDescriptor.Builder |
newBuilder() |
static NotificationChannelDescriptor.Builder |
newBuilder(NotificationChannelDescriptor prototype) |
NotificationChannelDescriptor.Builder |
newBuilderForType() |
protected NotificationChannelDescriptor.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static NotificationChannelDescriptor |
parseDelimitedFrom(InputStream input) |
static NotificationChannelDescriptor |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static NotificationChannelDescriptor |
parseFrom(byte[] data) |
static NotificationChannelDescriptor |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static NotificationChannelDescriptor |
parseFrom(ByteBuffer data) |
static NotificationChannelDescriptor |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static NotificationChannelDescriptor |
parseFrom(com.google.protobuf.ByteString data) |
static NotificationChannelDescriptor |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static NotificationChannelDescriptor |
parseFrom(com.google.protobuf.CodedInputStream input) |
static NotificationChannelDescriptor |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static NotificationChannelDescriptor |
parseFrom(InputStream input) |
static NotificationChannelDescriptor |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<NotificationChannelDescriptor> |
parser() |
NotificationChannelDescriptor.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, internalGetMapField, 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 TYPE_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
public static final int SUPPORTED_TIERS_FIELD_NUMBER
public static final int LAUNCH_STAGE_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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getName()
The full REST resource name for this descriptor. The format is:
projects/[PROJECT_ID_OR_NUMBER]/notificationChannelDescriptors/[TYPE]
In the above, `[TYPE]` is the value of the `type` field.
string name = 6;getName in interface NotificationChannelDescriptorOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
The full REST resource name for this descriptor. The format is:
projects/[PROJECT_ID_OR_NUMBER]/notificationChannelDescriptors/[TYPE]
In the above, `[TYPE]` is the value of the `type` field.
string name = 6;getNameBytes in interface NotificationChannelDescriptorOrBuilderpublic String getType()
The type of notification channel, such as "email" and "sms". To view the full list of channels, see [Channel descriptors](https://cloud.google.com/monitoring/alerts/using-channels-api#ncd). Notification channel types are globally unique.
string type = 1;getType in interface NotificationChannelDescriptorOrBuilderpublic com.google.protobuf.ByteString getTypeBytes()
The type of notification channel, such as "email" and "sms". To view the full list of channels, see [Channel descriptors](https://cloud.google.com/monitoring/alerts/using-channels-api#ncd). Notification channel types are globally unique.
string type = 1;getTypeBytes in interface NotificationChannelDescriptorOrBuilderpublic String getDisplayName()
A human-readable name for the notification channel type. This form of the name is suitable for a user interface.
string display_name = 2;getDisplayName in interface NotificationChannelDescriptorOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
A human-readable name for the notification channel type. This form of the name is suitable for a user interface.
string display_name = 2;getDisplayNameBytes in interface NotificationChannelDescriptorOrBuilderpublic String getDescription()
A human-readable description of the notification channel type. The description may include a description of the properties of the channel and pointers to external documentation.
string description = 3;getDescription in interface NotificationChannelDescriptorOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
A human-readable description of the notification channel type. The description may include a description of the properties of the channel and pointers to external documentation.
string description = 3;getDescriptionBytes in interface NotificationChannelDescriptorOrBuilderpublic List<com.google.api.LabelDescriptor> getLabelsList()
The set of labels that must be defined to identify a particular channel of the corresponding type. Each label includes a description for how that field should be populated.
repeated .google.api.LabelDescriptor labels = 4;getLabelsList in interface NotificationChannelDescriptorOrBuilderpublic List<? extends com.google.api.LabelDescriptorOrBuilder> getLabelsOrBuilderList()
The set of labels that must be defined to identify a particular channel of the corresponding type. Each label includes a description for how that field should be populated.
repeated .google.api.LabelDescriptor labels = 4;getLabelsOrBuilderList in interface NotificationChannelDescriptorOrBuilderpublic int getLabelsCount()
The set of labels that must be defined to identify a particular channel of the corresponding type. Each label includes a description for how that field should be populated.
repeated .google.api.LabelDescriptor labels = 4;getLabelsCount in interface NotificationChannelDescriptorOrBuilderpublic com.google.api.LabelDescriptor getLabels(int index)
The set of labels that must be defined to identify a particular channel of the corresponding type. Each label includes a description for how that field should be populated.
repeated .google.api.LabelDescriptor labels = 4;getLabels in interface NotificationChannelDescriptorOrBuilderpublic com.google.api.LabelDescriptorOrBuilder getLabelsOrBuilder(int index)
The set of labels that must be defined to identify a particular channel of the corresponding type. Each label includes a description for how that field should be populated.
repeated .google.api.LabelDescriptor labels = 4;getLabelsOrBuilder in interface NotificationChannelDescriptorOrBuilder@Deprecated public List<ServiceTier> getSupportedTiersList()
The tiers that support this notification channel; the project service tier must be one of the supported_tiers.
repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true];
getSupportedTiersList in interface NotificationChannelDescriptorOrBuilder@Deprecated public int getSupportedTiersCount()
The tiers that support this notification channel; the project service tier must be one of the supported_tiers.
repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true];
getSupportedTiersCount in interface NotificationChannelDescriptorOrBuilder@Deprecated public ServiceTier getSupportedTiers(int index)
The tiers that support this notification channel; the project service tier must be one of the supported_tiers.
repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true];
getSupportedTiers in interface NotificationChannelDescriptorOrBuilderindex - The index of the element to return.@Deprecated public List<Integer> getSupportedTiersValueList()
The tiers that support this notification channel; the project service tier must be one of the supported_tiers.
repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true];
getSupportedTiersValueList in interface NotificationChannelDescriptorOrBuilder@Deprecated public int getSupportedTiersValue(int index)
The tiers that support this notification channel; the project service tier must be one of the supported_tiers.
repeated .google.monitoring.v3.ServiceTier supported_tiers = 5 [deprecated = true];
getSupportedTiersValue in interface NotificationChannelDescriptorOrBuilderindex - The index of the value to return.public int getLaunchStageValue()
The product launch stage for channels of this type.
.google.api.LaunchStage launch_stage = 7;getLaunchStageValue in interface NotificationChannelDescriptorOrBuilderpublic com.google.api.LaunchStage getLaunchStage()
The product launch stage for channels of this type.
.google.api.LaunchStage launch_stage = 7;getLaunchStage in interface NotificationChannelDescriptorOrBuilderpublic 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 NotificationChannelDescriptor parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static NotificationChannelDescriptor parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static NotificationChannelDescriptor parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static NotificationChannelDescriptor parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static NotificationChannelDescriptor parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static NotificationChannelDescriptor parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static NotificationChannelDescriptor parseFrom(InputStream input) throws IOException
IOExceptionpublic static NotificationChannelDescriptor parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static NotificationChannelDescriptor parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static NotificationChannelDescriptor parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static NotificationChannelDescriptor parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static NotificationChannelDescriptor parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic NotificationChannelDescriptor.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static NotificationChannelDescriptor.Builder newBuilder()
public static NotificationChannelDescriptor.Builder newBuilder(NotificationChannelDescriptor prototype)
public NotificationChannelDescriptor.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected NotificationChannelDescriptor.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static NotificationChannelDescriptor getDefaultInstance()
public static com.google.protobuf.Parser<NotificationChannelDescriptor> parser()
public com.google.protobuf.Parser<NotificationChannelDescriptor> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public NotificationChannelDescriptor getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.