Package k8s.io.api.networking.v1
Interface Generated.NetworkPolicyOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Generated.NetworkPolicy,Generated.NetworkPolicy.Builder
- Enclosing class:
- Generated
public static interface Generated.NetworkPolicyOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Generated.ObjectMetagetMetadata()Standard object's metadata.Generated.ObjectMetaOrBuildergetMetadataOrBuilder()Standard object's metadata.Generated.NetworkPolicySpecgetSpec()spec represents the specification of the desired behavior for this NetworkPolicy.Generated.NetworkPolicySpecOrBuildergetSpecOrBuilder()spec represents the specification of the desired behavior for this NetworkPolicy.booleanhasMetadata()Standard object's metadata.booleanhasSpec()spec represents the specification of the desired behavior for this NetworkPolicy.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasMetadata
boolean hasMetadata()
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;- Returns:
- Whether the metadata field is set.
-
getMetadata
Generated.ObjectMeta getMetadata()
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;- Returns:
- The metadata.
-
getMetadataOrBuilder
Generated.ObjectMetaOrBuilder getMetadataOrBuilder()
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
-
hasSpec
boolean hasSpec()
spec represents the specification of the desired behavior for this NetworkPolicy. +optional
optional .k8s.io.api.networking.v1.NetworkPolicySpec spec = 2;- Returns:
- Whether the spec field is set.
-
getSpec
Generated.NetworkPolicySpec getSpec()
spec represents the specification of the desired behavior for this NetworkPolicy. +optional
optional .k8s.io.api.networking.v1.NetworkPolicySpec spec = 2;- Returns:
- The spec.
-
getSpecOrBuilder
Generated.NetworkPolicySpecOrBuilder getSpecOrBuilder()
spec represents the specification of the desired behavior for this NetworkPolicy. +optional
optional .k8s.io.api.networking.v1.NetworkPolicySpec spec = 2;
-
-