public final class PolicyController extends com.google.protobuf.GeneratedMessageV3 implements PolicyControllerOrBuilder
Configuration for Policy ControllerProtobuf type
google.cloud.gkehub.configmanagement.v1alpha.PolicyController| Modifier and Type | Class and Description |
|---|---|
static class |
PolicyController.Builder
Configuration for Policy Controller
|
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 |
AUDIT_INTERVAL_SECONDS_FIELD_NUMBER |
static int |
ENABLED_FIELD_NUMBER |
static int |
EXEMPTABLE_NAMESPACES_FIELD_NUMBER |
static int |
LOG_DENIES_ENABLED_FIELD_NUMBER |
static int |
MUTATION_ENABLED_FIELD_NUMBER |
static int |
REFERENTIAL_RULES_ENABLED_FIELD_NUMBER |
static int |
TEMPLATE_LIBRARY_INSTALLED_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
long |
getAuditIntervalSeconds()
Sets the interval for Policy Controller Audit Scans (in seconds).
|
static PolicyController |
getDefaultInstance() |
PolicyController |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
boolean |
getEnabled()
Enables the installation of Policy Controller.
|
String |
getExemptableNamespaces(int index)
The set of namespaces that are excluded from Policy Controller checks.
|
com.google.protobuf.ByteString |
getExemptableNamespacesBytes(int index)
The set of namespaces that are excluded from Policy Controller checks.
|
int |
getExemptableNamespacesCount()
The set of namespaces that are excluded from Policy Controller checks.
|
com.google.protobuf.ProtocolStringList |
getExemptableNamespacesList()
The set of namespaces that are excluded from Policy Controller checks.
|
boolean |
getLogDeniesEnabled()
Logs all denies and dry run failures.
|
boolean |
getMutationEnabled()
Enable users to try out mutation for PolicyController.
|
com.google.protobuf.Parser<PolicyController> |
getParserForType() |
boolean |
getReferentialRulesEnabled()
Enables the ability to use Constraint Templates that reference to objects
other than the object currently being evaluated.
|
int |
getSerializedSize() |
boolean |
getTemplateLibraryInstalled()
Installs the default template library along with Policy Controller.
|
boolean |
hasAuditIntervalSeconds()
Sets the interval for Policy Controller Audit Scans (in seconds).
|
int |
hashCode() |
boolean |
hasTemplateLibraryInstalled()
Installs the default template library along with Policy Controller.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static PolicyController.Builder |
newBuilder() |
static PolicyController.Builder |
newBuilder(PolicyController prototype) |
PolicyController.Builder |
newBuilderForType() |
protected PolicyController.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static PolicyController |
parseDelimitedFrom(InputStream input) |
static PolicyController |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PolicyController |
parseFrom(byte[] data) |
static PolicyController |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PolicyController |
parseFrom(ByteBuffer data) |
static PolicyController |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PolicyController |
parseFrom(com.google.protobuf.ByteString data) |
static PolicyController |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PolicyController |
parseFrom(com.google.protobuf.CodedInputStream input) |
static PolicyController |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PolicyController |
parseFrom(InputStream input) |
static PolicyController |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<PolicyController> |
parser() |
PolicyController.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, internalGetMapField, 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 ENABLED_FIELD_NUMBER
public static final int TEMPLATE_LIBRARY_INSTALLED_FIELD_NUMBER
public static final int AUDIT_INTERVAL_SECONDS_FIELD_NUMBER
public static final int EXEMPTABLE_NAMESPACES_FIELD_NUMBER
public static final int REFERENTIAL_RULES_ENABLED_FIELD_NUMBER
public static final int LOG_DENIES_ENABLED_FIELD_NUMBER
public static final int MUTATION_ENABLED_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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean getEnabled()
Enables the installation of Policy Controller. If false, the rest of PolicyController fields take no effect.
bool enabled = 1;getEnabled in interface PolicyControllerOrBuilderpublic boolean hasTemplateLibraryInstalled()
Installs the default template library along with Policy Controller.
optional bool template_library_installed = 2;hasTemplateLibraryInstalled in interface PolicyControllerOrBuilderpublic boolean getTemplateLibraryInstalled()
Installs the default template library along with Policy Controller.
optional bool template_library_installed = 2;getTemplateLibraryInstalled in interface PolicyControllerOrBuilderpublic boolean hasAuditIntervalSeconds()
Sets the interval for Policy Controller Audit Scans (in seconds). When set to 0, this disables audit functionality altogether.
optional int64 audit_interval_seconds = 3;hasAuditIntervalSeconds in interface PolicyControllerOrBuilderpublic long getAuditIntervalSeconds()
Sets the interval for Policy Controller Audit Scans (in seconds). When set to 0, this disables audit functionality altogether.
optional int64 audit_interval_seconds = 3;getAuditIntervalSeconds in interface PolicyControllerOrBuilderpublic com.google.protobuf.ProtocolStringList getExemptableNamespacesList()
The set of namespaces that are excluded from Policy Controller checks. Namespaces do not need to currently exist on the cluster.
repeated string exemptable_namespaces = 4;getExemptableNamespacesList in interface PolicyControllerOrBuilderpublic int getExemptableNamespacesCount()
The set of namespaces that are excluded from Policy Controller checks. Namespaces do not need to currently exist on the cluster.
repeated string exemptable_namespaces = 4;getExemptableNamespacesCount in interface PolicyControllerOrBuilderpublic String getExemptableNamespaces(int index)
The set of namespaces that are excluded from Policy Controller checks. Namespaces do not need to currently exist on the cluster.
repeated string exemptable_namespaces = 4;getExemptableNamespaces in interface PolicyControllerOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getExemptableNamespacesBytes(int index)
The set of namespaces that are excluded from Policy Controller checks. Namespaces do not need to currently exist on the cluster.
repeated string exemptable_namespaces = 4;getExemptableNamespacesBytes in interface PolicyControllerOrBuilderindex - The index of the value to return.public boolean getReferentialRulesEnabled()
Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.
bool referential_rules_enabled = 5;getReferentialRulesEnabled in interface PolicyControllerOrBuilderpublic boolean getLogDeniesEnabled()
Logs all denies and dry run failures.
bool log_denies_enabled = 6;getLogDeniesEnabled in interface PolicyControllerOrBuilderpublic boolean getMutationEnabled()
Enable users to try out mutation for PolicyController.
bool mutation_enabled = 7;getMutationEnabled in interface PolicyControllerOrBuilderpublic 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 PolicyController parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PolicyController parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PolicyController parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PolicyController parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PolicyController parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PolicyController parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PolicyController parseFrom(InputStream input) throws IOException
IOExceptionpublic static PolicyController parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PolicyController parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static PolicyController parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PolicyController parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static PolicyController parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic PolicyController.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static PolicyController.Builder newBuilder()
public static PolicyController.Builder newBuilder(PolicyController prototype)
public PolicyController.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected PolicyController.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static PolicyController getDefaultInstance()
public static com.google.protobuf.Parser<PolicyController> parser()
public com.google.protobuf.Parser<PolicyController> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public PolicyController getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.