Interface Egress.EgressPolicySpecOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Egress.EgressPolicySpec, Egress.EgressPolicySpec.Builder
Enclosing class:
Egress

public static interface Egress.EgressPolicySpecOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getModeValue

      int getModeValue()
      .namespace.cloud.network.v1beta.EgressPolicySpec.Mode mode = 2;
      Returns:
      The enum numeric value on the wire for mode.
    • getMode

      .namespace.cloud.network.v1beta.EgressPolicySpec.Mode mode = 2;
      Returns:
      The mode.
    • getDeepPacketInspection

      boolean getDeepPacketInspection()
       Enables HTTP and HTTPS interception for PROXY and INJECT rules.
       
      bool deep_packet_inspection = 3;
      Returns:
      The deepPacketInspection.
    • getRulesList

       Rules applied in order to outbound connections.
       
      repeated .namespace.cloud.network.v1beta.EgressPolicySpec.Rule rules = 4;
    • getRules

      Egress.EgressPolicySpec.Rule getRules(int index)
       Rules applied in order to outbound connections.
       
      repeated .namespace.cloud.network.v1beta.EgressPolicySpec.Rule rules = 4;
    • getRulesCount

      int getRulesCount()
       Rules applied in order to outbound connections.
       
      repeated .namespace.cloud.network.v1beta.EgressPolicySpec.Rule rules = 4;
    • getRulesOrBuilderList

      List<? extends Egress.EgressPolicySpec.RuleOrBuilder> getRulesOrBuilderList()
       Rules applied in order to outbound connections.
       
      repeated .namespace.cloud.network.v1beta.EgressPolicySpec.Rule rules = 4;
    • getRulesOrBuilder

      Egress.EgressPolicySpec.RuleOrBuilder getRulesOrBuilder(int index)
       Rules applied in order to outbound connections.
       
      repeated .namespace.cloud.network.v1beta.EgressPolicySpec.Rule rules = 4;
    • getAdditionalRulesetsList

      List<String> getAdditionalRulesetsList()
       Tags of Namespace-managed egress rulesets appended to rules.
       
      repeated string additional_rulesets = 5;
      Returns:
      A list containing the additionalRulesets.
    • getAdditionalRulesetsCount

      int getAdditionalRulesetsCount()
       Tags of Namespace-managed egress rulesets appended to rules.
       
      repeated string additional_rulesets = 5;
      Returns:
      The count of additionalRulesets.
    • getAdditionalRulesets

      String getAdditionalRulesets(int index)
       Tags of Namespace-managed egress rulesets appended to rules.
       
      repeated string additional_rulesets = 5;
      Parameters:
      index - The index of the element to return.
      Returns:
      The additionalRulesets at the given index.
    • getAdditionalRulesetsBytes

      com.google.protobuf.ByteString getAdditionalRulesetsBytes(int index)
       Tags of Namespace-managed egress rulesets appended to rules.
       
      repeated string additional_rulesets = 5;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the additionalRulesets at the given index.
    • getAllowedEgressDomainsList

      @Deprecated List<String> getAllowedEgressDomainsList()
      Deprecated.
      namespace.cloud.network.v1beta.EgressPolicySpec.allowed_egress_domains is deprecated. See proto/namespace/cloud/network/v1beta/egress.proto;l=104
       Deprecated. Only supported in inline egress policies during instance
       creation. Use `ALLOW` rules instead.
       
      repeated string allowed_egress_domains = 1 [deprecated = true];
      Returns:
      A list containing the allowedEgressDomains.
    • getAllowedEgressDomainsCount

      @Deprecated int getAllowedEgressDomainsCount()
      Deprecated.
      namespace.cloud.network.v1beta.EgressPolicySpec.allowed_egress_domains is deprecated. See proto/namespace/cloud/network/v1beta/egress.proto;l=104
       Deprecated. Only supported in inline egress policies during instance
       creation. Use `ALLOW` rules instead.
       
      repeated string allowed_egress_domains = 1 [deprecated = true];
      Returns:
      The count of allowedEgressDomains.
    • getAllowedEgressDomains

      @Deprecated String getAllowedEgressDomains(int index)
      Deprecated.
      namespace.cloud.network.v1beta.EgressPolicySpec.allowed_egress_domains is deprecated. See proto/namespace/cloud/network/v1beta/egress.proto;l=104
       Deprecated. Only supported in inline egress policies during instance
       creation. Use `ALLOW` rules instead.
       
      repeated string allowed_egress_domains = 1 [deprecated = true];
      Parameters:
      index - The index of the element to return.
      Returns:
      The allowedEgressDomains at the given index.
    • getAllowedEgressDomainsBytes

      @Deprecated com.google.protobuf.ByteString getAllowedEgressDomainsBytes(int index)
      Deprecated.
      namespace.cloud.network.v1beta.EgressPolicySpec.allowed_egress_domains is deprecated. See proto/namespace/cloud/network/v1beta/egress.proto;l=104
       Deprecated. Only supported in inline egress policies during instance
       creation. Use `ALLOW` rules instead.
       
      repeated string allowed_egress_domains = 1 [deprecated = true];
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the allowedEgressDomains at the given index.