public static final class IncidentRole.Builder extends GeneratedMessageV3.Builder<IncidentRole.Builder> implements IncidentRoleOrBuilder
Describes a role that can be assigned to an incident.Protobuf type
google.cloud.irm.v1alpha2.IncidentRolegetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3.Builder<IncidentRole.Builder>public IncidentRole.Builder clear()
clear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.Builder<IncidentRole.Builder>public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<IncidentRole.Builder>public IncidentRole getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic IncidentRole build()
build in interface Message.Builderbuild in interface MessageLite.Builderpublic IncidentRole buildPartial()
buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic IncidentRole.Builder clone()
clone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<IncidentRole.Builder>public IncidentRole.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField in interface Message.BuildersetField in class GeneratedMessageV3.Builder<IncidentRole.Builder>public IncidentRole.Builder clearField(Descriptors.FieldDescriptor field)
clearField in interface Message.BuilderclearField in class GeneratedMessageV3.Builder<IncidentRole.Builder>public IncidentRole.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<IncidentRole.Builder>public IncidentRole.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.Builder<IncidentRole.Builder>public IncidentRole.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.Builder<IncidentRole.Builder>public IncidentRole.Builder mergeFrom(Message other)
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<IncidentRole.Builder>public IncidentRole.Builder mergeFrom(IncidentRole other)
public final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.Builder<IncidentRole.Builder>public IncidentRole.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<IncidentRole.Builder>IOExceptionpublic 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.Builder setTypeValue(int value)
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;value - The enum numeric value on the wire for type to set.public 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 IncidentRole.Builder setType(IncidentRole.Type value)
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;value - The type to set.public IncidentRole.Builder clearType()
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;public 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 IncidentRole.Builder setTitle(String value)
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;value - The title to set.public IncidentRole.Builder clearTitle()
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;public IncidentRole.Builder setTitleBytes(ByteString value)
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;value - The bytes for title to set.public 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 IncidentRole.Builder setDescription(String value)
Output only and empty unless TYPE_OTHER is used. Description of the role.
string description = 3;value - The description to set.public IncidentRole.Builder clearDescription()
Output only and empty unless TYPE_OTHER is used. Description of the role.
string description = 3;public IncidentRole.Builder setDescriptionBytes(ByteString value)
Output only and empty unless TYPE_OTHER is used. Description of the role.
string description = 3;value - The bytes for description to set.public final IncidentRole.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields in interface Message.BuildersetUnknownFields in class GeneratedMessageV3.Builder<IncidentRole.Builder>public final IncidentRole.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<IncidentRole.Builder>Copyright © 2020 Google LLC. All rights reserved.