Interface AuthzPolicy.AuthzRuleOrBuilder

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

public static interface AuthzPolicy.AuthzRuleOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasFrom

      boolean hasFrom()
       Optional. Describes properties of a source of a request.
       
      .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From from = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the from field is set.
    • getFrom

       Optional. Describes properties of a source of a request.
       
      .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From from = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The from.
    • getFromOrBuilder

       Optional. Describes properties of a source of a request.
       
      .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From from = 1 [(.google.api.field_behavior) = OPTIONAL];
    • hasTo

      boolean hasTo()
       Optional. Describes properties of a target of a request.
       
      .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To to = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the to field is set.
    • getTo

       Optional. Describes properties of a target of a request.
       
      .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To to = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The to.
    • getToOrBuilder

       Optional. Describes properties of a target of a request.
       
      .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To to = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getWhen

      String getWhen()
       Optional. CEL expression that describes the conditions to be satisfied
       for the action. The result of the CEL expression is ANDed with the from
       and to. Refer to the CEL language reference for a list of available
       attributes.
       
      string when = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The when.
    • getWhenBytes

      com.google.protobuf.ByteString getWhenBytes()
       Optional. CEL expression that describes the conditions to be satisfied
       for the action. The result of the CEL expression is ANDed with the from
       and to. Refer to the CEL language reference for a list of available
       attributes.
       
      string when = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for when.