Class ReplayResult.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ReplayResult.Builder>
-
- com.google.cloud.policysimulator.v1.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 typegoogle.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 class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReplayResult.Builder>
-
clear
public ReplayResult.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReplayResult.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReplayResult.Builder>
-
getDefaultInstanceForType
public ReplayResult getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ReplayResult build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ReplayResult buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ReplayResult.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReplayResult.Builder>
-
setField
public ReplayResult.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReplayResult.Builder>
-
clearField
public ReplayResult.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReplayResult.Builder>
-
clearOneof
public ReplayResult.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReplayResult.Builder>
-
addRepeatedField
public ReplayResult.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReplayResult.Builder>
-
mergeFrom
public ReplayResult.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ReplayResult.Builder>
-
mergeFrom
public ReplayResult.Builder mergeFrom(ReplayResult other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ReplayResult.Builder>
- Throws:
IOException
-
getResultCase
public ReplayResult.ResultCase getResultCase()
- Specified by:
getResultCase
in interfaceReplayResultOrBuilder
-
clearResult
public ReplayResult.Builder clearResult()
-
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 interfaceReplayResultOrBuilder
- 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 interfaceReplayResultOrBuilder
- 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 interfaceReplayResultOrBuilder
-
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 interfaceReplayResultOrBuilder
- 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 interfaceReplayResultOrBuilder
- 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 interfaceReplayResultOrBuilder
-
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 interfaceReplayResultOrBuilder
- 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 interfaceReplayResultOrBuilder
- 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 interfaceReplayResultOrBuilder
- 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 interfaceReplayResultOrBuilder
- 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 interfaceReplayResultOrBuilder
- 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 interfaceReplayResultOrBuilder
- 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 interfaceReplayResultOrBuilder
-
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 interfaceReplayResultOrBuilder
- 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 interfaceReplayResultOrBuilder
- 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 interfaceReplayResultOrBuilder
-
setUnknownFields
public final ReplayResult.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReplayResult.Builder>
-
mergeUnknownFields
public final ReplayResult.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReplayResult.Builder>
-
-