public final class IncidentRole extends GeneratedMessageV3 implements IncidentRoleOrBuilder
Describes a role that can be assigned to an incident.Protobuf type
google.cloud.irm.v1alpha2.IncidentRole| Modifier and Type | Class and Description |
|---|---|
static class |
IncidentRole.Builder
Describes a role that can be assigned to an incident.
|
static class |
IncidentRole.Type
List of possible roles.
|
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 |
DESCRIPTION_FIELD_NUMBER |
static int |
TITLE_FIELD_NUMBER |
static int |
TYPE_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 TYPE_FIELD_NUMBER
public static final int TITLE_FIELD_NUMBER
public static final int DESCRIPTION_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 int getTypeValue()
The type of role. The role type is immutable in role assignments. Each role type can only be used once per incident, except for TYPE_OTHER.
.google.cloud.irm.v1alpha2.IncidentRole.Type type = 1;getTypeValue in interface IncidentRoleOrBuilderpublic IncidentRole.Type getType()
The type of role. The role type is immutable in role assignments. Each role type can only be used once per incident, except for TYPE_OTHER.
.google.cloud.irm.v1alpha2.IncidentRole.Type type = 1;getType in interface IncidentRoleOrBuilderpublic String getTitle()
Output only and empty unless TYPE_OTHER is used. Title of the role. For TYPE_OTHER, must be unique within an incident.
string title = 2;getTitle in interface IncidentRoleOrBuilderpublic ByteString getTitleBytes()
Output only and empty unless TYPE_OTHER is used. Title of the role. For TYPE_OTHER, must be unique within an incident.
string title = 2;getTitleBytes in interface IncidentRoleOrBuilderpublic String getDescription()
Output only and empty unless TYPE_OTHER is used. Description of the role.
string description = 3;getDescription in interface IncidentRoleOrBuilderpublic ByteString getDescriptionBytes()
Output only and empty unless TYPE_OTHER is used. Description of the role.
string description = 3;getDescriptionBytes in interface IncidentRoleOrBuilderpublic 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 IncidentRole parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static IncidentRole parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static IncidentRole parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static IncidentRole parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static IncidentRole parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static IncidentRole parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static IncidentRole parseFrom(InputStream input) throws IOException
IOExceptionpublic static IncidentRole parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static IncidentRole parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static IncidentRole parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static IncidentRole parseFrom(CodedInputStream input) throws IOException
IOExceptionpublic static IncidentRole parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic IncidentRole.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static IncidentRole.Builder newBuilder()
public static IncidentRole.Builder newBuilder(IncidentRole prototype)
public IncidentRole.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected IncidentRole.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static IncidentRole getDefaultInstance()
public static Parser<IncidentRole> parser()
public Parser<IncidentRole> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public IncidentRole getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderCopyright © 2020 Google LLC. All rights reserved.