Package com.google.container.v1
Interface WorkloadPolicyConfigOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
WorkloadPolicyConfig
,WorkloadPolicyConfig.Builder
public interface WorkloadPolicyConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
getAllowNetAdmin()
If true, workloads can use NET_ADMIN capability.boolean
hasAllowNetAdmin()
If true, workloads can use NET_ADMIN capability.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasAllowNetAdmin
boolean hasAllowNetAdmin()
If true, workloads can use NET_ADMIN capability.
optional bool allow_net_admin = 1;
- Returns:
- Whether the allowNetAdmin field is set.
-
getAllowNetAdmin
boolean getAllowNetAdmin()
If true, workloads can use NET_ADMIN capability.
optional bool allow_net_admin = 1;
- Returns:
- The allowNetAdmin.
-
-