- 0.64.0 (latest)
- 0.62.0
- 0.61.0
- 0.59.0
- 0.57.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.49.0
- 0.47.0
- 0.46.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.3.0
- 0.2.0
- 0.1.0
public static final class ReplayConfig.Builder extends GeneratedMessage.Builder<ReplayConfig.Builder> implements ReplayConfigOrBuilderThe configuration used for a Replay.
Protobuf type google.cloud.policysimulator.v1.ReplayConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ReplayConfig.BuilderImplements
ReplayConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ReplayConfig build()| Returns | |
|---|---|
| Type | Description |
ReplayConfig |
|
buildPartial()
public ReplayConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
ReplayConfig |
|
clear()
public ReplayConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
ReplayConfig.Builder |
|
clearLogSource()
public ReplayConfig.Builder clearLogSource()The logs to use as input for the Replay.
.google.cloud.policysimulator.v1.ReplayConfig.LogSource log_source = 2;
| Returns | |
|---|---|
| Type | Description |
ReplayConfig.Builder |
This builder for chaining. |
clearPolicyOverlay()
public ReplayConfig.Builder clearPolicyOverlay()| Returns | |
|---|---|
| Type | Description |
ReplayConfig.Builder |
|
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 |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public ReplayConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ReplayConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getLogSource()
public ReplayConfig.LogSource getLogSource()The logs to use as input for the Replay.
.google.cloud.policysimulator.v1.ReplayConfig.LogSource log_source = 2;
| Returns | |
|---|---|
| Type | Description |
ReplayConfig.LogSource |
The logSource. |
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. |
getMutablePolicyOverlay() (deprecated)
public Map<String,Policy> getMutablePolicyOverlay()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,com.google.iam.v1.Policy> |
|
getPolicyOverlay() (deprecated)
public Map<String,Policy> getPolicyOverlay()Use #getPolicyOverlayMap() instead.
| 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 |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ReplayConfig other)
public ReplayConfig.Builder mergeFrom(ReplayConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
ReplayConfig |
| Returns | |
|---|---|
| Type | Description |
ReplayConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ReplayConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ReplayConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ReplayConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ReplayConfig.Builder |
|
putAllPolicyOverlay(Map<String,Policy> values)
public ReplayConfig.Builder putAllPolicyOverlay(Map<String,Policy> values)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 |
values |
Map<String,com.google.iam.v1.Policy> |
| Returns | |
|---|---|
| Type | Description |
ReplayConfig.Builder |
|
putPolicyOverlay(String key, Policy value)
public ReplayConfig.Builder putPolicyOverlay(String key, Policy value)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 |
value |
com.google.iam.v1.Policy |
| Returns | |
|---|---|
| Type | Description |
ReplayConfig.Builder |
|
putPolicyOverlayBuilderIfAbsent(String key)
public Policy.Builder putPolicyOverlayBuilderIfAbsent(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.Builder |
|
removePolicyOverlay(String key)
public ReplayConfig.Builder removePolicyOverlay(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 |
ReplayConfig.Builder |
|
setLogSource(ReplayConfig.LogSource value)
public ReplayConfig.Builder setLogSource(ReplayConfig.LogSource value)The logs to use as input for the Replay.
.google.cloud.policysimulator.v1.ReplayConfig.LogSource log_source = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ReplayConfig.LogSourceThe logSource to set. |
| Returns | |
|---|---|
| Type | Description |
ReplayConfig.Builder |
This builder for chaining. |
setLogSourceValue(int value)
public ReplayConfig.Builder setLogSourceValue(int value)The logs to use as input for the Replay.
.google.cloud.policysimulator.v1.ReplayConfig.LogSource log_source = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for logSource to set. |
| Returns | |
|---|---|
| Type | Description |
ReplayConfig.Builder |
This builder for chaining. |