public final class NotificationChannelDescriptor extends GeneratedMessageV3 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| Modifier and Type | Class and Description |
|---|---|
static class |
NotificationChannelDescriptor.Builder
A description of a notification channel.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
DISPLAY_NAME_FIELD_NUMBER |
static int |
LABELS_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
SUPPORTED_TIERS_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCode| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
static NotificationChannelDescriptor |
getDefaultInstance() |
NotificationChannelDescriptor |
getDefaultInstanceForType() |
java.lang.String |
getDescription()
A human-readable description of the notification channel
type.
|
ByteString |
getDescriptionBytes()
A human-readable description of the notification channel
type.
|
static Descriptors.Descriptor |
getDescriptor() |
java.lang.String |
getDisplayName()
A human-readable name for the notification channel type.
|
ByteString |
getDisplayNameBytes()
A human-readable name for the notification channel type.
|
LabelDescriptor |
getLabels(int index)
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.
|
java.util.List<LabelDescriptor> |
getLabelsList()
The set of labels that must be defined to identify a particular
channel of the corresponding type.
|
LabelDescriptorOrBuilder |
getLabelsOrBuilder(int index)
The set of labels that must be defined to identify a particular
channel of the corresponding type.
|
java.util.List<? extends LabelDescriptorOrBuilder> |
getLabelsOrBuilderList()
The set of labels that must be defined to identify a particular
channel of the corresponding type.
|
java.lang.String |
getName()
The full REST resource name for this descriptor.
|
ByteString |
getNameBytes()
The full REST resource name for this descriptor.
|
Parser<NotificationChannelDescriptor> |
getParserForType() |
int |
getSerializedSize() |
ServiceTier |
getSupportedTiers(int index)
The tiers that support this notification channel; the project service tier
must be one of the supported_tiers.
|
int |
getSupportedTiersCount()
The tiers that support this notification channel; the project service tier
must be one of the supported_tiers.
|
java.util.List<ServiceTier> |
getSupportedTiersList()
The tiers that support this notification channel; the project service tier
must be one of the supported_tiers.
|
int |
getSupportedTiersValue(int index)
The tiers that support this notification channel; the project service tier
must be one of the supported_tiers.
|
java.util.List<java.lang.Integer> |
getSupportedTiersValueList()
The tiers that support this notification channel; the project service tier
must be one of the supported_tiers.
|
java.lang.String |
getType()
The type of notification channel, such as "email", "sms", etc.
|
ByteString |
getTypeBytes()
The type of notification channel, such as "email", "sms", etc.
|
UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static NotificationChannelDescriptor.Builder |
newBuilder() |
static NotificationChannelDescriptor.Builder |
newBuilder(NotificationChannelDescriptor prototype) |
NotificationChannelDescriptor.Builder |
newBuilderForType() |
protected NotificationChannelDescriptor.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
static NotificationChannelDescriptor |
parseDelimitedFrom(java.io.InputStream input) |
static NotificationChannelDescriptor |
parseDelimitedFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static NotificationChannelDescriptor |
parseFrom(byte[] data) |
static NotificationChannelDescriptor |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static NotificationChannelDescriptor |
parseFrom(java.nio.ByteBuffer data) |
static NotificationChannelDescriptor |
parseFrom(java.nio.ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static NotificationChannelDescriptor |
parseFrom(ByteString data) |
static NotificationChannelDescriptor |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static NotificationChannelDescriptor |
parseFrom(CodedInputStream input) |
static NotificationChannelDescriptor |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static NotificationChannelDescriptor |
parseFrom(java.io.InputStream input) |
static NotificationChannelDescriptor |
parseFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<NotificationChannelDescriptor> |
parser() |
NotificationChannelDescriptor.Builder |
toBuilder() |
void |
writeTo(CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int NAME_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
public static final int SUPPORTED_TIERS_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public java.lang.String getName()
The full REST resource name for this descriptor. The syntax is:
projects/[PROJECT_ID]/notificationChannelDescriptors/[TYPE]
In the above, `[TYPE]` is the value of the `type` field.
string name = 6;getName in interface NotificationChannelDescriptorOrBuilderpublic ByteString getNameBytes()
The full REST resource name for this descriptor. The syntax is:
projects/[PROJECT_ID]/notificationChannelDescriptors/[TYPE]
In the above, `[TYPE]` is the value of the `type` field.
string name = 6;getNameBytes in interface NotificationChannelDescriptorOrBuilderpublic java.lang.String getType()
The type of notification channel, such as "email", "sms", etc. Notification channel types are globally unique.
string type = 1;getType in interface NotificationChannelDescriptorOrBuilderpublic ByteString getTypeBytes()
The type of notification channel, such as "email", "sms", etc. Notification channel types are globally unique.
string type = 1;getTypeBytes in interface NotificationChannelDescriptorOrBuilderpublic java.lang.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;getDisplayName in interface NotificationChannelDescriptorOrBuilderpublic 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;getDisplayNameBytes in interface NotificationChannelDescriptorOrBuilderpublic java.lang.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;getDescription in interface NotificationChannelDescriptorOrBuilderpublic 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;getDescriptionBytes in interface NotificationChannelDescriptorOrBuilderpublic java.util.List<LabelDescriptor> getLabelsList()
The set of labels that must be defined to identify a particular channel of the corresponding type. Each label includes a description for how that field should be populated.
repeated .google.api.LabelDescriptor labels = 4;getLabelsList in interface NotificationChannelDescriptorOrBuilderpublic java.util.List<? extends LabelDescriptorOrBuilder> getLabelsOrBuilderList()
The set of labels that must be defined to identify a particular channel of the corresponding type. Each label includes a description for how that field should be populated.
repeated .google.api.LabelDescriptor labels = 4;getLabelsOrBuilderList in interface NotificationChannelDescriptorOrBuilderpublic 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;getLabelsCount in interface NotificationChannelDescriptorOrBuilderpublic 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;getLabels in interface NotificationChannelDescriptorOrBuilderpublic 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;getLabelsOrBuilder in interface NotificationChannelDescriptorOrBuilderpublic java.util.List<ServiceTier> getSupportedTiersList()
The 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;getSupportedTiersList in interface NotificationChannelDescriptorOrBuilderpublic int getSupportedTiersCount()
The 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;getSupportedTiersCount in interface NotificationChannelDescriptorOrBuilderpublic ServiceTier getSupportedTiers(int index)
The 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;getSupportedTiers in interface NotificationChannelDescriptorOrBuilderpublic java.util.List<java.lang.Integer> getSupportedTiersValueList()
The 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;getSupportedTiersValueList in interface NotificationChannelDescriptorOrBuilderpublic int getSupportedTiersValue(int index)
The 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;getSupportedTiersValue in interface NotificationChannelDescriptorOrBuilderpublic final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static NotificationChannelDescriptor parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static NotificationChannelDescriptor parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static NotificationChannelDescriptor parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static NotificationChannelDescriptor parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static NotificationChannelDescriptor parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static NotificationChannelDescriptor parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static NotificationChannelDescriptor parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static NotificationChannelDescriptor parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static NotificationChannelDescriptor parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static NotificationChannelDescriptor parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static NotificationChannelDescriptor parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static NotificationChannelDescriptor parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic NotificationChannelDescriptor.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static NotificationChannelDescriptor.Builder newBuilder()
public static NotificationChannelDescriptor.Builder newBuilder(NotificationChannelDescriptor prototype)
public NotificationChannelDescriptor.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected NotificationChannelDescriptor.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static NotificationChannelDescriptor getDefaultInstance()
public static Parser<NotificationChannelDescriptor> parser()
public Parser<NotificationChannelDescriptor> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public NotificationChannelDescriptor getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilder