public static final class PrivilegedAdmissionConfig.Builder extends GeneratedMessageV3.Builder<PrivilegedAdmissionConfig.Builder> implements PrivilegedAdmissionConfigOrBuilderPrivilegedAdmissionConfig stores the list of authorized allowlist paths for the cluster.
Protobuf type google.container.v1beta1.PrivilegedAdmissionConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > PrivilegedAdmissionConfig.BuilderImplements
PrivilegedAdmissionConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllAllowlistPaths(Iterable<String> values)
public PrivilegedAdmissionConfig.Builder addAllAllowlistPaths(Iterable<String> values) The customer allowlist Cloud Storage paths for the cluster. These paths are
used with the --autopilot-privileged-admission flag to authorize
privileged workloads in Autopilot clusters.
Paths can be GKE-owned, in the format
gke://<partner_name>/<app_name>/<allowlist_path>, or customer-owned, in
the format gs://<bucket_name>/<allowlist_path>.
Wildcards (*) are supported to authorize all allowlists under specific
paths or directories. Example: gs://my-bucket/* will authorize all
allowlists under the my-bucket bucket.
repeated string allowlist_paths = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The allowlistPaths to add. |
| Returns | |
|---|---|
| Type | Description |
PrivilegedAdmissionConfig.Builder |
This builder for chaining. |
addAllowlistPaths(String value)
public PrivilegedAdmissionConfig.Builder addAllowlistPaths(String value) The customer allowlist Cloud Storage paths for the cluster. These paths are
used with the --autopilot-privileged-admission flag to authorize
privileged workloads in Autopilot clusters.
Paths can be GKE-owned, in the format
gke://<partner_name>/<app_name>/<allowlist_path>, or customer-owned, in
the format gs://<bucket_name>/<allowlist_path>.
Wildcards (*) are supported to authorize all allowlists under specific
paths or directories. Example: gs://my-bucket/* will authorize all
allowlists under the my-bucket bucket.
repeated string allowlist_paths = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe allowlistPaths to add. |
| Returns | |
|---|---|
| Type | Description |
PrivilegedAdmissionConfig.Builder |
This builder for chaining. |
addAllowlistPathsBytes(ByteString value)
public PrivilegedAdmissionConfig.Builder addAllowlistPathsBytes(ByteString value) The customer allowlist Cloud Storage paths for the cluster. These paths are
used with the --autopilot-privileged-admission flag to authorize
privileged workloads in Autopilot clusters.
Paths can be GKE-owned, in the format
gke://<partner_name>/<app_name>/<allowlist_path>, or customer-owned, in
the format gs://<bucket_name>/<allowlist_path>.
Wildcards (*) are supported to authorize all allowlists under specific
paths or directories. Example: gs://my-bucket/* will authorize all
allowlists under the my-bucket bucket.
repeated string allowlist_paths = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the allowlistPaths to add. |
| Returns | |
|---|---|
| Type | Description |
PrivilegedAdmissionConfig.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PrivilegedAdmissionConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
PrivilegedAdmissionConfig.Builder |
|
build()
public PrivilegedAdmissionConfig build()| Returns | |
|---|---|
| Type | Description |
PrivilegedAdmissionConfig |
|
buildPartial()
public PrivilegedAdmissionConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
PrivilegedAdmissionConfig |
|
clear()
public PrivilegedAdmissionConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
PrivilegedAdmissionConfig.Builder |
|
clearAllowlistPaths()
public PrivilegedAdmissionConfig.Builder clearAllowlistPaths() The customer allowlist Cloud Storage paths for the cluster. These paths are
used with the --autopilot-privileged-admission flag to authorize
privileged workloads in Autopilot clusters.
Paths can be GKE-owned, in the format
gke://<partner_name>/<app_name>/<allowlist_path>, or customer-owned, in
the format gs://<bucket_name>/<allowlist_path>.
Wildcards (*) are supported to authorize all allowlists under specific
paths or directories. Example: gs://my-bucket/* will authorize all
allowlists under the my-bucket bucket.
repeated string allowlist_paths = 1;
| Returns | |
|---|---|
| Type | Description |
PrivilegedAdmissionConfig.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public PrivilegedAdmissionConfig.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
PrivilegedAdmissionConfig.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
public PrivilegedAdmissionConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
PrivilegedAdmissionConfig.Builder |
|
clone()
public PrivilegedAdmissionConfig.Builder clone()| Returns | |
|---|---|
| Type | Description |
PrivilegedAdmissionConfig.Builder |
|
getAllowlistPaths(int index)
public String getAllowlistPaths(int index) The customer allowlist Cloud Storage paths for the cluster. These paths are
used with the --autopilot-privileged-admission flag to authorize
privileged workloads in Autopilot clusters.
Paths can be GKE-owned, in the format
gke://<partner_name>/<app_name>/<allowlist_path>, or customer-owned, in
the format gs://<bucket_name>/<allowlist_path>.
Wildcards (*) are supported to authorize all allowlists under specific
paths or directories. Example: gs://my-bucket/* will authorize all
allowlists under the my-bucket bucket.
repeated string allowlist_paths = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The allowlistPaths at the given index. |
getAllowlistPathsBytes(int index)
public ByteString getAllowlistPathsBytes(int index) The customer allowlist Cloud Storage paths for the cluster. These paths are
used with the --autopilot-privileged-admission flag to authorize
privileged workloads in Autopilot clusters.
Paths can be GKE-owned, in the format
gke://<partner_name>/<app_name>/<allowlist_path>, or customer-owned, in
the format gs://<bucket_name>/<allowlist_path>.
Wildcards (*) are supported to authorize all allowlists under specific
paths or directories. Example: gs://my-bucket/* will authorize all
allowlists under the my-bucket bucket.
repeated string allowlist_paths = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the allowlistPaths at the given index. |
getAllowlistPathsCount()
public int getAllowlistPathsCount() The customer allowlist Cloud Storage paths for the cluster. These paths are
used with the --autopilot-privileged-admission flag to authorize
privileged workloads in Autopilot clusters.
Paths can be GKE-owned, in the format
gke://<partner_name>/<app_name>/<allowlist_path>, or customer-owned, in
the format gs://<bucket_name>/<allowlist_path>.
Wildcards (*) are supported to authorize all allowlists under specific
paths or directories. Example: gs://my-bucket/* will authorize all
allowlists under the my-bucket bucket.
repeated string allowlist_paths = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The count of allowlistPaths. |
getAllowlistPathsList()
public ProtocolStringList getAllowlistPathsList() The customer allowlist Cloud Storage paths for the cluster. These paths are
used with the --autopilot-privileged-admission flag to authorize
privileged workloads in Autopilot clusters.
Paths can be GKE-owned, in the format
gke://<partner_name>/<app_name>/<allowlist_path>, or customer-owned, in
the format gs://<bucket_name>/<allowlist_path>.
Wildcards (*) are supported to authorize all allowlists under specific
paths or directories. Example: gs://my-bucket/* will authorize all
allowlists under the my-bucket bucket.
repeated string allowlist_paths = 1;
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the allowlistPaths. |
getDefaultInstanceForType()
public PrivilegedAdmissionConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
PrivilegedAdmissionConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(PrivilegedAdmissionConfig other)
public PrivilegedAdmissionConfig.Builder mergeFrom(PrivilegedAdmissionConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
PrivilegedAdmissionConfig |
| Returns | |
|---|---|
| Type | Description |
PrivilegedAdmissionConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PrivilegedAdmissionConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PrivilegedAdmissionConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public PrivilegedAdmissionConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
PrivilegedAdmissionConfig.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PrivilegedAdmissionConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
PrivilegedAdmissionConfig.Builder |
|
setAllowlistPaths(int index, String value)
public PrivilegedAdmissionConfig.Builder setAllowlistPaths(int index, String value) The customer allowlist Cloud Storage paths for the cluster. These paths are
used with the --autopilot-privileged-admission flag to authorize
privileged workloads in Autopilot clusters.
Paths can be GKE-owned, in the format
gke://<partner_name>/<app_name>/<allowlist_path>, or customer-owned, in
the format gs://<bucket_name>/<allowlist_path>.
Wildcards (*) are supported to authorize all allowlists under specific
paths or directories. Example: gs://my-bucket/* will authorize all
allowlists under the my-bucket bucket.
repeated string allowlist_paths = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe allowlistPaths to set. |
| Returns | |
|---|---|
| Type | Description |
PrivilegedAdmissionConfig.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public PrivilegedAdmissionConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
PrivilegedAdmissionConfig.Builder |
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PrivilegedAdmissionConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
PrivilegedAdmissionConfig.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final PrivilegedAdmissionConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
PrivilegedAdmissionConfig.Builder |
|