Class ConditionExplanation.EvaluationState (1.47.0)

public static final class ConditionExplanation.EvaluationState extends GeneratedMessageV3 implements ConditionExplanation.EvaluationStateOrBuilder

Evaluated state of a condition expression.

Protobuf type google.cloud.policytroubleshooter.iam.v3.ConditionExplanation.EvaluationState

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ConditionExplanation.EvaluationState

Static Fields

END_FIELD_NUMBER

public static final int END_FIELD_NUMBER
Field Value
Type Description
int

ERRORS_FIELD_NUMBER

public static final int ERRORS_FIELD_NUMBER
Field Value
Type Description
int

START_FIELD_NUMBER

public static final int START_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.EvaluationState getDefaultInstance()
Returns
Type Description
ConditionExplanation.EvaluationState

getDescriptor()

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

newBuilder()

public static ConditionExplanation.EvaluationState.Builder newBuilder()
Returns
Type Description
ConditionExplanation.EvaluationState.Builder

newBuilder(ConditionExplanation.EvaluationState prototype)

public static ConditionExplanation.EvaluationState.Builder newBuilder(ConditionExplanation.EvaluationState prototype)
Parameter
Name Description
prototype ConditionExplanation.EvaluationState
Returns
Type Description
ConditionExplanation.EvaluationState.Builder

parseDelimitedFrom(InputStream input)

public static ConditionExplanation.EvaluationState parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ConditionExplanation.EvaluationState
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ConditionExplanation.EvaluationState parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConditionExplanation.EvaluationState
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ConditionExplanation.EvaluationState parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ConditionExplanation.EvaluationState
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ConditionExplanation.EvaluationState parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConditionExplanation.EvaluationState
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ConditionExplanation.EvaluationState parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ConditionExplanation.EvaluationState
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ConditionExplanation.EvaluationState parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConditionExplanation.EvaluationState
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ConditionExplanation.EvaluationState parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ConditionExplanation.EvaluationState
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ConditionExplanation.EvaluationState parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConditionExplanation.EvaluationState
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ConditionExplanation.EvaluationState parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ConditionExplanation.EvaluationState
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ConditionExplanation.EvaluationState parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConditionExplanation.EvaluationState
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ConditionExplanation.EvaluationState parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ConditionExplanation.EvaluationState
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ConditionExplanation.EvaluationState parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConditionExplanation.EvaluationState
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ConditionExplanation.EvaluationState> parser()
Returns
Type Description
Parser<EvaluationState>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ConditionExplanation.EvaluationState getDefaultInstanceForType()
Returns
Type Description
ConditionExplanation.EvaluationState

getEnd()

public int getEnd()

End position of an expression in the condition, by character, end included, for example: the end position of the first part of a==b || c==d would be 4.

int32 end = 2;

Returns
Type Description
int

The end.

getErrors(int index)

public Status getErrors(int index)

Any errors that prevented complete evaluation of the condition expression.

repeated .google.rpc.Status errors = 4;

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 = 4;

Returns
Type Description
int

getErrorsList()

public List<Status> getErrorsList()

Any errors that prevented complete evaluation of the condition expression.

repeated .google.rpc.Status errors = 4;

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 = 4;

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 = 4;

Returns
Type Description
List<? extends com.google.rpc.StatusOrBuilder>

getParserForType()

public Parser<ConditionExplanation.EvaluationState> getParserForType()
Returns
Type Description
Parser<EvaluationState>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStart()

public int getStart()

Start position of an expression in the condition, by character.

int32 start = 1;

Returns
Type Description
int

The start.

getValue()

public Value getValue()

Value of this expression.

.google.protobuf.Value value = 3;

Returns
Type Description
Value

The value.

getValueOrBuilder()

public ValueOrBuilder getValueOrBuilder()

Value of this expression.

.google.protobuf.Value value = 3;

Returns
Type Description
ValueOrBuilder

hasValue()

public boolean hasValue()

Value of this expression.

.google.protobuf.Value value = 3;

Returns
Type Description
boolean

Whether the value field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ConditionExplanation.EvaluationState.Builder newBuilderForType()
Returns
Type Description
ConditionExplanation.EvaluationState.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ConditionExplanation.EvaluationState.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ConditionExplanation.EvaluationState.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ConditionExplanation.EvaluationState.Builder toBuilder()
Returns
Type Description
ConditionExplanation.EvaluationState.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException