public static final class TroubleshootIamPolicyResponse.Builder extends GeneratedMessage.Builder<TroubleshootIamPolicyResponse.Builder> implements TroubleshootIamPolicyResponseOrBuilderResponse for TroubleshootIamPolicy.
Protobuf type google.cloud.policytroubleshooter.iam.v3.TroubleshootIamPolicyResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > TroubleshootIamPolicyResponse.BuilderImplements
TroubleshootIamPolicyResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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 |
|
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. |
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 |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public TroubleshootIamPolicyResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
TroubleshootIamPolicyResponse.Builder |
|
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 |
|
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.OverallAccessStateThe 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 |
intThe enum numeric value on the wire for overallAccessState to set. |
| Returns | |
|---|---|
| Type | Description |
TroubleshootIamPolicyResponse.Builder |
This builder for chaining. |