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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
Static Fields
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
LAUNCH_STAGE_FIELD_NUMBER
public static final int LAUNCH_STAGE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SUPPORTED_TIERS_FIELD_NUMBER
public static final int SUPPORTED_TIERS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static NotificationChannelDescriptor getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static NotificationChannelDescriptor.Builder newBuilder()
newBuilder(NotificationChannelDescriptor prototype)
public static NotificationChannelDescriptor.Builder newBuilder(NotificationChannelDescriptor prototype)
public static NotificationChannelDescriptor parseDelimitedFrom(InputStream input)
public static NotificationChannelDescriptor parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static NotificationChannelDescriptor parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static NotificationChannelDescriptor parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static NotificationChannelDescriptor parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static NotificationChannelDescriptor parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static NotificationChannelDescriptor parseFrom(CodedInputStream input)
public static NotificationChannelDescriptor parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static NotificationChannelDescriptor parseFrom(InputStream input)
public static NotificationChannelDescriptor parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static NotificationChannelDescriptor parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static NotificationChannelDescriptor parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<NotificationChannelDescriptor> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public NotificationChannelDescriptor getDefaultInstanceForType()
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;
Returns |
---|
Type | Description |
String | The description.
|
getDescriptionBytes()
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;
Returns |
---|
Type | Description |
ByteString | The bytes for description.
|
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;
Returns |
---|
Type | Description |
String | The displayName.
|
getDisplayNameBytes()
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;
Returns |
---|
Type | Description |
ByteString | The bytes for displayName.
|
getLabels(int index)
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;
Parameter |
---|
Name | Description |
index | int
|
Returns |
---|
Type | Description |
com.google.api.LabelDescriptor | |
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;
Returns |
---|
Type | Description |
int | |
getLabelsList()
public 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;
Returns |
---|
Type | Description |
List<com.google.api.LabelDescriptor> | |
getLabelsOrBuilder(int index)
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;
Parameter |
---|
Name | Description |
index | int
|
Returns |
---|
Type | Description |
com.google.api.LabelDescriptorOrBuilder | |
getLabelsOrBuilderList()
public 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;
Returns |
---|
Type | Description |
List<? extends com.google.api.LabelDescriptorOrBuilder> | |
getLaunchStage()
public LaunchStage getLaunchStage()
The product launch stage for channels of this type.
.google.api.LaunchStage launch_stage = 7;
Returns |
---|
Type | Description |
com.google.api.LaunchStage | The launchStage.
|
getLaunchStageValue()
public int getLaunchStageValue()
The product launch stage for channels of this type.
.google.api.LaunchStage launch_stage = 7;
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for launchStage.
|
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;
Returns |
---|
Type | Description |
String | The name.
|
getNameBytes()
public 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;
Returns |
---|
Type | Description |
ByteString | The bytes for name.
|
getParserForType()
public Parser<NotificationChannelDescriptor> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getSupportedTiers(int index) (deprecated)
public ServiceTier getSupportedTiers(int index)
Deprecated. google.monitoring.v3.NotificationChannelDescriptor.supported_tiers is deprecated.
See google/monitoring/v3/notification.proto;l=75
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 [deprecated = true];
Parameter |
---|
Name | Description |
index | int
The index of the element to return.
|
Returns |
---|
Type | Description |
ServiceTier | The supportedTiers at the given index.
|
getSupportedTiersCount() (deprecated)
public int getSupportedTiersCount()
Deprecated. google.monitoring.v3.NotificationChannelDescriptor.supported_tiers is deprecated.
See google/monitoring/v3/notification.proto;l=75
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 [deprecated = true];
Returns |
---|
Type | Description |
int | The count of supportedTiers.
|
getSupportedTiersList() (deprecated)
public List<ServiceTier> getSupportedTiersList()
Deprecated. google.monitoring.v3.NotificationChannelDescriptor.supported_tiers is deprecated.
See google/monitoring/v3/notification.proto;l=75
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 [deprecated = true];
Returns |
---|
Type | Description |
List<ServiceTier> | A list containing the supportedTiers.
|
getSupportedTiersValue(int index) (deprecated)
public int getSupportedTiersValue(int index)
Deprecated. google.monitoring.v3.NotificationChannelDescriptor.supported_tiers is deprecated.
See google/monitoring/v3/notification.proto;l=75
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 [deprecated = true];
Parameter |
---|
Name | Description |
index | int
The index of the value to return.
|
Returns |
---|
Type | Description |
int | The enum numeric value on the wire of supportedTiers at the given index.
|
getSupportedTiersValueList() (deprecated)
public List<Integer> getSupportedTiersValueList()
Deprecated. google.monitoring.v3.NotificationChannelDescriptor.supported_tiers is deprecated.
See google/monitoring/v3/notification.proto;l=75
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 [deprecated = true];
Returns |
---|
Type | Description |
List<Integer> | A list containing the enum numeric values on the wire for supportedTiers.
|
getType()
The type of notification channel, such as "email" and "sms". To view the
full list of channels, see
Channel
descriptors.
Notification channel types are globally unique.
string type = 1;
Returns |
---|
Type | Description |
String | The type.
|
getTypeBytes()
public ByteString getTypeBytes()
The type of notification channel, such as "email" and "sms". To view the
full list of channels, see
Channel
descriptors.
Notification channel types are globally unique.
string type = 1;
Returns |
---|
Type | Description |
ByteString | The bytes for type.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public NotificationChannelDescriptor.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected NotificationChannelDescriptor.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public NotificationChannelDescriptor.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides