Interface AccessStateDiffOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    AccessStateDiff, AccessStateDiff.Builder

    public interface AccessStateDiffOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      AccessStateDiff.AccessChangeType getAccessChange()
      How the principal's access, specified in the AccessState field, changed between the current (baseline) policies and proposed (simulated) policies.
      int getAccessChangeValue()
      How the principal's access, specified in the AccessState field, changed between the current (baseline) policies and proposed (simulated) policies.
      ExplainedAccess getBaseline()
      The results of evaluating the access tuple under the current (baseline) policies.
      ExplainedAccessOrBuilder getBaselineOrBuilder()
      The results of evaluating the access tuple under the current (baseline) policies.
      ExplainedAccess getSimulated()
      The results of evaluating the access tuple under the proposed (simulated) policies.
      ExplainedAccessOrBuilder getSimulatedOrBuilder()
      The results of evaluating the access tuple under the proposed (simulated) policies.
      boolean hasBaseline()
      The results of evaluating the access tuple under the current (baseline) policies.
      boolean hasSimulated()
      The results of evaluating the access tuple under the proposed (simulated) policies.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • hasBaseline

        boolean hasBaseline()
         The results of evaluating the access tuple under the current (baseline)
         policies.
        
         If the [AccessState][google.cloud.policysimulator.v1.AccessState] couldn't
         be fully evaluated, this field explains why.
         
        .google.cloud.policysimulator.v1.ExplainedAccess baseline = 1;
        Returns:
        Whether the baseline field is set.
      • getBaseline

        ExplainedAccess getBaseline()
         The results of evaluating the access tuple under the current (baseline)
         policies.
        
         If the [AccessState][google.cloud.policysimulator.v1.AccessState] couldn't
         be fully evaluated, this field explains why.
         
        .google.cloud.policysimulator.v1.ExplainedAccess baseline = 1;
        Returns:
        The baseline.
      • getBaselineOrBuilder

        ExplainedAccessOrBuilder getBaselineOrBuilder()
         The results of evaluating the access tuple under the current (baseline)
         policies.
        
         If the [AccessState][google.cloud.policysimulator.v1.AccessState] couldn't
         be fully evaluated, this field explains why.
         
        .google.cloud.policysimulator.v1.ExplainedAccess baseline = 1;
      • hasSimulated

        boolean hasSimulated()
         The results of evaluating the access tuple under the proposed (simulated)
         policies.
        
         If the AccessState couldn't be fully evaluated, this field explains why.
         
        .google.cloud.policysimulator.v1.ExplainedAccess simulated = 2;
        Returns:
        Whether the simulated field is set.
      • getSimulated

        ExplainedAccess getSimulated()
         The results of evaluating the access tuple under the proposed (simulated)
         policies.
        
         If the AccessState couldn't be fully evaluated, this field explains why.
         
        .google.cloud.policysimulator.v1.ExplainedAccess simulated = 2;
        Returns:
        The simulated.
      • getSimulatedOrBuilder

        ExplainedAccessOrBuilder getSimulatedOrBuilder()
         The results of evaluating the access tuple under the proposed (simulated)
         policies.
        
         If the AccessState couldn't be fully evaluated, this field explains why.
         
        .google.cloud.policysimulator.v1.ExplainedAccess simulated = 2;
      • getAccessChangeValue

        int getAccessChangeValue()
         How the principal's access, specified in the AccessState field, changed
         between the current (baseline) policies and proposed (simulated) policies.
         
        .google.cloud.policysimulator.v1.AccessStateDiff.AccessChangeType access_change = 3;
        Returns:
        The enum numeric value on the wire for accessChange.
      • getAccessChange

        AccessStateDiff.AccessChangeType getAccessChange()
         How the principal's access, specified in the AccessState field, changed
         between the current (baseline) policies and proposed (simulated) policies.
         
        .google.cloud.policysimulator.v1.AccessStateDiff.AccessChangeType access_change = 3;
        Returns:
        The accessChange.