Package com.google.monitoring.v3
Interface NotificationChannelDescriptorOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
NotificationChannelDescriptor,NotificationChannelDescriptor.Builder
@Generated
public interface NotificationChannelDescriptorOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionA human-readable description of the notification channel type.com.google.protobuf.ByteStringA human-readable description of the notification channel type.A human-readable name for the notification channel type.com.google.protobuf.ByteStringA human-readable name for the notification channel type.getLabels(int index) The set of labels that must be defined to identify a particular channel of the corresponding type.intThe set of labels that must be defined to identify a particular channel of the corresponding type.The set of labels that must be defined to identify a particular channel of the corresponding type.getLabelsOrBuilder(int index) The set of labels that must be defined to identify a particular channel of the corresponding type.List<? extends LabelDescriptorOrBuilder>The set of labels that must be defined to identify a particular channel of the corresponding type.The product launch stage for channels of this type.intThe product launch stage for channels of this type.getName()The full REST resource name for this descriptor.com.google.protobuf.ByteStringThe full REST resource name for this descriptor.getSupportedTiers(int index) Deprecated.google.monitoring.v3.NotificationChannelDescriptor.supported_tiers is deprecated.intDeprecated.google.monitoring.v3.NotificationChannelDescriptor.supported_tiers is deprecated.Deprecated.google.monitoring.v3.NotificationChannelDescriptor.supported_tiers is deprecated.intgetSupportedTiersValue(int index) Deprecated.google.monitoring.v3.NotificationChannelDescriptor.supported_tiers is deprecated.Deprecated.google.monitoring.v3.NotificationChannelDescriptor.supported_tiers is deprecated.getType()The type of notification channel, such as "email" and "sms".com.google.protobuf.ByteStringThe type of notification channel, such as "email" and "sms".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()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;- Returns:
- The name.
-
getNameBytes
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;- Returns:
- The bytes for name.
-
getType
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;- Returns:
- The type.
-
getTypeBytes
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;- Returns:
- The bytes for type.
-
getDisplayName
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;- Returns:
- The displayName.
-
getDisplayNameBytes
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;- Returns:
- The bytes for displayName.
-
getDescription
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;- Returns:
- The description.
-
getDescriptionBytes
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;- Returns:
- The bytes for description.
-
getLabelsList
List<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; -
getLabels
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
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; -
getLabelsOrBuilderList
List<? extends 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; -
getLabelsOrBuilder
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; -
getSupportedTiersList
Deprecated.google.monitoring.v3.NotificationChannelDescriptor.supported_tiers is deprecated. See google/monitoring/v3/notification.proto;l=76The 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];- Returns:
- A list containing the supportedTiers.
-
getSupportedTiersCount
Deprecated.google.monitoring.v3.NotificationChannelDescriptor.supported_tiers is deprecated. See google/monitoring/v3/notification.proto;l=76The 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];- Returns:
- The count of supportedTiers.
-
getSupportedTiers
Deprecated.google.monitoring.v3.NotificationChannelDescriptor.supported_tiers is deprecated. See google/monitoring/v3/notification.proto;l=76The 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];- Parameters:
index- The index of the element to return.- Returns:
- The supportedTiers at the given index.
-
getSupportedTiersValueList
Deprecated.google.monitoring.v3.NotificationChannelDescriptor.supported_tiers is deprecated. See google/monitoring/v3/notification.proto;l=76The 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];- Returns:
- A list containing the enum numeric values on the wire for supportedTiers.
-
getSupportedTiersValue
Deprecated.google.monitoring.v3.NotificationChannelDescriptor.supported_tiers is deprecated. See google/monitoring/v3/notification.proto;l=76The 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];- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of supportedTiers at the given index.
-
getLaunchStageValue
int getLaunchStageValue()The product launch stage for channels of this type.
.google.api.LaunchStage launch_stage = 7;- Returns:
- The enum numeric value on the wire for launchStage.
-
getLaunchStage
LaunchStage getLaunchStage()The product launch stage for channels of this type.
.google.api.LaunchStage launch_stage = 7;- Returns:
- The launchStage.
-