Class CheckOnboardingStatusResponse.Finding.IAMAccessDenied.Builder (0.7.0)

public static final class CheckOnboardingStatusResponse.Finding.IAMAccessDenied.Builder extends GeneratedMessageV3.Builder<CheckOnboardingStatusResponse.Finding.IAMAccessDenied.Builder> implements CheckOnboardingStatusResponse.Finding.IAMAccessDeniedOrBuilder

PAM's service account is being denied access by Cloud IAM. This can be fixed by granting a role that contains the missing permissions to the service account or exempting it from deny policies if they are blocking the access.

Protobuf type google.cloud.privilegedaccessmanager.v1.CheckOnboardingStatusResponse.Finding.IAMAccessDenied

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CheckOnboardingStatusResponse.Finding.IAMAccessDenied.Builder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllMissingPermissions(Iterable<String> values)

public CheckOnboardingStatusResponse.Finding.IAMAccessDenied.Builder addAllMissingPermissions(Iterable<String> values)

List of permissions that are being denied.

repeated string missing_permissions = 1;

Parameter
Name Description
values Iterable<String>

The missingPermissions to add.

Returns
Type Description
CheckOnboardingStatusResponse.Finding.IAMAccessDenied.Builder

This builder for chaining.

addMissingPermissions(String value)

public CheckOnboardingStatusResponse.Finding.IAMAccessDenied.Builder addMissingPermissions(String value)

List of permissions that are being denied.

repeated string missing_permissions = 1;

Parameter
Name Description
value String

The missingPermissions to add.

Returns
Type Description
CheckOnboardingStatusResponse.Finding.IAMAccessDenied.Builder

This builder for chaining.

addMissingPermissionsBytes(ByteString value)

public CheckOnboardingStatusResponse.Finding.IAMAccessDenied.Builder addMissingPermissionsBytes(ByteString value)

List of permissions that are being denied.

repeated string missing_permissions = 1;

Parameter
Name Description
value ByteString

The bytes of the missingPermissions to add.

Returns
Type Description
CheckOnboardingStatusResponse.Finding.IAMAccessDenied.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CheckOnboardingStatusResponse.Finding.IAMAccessDenied.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CheckOnboardingStatusResponse.Finding.IAMAccessDenied.Builder
Overrides

build()

public CheckOnboardingStatusResponse.Finding.IAMAccessDenied build()
Returns
Type Description
CheckOnboardingStatusResponse.Finding.IAMAccessDenied

buildPartial()

public CheckOnboardingStatusResponse.Finding.IAMAccessDenied buildPartial()
Returns
Type Description
CheckOnboardingStatusResponse.Finding.IAMAccessDenied

clear()

public CheckOnboardingStatusResponse.Finding.IAMAccessDenied.Builder clear()
Returns
Type Description
CheckOnboardingStatusResponse.Finding.IAMAccessDenied.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CheckOnboardingStatusResponse.Finding.IAMAccessDenied.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CheckOnboardingStatusResponse.Finding.IAMAccessDenied.Builder
Overrides

clearMissingPermissions()

public CheckOnboardingStatusResponse.Finding.IAMAccessDenied.Builder clearMissingPermissions()

List of permissions that are being denied.

repeated string missing_permissions = 1;

Returns
Type Description
CheckOnboardingStatusResponse.Finding.IAMAccessDenied.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public CheckOnboardingStatusResponse.Finding.IAMAccessDenied.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CheckOnboardingStatusResponse.Finding.IAMAccessDenied.Builder
Overrides

clone()

public CheckOnboardingStatusResponse.Finding.IAMAccessDenied.Builder clone()
Returns
Type Description
CheckOnboardingStatusResponse.Finding.IAMAccessDenied.Builder
Overrides

getDefaultInstanceForType()

public CheckOnboardingStatusResponse.Finding.IAMAccessDenied getDefaultInstanceForType()
Returns
Type Description
CheckOnboardingStatusResponse.Finding.IAMAccessDenied

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getMissingPermissions(int index)

public String getMissingPermissions(int index)

List of permissions that are being denied.

repeated string missing_permissions = 1;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The missingPermissions at the given index.

getMissingPermissionsBytes(int index)

public ByteString getMissingPermissionsBytes(int index)

List of permissions that are being denied.

repeated string missing_permissions = 1;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the missingPermissions at the given index.

getMissingPermissionsCount()

public int getMissingPermissionsCount()

List of permissions that are being denied.

repeated string missing_permissions = 1;

Returns
Type Description
int

The count of missingPermissions.

getMissingPermissionsList()

public ProtocolStringList getMissingPermissionsList()

List of permissions that are being denied.

repeated string missing_permissions = 1;

Returns
Type Description
ProtocolStringList

A list containing the missingPermissions.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CheckOnboardingStatusResponse.Finding.IAMAccessDenied other)

public CheckOnboardingStatusResponse.Finding.IAMAccessDenied.Builder mergeFrom(CheckOnboardingStatusResponse.Finding.IAMAccessDenied other)
Parameter
Name Description
other CheckOnboardingStatusResponse.Finding.IAMAccessDenied
Returns
Type Description
CheckOnboardingStatusResponse.Finding.IAMAccessDenied.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CheckOnboardingStatusResponse.Finding.IAMAccessDenied.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CheckOnboardingStatusResponse.Finding.IAMAccessDenied.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CheckOnboardingStatusResponse.Finding.IAMAccessDenied.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CheckOnboardingStatusResponse.Finding.IAMAccessDenied.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CheckOnboardingStatusResponse.Finding.IAMAccessDenied.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CheckOnboardingStatusResponse.Finding.IAMAccessDenied.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CheckOnboardingStatusResponse.Finding.IAMAccessDenied.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CheckOnboardingStatusResponse.Finding.IAMAccessDenied.Builder
Overrides

setMissingPermissions(int index, String value)

public CheckOnboardingStatusResponse.Finding.IAMAccessDenied.Builder setMissingPermissions(int index, String value)

List of permissions that are being denied.

repeated string missing_permissions = 1;

Parameters
Name Description
index int

The index to set the value at.

value String

The missingPermissions to set.

Returns
Type Description
CheckOnboardingStatusResponse.Finding.IAMAccessDenied.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CheckOnboardingStatusResponse.Finding.IAMAccessDenied.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CheckOnboardingStatusResponse.Finding.IAMAccessDenied.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CheckOnboardingStatusResponse.Finding.IAMAccessDenied.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CheckOnboardingStatusResponse.Finding.IAMAccessDenied.Builder
Overrides