Package com.google.monitoring.v3
Class NotificationChannelDescriptor.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<NotificationChannelDescriptor.Builder>
com.google.monitoring.v3.NotificationChannelDescriptor.Builder
- All Implemented Interfaces:
NotificationChannelDescriptorOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- NotificationChannelDescriptor
public static final class NotificationChannelDescriptor.Builder
extends com.google.protobuf.GeneratedMessage.Builder<NotificationChannelDescriptor.Builder>
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-
Method Summary
Modifier and TypeMethodDescriptionaddAllLabels(Iterable<? extends LabelDescriptor> values) The set of labels that must be defined to identify a particular channel of the corresponding type.addAllSupportedTiers(Iterable<? extends ServiceTier> values) Deprecated.google.monitoring.v3.NotificationChannelDescriptor.supported_tiers is deprecated.addAllSupportedTiersValue(Iterable<Integer> values) Deprecated.google.monitoring.v3.NotificationChannelDescriptor.supported_tiers is deprecated.addLabels(int index, LabelDescriptor value) The set of labels that must be defined to identify a particular channel of the corresponding type.addLabels(int index, LabelDescriptor.Builder builderForValue) The set of labels that must be defined to identify a particular channel of the corresponding type.addLabels(LabelDescriptor value) The set of labels that must be defined to identify a particular channel of the corresponding type.addLabels(LabelDescriptor.Builder builderForValue) The 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.addLabelsBuilder(int index) The set of labels that must be defined to identify a particular channel of the corresponding type.addSupportedTiers(ServiceTier value) Deprecated.google.monitoring.v3.NotificationChannelDescriptor.supported_tiers is deprecated.addSupportedTiersValue(int value) Deprecated.google.monitoring.v3.NotificationChannelDescriptor.supported_tiers is deprecated.build()clear()A human-readable description of the notification channel type.A human-readable name for the notification channel type.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.The full REST resource name for this descriptor.Deprecated.google.monitoring.v3.NotificationChannelDescriptor.supported_tiers is deprecated.The type of notification channel, such as "email" and "sms".A human-readable description of the notification channel type.com.google.protobuf.ByteStringA human-readable description of the notification channel type.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorA 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.getLabelsBuilder(int index) The 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.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".protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeLabels(int index) The set of labels that must be defined to identify a particular channel of the corresponding type.setDescription(String value) A human-readable description of the notification channel type.setDescriptionBytes(com.google.protobuf.ByteString value) A human-readable description of the notification channel type.setDisplayName(String value) A human-readable name for the notification channel type.setDisplayNameBytes(com.google.protobuf.ByteString value) A human-readable name for the notification channel type.setLabels(int index, LabelDescriptor value) The set of labels that must be defined to identify a particular channel of the corresponding type.setLabels(int index, LabelDescriptor.Builder builderForValue) The set of labels that must be defined to identify a particular channel of the corresponding type.setLaunchStage(LaunchStage value) The product launch stage for channels of this type.setLaunchStageValue(int value) The product launch stage for channels of this type.The full REST resource name for this descriptor.setNameBytes(com.google.protobuf.ByteString value) The full REST resource name for this descriptor.setSupportedTiers(int index, ServiceTier value) Deprecated.google.monitoring.v3.NotificationChannelDescriptor.supported_tiers is deprecated.setSupportedTiersValue(int index, int value) Deprecated.google.monitoring.v3.NotificationChannelDescriptor.supported_tiers is deprecated.The type of notification channel, such as "email" and "sms".setTypeBytes(com.google.protobuf.ByteString value) The type of notification channel, such as "email" and "sms".Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<NotificationChannelDescriptor.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<NotificationChannelDescriptor.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<NotificationChannelDescriptor.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NotificationChannelDescriptor.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<NotificationChannelDescriptor.Builder>
-
mergeFrom
public NotificationChannelDescriptor.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NotificationChannelDescriptor.Builder>- Throws:
IOException
-
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;- Specified by:
getNamein interfaceNotificationChannelDescriptorOrBuilder- Returns:
- The name.
-
getNameBytes
public 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;- Specified by:
getNameBytesin interfaceNotificationChannelDescriptorOrBuilder- Returns:
- The bytes for name.
-
setName
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;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
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:
- This builder for chaining.
-
setNameBytes
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;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getTypein interfaceNotificationChannelDescriptorOrBuilder- Returns:
- The type.
-
getTypeBytes
public 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;- Specified by:
getTypeBytesin interfaceNotificationChannelDescriptorOrBuilder- Returns:
- The bytes for type.
-
setType
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;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
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:
- This builder for chaining.
-
setTypeBytes
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;- Parameters:
value- The bytes for type to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getDisplayNamein interfaceNotificationChannelDescriptorOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public 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;- Specified by:
getDisplayNameBytesin interfaceNotificationChannelDescriptorOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
A human-readable name for the notification channel type. This form of the name is suitable for a user interface.
string display_name = 2;- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
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:
- This builder for chaining.
-
setDisplayNameBytes
public NotificationChannelDescriptor.Builder setDisplayNameBytes(com.google.protobuf.ByteString value) A human-readable name for the notification channel type. This form of the name is suitable for a user interface.
string display_name = 2;- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getDescriptionin interfaceNotificationChannelDescriptorOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public 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;- Specified by:
getDescriptionBytesin interfaceNotificationChannelDescriptorOrBuilder- Returns:
- The bytes for description.
-
setDescription
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;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
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:
- This builder for chaining.
-
setDescriptionBytes
public NotificationChannelDescriptor.Builder setDescriptionBytes(com.google.protobuf.ByteString value) 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;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getLabelsListin interfaceNotificationChannelDescriptorOrBuilder
-
getLabelsCount
public 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;- Specified by:
getLabelsCountin interfaceNotificationChannelDescriptorOrBuilder
-
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;- Specified by:
getLabelsin interfaceNotificationChannelDescriptorOrBuilder
-
setLabels
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; -
setLabels
public NotificationChannelDescriptor.Builder setLabels(int index, LabelDescriptor.Builder builderForValue) 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; -
addLabels
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; -
addLabels
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; -
addLabels
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; -
addLabels
public NotificationChannelDescriptor.Builder addLabels(int index, LabelDescriptor.Builder builderForValue) 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; -
addAllLabels
public NotificationChannelDescriptor.Builder addAllLabels(Iterable<? extends LabelDescriptor> values) 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; -
clearLabels
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; -
removeLabels
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; -
getLabelsBuilder
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;- Specified by:
getLabelsOrBuilderin interfaceNotificationChannelDescriptorOrBuilder
-
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;- Specified by:
getLabelsOrBuilderListin interfaceNotificationChannelDescriptorOrBuilder
-
addLabelsBuilder
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; -
addLabelsBuilder
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; -
getLabelsBuilderList
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];- Specified by:
getSupportedTiersListin interfaceNotificationChannelDescriptorOrBuilder- 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];- Specified by:
getSupportedTiersCountin interfaceNotificationChannelDescriptorOrBuilder- 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];- Specified by:
getSupportedTiersin interfaceNotificationChannelDescriptorOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The supportedTiers at the given index.
-
setSupportedTiers
@Deprecated public NotificationChannelDescriptor.Builder setSupportedTiers(int index, ServiceTier value) 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 to set the value at.value- The supportedTiers to set.- Returns:
- This builder for chaining.
-
addSupportedTiers
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:
value- The supportedTiers to add.- Returns:
- This builder for chaining.
-
addAllSupportedTiers
@Deprecated public NotificationChannelDescriptor.Builder addAllSupportedTiers(Iterable<? extends ServiceTier> values) 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:
values- The supportedTiers to add.- Returns:
- This builder for chaining.
-
clearSupportedTiers
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:
- This builder for chaining.
-
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];- Specified by:
getSupportedTiersValueListin interfaceNotificationChannelDescriptorOrBuilder- 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];- Specified by:
getSupportedTiersValuein interfaceNotificationChannelDescriptorOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of supportedTiers at the given index.
-
setSupportedTiersValue
@Deprecated public NotificationChannelDescriptor.Builder setSupportedTiersValue(int index, int value) 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 to set the value at.value- The enum numeric value on the wire for supportedTiers to set.- Returns:
- This builder for chaining.
-
addSupportedTiersValue
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:
value- The enum numeric value on the wire for supportedTiers to add.- Returns:
- This builder for chaining.
-
addAllSupportedTiersValue
@Deprecated public NotificationChannelDescriptor.Builder addAllSupportedTiersValue(Iterable<Integer> values) 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:
values- The enum numeric values on the wire for supportedTiers to add.- Returns:
- This builder for chaining.
-
getLaunchStageValue
public int getLaunchStageValue()The product launch stage for channels of this type.
.google.api.LaunchStage launch_stage = 7;- Specified by:
getLaunchStageValuein interfaceNotificationChannelDescriptorOrBuilder- Returns:
- The enum numeric value on the wire for launchStage.
-
setLaunchStageValue
The product launch stage for channels of this type.
.google.api.LaunchStage launch_stage = 7;- Parameters:
value- The enum numeric value on the wire for launchStage to set.- Returns:
- This builder for chaining.
-
getLaunchStage
The product launch stage for channels of this type.
.google.api.LaunchStage launch_stage = 7;- Specified by:
getLaunchStagein interfaceNotificationChannelDescriptorOrBuilder- Returns:
- The launchStage.
-
setLaunchStage
The product launch stage for channels of this type.
.google.api.LaunchStage launch_stage = 7;- Parameters:
value- The launchStage to set.- Returns:
- This builder for chaining.
-
clearLaunchStage
The product launch stage for channels of this type.
.google.api.LaunchStage launch_stage = 7;- Returns:
- This builder for chaining.
-