public final class CommunicationChannel extends GeneratedMessageV3 implements CommunicationChannelOrBuilder
Communication Channels are mechanisms used to receive notifications about changes to incidents.Protobuf type
google.cloud.irm.v1alpha2.CommunicationChannel| Modifier and Type | Class and Description |
|---|---|
static class |
CommunicationChannel.Builder
Communication Channels are mechanisms used to receive notifications
about changes to incidents.
|
static class |
CommunicationChannel.Email
A communication channel that delivers messages to an email address.
|
static interface |
CommunicationChannel.EmailOrBuilder |
static class |
CommunicationChannel.EndpointCase |
static class |
CommunicationChannel.NotificationChannel
A communication channel that delivers messages to a Stackdriver
notification channel.
|
static interface |
CommunicationChannel.NotificationChannelOrBuilder |
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, GeneratedMessageV3.UnusedPrivateParameterAbstractMessageLite.InternalOneOfEnum| Modifier and Type | Field and Description |
|---|---|
static int |
EMAIL_FIELD_NUMBER |
static int |
NOTIFICATION_CHANNEL_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCodecanUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, 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 EMAIL_FIELD_NUMBER
public static final int NOTIFICATION_CHANNEL_FIELD_NUMBER
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class GeneratedMessageV3public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public CommunicationChannel.EndpointCase getEndpointCase()
getEndpointCase in interface CommunicationChannelOrBuilderpublic boolean hasEmail()
Messages will be delivered via email.
.google.cloud.irm.v1alpha2.CommunicationChannel.Email email = 1;hasEmail in interface CommunicationChannelOrBuilderpublic CommunicationChannel.Email getEmail()
Messages will be delivered via email.
.google.cloud.irm.v1alpha2.CommunicationChannel.Email email = 1;getEmail in interface CommunicationChannelOrBuilderpublic CommunicationChannel.EmailOrBuilder getEmailOrBuilder()
Messages will be delivered via email.
.google.cloud.irm.v1alpha2.CommunicationChannel.Email email = 1;getEmailOrBuilder in interface CommunicationChannelOrBuilderpublic boolean hasNotificationChannel()
Messages will be delivered via a Stackdriver notification channel.
.google.cloud.irm.v1alpha2.CommunicationChannel.NotificationChannel notification_channel = 2;
hasNotificationChannel in interface CommunicationChannelOrBuilderpublic CommunicationChannel.NotificationChannel getNotificationChannel()
Messages will be delivered via a Stackdriver notification channel.
.google.cloud.irm.v1alpha2.CommunicationChannel.NotificationChannel notification_channel = 2;
getNotificationChannel in interface CommunicationChannelOrBuilderpublic CommunicationChannel.NotificationChannelOrBuilder getNotificationChannelOrBuilder()
Messages will be delivered via a Stackdriver notification channel.
.google.cloud.irm.v1alpha2.CommunicationChannel.NotificationChannel notification_channel = 2;
getNotificationChannelOrBuilder in interface CommunicationChannelOrBuilderpublic final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static CommunicationChannel parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static CommunicationChannel parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static CommunicationChannel parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static CommunicationChannel parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static CommunicationChannel parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static CommunicationChannel parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static CommunicationChannel parseFrom(InputStream input) throws IOException
IOExceptionpublic static CommunicationChannel parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CommunicationChannel parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static CommunicationChannel parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CommunicationChannel parseFrom(CodedInputStream input) throws IOException
IOExceptionpublic static CommunicationChannel parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic CommunicationChannel.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static CommunicationChannel.Builder newBuilder()
public static CommunicationChannel.Builder newBuilder(CommunicationChannel prototype)
public CommunicationChannel.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected CommunicationChannel.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static CommunicationChannel getDefaultInstance()
public static Parser<CommunicationChannel> parser()
public Parser<CommunicationChannel> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public CommunicationChannel getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderCopyright © 2020 Google LLC. All rights reserved.