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.GeneratedMessageV3.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.GeneratedMessageV3.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 typegoogle.monitoring.v3.NotificationChannelDescriptor
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description NotificationChannelDescriptor.BuilderaddAllLabels(Iterable<? extends com.google.api.LabelDescriptor> values)The set of labels that must be defined to identify a particular channel of the corresponding type.NotificationChannelDescriptor.BuilderaddAllSupportedTiers(Iterable<? extends ServiceTier> values)Deprecated.google.monitoring.v3.NotificationChannelDescriptor.supported_tiers is deprecated.NotificationChannelDescriptor.BuilderaddAllSupportedTiersValue(Iterable<Integer> values)Deprecated.google.monitoring.v3.NotificationChannelDescriptor.supported_tiers is deprecated.NotificationChannelDescriptor.BuilderaddLabels(int index, com.google.api.LabelDescriptor value)The set of labels that must be defined to identify a particular channel of the corresponding type.NotificationChannelDescriptor.BuilderaddLabels(int index, com.google.api.LabelDescriptor.Builder builderForValue)The set of labels that must be defined to identify a particular channel of the corresponding type.NotificationChannelDescriptor.BuilderaddLabels(com.google.api.LabelDescriptor value)The set of labels that must be defined to identify a particular channel of the corresponding type.NotificationChannelDescriptor.BuilderaddLabels(com.google.api.LabelDescriptor.Builder builderForValue)The set of labels that must be defined to identify a particular channel of the corresponding type.com.google.api.LabelDescriptor.BuilderaddLabelsBuilder()The set of labels that must be defined to identify a particular channel of the corresponding type.com.google.api.LabelDescriptor.BuilderaddLabelsBuilder(int index)The set of labels that must be defined to identify a particular channel of the corresponding type.NotificationChannelDescriptor.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)NotificationChannelDescriptor.BuilderaddSupportedTiers(ServiceTier value)Deprecated.google.monitoring.v3.NotificationChannelDescriptor.supported_tiers is deprecated.NotificationChannelDescriptor.BuilderaddSupportedTiersValue(int value)Deprecated.google.monitoring.v3.NotificationChannelDescriptor.supported_tiers is deprecated.NotificationChannelDescriptorbuild()NotificationChannelDescriptorbuildPartial()NotificationChannelDescriptor.Builderclear()NotificationChannelDescriptor.BuilderclearDescription()A human-readable description of the notification channel type.NotificationChannelDescriptor.BuilderclearDisplayName()A human-readable name for the notification channel type.NotificationChannelDescriptor.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)NotificationChannelDescriptor.BuilderclearLabels()The set of labels that must be defined to identify a particular channel of the corresponding type.NotificationChannelDescriptor.BuilderclearLaunchStage()The product launch stage for channels of this type.NotificationChannelDescriptor.BuilderclearName()The full REST resource name for this descriptor.NotificationChannelDescriptor.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)NotificationChannelDescriptor.BuilderclearSupportedTiers()Deprecated.google.monitoring.v3.NotificationChannelDescriptor.supported_tiers is deprecated.NotificationChannelDescriptor.BuilderclearType()The type of notification channel, such as "email" and "sms".NotificationChannelDescriptor.Builderclone()NotificationChannelDescriptorgetDefaultInstanceForType()StringgetDescription()A human-readable description of the notification channel type.com.google.protobuf.ByteStringgetDescriptionBytes()A human-readable description of the notification channel type.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()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.com.google.api.LabelDescriptor.BuildergetLabelsBuilder(int index)The set of labels that must be defined to identify a particular channel of the corresponding type.List<com.google.api.LabelDescriptor.Builder>getLabelsBuilderList()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".protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()NotificationChannelDescriptor.BuildermergeFrom(NotificationChannelDescriptor other)NotificationChannelDescriptor.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)NotificationChannelDescriptor.BuildermergeFrom(com.google.protobuf.Message other)NotificationChannelDescriptor.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)NotificationChannelDescriptor.BuilderremoveLabels(int index)The set of labels that must be defined to identify a particular channel of the corresponding type.NotificationChannelDescriptor.BuildersetDescription(String value)A human-readable description of the notification channel type.NotificationChannelDescriptor.BuildersetDescriptionBytes(com.google.protobuf.ByteString value)A human-readable description of the notification channel type.NotificationChannelDescriptor.BuildersetDisplayName(String value)A human-readable name for the notification channel type.NotificationChannelDescriptor.BuildersetDisplayNameBytes(com.google.protobuf.ByteString value)A human-readable name for the notification channel type.NotificationChannelDescriptor.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)NotificationChannelDescriptor.BuildersetLabels(int index, com.google.api.LabelDescriptor value)The set of labels that must be defined to identify a particular channel of the corresponding type.NotificationChannelDescriptor.BuildersetLabels(int index, com.google.api.LabelDescriptor.Builder builderForValue)The set of labels that must be defined to identify a particular channel of the corresponding type.NotificationChannelDescriptor.BuildersetLaunchStage(com.google.api.LaunchStage value)The product launch stage for channels of this type.NotificationChannelDescriptor.BuildersetLaunchStageValue(int value)The product launch stage for channels of this type.NotificationChannelDescriptor.BuildersetName(String value)The full REST resource name for this descriptor.NotificationChannelDescriptor.BuildersetNameBytes(com.google.protobuf.ByteString value)The full REST resource name for this descriptor.NotificationChannelDescriptor.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)NotificationChannelDescriptor.BuildersetSupportedTiers(int index, ServiceTier value)Deprecated.google.monitoring.v3.NotificationChannelDescriptor.supported_tiers is deprecated.NotificationChannelDescriptor.BuildersetSupportedTiersValue(int index, int value)Deprecated.google.monitoring.v3.NotificationChannelDescriptor.supported_tiers is deprecated.NotificationChannelDescriptor.BuildersetType(String value)The type of notification channel, such as "email" and "sms".NotificationChannelDescriptor.BuildersetTypeBytes(com.google.protobuf.ByteString value)The type of notification channel, such as "email" and "sms".NotificationChannelDescriptor.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<NotificationChannelDescriptor.Builder>
-
clear
public NotificationChannelDescriptor.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<NotificationChannelDescriptor.Builder>
-
getDefaultInstanceForType
public NotificationChannelDescriptor getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public NotificationChannelDescriptor build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public NotificationChannelDescriptor buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public NotificationChannelDescriptor.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<NotificationChannelDescriptor.Builder>
-
setField
public NotificationChannelDescriptor.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NotificationChannelDescriptor.Builder>
-
clearField
public NotificationChannelDescriptor.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NotificationChannelDescriptor.Builder>
-
clearOneof
public NotificationChannelDescriptor.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<NotificationChannelDescriptor.Builder>
-
setRepeatedField
public NotificationChannelDescriptor.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NotificationChannelDescriptor.Builder>
-
addRepeatedField
public NotificationChannelDescriptor.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NotificationChannelDescriptor.Builder>
-
mergeFrom
public NotificationChannelDescriptor.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NotificationChannelDescriptor.Builder>
-
mergeFrom
public NotificationChannelDescriptor.Builder mergeFrom(NotificationChannelDescriptor other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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
public 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;- 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
public NotificationChannelDescriptor.Builder setName(String value)
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
public NotificationChannelDescriptor.Builder 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
public NotificationChannelDescriptor.Builder setNameBytes(com.google.protobuf.ByteString value)
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
public 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;- 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
public NotificationChannelDescriptor.Builder setType(String value)
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
public NotificationChannelDescriptor.Builder 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
public NotificationChannelDescriptor.Builder setTypeBytes(com.google.protobuf.ByteString value)
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
public 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;- 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
public NotificationChannelDescriptor.Builder setDisplayName(String 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 displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
public NotificationChannelDescriptor.Builder 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
public 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;- 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
public NotificationChannelDescriptor.Builder setDescription(String 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 description to set.- Returns:
- This builder for chaining.
-
clearDescription
public NotificationChannelDescriptor.Builder 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
public 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;- 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
public 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;- Specified by:
getLabelsin interfaceNotificationChannelDescriptorOrBuilder
-
setLabels
public NotificationChannelDescriptor.Builder setLabels(int index, com.google.api.LabelDescriptor value)
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, com.google.api.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
public NotificationChannelDescriptor.Builder addLabels(com.google.api.LabelDescriptor value)
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, com.google.api.LabelDescriptor value)
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(com.google.api.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
public NotificationChannelDescriptor.Builder addLabels(int index, com.google.api.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 com.google.api.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
public NotificationChannelDescriptor.Builder 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
public NotificationChannelDescriptor.Builder removeLabels(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;
-
getLabelsBuilder
public com.google.api.LabelDescriptor.Builder getLabelsBuilder(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
public 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;- Specified by:
getLabelsOrBuilderin interfaceNotificationChannelDescriptorOrBuilder
-
getLabelsOrBuilderList
public 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;- Specified by:
getLabelsOrBuilderListin interfaceNotificationChannelDescriptorOrBuilder
-
addLabelsBuilder
public com.google.api.LabelDescriptor.Builder 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
public com.google.api.LabelDescriptor.Builder addLabelsBuilder(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;
-
getLabelsBuilderList
public List<com.google.api.LabelDescriptor.Builder> 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 public 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];- Specified by:
getSupportedTiersListin interfaceNotificationChannelDescriptorOrBuilder- Returns:
- A list containing the supportedTiers.
-
getSupportedTiersCount
@Deprecated public 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];- Specified by:
getSupportedTiersCountin interfaceNotificationChannelDescriptorOrBuilder- Returns:
- The count of supportedTiers.
-
getSupportedTiers
@Deprecated public 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];- 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=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 to set the value at.value- The supportedTiers to set.- Returns:
- This builder for chaining.
-
addSupportedTiers
@Deprecated public NotificationChannelDescriptor.Builder addSupportedTiers(ServiceTier value)
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:
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=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:
values- The supportedTiers to add.- Returns:
- This builder for chaining.
-
clearSupportedTiers
@Deprecated public NotificationChannelDescriptor.Builder clearSupportedTiers()
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:
- This builder for chaining.
-
getSupportedTiersValueList
@Deprecated public 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];- Specified by:
getSupportedTiersValueListin interfaceNotificationChannelDescriptorOrBuilder- Returns:
- A list containing the enum numeric values on the wire for supportedTiers.
-
getSupportedTiersValue
@Deprecated public 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];- 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=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 to set the value at.value- The enum numeric value on the wire for supportedTiers to set.- Returns:
- This builder for chaining.
-
addSupportedTiersValue
@Deprecated public NotificationChannelDescriptor.Builder addSupportedTiersValue(int value)
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:
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=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:
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
public NotificationChannelDescriptor.Builder setLaunchStageValue(int value)
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
public com.google.api.LaunchStage getLaunchStage()
The product launch stage for channels of this type.
.google.api.LaunchStage launch_stage = 7;- Specified by:
getLaunchStagein interfaceNotificationChannelDescriptorOrBuilder- Returns:
- The launchStage.
-
setLaunchStage
public NotificationChannelDescriptor.Builder setLaunchStage(com.google.api.LaunchStage value)
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
public NotificationChannelDescriptor.Builder clearLaunchStage()
The product launch stage for channels of this type.
.google.api.LaunchStage launch_stage = 7;- Returns:
- This builder for chaining.
-
setUnknownFields
public final NotificationChannelDescriptor.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<NotificationChannelDescriptor.Builder>
-
mergeUnknownFields
public final NotificationChannelDescriptor.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<NotificationChannelDescriptor.Builder>
-
-