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, unknownFields
memoizedSize
memoizedHashCode
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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public 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 MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public 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 NotificationChannelDescriptorOrBuilder
public 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 NotificationChannelDescriptorOrBuilder
public 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 NotificationChannelDescriptorOrBuilder
public ByteString getTypeBytes()
The type of notification channel, such as "email", "sms", etc. Notification channel types are globally unique.
string type = 1;
getTypeBytes
in interface NotificationChannelDescriptorOrBuilder
public 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 NotificationChannelDescriptorOrBuilder
public 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 NotificationChannelDescriptorOrBuilder
public 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 NotificationChannelDescriptorOrBuilder
public 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 NotificationChannelDescriptorOrBuilder
public 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 NotificationChannelDescriptorOrBuilder
public 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 NotificationChannelDescriptorOrBuilder
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;
getLabelsCount
in interface NotificationChannelDescriptorOrBuilder
public 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 NotificationChannelDescriptorOrBuilder
public 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 NotificationChannelDescriptorOrBuilder
public 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 NotificationChannelDescriptorOrBuilder
public 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 NotificationChannelDescriptorOrBuilder
public 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 NotificationChannelDescriptorOrBuilder
public 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 NotificationChannelDescriptorOrBuilder
public 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 NotificationChannelDescriptorOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static NotificationChannelDescriptor parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static NotificationChannelDescriptor parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static NotificationChannelDescriptor parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static NotificationChannelDescriptor parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static NotificationChannelDescriptor parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static NotificationChannelDescriptor parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static NotificationChannelDescriptor parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static NotificationChannelDescriptor parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static NotificationChannelDescriptor parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static NotificationChannelDescriptor parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static NotificationChannelDescriptor parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOException
public static NotificationChannelDescriptor parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public NotificationChannelDescriptor.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static NotificationChannelDescriptor.Builder newBuilder()
public static NotificationChannelDescriptor.Builder newBuilder(NotificationChannelDescriptor prototype)
public NotificationChannelDescriptor.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected NotificationChannelDescriptor.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static NotificationChannelDescriptor getDefaultInstance()
public static Parser<NotificationChannelDescriptor> parser()
public Parser<NotificationChannelDescriptor> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public NotificationChannelDescriptor getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder