public static final class ClusterPolicyConfig.Builder extends GeneratedMessage.Builder<ClusterPolicyConfig.Builder> implements ClusterPolicyConfigOrBuilderClusterPolicyConfig stores the configuration for cluster wide policies.
Protobuf type google.container.v1beta1.ClusterPolicyConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ClusterPolicyConfig.BuilderImplements
ClusterPolicyConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ClusterPolicyConfig build()| Returns | |
|---|---|
| Type | Description |
ClusterPolicyConfig |
|
buildPartial()
public ClusterPolicyConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
ClusterPolicyConfig |
|
clear()
public ClusterPolicyConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
ClusterPolicyConfig.Builder |
|
clearNoStandardNodePools()
public ClusterPolicyConfig.Builder clearNoStandardNodePools()Denotes preventing standard node pools and requiring only autopilot node pools.
optional bool no_standard_node_pools = 5;
| Returns | |
|---|---|
| Type | Description |
ClusterPolicyConfig.Builder |
This builder for chaining. |
clearNoSystemImpersonation()
public ClusterPolicyConfig.Builder clearNoSystemImpersonation()Denotes preventing impersonation and CSRs for GKE System users.
optional bool no_system_impersonation = 2;
| Returns | |
|---|---|
| Type | Description |
ClusterPolicyConfig.Builder |
This builder for chaining. |
clearNoSystemMutation()
public ClusterPolicyConfig.Builder clearNoSystemMutation()Denotes that preventing creation and mutation of resources in GKE managed namespaces and cluster-scoped GKE managed resources .
optional bool no_system_mutation = 1;
| Returns | |
|---|---|
| Type | Description |
ClusterPolicyConfig.Builder |
This builder for chaining. |
clearNoUnsafeWebhooks()
public ClusterPolicyConfig.Builder clearNoUnsafeWebhooks()Denotes preventing unsafe webhooks.
optional bool no_unsafe_webhooks = 3;
| Returns | |
|---|---|
| Type | Description |
ClusterPolicyConfig.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ClusterPolicyConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ClusterPolicyConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getNoStandardNodePools()
public boolean getNoStandardNodePools()Denotes preventing standard node pools and requiring only autopilot node pools.
optional bool no_standard_node_pools = 5;
| Returns | |
|---|---|
| Type | Description |
boolean |
The noStandardNodePools. |
getNoSystemImpersonation()
public boolean getNoSystemImpersonation()Denotes preventing impersonation and CSRs for GKE System users.
optional bool no_system_impersonation = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
The noSystemImpersonation. |
getNoSystemMutation()
public boolean getNoSystemMutation()Denotes that preventing creation and mutation of resources in GKE managed namespaces and cluster-scoped GKE managed resources .
optional bool no_system_mutation = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
The noSystemMutation. |
getNoUnsafeWebhooks()
public boolean getNoUnsafeWebhooks()Denotes preventing unsafe webhooks.
optional bool no_unsafe_webhooks = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
The noUnsafeWebhooks. |
hasNoStandardNodePools()
public boolean hasNoStandardNodePools()Denotes preventing standard node pools and requiring only autopilot node pools.
optional bool no_standard_node_pools = 5;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the noStandardNodePools field is set. |
hasNoSystemImpersonation()
public boolean hasNoSystemImpersonation()Denotes preventing impersonation and CSRs for GKE System users.
optional bool no_system_impersonation = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the noSystemImpersonation field is set. |
hasNoSystemMutation()
public boolean hasNoSystemMutation()Denotes that preventing creation and mutation of resources in GKE managed namespaces and cluster-scoped GKE managed resources .
optional bool no_system_mutation = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the noSystemMutation field is set. |
hasNoUnsafeWebhooks()
public boolean hasNoUnsafeWebhooks()Denotes preventing unsafe webhooks.
optional bool no_unsafe_webhooks = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the noUnsafeWebhooks field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ClusterPolicyConfig other)
public ClusterPolicyConfig.Builder mergeFrom(ClusterPolicyConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
ClusterPolicyConfig |
| Returns | |
|---|---|
| Type | Description |
ClusterPolicyConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ClusterPolicyConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ClusterPolicyConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ClusterPolicyConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ClusterPolicyConfig.Builder |
|
setNoStandardNodePools(boolean value)
public ClusterPolicyConfig.Builder setNoStandardNodePools(boolean value)Denotes preventing standard node pools and requiring only autopilot node pools.
optional bool no_standard_node_pools = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe noStandardNodePools to set. |
| Returns | |
|---|---|
| Type | Description |
ClusterPolicyConfig.Builder |
This builder for chaining. |
setNoSystemImpersonation(boolean value)
public ClusterPolicyConfig.Builder setNoSystemImpersonation(boolean value)Denotes preventing impersonation and CSRs for GKE System users.
optional bool no_system_impersonation = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe noSystemImpersonation to set. |
| Returns | |
|---|---|
| Type | Description |
ClusterPolicyConfig.Builder |
This builder for chaining. |
setNoSystemMutation(boolean value)
public ClusterPolicyConfig.Builder setNoSystemMutation(boolean value)Denotes that preventing creation and mutation of resources in GKE managed namespaces and cluster-scoped GKE managed resources .
optional bool no_system_mutation = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe noSystemMutation to set. |
| Returns | |
|---|---|
| Type | Description |
ClusterPolicyConfig.Builder |
This builder for chaining. |
setNoUnsafeWebhooks(boolean value)
public ClusterPolicyConfig.Builder setNoUnsafeWebhooks(boolean value)Denotes preventing unsafe webhooks.
optional bool no_unsafe_webhooks = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe noUnsafeWebhooks to set. |
| Returns | |
|---|---|
| Type | Description |
ClusterPolicyConfig.Builder |
This builder for chaining. |