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.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ReplayResultbuild()ReplayResultbuildPartial()ReplayResult.Builderclear()ReplayResult.BuilderclearAccessTuple()The access tuple that was replayed.ReplayResult.BuilderclearDiff()The difference between the principal's access under the current (baseline) policies and the principal's access under the proposed (simulated) policies.ReplayResult.BuilderclearError()The error that caused the access tuple replay to fail.ReplayResult.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ReplayResult.BuilderclearLastSeenDate()The latest date this access tuple was seen in the logs.ReplayResult.BuilderclearName()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.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ReplayResult.BuilderclearParent()The [Replay][google.cloud.policysimulator.v1.Replay] that the access tuple was included in.ReplayResult.BuilderclearResult()ReplayResult.Builderclone()AccessTuplegetAccessTuple()The access tuple that was replayed.AccessTuple.BuildergetAccessTupleBuilder()The access tuple that was replayed.AccessTupleOrBuildergetAccessTupleOrBuilder()The access tuple that was replayed.ReplayResultgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()ReplayDiffgetDiff()The difference between the principal's access under the current (baseline) policies and the principal's access under the proposed (simulated) policies.ReplayDiff.BuildergetDiffBuilder()The difference between the principal's access under the current (baseline) policies and the principal's access under the proposed (simulated) policies.ReplayDiffOrBuildergetDiffOrBuilder()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.StatusgetError()The error that caused the access tuple replay to fail.com.google.rpc.Status.BuildergetErrorBuilder()The error that caused the access tuple replay to fail.com.google.rpc.StatusOrBuildergetErrorOrBuilder()The error that caused the access tuple replay to fail.com.google.type.DategetLastSeenDate()The latest date this access tuple was seen in the logs.com.google.type.Date.BuildergetLastSeenDateBuilder()The latest date this access tuple was seen in the logs.com.google.type.DateOrBuildergetLastSeenDateOrBuilder()The latest date this access tuple was seen in the logs.StringgetName()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.ByteStringgetNameBytes()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].StringgetParent()The [Replay][google.cloud.policysimulator.v1.Replay] that the access tuple was included in.com.google.protobuf.ByteStringgetParentBytes()The [Replay][google.cloud.policysimulator.v1.Replay] that the access tuple was included in.ReplayResult.ResultCasegetResultCase()booleanhasAccessTuple()The access tuple that was replayed.booleanhasDiff()The difference between the principal's access under the current (baseline) policies and the principal's access under the proposed (simulated) policies.booleanhasError()The error that caused the access tuple replay to fail.booleanhasLastSeenDate()The latest date this access tuple was seen in the logs.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ReplayResult.BuildermergeAccessTuple(AccessTuple value)The access tuple that was replayed.ReplayResult.BuildermergeDiff(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.BuildermergeError(com.google.rpc.Status value)The error that caused the access tuple replay to fail.ReplayResult.BuildermergeFrom(ReplayResult other)ReplayResult.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ReplayResult.BuildermergeFrom(com.google.protobuf.Message other)ReplayResult.BuildermergeLastSeenDate(com.google.type.Date value)The latest date this access tuple was seen in the logs.ReplayResult.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ReplayResult.BuildersetAccessTuple(AccessTuple value)The access tuple that was replayed.ReplayResult.BuildersetAccessTuple(AccessTuple.Builder builderForValue)The access tuple that was replayed.ReplayResult.BuildersetDiff(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.BuildersetDiff(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.BuildersetError(com.google.rpc.Status value)The error that caused the access tuple replay to fail.ReplayResult.BuildersetError(com.google.rpc.Status.Builder builderForValue)The error that caused the access tuple replay to fail.ReplayResult.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ReplayResult.BuildersetLastSeenDate(com.google.type.Date value)The latest date this access tuple was seen in the logs.ReplayResult.BuildersetLastSeenDate(com.google.type.Date.Builder builderForValue)The latest date this access tuple was seen in the logs.ReplayResult.BuildersetName(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.BuildersetNameBytes(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.BuildersetParent(String value)The [Replay][google.cloud.policysimulator.v1.Replay] that the access tuple was included in.ReplayResult.BuildersetParentBytes(com.google.protobuf.ByteString value)The [Replay][google.cloud.policysimulator.v1.Replay] that the access tuple was included in.ReplayResult.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ReplayResult.BuildersetUnknownFields(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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ReplayResult.Builder>
-
clear
public ReplayResult.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ReplayResult.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ReplayResult.Builder>
-
getDefaultInstanceForType
public ReplayResult getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ReplayResult build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ReplayResult buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ReplayResult.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ReplayResult.Builder>
-
setField
public ReplayResult.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ReplayResult.Builder>
-
clearField
public ReplayResult.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ReplayResult.Builder>
-
clearOneof
public ReplayResult.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ReplayResult.Builder>
-
setRepeatedField
public ReplayResult.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ReplayResult.Builder>
-
addRepeatedField
public ReplayResult.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ReplayResult.Builder>
-
mergeFrom
public ReplayResult.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ReplayResult.Builder>
-
mergeFrom
public ReplayResult.Builder mergeFrom(ReplayResult other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ReplayResult.Builder>- Throws:
IOException
-
getResultCase
public ReplayResult.ResultCase getResultCase()
- Specified by:
getResultCasein 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:
hasDiffin 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:
getDiffin 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:
getDiffOrBuilderin 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:
hasErrorin 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:
getErrorin 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:
getErrorOrBuilderin 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:
getNamein 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:
getNameBytesin 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:
getParentin 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:
getParentBytesin 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:
hasAccessTuplein 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:
getAccessTuplein 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:
getAccessTupleOrBuilderin 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:
hasLastSeenDatein 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:
getLastSeenDatein 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:
getLastSeenDateOrBuilderin interfaceReplayResultOrBuilder
-
setUnknownFields
public final ReplayResult.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ReplayResult.Builder>
-
mergeUnknownFields
public final ReplayResult.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ReplayResult.Builder>
-
-