Class TroubleshootIamPolicyResponse.Builder (1.43.0)

public static final class TroubleshootIamPolicyResponse.Builder extends GeneratedMessageV3.Builder<TroubleshootIamPolicyResponse.Builder> implements TroubleshootIamPolicyResponseOrBuilder

Response for TroubleshootIamPolicy.

Protobuf type google.cloud.policytroubleshooter.iam.v3.TroubleshootIamPolicyResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TroubleshootIamPolicyResponse build()
Returns
Type Description
TroubleshootIamPolicyResponse

buildPartial()

public TroubleshootIamPolicyResponse buildPartial()
Returns
Type Description
TroubleshootIamPolicyResponse

clear()

public TroubleshootIamPolicyResponse.Builder clear()
Returns
Type Description
TroubleshootIamPolicyResponse.Builder
Overrides

clearAccessTuple()

public TroubleshootIamPolicyResponse.Builder clearAccessTuple()

The access tuple from the request, including any provided context used to evaluate the condition.

.google.cloud.policytroubleshooter.iam.v3.AccessTuple access_tuple = 2;

Returns
Type Description
TroubleshootIamPolicyResponse.Builder

clearAllowPolicyExplanation()

public TroubleshootIamPolicyResponse.Builder clearAllowPolicyExplanation()

An explanation of how the applicable IAM allow policies affect the final access state.

.google.cloud.policytroubleshooter.iam.v3.AllowPolicyExplanation allow_policy_explanation = 3;

Returns
Type Description
TroubleshootIamPolicyResponse.Builder

clearDenyPolicyExplanation()

public TroubleshootIamPolicyResponse.Builder clearDenyPolicyExplanation()

An explanation of how the applicable IAM deny policies affect the final access state.

.google.cloud.policytroubleshooter.iam.v3.DenyPolicyExplanation deny_policy_explanation = 4;

Returns
Type Description
TroubleshootIamPolicyResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public TroubleshootIamPolicyResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
TroubleshootIamPolicyResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public TroubleshootIamPolicyResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
TroubleshootIamPolicyResponse.Builder
Overrides

clearOverallAccessState()

public TroubleshootIamPolicyResponse.Builder clearOverallAccessState()

Indicates whether the principal has the specified permission for the specified resource, based on evaluating all types of the applicable IAM policies.

.google.cloud.policytroubleshooter.iam.v3.TroubleshootIamPolicyResponse.OverallAccessState overall_access_state = 1;

Returns
Type Description
TroubleshootIamPolicyResponse.Builder

This builder for chaining.

clone()

public TroubleshootIamPolicyResponse.Builder clone()
Returns
Type Description
TroubleshootIamPolicyResponse.Builder
Overrides

getAccessTuple()

public AccessTuple getAccessTuple()

The access tuple from the request, including any provided context used to evaluate the condition.

.google.cloud.policytroubleshooter.iam.v3.AccessTuple access_tuple = 2;

Returns
Type Description
AccessTuple

The accessTuple.

getAccessTupleBuilder()

public AccessTuple.Builder getAccessTupleBuilder()

The access tuple from the request, including any provided context used to evaluate the condition.

.google.cloud.policytroubleshooter.iam.v3.AccessTuple access_tuple = 2;

Returns
Type Description
AccessTuple.Builder

getAccessTupleOrBuilder()

public AccessTupleOrBuilder getAccessTupleOrBuilder()

The access tuple from the request, including any provided context used to evaluate the condition.

.google.cloud.policytroubleshooter.iam.v3.AccessTuple access_tuple = 2;

Returns
Type Description
AccessTupleOrBuilder

getAllowPolicyExplanation()

public AllowPolicyExplanation getAllowPolicyExplanation()

An explanation of how the applicable IAM allow policies affect the final access state.

.google.cloud.policytroubleshooter.iam.v3.AllowPolicyExplanation allow_policy_explanation = 3;

Returns
Type Description
AllowPolicyExplanation

The allowPolicyExplanation.

getAllowPolicyExplanationBuilder()

public AllowPolicyExplanation.Builder getAllowPolicyExplanationBuilder()

An explanation of how the applicable IAM allow policies affect the final access state.

.google.cloud.policytroubleshooter.iam.v3.AllowPolicyExplanation allow_policy_explanation = 3;

Returns
Type Description
AllowPolicyExplanation.Builder

getAllowPolicyExplanationOrBuilder()

public AllowPolicyExplanationOrBuilder getAllowPolicyExplanationOrBuilder()

An explanation of how the applicable IAM allow policies affect the final access state.

.google.cloud.policytroubleshooter.iam.v3.AllowPolicyExplanation allow_policy_explanation = 3;

Returns
Type Description
AllowPolicyExplanationOrBuilder

getDefaultInstanceForType()

public TroubleshootIamPolicyResponse getDefaultInstanceForType()
Returns
Type Description
TroubleshootIamPolicyResponse

getDenyPolicyExplanation()

public DenyPolicyExplanation getDenyPolicyExplanation()

An explanation of how the applicable IAM deny policies affect the final access state.

.google.cloud.policytroubleshooter.iam.v3.DenyPolicyExplanation deny_policy_explanation = 4;

Returns
Type Description
DenyPolicyExplanation

The denyPolicyExplanation.

getDenyPolicyExplanationBuilder()

public DenyPolicyExplanation.Builder getDenyPolicyExplanationBuilder()

An explanation of how the applicable IAM deny policies affect the final access state.

.google.cloud.policytroubleshooter.iam.v3.DenyPolicyExplanation deny_policy_explanation = 4;

Returns
Type Description
DenyPolicyExplanation.Builder

getDenyPolicyExplanationOrBuilder()

public DenyPolicyExplanationOrBuilder getDenyPolicyExplanationOrBuilder()

An explanation of how the applicable IAM deny policies affect the final access state.

.google.cloud.policytroubleshooter.iam.v3.DenyPolicyExplanation deny_policy_explanation = 4;

Returns
Type Description
DenyPolicyExplanationOrBuilder

getDescriptorForType()

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

getOverallAccessState()

public TroubleshootIamPolicyResponse.OverallAccessState getOverallAccessState()

Indicates whether the principal has the specified permission for the specified resource, based on evaluating all types of the applicable IAM policies.

.google.cloud.policytroubleshooter.iam.v3.TroubleshootIamPolicyResponse.OverallAccessState overall_access_state = 1;

Returns
Type Description
TroubleshootIamPolicyResponse.OverallAccessState

The overallAccessState.

getOverallAccessStateValue()

public int getOverallAccessStateValue()

Indicates whether the principal has the specified permission for the specified resource, based on evaluating all types of the applicable IAM policies.

.google.cloud.policytroubleshooter.iam.v3.TroubleshootIamPolicyResponse.OverallAccessState overall_access_state = 1;

Returns
Type Description
int

The enum numeric value on the wire for overallAccessState.

hasAccessTuple()

public boolean hasAccessTuple()

The access tuple from the request, including any provided context used to evaluate the condition.

.google.cloud.policytroubleshooter.iam.v3.AccessTuple access_tuple = 2;

Returns
Type Description
boolean

Whether the accessTuple field is set.

hasAllowPolicyExplanation()

public boolean hasAllowPolicyExplanation()

An explanation of how the applicable IAM allow policies affect the final access state.

.google.cloud.policytroubleshooter.iam.v3.AllowPolicyExplanation allow_policy_explanation = 3;

Returns
Type Description
boolean

Whether the allowPolicyExplanation field is set.

hasDenyPolicyExplanation()

public boolean hasDenyPolicyExplanation()

An explanation of how the applicable IAM deny policies affect the final access state.

.google.cloud.policytroubleshooter.iam.v3.DenyPolicyExplanation deny_policy_explanation = 4;

Returns
Type Description
boolean

Whether the denyPolicyExplanation field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAccessTuple(AccessTuple value)

public TroubleshootIamPolicyResponse.Builder mergeAccessTuple(AccessTuple value)

The access tuple from the request, including any provided context used to evaluate the condition.

.google.cloud.policytroubleshooter.iam.v3.AccessTuple access_tuple = 2;

Parameter
Name Description
value AccessTuple
Returns
Type Description
TroubleshootIamPolicyResponse.Builder

mergeAllowPolicyExplanation(AllowPolicyExplanation value)

public TroubleshootIamPolicyResponse.Builder mergeAllowPolicyExplanation(AllowPolicyExplanation value)

An explanation of how the applicable IAM allow policies affect the final access state.

.google.cloud.policytroubleshooter.iam.v3.AllowPolicyExplanation allow_policy_explanation = 3;

Parameter
Name Description
value AllowPolicyExplanation
Returns
Type Description
TroubleshootIamPolicyResponse.Builder

mergeDenyPolicyExplanation(DenyPolicyExplanation value)

public TroubleshootIamPolicyResponse.Builder mergeDenyPolicyExplanation(DenyPolicyExplanation value)

An explanation of how the applicable IAM deny policies affect the final access state.

.google.cloud.policytroubleshooter.iam.v3.DenyPolicyExplanation deny_policy_explanation = 4;

Parameter
Name Description
value DenyPolicyExplanation
Returns
Type Description
TroubleshootIamPolicyResponse.Builder

mergeFrom(TroubleshootIamPolicyResponse other)

public TroubleshootIamPolicyResponse.Builder mergeFrom(TroubleshootIamPolicyResponse other)
Parameter
Name Description
other TroubleshootIamPolicyResponse
Returns
Type Description
TroubleshootIamPolicyResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public TroubleshootIamPolicyResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
TroubleshootIamPolicyResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TroubleshootIamPolicyResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TroubleshootIamPolicyResponse.Builder
Overrides

setAccessTuple(AccessTuple value)

public TroubleshootIamPolicyResponse.Builder setAccessTuple(AccessTuple value)

The access tuple from the request, including any provided context used to evaluate the condition.

.google.cloud.policytroubleshooter.iam.v3.AccessTuple access_tuple = 2;

Parameter
Name Description
value AccessTuple
Returns
Type Description
TroubleshootIamPolicyResponse.Builder

setAccessTuple(AccessTuple.Builder builderForValue)

public TroubleshootIamPolicyResponse.Builder setAccessTuple(AccessTuple.Builder builderForValue)

The access tuple from the request, including any provided context used to evaluate the condition.

.google.cloud.policytroubleshooter.iam.v3.AccessTuple access_tuple = 2;

Parameter
Name Description
builderForValue AccessTuple.Builder
Returns
Type Description
TroubleshootIamPolicyResponse.Builder

setAllowPolicyExplanation(AllowPolicyExplanation value)

public TroubleshootIamPolicyResponse.Builder setAllowPolicyExplanation(AllowPolicyExplanation value)

An explanation of how the applicable IAM allow policies affect the final access state.

.google.cloud.policytroubleshooter.iam.v3.AllowPolicyExplanation allow_policy_explanation = 3;

Parameter
Name Description
value AllowPolicyExplanation
Returns
Type Description
TroubleshootIamPolicyResponse.Builder

setAllowPolicyExplanation(AllowPolicyExplanation.Builder builderForValue)

public TroubleshootIamPolicyResponse.Builder setAllowPolicyExplanation(AllowPolicyExplanation.Builder builderForValue)

An explanation of how the applicable IAM allow policies affect the final access state.

.google.cloud.policytroubleshooter.iam.v3.AllowPolicyExplanation allow_policy_explanation = 3;

Parameter
Name Description
builderForValue AllowPolicyExplanation.Builder
Returns
Type Description
TroubleshootIamPolicyResponse.Builder

setDenyPolicyExplanation(DenyPolicyExplanation value)

public TroubleshootIamPolicyResponse.Builder setDenyPolicyExplanation(DenyPolicyExplanation value)

An explanation of how the applicable IAM deny policies affect the final access state.

.google.cloud.policytroubleshooter.iam.v3.DenyPolicyExplanation deny_policy_explanation = 4;

Parameter
Name Description
value DenyPolicyExplanation
Returns
Type Description
TroubleshootIamPolicyResponse.Builder

setDenyPolicyExplanation(DenyPolicyExplanation.Builder builderForValue)

public TroubleshootIamPolicyResponse.Builder setDenyPolicyExplanation(DenyPolicyExplanation.Builder builderForValue)

An explanation of how the applicable IAM deny policies affect the final access state.

.google.cloud.policytroubleshooter.iam.v3.DenyPolicyExplanation deny_policy_explanation = 4;

Parameter
Name Description
builderForValue DenyPolicyExplanation.Builder
Returns
Type Description
TroubleshootIamPolicyResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setOverallAccessState(TroubleshootIamPolicyResponse.OverallAccessState value)

public TroubleshootIamPolicyResponse.Builder setOverallAccessState(TroubleshootIamPolicyResponse.OverallAccessState value)

Indicates whether the principal has the specified permission for the specified resource, based on evaluating all types of the applicable IAM policies.

.google.cloud.policytroubleshooter.iam.v3.TroubleshootIamPolicyResponse.OverallAccessState overall_access_state = 1;

Parameter
Name Description
value TroubleshootIamPolicyResponse.OverallAccessState

The overallAccessState to set.

Returns
Type Description
TroubleshootIamPolicyResponse.Builder

This builder for chaining.

setOverallAccessStateValue(int value)

public TroubleshootIamPolicyResponse.Builder setOverallAccessStateValue(int value)

Indicates whether the principal has the specified permission for the specified resource, based on evaluating all types of the applicable IAM policies.

.google.cloud.policytroubleshooter.iam.v3.TroubleshootIamPolicyResponse.OverallAccessState overall_access_state = 1;

Parameter
Name Description
value int

The enum numeric value on the wire for overallAccessState to set.

Returns
Type Description
TroubleshootIamPolicyResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final TroubleshootIamPolicyResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TroubleshootIamPolicyResponse.Builder
Overrides