public interface IncidentRoleAssignmentOrBuilder extends MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
User |
getAssignee()
The user this role is assigned to.
|
UserOrBuilder |
getAssigneeOrBuilder()
The user this role is assigned to.
|
String |
getEtag()
Output only.
|
ByteString |
getEtagBytes()
Output only.
|
String |
getName()
Output only.
|
ByteString |
getNameBytes()
Output only.
|
User |
getProposedAssignee()
The recipient of a requested role handoff.
|
UserOrBuilder |
getProposedAssigneeOrBuilder()
The recipient of a requested role handoff.
|
IncidentRole |
getRole()
The role that is or will be assigned.
|
IncidentRoleOrBuilder |
getRoleOrBuilder()
The role that is or will be assigned.
|
boolean |
hasAssignee()
The user this role is assigned to.
|
boolean |
hasProposedAssignee()
The recipient of a requested role handoff.
|
boolean |
hasRole()
The role that is or will be assigned.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofisInitializedString getName()
Output only. Resource name such as
"projects/{project_id_or_number}/incidents/{incident_id}/role_assignments/{role_id}".
string name = 1;ByteString getNameBytes()
Output only. Resource name such as
"projects/{project_id_or_number}/incidents/{incident_id}/role_assignments/{role_id}".
string name = 1;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;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;boolean hasRole()
The role that is or will be assigned.
.google.cloud.irm.v1alpha2.IncidentRole role = 3;IncidentRole getRole()
The role that is or will be assigned.
.google.cloud.irm.v1alpha2.IncidentRole role = 3;IncidentRoleOrBuilder getRoleOrBuilder()
The role that is or will be assigned.
.google.cloud.irm.v1alpha2.IncidentRole role = 3;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;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;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;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;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;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;Copyright © 2020 Google LLC. All rights reserved.