public final class ReplayConfig extends com.google.protobuf.GeneratedMessageV3 implements ReplayConfigOrBuilder
The configuration used for a [Replay][google.cloud.policysimulator.v1.Replay].Protobuf type
google.cloud.policysimulator.v1.ReplayConfig| Modifier and Type | Class and Description |
|---|---|
static class |
ReplayConfig.Builder
The configuration used for a
[Replay][google.cloud.policysimulator.v1.Replay].
|
static class |
ReplayConfig.LogSource
The source of the logs to use for a
[Replay][google.cloud.policysimulator.v1.Replay].
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
LOG_SOURCE_FIELD_NUMBER |
static int |
POLICY_OVERLAY_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsPolicyOverlay(String key)
A mapping of the resources that you want to simulate policies for and the
policies that you want to simulate.
|
boolean |
equals(Object obj) |
static ReplayConfig |
getDefaultInstance() |
ReplayConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
ReplayConfig.LogSource |
getLogSource()
The logs to use as input for the
[Replay][google.cloud.policysimulator.v1.Replay].
|
int |
getLogSourceValue()
The logs to use as input for the
[Replay][google.cloud.policysimulator.v1.Replay].
|
com.google.protobuf.Parser<ReplayConfig> |
getParserForType() |
Map<String,com.google.iam.v1.Policy> |
getPolicyOverlay()
Deprecated.
|
int |
getPolicyOverlayCount()
A mapping of the resources that you want to simulate policies for and the
policies that you want to simulate.
|
Map<String,com.google.iam.v1.Policy> |
getPolicyOverlayMap()
A mapping of the resources that you want to simulate policies for and the
policies that you want to simulate.
|
com.google.iam.v1.Policy |
getPolicyOverlayOrDefault(String key,
com.google.iam.v1.Policy defaultValue)
A mapping of the resources that you want to simulate policies for and the
policies that you want to simulate.
|
com.google.iam.v1.Policy |
getPolicyOverlayOrThrow(String key)
A mapping of the resources that you want to simulate policies for and the
policies that you want to simulate.
|
int |
getSerializedSize() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static ReplayConfig.Builder |
newBuilder() |
static ReplayConfig.Builder |
newBuilder(ReplayConfig prototype) |
ReplayConfig.Builder |
newBuilderForType() |
protected ReplayConfig.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ReplayConfig |
parseDelimitedFrom(InputStream input) |
static ReplayConfig |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ReplayConfig |
parseFrom(byte[] data) |
static ReplayConfig |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ReplayConfig |
parseFrom(ByteBuffer data) |
static ReplayConfig |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ReplayConfig |
parseFrom(com.google.protobuf.ByteString data) |
static ReplayConfig |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ReplayConfig |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ReplayConfig |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ReplayConfig |
parseFrom(InputStream input) |
static ReplayConfig |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ReplayConfig> |
parser() |
ReplayConfig.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int POLICY_OVERLAY_FIELD_NUMBER
public static final int LOG_SOURCE_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public int getPolicyOverlayCount()
ReplayConfigOrBuilderA 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][google.iam.v1.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;getPolicyOverlayCount in interface ReplayConfigOrBuilderpublic 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][google.iam.v1.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;containsPolicyOverlay in interface ReplayConfigOrBuilder@Deprecated public Map<String,com.google.iam.v1.Policy> getPolicyOverlay()
getPolicyOverlayMap() instead.getPolicyOverlay in interface ReplayConfigOrBuilderpublic Map<String,com.google.iam.v1.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][google.iam.v1.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;getPolicyOverlayMap in interface ReplayConfigOrBuilderpublic com.google.iam.v1.Policy getPolicyOverlayOrDefault(String key, com.google.iam.v1.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][google.iam.v1.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;getPolicyOverlayOrDefault in interface ReplayConfigOrBuilderpublic com.google.iam.v1.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][google.iam.v1.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;getPolicyOverlayOrThrow in interface ReplayConfigOrBuilderpublic int getLogSourceValue()
The logs to use as input for the [Replay][google.cloud.policysimulator.v1.Replay].
.google.cloud.policysimulator.v1.ReplayConfig.LogSource log_source = 2;getLogSourceValue in interface ReplayConfigOrBuilderpublic ReplayConfig.LogSource getLogSource()
The logs to use as input for the [Replay][google.cloud.policysimulator.v1.Replay].
.google.cloud.policysimulator.v1.ReplayConfig.LogSource log_source = 2;getLogSource in interface ReplayConfigOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ReplayConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReplayConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReplayConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReplayConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReplayConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReplayConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReplayConfig parseFrom(InputStream input) throws IOException
IOExceptionpublic static ReplayConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ReplayConfig parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ReplayConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ReplayConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ReplayConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ReplayConfig.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ReplayConfig.Builder newBuilder()
public static ReplayConfig.Builder newBuilder(ReplayConfig prototype)
public ReplayConfig.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ReplayConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ReplayConfig getDefaultInstance()
public static com.google.protobuf.Parser<ReplayConfig> parser()
public com.google.protobuf.Parser<ReplayConfig> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ReplayConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.