Interface GkeNetworkPolicyInfoOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
GkeNetworkPolicyInfo, GkeNetworkPolicyInfo.Builder

@Generated public interface GkeNetworkPolicyInfoOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Possible values: ALLOW, DENY
    com.google.protobuf.ByteString
    Possible values: ALLOW, DENY
    Possible values: INGRESS, EGRESS
    com.google.protobuf.ByteString
    Possible values: INGRESS, EGRESS
    The name of the Network Policy.
    com.google.protobuf.ByteString
    The name of the Network Policy.
    The URI of the Network Policy.
    com.google.protobuf.ByteString
    The URI of the Network Policy.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getDisplayName

      String getDisplayName()
       The name of the Network Policy.
       
      string display_name = 1;
      Returns:
      The displayName.
    • getDisplayNameBytes

      com.google.protobuf.ByteString getDisplayNameBytes()
       The name of the Network Policy.
       
      string display_name = 1;
      Returns:
      The bytes for displayName.
    • getUri

      String getUri()
       The URI of the Network Policy.
       Format for a Network Policy in a zonal cluster:
       `projects/<project_id>/zones/<zone>/clusters/<cluster>/k8s/namespaces/<namespace>/networking.k8s.io/networkpolicies/<networkpolicy>`
       Format for a Network Policy in a regional cluster:
       `projects/<project_id>/locations/<location>/clusters/<cluster>/k8s/namespaces/<namespace>/networking.k8s.io/networkpolicies/<networkpolicy>`
       
      string uri = 2;
      Returns:
      The uri.
    • getUriBytes

      com.google.protobuf.ByteString getUriBytes()
       The URI of the Network Policy.
       Format for a Network Policy in a zonal cluster:
       `projects/<project_id>/zones/<zone>/clusters/<cluster>/k8s/namespaces/<namespace>/networking.k8s.io/networkpolicies/<networkpolicy>`
       Format for a Network Policy in a regional cluster:
       `projects/<project_id>/locations/<location>/clusters/<cluster>/k8s/namespaces/<namespace>/networking.k8s.io/networkpolicies/<networkpolicy>`
       
      string uri = 2;
      Returns:
      The bytes for uri.
    • getDirection

      String getDirection()
       Possible values: INGRESS, EGRESS
       
      string direction = 3;
      Returns:
      The direction.
    • getDirectionBytes

      com.google.protobuf.ByteString getDirectionBytes()
       Possible values: INGRESS, EGRESS
       
      string direction = 3;
      Returns:
      The bytes for direction.
    • getAction

      String getAction()
       Possible values: ALLOW, DENY
       
      string action = 4;
      Returns:
      The action.
    • getActionBytes

      com.google.protobuf.ByteString getActionBytes()
       Possible values: ALLOW, DENY
       
      string action = 4;
      Returns:
      The bytes for action.