Class ReplayResult.Builder

  • All Implemented Interfaces:
    ReplayResultOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    ReplayResult

    public static final class ReplayResult.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<ReplayResult.Builder>
    implements ReplayResultOrBuilder
     The result of replaying a single access tuple against a simulated state.
     
    Protobuf type google.cloud.policysimulator.v1.ReplayResult
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ReplayResult.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)  
      ReplayResult build()  
      ReplayResult buildPartial()  
      ReplayResult.Builder clear()  
      ReplayResult.Builder clearAccessTuple()
      The access tuple that was replayed.
      ReplayResult.Builder clearDiff()
      The difference between the principal's access under the current (baseline) policies and the principal's access under the proposed (simulated) policies.
      ReplayResult.Builder clearError()
      The error that caused the access tuple replay to fail.
      ReplayResult.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)  
      ReplayResult.Builder clearLastSeenDate()
      The latest date this access tuple was seen in the logs.
      ReplayResult.Builder clearName()
      The resource name of the `ReplayResult`, in the following format: `{projects|folders|organizations}/{resource-id}/locations/global/replays/{replay-id}/results/{replay-result-id}`, where `{resource-id}` is the ID of the project, folder, or organization that owns the [Replay][google.cloud.policysimulator.v1.Replay].
      ReplayResult.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)  
      ReplayResult.Builder clearParent()
      The [Replay][google.cloud.policysimulator.v1.Replay] that the access tuple was included in.
      ReplayResult.Builder clearResult()  
      ReplayResult.Builder clone()  
      AccessTuple getAccessTuple()
      The access tuple that was replayed.
      AccessTuple.Builder getAccessTupleBuilder()
      The access tuple that was replayed.
      AccessTupleOrBuilder getAccessTupleOrBuilder()
      The access tuple that was replayed.
      ReplayResult getDefaultInstanceForType()  
      static com.google.protobuf.Descriptors.Descriptor getDescriptor()  
      com.google.protobuf.Descriptors.Descriptor getDescriptorForType()  
      ReplayDiff getDiff()
      The difference between the principal's access under the current (baseline) policies and the principal's access under the proposed (simulated) policies.
      ReplayDiff.Builder getDiffBuilder()
      The difference between the principal's access under the current (baseline) policies and the principal's access under the proposed (simulated) policies.
      ReplayDiffOrBuilder getDiffOrBuilder()
      The difference between the principal's access under the current (baseline) policies and the principal's access under the proposed (simulated) policies.
      com.google.rpc.Status getError()
      The error that caused the access tuple replay to fail.
      com.google.rpc.Status.Builder getErrorBuilder()
      The error that caused the access tuple replay to fail.
      com.google.rpc.StatusOrBuilder getErrorOrBuilder()
      The error that caused the access tuple replay to fail.
      com.google.type.Date getLastSeenDate()
      The latest date this access tuple was seen in the logs.
      com.google.type.Date.Builder getLastSeenDateBuilder()
      The latest date this access tuple was seen in the logs.
      com.google.type.DateOrBuilder getLastSeenDateOrBuilder()
      The latest date this access tuple was seen in the logs.
      String getName()
      The resource name of the `ReplayResult`, in the following format: `{projects|folders|organizations}/{resource-id}/locations/global/replays/{replay-id}/results/{replay-result-id}`, where `{resource-id}` is the ID of the project, folder, or organization that owns the [Replay][google.cloud.policysimulator.v1.Replay].
      com.google.protobuf.ByteString getNameBytes()
      The resource name of the `ReplayResult`, in the following format: `{projects|folders|organizations}/{resource-id}/locations/global/replays/{replay-id}/results/{replay-result-id}`, where `{resource-id}` is the ID of the project, folder, or organization that owns the [Replay][google.cloud.policysimulator.v1.Replay].
      String getParent()
      The [Replay][google.cloud.policysimulator.v1.Replay] that the access tuple was included in.
      com.google.protobuf.ByteString getParentBytes()
      The [Replay][google.cloud.policysimulator.v1.Replay] that the access tuple was included in.
      ReplayResult.ResultCase getResultCase()  
      boolean hasAccessTuple()
      The access tuple that was replayed.
      boolean hasDiff()
      The difference between the principal's access under the current (baseline) policies and the principal's access under the proposed (simulated) policies.
      boolean hasError()
      The error that caused the access tuple replay to fail.
      boolean hasLastSeenDate()
      The latest date this access tuple was seen in the logs.
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()  
      boolean isInitialized()  
      ReplayResult.Builder mergeAccessTuple​(AccessTuple value)
      The access tuple that was replayed.
      ReplayResult.Builder mergeDiff​(ReplayDiff value)
      The difference between the principal's access under the current (baseline) policies and the principal's access under the proposed (simulated) policies.
      ReplayResult.Builder mergeError​(com.google.rpc.Status value)
      The error that caused the access tuple replay to fail.
      ReplayResult.Builder mergeFrom​(ReplayResult other)  
      ReplayResult.Builder mergeFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      ReplayResult.Builder mergeFrom​(com.google.protobuf.Message other)  
      ReplayResult.Builder mergeLastSeenDate​(com.google.type.Date value)
      The latest date this access tuple was seen in the logs.
      ReplayResult.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)  
      ReplayResult.Builder setAccessTuple​(AccessTuple value)
      The access tuple that was replayed.
      ReplayResult.Builder setAccessTuple​(AccessTuple.Builder builderForValue)
      The access tuple that was replayed.
      ReplayResult.Builder setDiff​(ReplayDiff value)
      The difference between the principal's access under the current (baseline) policies and the principal's access under the proposed (simulated) policies.
      ReplayResult.Builder setDiff​(ReplayDiff.Builder builderForValue)
      The difference between the principal's access under the current (baseline) policies and the principal's access under the proposed (simulated) policies.
      ReplayResult.Builder setError​(com.google.rpc.Status value)
      The error that caused the access tuple replay to fail.
      ReplayResult.Builder setError​(com.google.rpc.Status.Builder builderForValue)
      The error that caused the access tuple replay to fail.
      ReplayResult.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)  
      ReplayResult.Builder setLastSeenDate​(com.google.type.Date value)
      The latest date this access tuple was seen in the logs.
      ReplayResult.Builder setLastSeenDate​(com.google.type.Date.Builder builderForValue)
      The latest date this access tuple was seen in the logs.
      ReplayResult.Builder setName​(String value)
      The resource name of the `ReplayResult`, in the following format: `{projects|folders|organizations}/{resource-id}/locations/global/replays/{replay-id}/results/{replay-result-id}`, where `{resource-id}` is the ID of the project, folder, or organization that owns the [Replay][google.cloud.policysimulator.v1.Replay].
      ReplayResult.Builder setNameBytes​(com.google.protobuf.ByteString value)
      The resource name of the `ReplayResult`, in the following format: `{projects|folders|organizations}/{resource-id}/locations/global/replays/{replay-id}/results/{replay-result-id}`, where `{resource-id}` is the ID of the project, folder, or organization that owns the [Replay][google.cloud.policysimulator.v1.Replay].
      ReplayResult.Builder setParent​(String value)
      The [Replay][google.cloud.policysimulator.v1.Replay] that the access tuple was included in.
      ReplayResult.Builder setParentBytes​(com.google.protobuf.ByteString value)
      The [Replay][google.cloud.policysimulator.v1.Replay] that the access tuple was included in.
      ReplayResult.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)  
      ReplayResult.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)  
      • Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder

        getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
      • Methods inherited from class com.google.protobuf.AbstractMessage.Builder

        findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
      • Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

        addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
      • Methods inherited from interface com.google.protobuf.Message.Builder

        mergeDelimitedFrom, mergeDelimitedFrom
      • Methods inherited from interface com.google.protobuf.MessageLite.Builder

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

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

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ReplayResult.Builder>
      • clear

        public ReplayResult.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<ReplayResult.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ReplayResult.Builder>
      • getDefaultInstanceForType

        public ReplayResult getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public ReplayResult build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public ReplayResult buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public ReplayResult.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<ReplayResult.Builder>
      • setField

        public ReplayResult.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                             Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<ReplayResult.Builder>
      • clearField

        public ReplayResult.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ReplayResult.Builder>
      • clearOneof

        public ReplayResult.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ReplayResult.Builder>
      • setRepeatedField

        public ReplayResult.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                     int index,
                                                     Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ReplayResult.Builder>
      • addRepeatedField

        public ReplayResult.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                     Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ReplayResult.Builder>
      • mergeFrom

        public ReplayResult.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ReplayResult.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ReplayResult.Builder>
      • mergeFrom

        public ReplayResult.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                       throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ReplayResult.Builder>
        Throws:
        IOException
      • hasDiff

        public boolean hasDiff()
         The difference between the principal's access under the current
         (baseline) policies and the principal's access under the proposed
         (simulated) policies.
        
         This field is only included for access tuples that were successfully
         replayed and had different results under the current policies and the
         proposed policies.
         
        .google.cloud.policysimulator.v1.ReplayDiff diff = 5;
        Specified by:
        hasDiff in interface ReplayResultOrBuilder
        Returns:
        Whether the diff field is set.
      • getDiff

        public ReplayDiff getDiff()
         The difference between the principal's access under the current
         (baseline) policies and the principal's access under the proposed
         (simulated) policies.
        
         This field is only included for access tuples that were successfully
         replayed and had different results under the current policies and the
         proposed policies.
         
        .google.cloud.policysimulator.v1.ReplayDiff diff = 5;
        Specified by:
        getDiff in interface ReplayResultOrBuilder
        Returns:
        The diff.
      • setDiff

        public ReplayResult.Builder setDiff​(ReplayDiff value)
         The difference between the principal's access under the current
         (baseline) policies and the principal's access under the proposed
         (simulated) policies.
        
         This field is only included for access tuples that were successfully
         replayed and had different results under the current policies and the
         proposed policies.
         
        .google.cloud.policysimulator.v1.ReplayDiff diff = 5;
      • setDiff

        public ReplayResult.Builder setDiff​(ReplayDiff.Builder builderForValue)
         The difference between the principal's access under the current
         (baseline) policies and the principal's access under the proposed
         (simulated) policies.
        
         This field is only included for access tuples that were successfully
         replayed and had different results under the current policies and the
         proposed policies.
         
        .google.cloud.policysimulator.v1.ReplayDiff diff = 5;
      • mergeDiff

        public ReplayResult.Builder mergeDiff​(ReplayDiff value)
         The difference between the principal's access under the current
         (baseline) policies and the principal's access under the proposed
         (simulated) policies.
        
         This field is only included for access tuples that were successfully
         replayed and had different results under the current policies and the
         proposed policies.
         
        .google.cloud.policysimulator.v1.ReplayDiff diff = 5;
      • clearDiff

        public ReplayResult.Builder clearDiff()
         The difference between the principal's access under the current
         (baseline) policies and the principal's access under the proposed
         (simulated) policies.
        
         This field is only included for access tuples that were successfully
         replayed and had different results under the current policies and the
         proposed policies.
         
        .google.cloud.policysimulator.v1.ReplayDiff diff = 5;
      • getDiffBuilder

        public ReplayDiff.Builder getDiffBuilder()
         The difference between the principal's access under the current
         (baseline) policies and the principal's access under the proposed
         (simulated) policies.
        
         This field is only included for access tuples that were successfully
         replayed and had different results under the current policies and the
         proposed policies.
         
        .google.cloud.policysimulator.v1.ReplayDiff diff = 5;
      • getDiffOrBuilder

        public ReplayDiffOrBuilder getDiffOrBuilder()
         The difference between the principal's access under the current
         (baseline) policies and the principal's access under the proposed
         (simulated) policies.
        
         This field is only included for access tuples that were successfully
         replayed and had different results under the current policies and the
         proposed policies.
         
        .google.cloud.policysimulator.v1.ReplayDiff diff = 5;
        Specified by:
        getDiffOrBuilder in interface ReplayResultOrBuilder
      • hasError

        public boolean hasError()
         The error that caused the access tuple replay to fail.
        
         This field is only included for access tuples that were not replayed
         successfully.
         
        .google.rpc.Status error = 6;
        Specified by:
        hasError in interface ReplayResultOrBuilder
        Returns:
        Whether the error field is set.
      • getError

        public com.google.rpc.Status getError()
         The error that caused the access tuple replay to fail.
        
         This field is only included for access tuples that were not replayed
         successfully.
         
        .google.rpc.Status error = 6;
        Specified by:
        getError in interface ReplayResultOrBuilder
        Returns:
        The error.
      • setError

        public ReplayResult.Builder setError​(com.google.rpc.Status value)
         The error that caused the access tuple replay to fail.
        
         This field is only included for access tuples that were not replayed
         successfully.
         
        .google.rpc.Status error = 6;
      • setError

        public ReplayResult.Builder setError​(com.google.rpc.Status.Builder builderForValue)
         The error that caused the access tuple replay to fail.
        
         This field is only included for access tuples that were not replayed
         successfully.
         
        .google.rpc.Status error = 6;
      • mergeError

        public ReplayResult.Builder mergeError​(com.google.rpc.Status value)
         The error that caused the access tuple replay to fail.
        
         This field is only included for access tuples that were not replayed
         successfully.
         
        .google.rpc.Status error = 6;
      • clearError

        public ReplayResult.Builder clearError()
         The error that caused the access tuple replay to fail.
        
         This field is only included for access tuples that were not replayed
         successfully.
         
        .google.rpc.Status error = 6;
      • getErrorBuilder

        public com.google.rpc.Status.Builder getErrorBuilder()
         The error that caused the access tuple replay to fail.
        
         This field is only included for access tuples that were not replayed
         successfully.
         
        .google.rpc.Status error = 6;
      • getErrorOrBuilder

        public com.google.rpc.StatusOrBuilder getErrorOrBuilder()
         The error that caused the access tuple replay to fail.
        
         This field is only included for access tuples that were not replayed
         successfully.
         
        .google.rpc.Status error = 6;
        Specified by:
        getErrorOrBuilder in interface ReplayResultOrBuilder
      • getName

        public String getName()
         The resource name of the `ReplayResult`, in the following format:
        
         `{projects|folders|organizations}/{resource-id}/locations/global/replays/{replay-id}/results/{replay-result-id}`,
         where `{resource-id}` is the ID of the project, folder, or organization
         that owns the [Replay][google.cloud.policysimulator.v1.Replay].
        
         Example:
         `projects/my-example-project/locations/global/replays/506a5f7f-38ce-4d7d-8e03-479ce1833c36/results/1234`
         
        string name = 1;
        Specified by:
        getName in interface ReplayResultOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         The resource name of the `ReplayResult`, in the following format:
        
         `{projects|folders|organizations}/{resource-id}/locations/global/replays/{replay-id}/results/{replay-result-id}`,
         where `{resource-id}` is the ID of the project, folder, or organization
         that owns the [Replay][google.cloud.policysimulator.v1.Replay].
        
         Example:
         `projects/my-example-project/locations/global/replays/506a5f7f-38ce-4d7d-8e03-479ce1833c36/results/1234`
         
        string name = 1;
        Specified by:
        getNameBytes in interface ReplayResultOrBuilder
        Returns:
        The bytes for name.
      • setName

        public ReplayResult.Builder setName​(String value)
         The resource name of the `ReplayResult`, in the following format:
        
         `{projects|folders|organizations}/{resource-id}/locations/global/replays/{replay-id}/results/{replay-result-id}`,
         where `{resource-id}` is the ID of the project, folder, or organization
         that owns the [Replay][google.cloud.policysimulator.v1.Replay].
        
         Example:
         `projects/my-example-project/locations/global/replays/506a5f7f-38ce-4d7d-8e03-479ce1833c36/results/1234`
         
        string name = 1;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public ReplayResult.Builder clearName()
         The resource name of the `ReplayResult`, in the following format:
        
         `{projects|folders|organizations}/{resource-id}/locations/global/replays/{replay-id}/results/{replay-result-id}`,
         where `{resource-id}` is the ID of the project, folder, or organization
         that owns the [Replay][google.cloud.policysimulator.v1.Replay].
        
         Example:
         `projects/my-example-project/locations/global/replays/506a5f7f-38ce-4d7d-8e03-479ce1833c36/results/1234`
         
        string name = 1;
        Returns:
        This builder for chaining.
      • setNameBytes

        public ReplayResult.Builder setNameBytes​(com.google.protobuf.ByteString value)
         The resource name of the `ReplayResult`, in the following format:
        
         `{projects|folders|organizations}/{resource-id}/locations/global/replays/{replay-id}/results/{replay-result-id}`,
         where `{resource-id}` is the ID of the project, folder, or organization
         that owns the [Replay][google.cloud.policysimulator.v1.Replay].
        
         Example:
         `projects/my-example-project/locations/global/replays/506a5f7f-38ce-4d7d-8e03-479ce1833c36/results/1234`
         
        string name = 1;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • getParent

        public String getParent()
         The [Replay][google.cloud.policysimulator.v1.Replay] that the access tuple
         was included in.
         
        string parent = 2 [(.google.api.resource_reference) = { ... }
        Specified by:
        getParent in interface ReplayResultOrBuilder
        Returns:
        The parent.
      • getParentBytes

        public com.google.protobuf.ByteString getParentBytes()
         The [Replay][google.cloud.policysimulator.v1.Replay] that the access tuple
         was included in.
         
        string parent = 2 [(.google.api.resource_reference) = { ... }
        Specified by:
        getParentBytes in interface ReplayResultOrBuilder
        Returns:
        The bytes for parent.
      • setParent

        public ReplayResult.Builder setParent​(String value)
         The [Replay][google.cloud.policysimulator.v1.Replay] that the access tuple
         was included in.
         
        string parent = 2 [(.google.api.resource_reference) = { ... }
        Parameters:
        value - The parent to set.
        Returns:
        This builder for chaining.
      • clearParent

        public ReplayResult.Builder clearParent()
         The [Replay][google.cloud.policysimulator.v1.Replay] that the access tuple
         was included in.
         
        string parent = 2 [(.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setParentBytes

        public ReplayResult.Builder setParentBytes​(com.google.protobuf.ByteString value)
         The [Replay][google.cloud.policysimulator.v1.Replay] that the access tuple
         was included in.
         
        string parent = 2 [(.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for parent to set.
        Returns:
        This builder for chaining.
      • hasAccessTuple

        public boolean hasAccessTuple()
         The access tuple that was replayed. This field includes information about
         the principal, resource, and permission that were involved in the access
         attempt.
         
        .google.cloud.policysimulator.v1.AccessTuple access_tuple = 3;
        Specified by:
        hasAccessTuple in interface ReplayResultOrBuilder
        Returns:
        Whether the accessTuple field is set.
      • getAccessTuple

        public AccessTuple getAccessTuple()
         The access tuple that was replayed. This field includes information about
         the principal, resource, and permission that were involved in the access
         attempt.
         
        .google.cloud.policysimulator.v1.AccessTuple access_tuple = 3;
        Specified by:
        getAccessTuple in interface ReplayResultOrBuilder
        Returns:
        The accessTuple.
      • setAccessTuple

        public ReplayResult.Builder setAccessTuple​(AccessTuple value)
         The access tuple that was replayed. This field includes information about
         the principal, resource, and permission that were involved in the access
         attempt.
         
        .google.cloud.policysimulator.v1.AccessTuple access_tuple = 3;
      • setAccessTuple

        public ReplayResult.Builder setAccessTuple​(AccessTuple.Builder builderForValue)
         The access tuple that was replayed. This field includes information about
         the principal, resource, and permission that were involved in the access
         attempt.
         
        .google.cloud.policysimulator.v1.AccessTuple access_tuple = 3;
      • mergeAccessTuple

        public ReplayResult.Builder mergeAccessTuple​(AccessTuple value)
         The access tuple that was replayed. This field includes information about
         the principal, resource, and permission that were involved in the access
         attempt.
         
        .google.cloud.policysimulator.v1.AccessTuple access_tuple = 3;
      • clearAccessTuple

        public ReplayResult.Builder clearAccessTuple()
         The access tuple that was replayed. This field includes information about
         the principal, resource, and permission that were involved in the access
         attempt.
         
        .google.cloud.policysimulator.v1.AccessTuple access_tuple = 3;
      • getAccessTupleBuilder

        public AccessTuple.Builder getAccessTupleBuilder()
         The access tuple that was replayed. This field includes information about
         the principal, resource, and permission that were involved in the access
         attempt.
         
        .google.cloud.policysimulator.v1.AccessTuple access_tuple = 3;
      • getAccessTupleOrBuilder

        public AccessTupleOrBuilder getAccessTupleOrBuilder()
         The access tuple that was replayed. This field includes information about
         the principal, resource, and permission that were involved in the access
         attempt.
         
        .google.cloud.policysimulator.v1.AccessTuple access_tuple = 3;
        Specified by:
        getAccessTupleOrBuilder in interface ReplayResultOrBuilder
      • hasLastSeenDate

        public boolean hasLastSeenDate()
         The latest date this access tuple was seen in the logs.
         
        .google.type.Date last_seen_date = 4;
        Specified by:
        hasLastSeenDate in interface ReplayResultOrBuilder
        Returns:
        Whether the lastSeenDate field is set.
      • getLastSeenDate

        public com.google.type.Date getLastSeenDate()
         The latest date this access tuple was seen in the logs.
         
        .google.type.Date last_seen_date = 4;
        Specified by:
        getLastSeenDate in interface ReplayResultOrBuilder
        Returns:
        The lastSeenDate.
      • setLastSeenDate

        public ReplayResult.Builder setLastSeenDate​(com.google.type.Date value)
         The latest date this access tuple was seen in the logs.
         
        .google.type.Date last_seen_date = 4;
      • setLastSeenDate

        public ReplayResult.Builder setLastSeenDate​(com.google.type.Date.Builder builderForValue)
         The latest date this access tuple was seen in the logs.
         
        .google.type.Date last_seen_date = 4;
      • mergeLastSeenDate

        public ReplayResult.Builder mergeLastSeenDate​(com.google.type.Date value)
         The latest date this access tuple was seen in the logs.
         
        .google.type.Date last_seen_date = 4;
      • clearLastSeenDate

        public ReplayResult.Builder clearLastSeenDate()
         The latest date this access tuple was seen in the logs.
         
        .google.type.Date last_seen_date = 4;
      • getLastSeenDateBuilder

        public com.google.type.Date.Builder getLastSeenDateBuilder()
         The latest date this access tuple was seen in the logs.
         
        .google.type.Date last_seen_date = 4;
      • getLastSeenDateOrBuilder

        public com.google.type.DateOrBuilder getLastSeenDateOrBuilder()
         The latest date this access tuple was seen in the logs.
         
        .google.type.Date last_seen_date = 4;
        Specified by:
        getLastSeenDateOrBuilder in interface ReplayResultOrBuilder
      • setUnknownFields

        public final ReplayResult.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ReplayResult.Builder>
      • mergeUnknownFields

        public final ReplayResult.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ReplayResult.Builder>