public final class ReplayDiff extends GeneratedMessageV3 implements ReplayDiffOrBuilder
The difference between the results of evaluating an access tuple under
the current (baseline) policies and under the proposed (simulated) policies.
This difference explains how a principal's access could change if the
proposed policies were applied.
Protobuf type google.cloud.policysimulator.v1.ReplayDiff
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
ACCESS_DIFF_FIELD_NUMBER
public static final int ACCESS_DIFF_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ReplayDiff getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ReplayDiff.Builder newBuilder()
newBuilder(ReplayDiff prototype)
public static ReplayDiff.Builder newBuilder(ReplayDiff prototype)
public static ReplayDiff parseDelimitedFrom(InputStream input)
public static ReplayDiff parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ReplayDiff parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ReplayDiff parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ReplayDiff parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ReplayDiff parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ReplayDiff parseFrom(CodedInputStream input)
public static ReplayDiff parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ReplayDiff parseFrom(InputStream input)
public static ReplayDiff parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ReplayDiff parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ReplayDiff parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ReplayDiff> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getAccessDiff()
public AccessStateDiff getAccessDiff()
A summary and comparison of the principal's access under the current
(baseline) policies and the proposed (simulated) policies for a single
access tuple.
The evaluation of the principal's access is reported in the
AccessState field.
.google.cloud.policysimulator.v1.AccessStateDiff access_diff = 2;
getAccessDiffOrBuilder()
public AccessStateDiffOrBuilder getAccessDiffOrBuilder()
A summary and comparison of the principal's access under the current
(baseline) policies and the proposed (simulated) policies for a single
access tuple.
The evaluation of the principal's access is reported in the
AccessState field.
.google.cloud.policysimulator.v1.AccessStateDiff access_diff = 2;
getDefaultInstanceForType()
public ReplayDiff getDefaultInstanceForType()
getParserForType()
public Parser<ReplayDiff> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hasAccessDiff()
public boolean hasAccessDiff()
A summary and comparison of the principal's access under the current
(baseline) policies and the proposed (simulated) policies for a single
access tuple.
The evaluation of the principal's access is reported in the
AccessState field.
.google.cloud.policysimulator.v1.AccessStateDiff access_diff = 2;
Returns |
Type |
Description |
boolean |
Whether the accessDiff field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ReplayDiff.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ReplayDiff.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ReplayDiff.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides