public final class ConditionExplanation extends GeneratedMessageV3 implements ConditionExplanationOrBuilder
Explanation for how a condition affects a principal's access
Protobuf type google.cloud.policytroubleshooter.iam.v3.ConditionExplanation
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ERRORS_FIELD_NUMBER
public static final int ERRORS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
EVALUATION_STATES_FIELD_NUMBER
public static final int EVALUATION_STATES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
VALUE_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ConditionExplanation getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ConditionExplanation.Builder newBuilder()
newBuilder(ConditionExplanation prototype)
public static ConditionExplanation.Builder newBuilder(ConditionExplanation prototype)
public static ConditionExplanation parseDelimitedFrom(InputStream input)
public static ConditionExplanation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ConditionExplanation parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ConditionExplanation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ConditionExplanation parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ConditionExplanation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ConditionExplanation parseFrom(CodedInputStream input)
public static ConditionExplanation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ConditionExplanation parseFrom(InputStream input)
public static ConditionExplanation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ConditionExplanation parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ConditionExplanation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ConditionExplanation> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public ConditionExplanation getDefaultInstanceForType()
getErrors(int index)
public Status getErrors(int index)
Any errors that prevented complete evaluation of the condition expression.
repeated .google.rpc.Status errors = 3;
Parameter |
Name |
Description |
index |
int
|
Returns |
Type |
Description |
com.google.rpc.Status |
|
getErrorsCount()
public int getErrorsCount()
Any errors that prevented complete evaluation of the condition expression.
repeated .google.rpc.Status errors = 3;
Returns |
Type |
Description |
int |
|
getErrorsList()
public List<Status> getErrorsList()
Any errors that prevented complete evaluation of the condition expression.
repeated .google.rpc.Status errors = 3;
Returns |
Type |
Description |
List<com.google.rpc.Status> |
|
getErrorsOrBuilder(int index)
public StatusOrBuilder getErrorsOrBuilder(int index)
Any errors that prevented complete evaluation of the condition expression.
repeated .google.rpc.Status errors = 3;
Parameter |
Name |
Description |
index |
int
|
Returns |
Type |
Description |
com.google.rpc.StatusOrBuilder |
|
getErrorsOrBuilderList()
public List<? extends StatusOrBuilder> getErrorsOrBuilderList()
Any errors that prevented complete evaluation of the condition expression.
repeated .google.rpc.Status errors = 3;
Returns |
Type |
Description |
List<? extends com.google.rpc.StatusOrBuilder> |
|
getEvaluationStates(int index)
public ConditionExplanation.EvaluationState getEvaluationStates(int index)
The value of each statement of the condition expression. The value can be
true
, false
, or null
. The value is null
if the statement can't be
evaluated.
repeated .google.cloud.policytroubleshooter.iam.v3.ConditionExplanation.EvaluationState evaluation_states = 2;
Parameter |
Name |
Description |
index |
int
|
getEvaluationStatesCount()
public int getEvaluationStatesCount()
The value of each statement of the condition expression. The value can be
true
, false
, or null
. The value is null
if the statement can't be
evaluated.
repeated .google.cloud.policytroubleshooter.iam.v3.ConditionExplanation.EvaluationState evaluation_states = 2;
Returns |
Type |
Description |
int |
|
getEvaluationStatesList()
public List<ConditionExplanation.EvaluationState> getEvaluationStatesList()
The value of each statement of the condition expression. The value can be
true
, false
, or null
. The value is null
if the statement can't be
evaluated.
repeated .google.cloud.policytroubleshooter.iam.v3.ConditionExplanation.EvaluationState evaluation_states = 2;
getEvaluationStatesOrBuilder(int index)
public ConditionExplanation.EvaluationStateOrBuilder getEvaluationStatesOrBuilder(int index)
The value of each statement of the condition expression. The value can be
true
, false
, or null
. The value is null
if the statement can't be
evaluated.
repeated .google.cloud.policytroubleshooter.iam.v3.ConditionExplanation.EvaluationState evaluation_states = 2;
Parameter |
Name |
Description |
index |
int
|
getEvaluationStatesOrBuilderList()
public List<? extends ConditionExplanation.EvaluationStateOrBuilder> getEvaluationStatesOrBuilderList()
The value of each statement of the condition expression. The value can be
true
, false
, or null
. The value is null
if the statement can't be
evaluated.
repeated .google.cloud.policytroubleshooter.iam.v3.ConditionExplanation.EvaluationState evaluation_states = 2;
Returns |
Type |
Description |
List<? extends com.google.cloud.policytroubleshooter.iam.v3.ConditionExplanation.EvaluationStateOrBuilder> |
|
getParserForType()
public Parser<ConditionExplanation> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getValue()
Value of the condition.
.google.protobuf.Value value = 1;
Returns |
Type |
Description |
Value |
The value.
|
getValueOrBuilder()
public ValueOrBuilder getValueOrBuilder()
Value of the condition.
.google.protobuf.Value value = 1;
hasValue()
public boolean hasValue()
Value of the condition.
.google.protobuf.Value value = 1;
Returns |
Type |
Description |
boolean |
Whether the value field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ConditionExplanation.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ConditionExplanation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ConditionExplanation.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides