public static final class IncidentRoleAssignment.Builder extends GeneratedMessageV3.Builder<IncidentRoleAssignment.Builder> implements IncidentRoleAssignmentOrBuilder
Stores the assignee of a role as well as the proposed next assignee.Protobuf type
google.cloud.irm.v1alpha2.IncidentRoleAssignmentgetAllFields, 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<IncidentRoleAssignment.Builder>public IncidentRoleAssignment.Builder clear()
clear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.Builder<IncidentRoleAssignment.Builder>public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<IncidentRoleAssignment.Builder>public IncidentRoleAssignment getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic IncidentRoleAssignment build()
build in interface Message.Builderbuild in interface MessageLite.Builderpublic IncidentRoleAssignment buildPartial()
buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic IncidentRoleAssignment.Builder clone()
clone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<IncidentRoleAssignment.Builder>public IncidentRoleAssignment.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField in interface Message.BuildersetField in class GeneratedMessageV3.Builder<IncidentRoleAssignment.Builder>public IncidentRoleAssignment.Builder clearField(Descriptors.FieldDescriptor field)
clearField in interface Message.BuilderclearField in class GeneratedMessageV3.Builder<IncidentRoleAssignment.Builder>public IncidentRoleAssignment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<IncidentRoleAssignment.Builder>public IncidentRoleAssignment.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.Builder<IncidentRoleAssignment.Builder>public IncidentRoleAssignment.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.Builder<IncidentRoleAssignment.Builder>public IncidentRoleAssignment.Builder mergeFrom(Message other)
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<IncidentRoleAssignment.Builder>public IncidentRoleAssignment.Builder mergeFrom(IncidentRoleAssignment other)
public final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.Builder<IncidentRoleAssignment.Builder>public IncidentRoleAssignment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<IncidentRoleAssignment.Builder>IOExceptionpublic String getName()
Output only. Resource name such as
"projects/{project_id_or_number}/incidents/{incident_id}/role_assignments/{role_id}".
string name = 1;getName in interface IncidentRoleAssignmentOrBuilderpublic ByteString getNameBytes()
Output only. Resource name such as
"projects/{project_id_or_number}/incidents/{incident_id}/role_assignments/{role_id}".
string name = 1;getNameBytes in interface IncidentRoleAssignmentOrBuilderpublic IncidentRoleAssignment.Builder setName(String value)
Output only. Resource name such as
"projects/{project_id_or_number}/incidents/{incident_id}/role_assignments/{role_id}".
string name = 1;value - The name to set.public IncidentRoleAssignment.Builder clearName()
Output only. Resource name such as
"projects/{project_id_or_number}/incidents/{incident_id}/role_assignments/{role_id}".
string name = 1;public IncidentRoleAssignment.Builder setNameBytes(ByteString value)
Output only. Resource name such as
"projects/{project_id_or_number}/incidents/{incident_id}/role_assignments/{role_id}".
string name = 1;value - The bytes for name to set.public String getEtag()
Output only. Etag for this version of the resource. Must be specified in update requests and match the current version in storage. Must not be modified by the client.
string etag = 2;getEtag in interface IncidentRoleAssignmentOrBuilderpublic ByteString getEtagBytes()
Output only. Etag for this version of the resource. Must be specified in update requests and match the current version in storage. Must not be modified by the client.
string etag = 2;getEtagBytes in interface IncidentRoleAssignmentOrBuilderpublic IncidentRoleAssignment.Builder setEtag(String value)
Output only. Etag for this version of the resource. Must be specified in update requests and match the current version in storage. Must not be modified by the client.
string etag = 2;value - The etag to set.public IncidentRoleAssignment.Builder clearEtag()
Output only. Etag for this version of the resource. Must be specified in update requests and match the current version in storage. Must not be modified by the client.
string etag = 2;public IncidentRoleAssignment.Builder setEtagBytes(ByteString value)
Output only. Etag for this version of the resource. Must be specified in update requests and match the current version in storage. Must not be modified by the client.
string etag = 2;value - The bytes for etag to set.public boolean hasRole()
The role that is or will be assigned.
.google.cloud.irm.v1alpha2.IncidentRole role = 3;hasRole in interface IncidentRoleAssignmentOrBuilderpublic IncidentRole getRole()
The role that is or will be assigned.
.google.cloud.irm.v1alpha2.IncidentRole role = 3;getRole in interface IncidentRoleAssignmentOrBuilderpublic IncidentRoleAssignment.Builder setRole(IncidentRole value)
The role that is or will be assigned.
.google.cloud.irm.v1alpha2.IncidentRole role = 3;public IncidentRoleAssignment.Builder setRole(IncidentRole.Builder builderForValue)
The role that is or will be assigned.
.google.cloud.irm.v1alpha2.IncidentRole role = 3;public IncidentRoleAssignment.Builder mergeRole(IncidentRole value)
The role that is or will be assigned.
.google.cloud.irm.v1alpha2.IncidentRole role = 3;public IncidentRoleAssignment.Builder clearRole()
The role that is or will be assigned.
.google.cloud.irm.v1alpha2.IncidentRole role = 3;public IncidentRole.Builder getRoleBuilder()
The role that is or will be assigned.
.google.cloud.irm.v1alpha2.IncidentRole role = 3;public IncidentRoleOrBuilder getRoleOrBuilder()
The role that is or will be assigned.
.google.cloud.irm.v1alpha2.IncidentRole role = 3;getRoleOrBuilder in interface IncidentRoleAssignmentOrBuilderpublic boolean hasAssignee()
The user this role is assigned to. This field can only be directly set during creation request. Subsequent updates are done via the IncidentRoleHandover methods.
.google.cloud.irm.v1alpha2.User assignee = 4;hasAssignee in interface IncidentRoleAssignmentOrBuilderpublic User getAssignee()
The user this role is assigned to. This field can only be directly set during creation request. Subsequent updates are done via the IncidentRoleHandover methods.
.google.cloud.irm.v1alpha2.User assignee = 4;getAssignee in interface IncidentRoleAssignmentOrBuilderpublic IncidentRoleAssignment.Builder setAssignee(User value)
The user this role is assigned to. This field can only be directly set during creation request. Subsequent updates are done via the IncidentRoleHandover methods.
.google.cloud.irm.v1alpha2.User assignee = 4;public IncidentRoleAssignment.Builder setAssignee(User.Builder builderForValue)
The user this role is assigned to. This field can only be directly set during creation request. Subsequent updates are done via the IncidentRoleHandover methods.
.google.cloud.irm.v1alpha2.User assignee = 4;public IncidentRoleAssignment.Builder mergeAssignee(User value)
The user this role is assigned to. This field can only be directly set during creation request. Subsequent updates are done via the IncidentRoleHandover methods.
.google.cloud.irm.v1alpha2.User assignee = 4;public IncidentRoleAssignment.Builder clearAssignee()
The user this role is assigned to. This field can only be directly set during creation request. Subsequent updates are done via the IncidentRoleHandover methods.
.google.cloud.irm.v1alpha2.User assignee = 4;public User.Builder getAssigneeBuilder()
The user this role is assigned to. This field can only be directly set during creation request. Subsequent updates are done via the IncidentRoleHandover methods.
.google.cloud.irm.v1alpha2.User assignee = 4;public UserOrBuilder getAssigneeOrBuilder()
The user this role is assigned to. This field can only be directly set during creation request. Subsequent updates are done via the IncidentRoleHandover methods.
.google.cloud.irm.v1alpha2.User assignee = 4;getAssigneeOrBuilder in interface IncidentRoleAssignmentOrBuilderpublic boolean hasProposedAssignee()
The recipient of a requested role handoff. This field can only be directly set during creation request. Subsequent updates are done via the IncidentRoleHandover methods. `assignee` is always the current role-holder, and `proposed_assignee` is used to track unfinished assignments and handoffs. Let's say Bob assigns Alice to a role. Then the fields are: `assignee`: nil, `proposed_assignee`: Alice If Alice accepts, then the fields are: `assignee`: Alice, `proposed_assignee`: nil If she cancels, then the RoleAssignment is deleted. Let's say Alice has the role. Then the fields are: `assignee`: Alice, `proposed_assignee`: nil If Alice becomes incapacitated and Bob requests Carol to take over, then the fields are: `assignee`: Alice, `proposed_assignee`: Carol After Carol accepts the handover, the fields are: `assignee`: Carol, `proposed_assignee`: nil Or if Carol refuses the handover, the fields are: `assignee`: Alice, `proposed_assignee`: nil
.google.cloud.irm.v1alpha2.User proposed_assignee = 5;hasProposedAssignee in interface IncidentRoleAssignmentOrBuilderpublic User getProposedAssignee()
The recipient of a requested role handoff. This field can only be directly set during creation request. Subsequent updates are done via the IncidentRoleHandover methods. `assignee` is always the current role-holder, and `proposed_assignee` is used to track unfinished assignments and handoffs. Let's say Bob assigns Alice to a role. Then the fields are: `assignee`: nil, `proposed_assignee`: Alice If Alice accepts, then the fields are: `assignee`: Alice, `proposed_assignee`: nil If she cancels, then the RoleAssignment is deleted. Let's say Alice has the role. Then the fields are: `assignee`: Alice, `proposed_assignee`: nil If Alice becomes incapacitated and Bob requests Carol to take over, then the fields are: `assignee`: Alice, `proposed_assignee`: Carol After Carol accepts the handover, the fields are: `assignee`: Carol, `proposed_assignee`: nil Or if Carol refuses the handover, the fields are: `assignee`: Alice, `proposed_assignee`: nil
.google.cloud.irm.v1alpha2.User proposed_assignee = 5;getProposedAssignee in interface IncidentRoleAssignmentOrBuilderpublic IncidentRoleAssignment.Builder setProposedAssignee(User value)
The recipient of a requested role handoff. This field can only be directly set during creation request. Subsequent updates are done via the IncidentRoleHandover methods. `assignee` is always the current role-holder, and `proposed_assignee` is used to track unfinished assignments and handoffs. Let's say Bob assigns Alice to a role. Then the fields are: `assignee`: nil, `proposed_assignee`: Alice If Alice accepts, then the fields are: `assignee`: Alice, `proposed_assignee`: nil If she cancels, then the RoleAssignment is deleted. Let's say Alice has the role. Then the fields are: `assignee`: Alice, `proposed_assignee`: nil If Alice becomes incapacitated and Bob requests Carol to take over, then the fields are: `assignee`: Alice, `proposed_assignee`: Carol After Carol accepts the handover, the fields are: `assignee`: Carol, `proposed_assignee`: nil Or if Carol refuses the handover, the fields are: `assignee`: Alice, `proposed_assignee`: nil
.google.cloud.irm.v1alpha2.User proposed_assignee = 5;public IncidentRoleAssignment.Builder setProposedAssignee(User.Builder builderForValue)
The recipient of a requested role handoff. This field can only be directly set during creation request. Subsequent updates are done via the IncidentRoleHandover methods. `assignee` is always the current role-holder, and `proposed_assignee` is used to track unfinished assignments and handoffs. Let's say Bob assigns Alice to a role. Then the fields are: `assignee`: nil, `proposed_assignee`: Alice If Alice accepts, then the fields are: `assignee`: Alice, `proposed_assignee`: nil If she cancels, then the RoleAssignment is deleted. Let's say Alice has the role. Then the fields are: `assignee`: Alice, `proposed_assignee`: nil If Alice becomes incapacitated and Bob requests Carol to take over, then the fields are: `assignee`: Alice, `proposed_assignee`: Carol After Carol accepts the handover, the fields are: `assignee`: Carol, `proposed_assignee`: nil Or if Carol refuses the handover, the fields are: `assignee`: Alice, `proposed_assignee`: nil
.google.cloud.irm.v1alpha2.User proposed_assignee = 5;public IncidentRoleAssignment.Builder mergeProposedAssignee(User value)
The recipient of a requested role handoff. This field can only be directly set during creation request. Subsequent updates are done via the IncidentRoleHandover methods. `assignee` is always the current role-holder, and `proposed_assignee` is used to track unfinished assignments and handoffs. Let's say Bob assigns Alice to a role. Then the fields are: `assignee`: nil, `proposed_assignee`: Alice If Alice accepts, then the fields are: `assignee`: Alice, `proposed_assignee`: nil If she cancels, then the RoleAssignment is deleted. Let's say Alice has the role. Then the fields are: `assignee`: Alice, `proposed_assignee`: nil If Alice becomes incapacitated and Bob requests Carol to take over, then the fields are: `assignee`: Alice, `proposed_assignee`: Carol After Carol accepts the handover, the fields are: `assignee`: Carol, `proposed_assignee`: nil Or if Carol refuses the handover, the fields are: `assignee`: Alice, `proposed_assignee`: nil
.google.cloud.irm.v1alpha2.User proposed_assignee = 5;public IncidentRoleAssignment.Builder clearProposedAssignee()
The recipient of a requested role handoff. This field can only be directly set during creation request. Subsequent updates are done via the IncidentRoleHandover methods. `assignee` is always the current role-holder, and `proposed_assignee` is used to track unfinished assignments and handoffs. Let's say Bob assigns Alice to a role. Then the fields are: `assignee`: nil, `proposed_assignee`: Alice If Alice accepts, then the fields are: `assignee`: Alice, `proposed_assignee`: nil If she cancels, then the RoleAssignment is deleted. Let's say Alice has the role. Then the fields are: `assignee`: Alice, `proposed_assignee`: nil If Alice becomes incapacitated and Bob requests Carol to take over, then the fields are: `assignee`: Alice, `proposed_assignee`: Carol After Carol accepts the handover, the fields are: `assignee`: Carol, `proposed_assignee`: nil Or if Carol refuses the handover, the fields are: `assignee`: Alice, `proposed_assignee`: nil
.google.cloud.irm.v1alpha2.User proposed_assignee = 5;public User.Builder getProposedAssigneeBuilder()
The recipient of a requested role handoff. This field can only be directly set during creation request. Subsequent updates are done via the IncidentRoleHandover methods. `assignee` is always the current role-holder, and `proposed_assignee` is used to track unfinished assignments and handoffs. Let's say Bob assigns Alice to a role. Then the fields are: `assignee`: nil, `proposed_assignee`: Alice If Alice accepts, then the fields are: `assignee`: Alice, `proposed_assignee`: nil If she cancels, then the RoleAssignment is deleted. Let's say Alice has the role. Then the fields are: `assignee`: Alice, `proposed_assignee`: nil If Alice becomes incapacitated and Bob requests Carol to take over, then the fields are: `assignee`: Alice, `proposed_assignee`: Carol After Carol accepts the handover, the fields are: `assignee`: Carol, `proposed_assignee`: nil Or if Carol refuses the handover, the fields are: `assignee`: Alice, `proposed_assignee`: nil
.google.cloud.irm.v1alpha2.User proposed_assignee = 5;public UserOrBuilder getProposedAssigneeOrBuilder()
The recipient of a requested role handoff. This field can only be directly set during creation request. Subsequent updates are done via the IncidentRoleHandover methods. `assignee` is always the current role-holder, and `proposed_assignee` is used to track unfinished assignments and handoffs. Let's say Bob assigns Alice to a role. Then the fields are: `assignee`: nil, `proposed_assignee`: Alice If Alice accepts, then the fields are: `assignee`: Alice, `proposed_assignee`: nil If she cancels, then the RoleAssignment is deleted. Let's say Alice has the role. Then the fields are: `assignee`: Alice, `proposed_assignee`: nil If Alice becomes incapacitated and Bob requests Carol to take over, then the fields are: `assignee`: Alice, `proposed_assignee`: Carol After Carol accepts the handover, the fields are: `assignee`: Carol, `proposed_assignee`: nil Or if Carol refuses the handover, the fields are: `assignee`: Alice, `proposed_assignee`: nil
.google.cloud.irm.v1alpha2.User proposed_assignee = 5;getProposedAssigneeOrBuilder in interface IncidentRoleAssignmentOrBuilderpublic final IncidentRoleAssignment.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields in interface Message.BuildersetUnknownFields in class GeneratedMessageV3.Builder<IncidentRoleAssignment.Builder>public final IncidentRoleAssignment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<IncidentRoleAssignment.Builder>Copyright © 2020 Google LLC. All rights reserved.