Package com.google.monitoring.v3
Interface NotificationChannelDescriptorOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
NotificationChannelDescriptor,NotificationChannelDescriptor.Builder
public interface NotificationChannelDescriptorOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description StringgetDescription()A human-readable description of the notification channel type.com.google.protobuf.ByteStringgetDescriptionBytes()A human-readable description of the notification channel type.StringgetDisplayName()A human-readable name for the notification channel type.com.google.protobuf.ByteStringgetDisplayNameBytes()A human-readable name for the notification channel type.com.google.api.LabelDescriptorgetLabels(int index)The set of labels that must be defined to identify a particular channel of the corresponding type.intgetLabelsCount()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.LabelDescriptorOrBuildergetLabelsOrBuilder(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.LaunchStagegetLaunchStage()The product launch stage for channels of this type.intgetLaunchStageValue()The product launch stage for channels of this type.StringgetName()The full REST resource name for this descriptor.com.google.protobuf.ByteStringgetNameBytes()The full REST resource name for this descriptor.ServiceTiergetSupportedTiers(int index)Deprecated.google.monitoring.v3.NotificationChannelDescriptor.supported_tiers is deprecated.intgetSupportedTiersCount()Deprecated.google.monitoring.v3.NotificationChannelDescriptor.supported_tiers is deprecated.List<ServiceTier>getSupportedTiersList()Deprecated.google.monitoring.v3.NotificationChannelDescriptor.supported_tiers is deprecated.intgetSupportedTiersValue(int index)Deprecated.google.monitoring.v3.NotificationChannelDescriptor.supported_tiers is deprecated.List<Integer>getSupportedTiersValueList()Deprecated.google.monitoring.v3.NotificationChannelDescriptor.supported_tiers is deprecated.StringgetType()The type of notification channel, such as "email" and "sms".com.google.protobuf.ByteStringgetTypeBytes()The type of notification channel, such as "email" and "sms".-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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<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;
-
getLabels
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;
-
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 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;
-
getLabelsOrBuilder
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;
-
getSupportedTiersList
@Deprecated List<ServiceTier> getSupportedTiersList()
Deprecated.google.monitoring.v3.NotificationChannelDescriptor.supported_tiers is deprecated. See google/monitoring/v3/notification.proto;l=75The 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 int getSupportedTiersCount()
Deprecated.google.monitoring.v3.NotificationChannelDescriptor.supported_tiers is deprecated. See google/monitoring/v3/notification.proto;l=75The 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 ServiceTier getSupportedTiers(int index)
Deprecated.google.monitoring.v3.NotificationChannelDescriptor.supported_tiers is deprecated. See google/monitoring/v3/notification.proto;l=75The 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 List<Integer> getSupportedTiersValueList()
Deprecated.google.monitoring.v3.NotificationChannelDescriptor.supported_tiers is deprecated. See google/monitoring/v3/notification.proto;l=75The 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 int getSupportedTiersValue(int index)
Deprecated.google.monitoring.v3.NotificationChannelDescriptor.supported_tiers is deprecated. See google/monitoring/v3/notification.proto;l=75The 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
com.google.api.LaunchStage getLaunchStage()
The product launch stage for channels of this type.
.google.api.LaunchStage launch_stage = 7;- Returns:
- The launchStage.
-
-