public final class ReplayConfig extends GeneratedMessageV3 implements ReplayConfigOrBuilder
The configuration used for a
Replay.
Protobuf type google.cloud.policysimulator.v1.ReplayConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
LOG_SOURCE_FIELD_NUMBER
public static final int LOG_SOURCE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
POLICY_OVERLAY_FIELD_NUMBER
public static final int POLICY_OVERLAY_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ReplayConfig getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ReplayConfig.Builder newBuilder()
newBuilder(ReplayConfig prototype)
public static ReplayConfig.Builder newBuilder(ReplayConfig prototype)
public static ReplayConfig parseDelimitedFrom(InputStream input)
public static ReplayConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ReplayConfig parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ReplayConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ReplayConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ReplayConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ReplayConfig parseFrom(CodedInputStream input)
public static ReplayConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ReplayConfig parseFrom(InputStream input)
public static ReplayConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ReplayConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ReplayConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ReplayConfig> parser()
Methods
containsPolicyOverlay(String key)
public boolean containsPolicyOverlay(String key)
A mapping of the resources that you want to simulate policies for and the
policies that you want to simulate.
Keys are the full resource names for the resources. For example,
//cloudresourcemanager.googleapis.com/projects/my-project
.
For examples of full resource names for Google Cloud services, see
https://cloud.google.com/iam/help/troubleshooter/full-resource-names.
Values are Policy objects representing the policies
that you want to simulate.
Replays automatically take into account any IAM policies inherited through
the resource hierarchy, and any policies set on descendant resources. You
do not need to include these policies in the policy overlay.
map<string, .google.iam.v1.Policy> policy_overlay = 1;
Parameter |
Name |
Description |
key |
String
|
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public ReplayConfig getDefaultInstanceForType()
getLogSource()
public ReplayConfig.LogSource getLogSource()
The logs to use as input for the
Replay.
.google.cloud.policysimulator.v1.ReplayConfig.LogSource log_source = 2;
getLogSourceValue()
public int getLogSourceValue()
The logs to use as input for the
Replay.
.google.cloud.policysimulator.v1.ReplayConfig.LogSource log_source = 2;
Returns |
Type |
Description |
int |
The enum numeric value on the wire for logSource.
|
getParserForType()
public Parser<ReplayConfig> getParserForType()
Overrides
getPolicyOverlay() (deprecated)
public Map<String,Policy> getPolicyOverlay()
Returns |
Type |
Description |
Map<String,com.google.iam.v1.Policy> |
|
getPolicyOverlayCount()
public int getPolicyOverlayCount()
A mapping of the resources that you want to simulate policies for and the
policies that you want to simulate.
Keys are the full resource names for the resources. For example,
//cloudresourcemanager.googleapis.com/projects/my-project
.
For examples of full resource names for Google Cloud services, see
https://cloud.google.com/iam/help/troubleshooter/full-resource-names.
Values are Policy objects representing the policies
that you want to simulate.
Replays automatically take into account any IAM policies inherited through
the resource hierarchy, and any policies set on descendant resources. You
do not need to include these policies in the policy overlay.
map<string, .google.iam.v1.Policy> policy_overlay = 1;
Returns |
Type |
Description |
int |
|
getPolicyOverlayMap()
public Map<String,Policy> getPolicyOverlayMap()
A mapping of the resources that you want to simulate policies for and the
policies that you want to simulate.
Keys are the full resource names for the resources. For example,
//cloudresourcemanager.googleapis.com/projects/my-project
.
For examples of full resource names for Google Cloud services, see
https://cloud.google.com/iam/help/troubleshooter/full-resource-names.
Values are Policy objects representing the policies
that you want to simulate.
Replays automatically take into account any IAM policies inherited through
the resource hierarchy, and any policies set on descendant resources. You
do not need to include these policies in the policy overlay.
map<string, .google.iam.v1.Policy> policy_overlay = 1;
Returns |
Type |
Description |
Map<String,com.google.iam.v1.Policy> |
|
getPolicyOverlayOrDefault(String key, Policy defaultValue)
public Policy getPolicyOverlayOrDefault(String key, Policy defaultValue)
A mapping of the resources that you want to simulate policies for and the
policies that you want to simulate.
Keys are the full resource names for the resources. For example,
//cloudresourcemanager.googleapis.com/projects/my-project
.
For examples of full resource names for Google Cloud services, see
https://cloud.google.com/iam/help/troubleshooter/full-resource-names.
Values are Policy objects representing the policies
that you want to simulate.
Replays automatically take into account any IAM policies inherited through
the resource hierarchy, and any policies set on descendant resources. You
do not need to include these policies in the policy overlay.
map<string, .google.iam.v1.Policy> policy_overlay = 1;
Parameters |
Name |
Description |
key |
String
|
defaultValue |
com.google.iam.v1.Policy
|
Returns |
Type |
Description |
com.google.iam.v1.Policy |
|
getPolicyOverlayOrThrow(String key)
public Policy getPolicyOverlayOrThrow(String key)
A mapping of the resources that you want to simulate policies for and the
policies that you want to simulate.
Keys are the full resource names for the resources. For example,
//cloudresourcemanager.googleapis.com/projects/my-project
.
For examples of full resource names for Google Cloud services, see
https://cloud.google.com/iam/help/troubleshooter/full-resource-names.
Values are Policy objects representing the policies
that you want to simulate.
Replays automatically take into account any IAM policies inherited through
the resource hierarchy, and any policies set on descendant resources. You
do not need to include these policies in the policy overlay.
map<string, .google.iam.v1.Policy> policy_overlay = 1;
Parameter |
Name |
Description |
key |
String
|
Returns |
Type |
Description |
com.google.iam.v1.Policy |
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ReplayConfig.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ReplayConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ReplayConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides