Class TroubleshootIamPolicyResponse.Builder (1.28.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TroubleshootIamPolicyResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
TroubleshootIamPolicyResponse.Builder
Overrides

build()

public TroubleshootIamPolicyResponse build()
Returns
TypeDescription
TroubleshootIamPolicyResponse

buildPartial()

public TroubleshootIamPolicyResponse buildPartial()
Returns
TypeDescription
TroubleshootIamPolicyResponse

clear()

public TroubleshootIamPolicyResponse.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
TroubleshootIamPolicyResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public TroubleshootIamPolicyResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
TroubleshootIamPolicyResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public TroubleshootIamPolicyResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
TroubleshootIamPolicyResponse.Builder

This builder for chaining.

clone()

public TroubleshootIamPolicyResponse.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
AllowPolicyExplanationOrBuilder

getDefaultInstanceForType()

public TroubleshootIamPolicyResponse getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
DenyPolicyExplanationOrBuilder

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the denyPolicyExplanation field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueAccessTuple
Returns
TypeDescription
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
NameDescription
valueAllowPolicyExplanation
Returns
TypeDescription
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
NameDescription
valueDenyPolicyExplanation
Returns
TypeDescription
TroubleshootIamPolicyResponse.Builder

mergeFrom(TroubleshootIamPolicyResponse other)

public TroubleshootIamPolicyResponse.Builder mergeFrom(TroubleshootIamPolicyResponse other)
Parameter
NameDescription
otherTroubleshootIamPolicyResponse
Returns
TypeDescription
TroubleshootIamPolicyResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TroubleshootIamPolicyResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TroubleshootIamPolicyResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public TroubleshootIamPolicyResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
TroubleshootIamPolicyResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TroubleshootIamPolicyResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueAccessTuple
Returns
TypeDescription
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
NameDescription
builderForValueAccessTuple.Builder
Returns
TypeDescription
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
NameDescription
valueAllowPolicyExplanation
Returns
TypeDescription
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
NameDescription
builderForValueAllowPolicyExplanation.Builder
Returns
TypeDescription
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
NameDescription
valueDenyPolicyExplanation
Returns
TypeDescription
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
NameDescription
builderForValueDenyPolicyExplanation.Builder
Returns
TypeDescription
TroubleshootIamPolicyResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public TroubleshootIamPolicyResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueTroubleshootIamPolicyResponse.OverallAccessState

The overallAccessState to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
TroubleshootIamPolicyResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final TroubleshootIamPolicyResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TroubleshootIamPolicyResponse.Builder
Overrides