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.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.NotificationChannelDescriptor.Builder
addAllSupportedTiers(Iterable<? extends ServiceTier> values)
Deprecated.google.monitoring.v3.NotificationChannelDescriptor.supported_tiers is deprecated.NotificationChannelDescriptor.Builder
addAllSupportedTiersValue(Iterable<Integer> values)
Deprecated.google.monitoring.v3.NotificationChannelDescriptor.supported_tiers is deprecated.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.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.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.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.com.google.api.LabelDescriptor.Builder
addLabelsBuilder()
The set of labels that must be defined to identify a particular channel of the corresponding type.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.NotificationChannelDescriptor.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
NotificationChannelDescriptor.Builder
addSupportedTiers(ServiceTier value)
Deprecated.google.monitoring.v3.NotificationChannelDescriptor.supported_tiers is deprecated.NotificationChannelDescriptor.Builder
addSupportedTiersValue(int value)
Deprecated.google.monitoring.v3.NotificationChannelDescriptor.supported_tiers is deprecated.NotificationChannelDescriptor
build()
NotificationChannelDescriptor
buildPartial()
NotificationChannelDescriptor.Builder
clear()
NotificationChannelDescriptor.Builder
clearDescription()
A human-readable description of the notification channel type.NotificationChannelDescriptor.Builder
clearDisplayName()
A human-readable name for the notification channel type.NotificationChannelDescriptor.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
NotificationChannelDescriptor.Builder
clearLabels()
The set of labels that must be defined to identify a particular channel of the corresponding type.NotificationChannelDescriptor.Builder
clearLaunchStage()
The product launch stage for channels of this type.NotificationChannelDescriptor.Builder
clearName()
The full REST resource name for this descriptor.NotificationChannelDescriptor.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
NotificationChannelDescriptor.Builder
clearSupportedTiers()
Deprecated.google.monitoring.v3.NotificationChannelDescriptor.supported_tiers is deprecated.NotificationChannelDescriptor.Builder
clearType()
The type of notification channel, such as "email" and "sms".NotificationChannelDescriptor.Builder
clone()
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()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
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.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.List<com.google.api.LabelDescriptor.Builder>
getLabelsBuilderList()
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.ServiceTier
getSupportedTiers(int index)
Deprecated.google.monitoring.v3.NotificationChannelDescriptor.supported_tiers is deprecated.int
getSupportedTiersCount()
Deprecated.google.monitoring.v3.NotificationChannelDescriptor.supported_tiers is deprecated.List<ServiceTier>
getSupportedTiersList()
Deprecated.google.monitoring.v3.NotificationChannelDescriptor.supported_tiers is deprecated.int
getSupportedTiersValue(int index)
Deprecated.google.monitoring.v3.NotificationChannelDescriptor.supported_tiers is deprecated.List<Integer>
getSupportedTiersValueList()
Deprecated.google.monitoring.v3.NotificationChannelDescriptor.supported_tiers is deprecated.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".protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
NotificationChannelDescriptor.Builder
mergeFrom(NotificationChannelDescriptor other)
NotificationChannelDescriptor.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
NotificationChannelDescriptor.Builder
mergeFrom(com.google.protobuf.Message other)
NotificationChannelDescriptor.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
NotificationChannelDescriptor.Builder
removeLabels(int index)
The set of labels that must be defined to identify a particular channel of the corresponding type.NotificationChannelDescriptor.Builder
setDescription(String value)
A human-readable description of the notification channel type.NotificationChannelDescriptor.Builder
setDescriptionBytes(com.google.protobuf.ByteString value)
A human-readable description of the notification channel type.NotificationChannelDescriptor.Builder
setDisplayName(String value)
A human-readable name for the notification channel type.NotificationChannelDescriptor.Builder
setDisplayNameBytes(com.google.protobuf.ByteString value)
A human-readable name for the notification channel type.NotificationChannelDescriptor.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
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.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.NotificationChannelDescriptor.Builder
setLaunchStage(com.google.api.LaunchStage value)
The product launch stage for channels of this type.NotificationChannelDescriptor.Builder
setLaunchStageValue(int value)
The product launch stage for channels of this type.NotificationChannelDescriptor.Builder
setName(String value)
The full REST resource name for this descriptor.NotificationChannelDescriptor.Builder
setNameBytes(com.google.protobuf.ByteString value)
The full REST resource name for this descriptor.NotificationChannelDescriptor.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
NotificationChannelDescriptor.Builder
setSupportedTiers(int index, ServiceTier value)
Deprecated.google.monitoring.v3.NotificationChannelDescriptor.supported_tiers is deprecated.NotificationChannelDescriptor.Builder
setSupportedTiersValue(int index, int value)
Deprecated.google.monitoring.v3.NotificationChannelDescriptor.supported_tiers is deprecated.NotificationChannelDescriptor.Builder
setType(String value)
The type of notification channel, such as "email" and "sms".NotificationChannelDescriptor.Builder
setTypeBytes(com.google.protobuf.ByteString value)
The type of notification channel, such as "email" and "sms".NotificationChannelDescriptor.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<NotificationChannelDescriptor.Builder>
-
clear
public NotificationChannelDescriptor.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<NotificationChannelDescriptor.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<NotificationChannelDescriptor.Builder>
-
getDefaultInstanceForType
public NotificationChannelDescriptor getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public NotificationChannelDescriptor build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public NotificationChannelDescriptor buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public NotificationChannelDescriptor.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<NotificationChannelDescriptor.Builder>
-
setField
public NotificationChannelDescriptor.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<NotificationChannelDescriptor.Builder>
-
clearField
public NotificationChannelDescriptor.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<NotificationChannelDescriptor.Builder>
-
clearOneof
public NotificationChannelDescriptor.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<NotificationChannelDescriptor.Builder>
-
setRepeatedField
public NotificationChannelDescriptor.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<NotificationChannelDescriptor.Builder>
-
addRepeatedField
public NotificationChannelDescriptor.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<NotificationChannelDescriptor.Builder>
-
mergeFrom
public NotificationChannelDescriptor.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<NotificationChannelDescriptor.Builder>
-
mergeFrom
public NotificationChannelDescriptor.Builder mergeFrom(NotificationChannelDescriptor other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getName
in 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:
getNameBytes
in 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:
getType
in 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:
getTypeBytes
in 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:
getDisplayName
in 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:
getDisplayNameBytes
in 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:
getDescription
in 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:
getDescriptionBytes
in 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:
getLabelsList
in 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:
getLabelsCount
in 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:
getLabels
in 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:
getLabelsOrBuilder
in 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:
getLabelsOrBuilderList
in 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:
getSupportedTiersList
in 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:
getSupportedTiersCount
in 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:
getSupportedTiers
in 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:
getSupportedTiersValueList
in 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:
getSupportedTiersValue
in 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:
getLaunchStageValue
in 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:
getLaunchStage
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<NotificationChannelDescriptor.Builder>
-
mergeUnknownFields
public final NotificationChannelDescriptor.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<NotificationChannelDescriptor.Builder>
-
-