Class AuthzPolicy.AuthzRule.From.RequestSource.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AuthzPolicy.AuthzRule.From.RequestSource.Builder>
com.google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSource.Builder
All Implemented Interfaces:
AuthzPolicy.AuthzRule.From.RequestSourceOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
AuthzPolicy.AuthzRule.From.RequestSource

public static final class AuthzPolicy.AuthzRule.From.RequestSource.Builder extends com.google.protobuf.GeneratedMessage.Builder<AuthzPolicy.AuthzRule.From.RequestSource.Builder> implements AuthzPolicy.AuthzRule.From.RequestSourceOrBuilder
 Describes the properties of a single source.
 
Protobuf type google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSource
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<AuthzPolicy.AuthzRule.From.RequestSource.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<AuthzPolicy.AuthzRule.From.RequestSource.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<AuthzPolicy.AuthzRule.From.RequestSource.Builder>
    • getDefaultInstanceForType

      public AuthzPolicy.AuthzRule.From.RequestSource getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public AuthzPolicy.AuthzRule.From.RequestSource.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AuthzPolicy.AuthzRule.From.RequestSource.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<AuthzPolicy.AuthzRule.From.RequestSource.Builder>
    • mergeFrom

      public AuthzPolicy.AuthzRule.From.RequestSource.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AuthzPolicy.AuthzRule.From.RequestSource.Builder>
      Throws:
      IOException
    • getPrincipalsList

      public List<AuthzPolicy.AuthzRule.Principal> getPrincipalsList()
       Optional. A list of identities derived from the client's certificate.
       This field will not match on a request unless frontend mutual TLS is
       enabled for the forwarding rule or Gateway and the client certificate
       has been successfully validated by mTLS.
       Each identity is a string whose value is matched against a list of
       URI SANs, DNS Name SANs, or the common name in the client's
       certificate. A match happens when any principal matches with the
       rule. Limited to 50 principals per Authorization Policy for regional
       internal Application Load Balancers, regional external Application
       Load Balancers, cross-region internal Application Load Balancers, and
       Cloud Service Mesh. This field is not supported for global external
       Application Load Balancers.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.Principal principals = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPrincipalsList in interface AuthzPolicy.AuthzRule.From.RequestSourceOrBuilder
    • getPrincipalsCount

      public int getPrincipalsCount()
       Optional. A list of identities derived from the client's certificate.
       This field will not match on a request unless frontend mutual TLS is
       enabled for the forwarding rule or Gateway and the client certificate
       has been successfully validated by mTLS.
       Each identity is a string whose value is matched against a list of
       URI SANs, DNS Name SANs, or the common name in the client's
       certificate. A match happens when any principal matches with the
       rule. Limited to 50 principals per Authorization Policy for regional
       internal Application Load Balancers, regional external Application
       Load Balancers, cross-region internal Application Load Balancers, and
       Cloud Service Mesh. This field is not supported for global external
       Application Load Balancers.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.Principal principals = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPrincipalsCount in interface AuthzPolicy.AuthzRule.From.RequestSourceOrBuilder
    • getPrincipals

      public AuthzPolicy.AuthzRule.Principal getPrincipals(int index)
       Optional. A list of identities derived from the client's certificate.
       This field will not match on a request unless frontend mutual TLS is
       enabled for the forwarding rule or Gateway and the client certificate
       has been successfully validated by mTLS.
       Each identity is a string whose value is matched against a list of
       URI SANs, DNS Name SANs, or the common name in the client's
       certificate. A match happens when any principal matches with the
       rule. Limited to 50 principals per Authorization Policy for regional
       internal Application Load Balancers, regional external Application
       Load Balancers, cross-region internal Application Load Balancers, and
       Cloud Service Mesh. This field is not supported for global external
       Application Load Balancers.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.Principal principals = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPrincipals in interface AuthzPolicy.AuthzRule.From.RequestSourceOrBuilder
    • setPrincipals

       Optional. A list of identities derived from the client's certificate.
       This field will not match on a request unless frontend mutual TLS is
       enabled for the forwarding rule or Gateway and the client certificate
       has been successfully validated by mTLS.
       Each identity is a string whose value is matched against a list of
       URI SANs, DNS Name SANs, or the common name in the client's
       certificate. A match happens when any principal matches with the
       rule. Limited to 50 principals per Authorization Policy for regional
       internal Application Load Balancers, regional external Application
       Load Balancers, cross-region internal Application Load Balancers, and
       Cloud Service Mesh. This field is not supported for global external
       Application Load Balancers.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.Principal principals = 1 [(.google.api.field_behavior) = OPTIONAL];
    • setPrincipals

       Optional. A list of identities derived from the client's certificate.
       This field will not match on a request unless frontend mutual TLS is
       enabled for the forwarding rule or Gateway and the client certificate
       has been successfully validated by mTLS.
       Each identity is a string whose value is matched against a list of
       URI SANs, DNS Name SANs, or the common name in the client's
       certificate. A match happens when any principal matches with the
       rule. Limited to 50 principals per Authorization Policy for regional
       internal Application Load Balancers, regional external Application
       Load Balancers, cross-region internal Application Load Balancers, and
       Cloud Service Mesh. This field is not supported for global external
       Application Load Balancers.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.Principal principals = 1 [(.google.api.field_behavior) = OPTIONAL];
    • addPrincipals

       Optional. A list of identities derived from the client's certificate.
       This field will not match on a request unless frontend mutual TLS is
       enabled for the forwarding rule or Gateway and the client certificate
       has been successfully validated by mTLS.
       Each identity is a string whose value is matched against a list of
       URI SANs, DNS Name SANs, or the common name in the client's
       certificate. A match happens when any principal matches with the
       rule. Limited to 50 principals per Authorization Policy for regional
       internal Application Load Balancers, regional external Application
       Load Balancers, cross-region internal Application Load Balancers, and
       Cloud Service Mesh. This field is not supported for global external
       Application Load Balancers.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.Principal principals = 1 [(.google.api.field_behavior) = OPTIONAL];
    • addPrincipals

       Optional. A list of identities derived from the client's certificate.
       This field will not match on a request unless frontend mutual TLS is
       enabled for the forwarding rule or Gateway and the client certificate
       has been successfully validated by mTLS.
       Each identity is a string whose value is matched against a list of
       URI SANs, DNS Name SANs, or the common name in the client's
       certificate. A match happens when any principal matches with the
       rule. Limited to 50 principals per Authorization Policy for regional
       internal Application Load Balancers, regional external Application
       Load Balancers, cross-region internal Application Load Balancers, and
       Cloud Service Mesh. This field is not supported for global external
       Application Load Balancers.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.Principal principals = 1 [(.google.api.field_behavior) = OPTIONAL];
    • addPrincipals

       Optional. A list of identities derived from the client's certificate.
       This field will not match on a request unless frontend mutual TLS is
       enabled for the forwarding rule or Gateway and the client certificate
       has been successfully validated by mTLS.
       Each identity is a string whose value is matched against a list of
       URI SANs, DNS Name SANs, or the common name in the client's
       certificate. A match happens when any principal matches with the
       rule. Limited to 50 principals per Authorization Policy for regional
       internal Application Load Balancers, regional external Application
       Load Balancers, cross-region internal Application Load Balancers, and
       Cloud Service Mesh. This field is not supported for global external
       Application Load Balancers.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.Principal principals = 1 [(.google.api.field_behavior) = OPTIONAL];
    • addPrincipals

       Optional. A list of identities derived from the client's certificate.
       This field will not match on a request unless frontend mutual TLS is
       enabled for the forwarding rule or Gateway and the client certificate
       has been successfully validated by mTLS.
       Each identity is a string whose value is matched against a list of
       URI SANs, DNS Name SANs, or the common name in the client's
       certificate. A match happens when any principal matches with the
       rule. Limited to 50 principals per Authorization Policy for regional
       internal Application Load Balancers, regional external Application
       Load Balancers, cross-region internal Application Load Balancers, and
       Cloud Service Mesh. This field is not supported for global external
       Application Load Balancers.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.Principal principals = 1 [(.google.api.field_behavior) = OPTIONAL];
    • addAllPrincipals

       Optional. A list of identities derived from the client's certificate.
       This field will not match on a request unless frontend mutual TLS is
       enabled for the forwarding rule or Gateway and the client certificate
       has been successfully validated by mTLS.
       Each identity is a string whose value is matched against a list of
       URI SANs, DNS Name SANs, or the common name in the client's
       certificate. A match happens when any principal matches with the
       rule. Limited to 50 principals per Authorization Policy for regional
       internal Application Load Balancers, regional external Application
       Load Balancers, cross-region internal Application Load Balancers, and
       Cloud Service Mesh. This field is not supported for global external
       Application Load Balancers.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.Principal principals = 1 [(.google.api.field_behavior) = OPTIONAL];
    • clearPrincipals

       Optional. A list of identities derived from the client's certificate.
       This field will not match on a request unless frontend mutual TLS is
       enabled for the forwarding rule or Gateway and the client certificate
       has been successfully validated by mTLS.
       Each identity is a string whose value is matched against a list of
       URI SANs, DNS Name SANs, or the common name in the client's
       certificate. A match happens when any principal matches with the
       rule. Limited to 50 principals per Authorization Policy for regional
       internal Application Load Balancers, regional external Application
       Load Balancers, cross-region internal Application Load Balancers, and
       Cloud Service Mesh. This field is not supported for global external
       Application Load Balancers.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.Principal principals = 1 [(.google.api.field_behavior) = OPTIONAL];
    • removePrincipals

      public AuthzPolicy.AuthzRule.From.RequestSource.Builder removePrincipals(int index)
       Optional. A list of identities derived from the client's certificate.
       This field will not match on a request unless frontend mutual TLS is
       enabled for the forwarding rule or Gateway and the client certificate
       has been successfully validated by mTLS.
       Each identity is a string whose value is matched against a list of
       URI SANs, DNS Name SANs, or the common name in the client's
       certificate. A match happens when any principal matches with the
       rule. Limited to 50 principals per Authorization Policy for regional
       internal Application Load Balancers, regional external Application
       Load Balancers, cross-region internal Application Load Balancers, and
       Cloud Service Mesh. This field is not supported for global external
       Application Load Balancers.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.Principal principals = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getPrincipalsBuilder

      public AuthzPolicy.AuthzRule.Principal.Builder getPrincipalsBuilder(int index)
       Optional. A list of identities derived from the client's certificate.
       This field will not match on a request unless frontend mutual TLS is
       enabled for the forwarding rule or Gateway and the client certificate
       has been successfully validated by mTLS.
       Each identity is a string whose value is matched against a list of
       URI SANs, DNS Name SANs, or the common name in the client's
       certificate. A match happens when any principal matches with the
       rule. Limited to 50 principals per Authorization Policy for regional
       internal Application Load Balancers, regional external Application
       Load Balancers, cross-region internal Application Load Balancers, and
       Cloud Service Mesh. This field is not supported for global external
       Application Load Balancers.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.Principal principals = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getPrincipalsOrBuilder

      public AuthzPolicy.AuthzRule.PrincipalOrBuilder getPrincipalsOrBuilder(int index)
       Optional. A list of identities derived from the client's certificate.
       This field will not match on a request unless frontend mutual TLS is
       enabled for the forwarding rule or Gateway and the client certificate
       has been successfully validated by mTLS.
       Each identity is a string whose value is matched against a list of
       URI SANs, DNS Name SANs, or the common name in the client's
       certificate. A match happens when any principal matches with the
       rule. Limited to 50 principals per Authorization Policy for regional
       internal Application Load Balancers, regional external Application
       Load Balancers, cross-region internal Application Load Balancers, and
       Cloud Service Mesh. This field is not supported for global external
       Application Load Balancers.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.Principal principals = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPrincipalsOrBuilder in interface AuthzPolicy.AuthzRule.From.RequestSourceOrBuilder
    • getPrincipalsOrBuilderList

      public List<? extends AuthzPolicy.AuthzRule.PrincipalOrBuilder> getPrincipalsOrBuilderList()
       Optional. A list of identities derived from the client's certificate.
       This field will not match on a request unless frontend mutual TLS is
       enabled for the forwarding rule or Gateway and the client certificate
       has been successfully validated by mTLS.
       Each identity is a string whose value is matched against a list of
       URI SANs, DNS Name SANs, or the common name in the client's
       certificate. A match happens when any principal matches with the
       rule. Limited to 50 principals per Authorization Policy for regional
       internal Application Load Balancers, regional external Application
       Load Balancers, cross-region internal Application Load Balancers, and
       Cloud Service Mesh. This field is not supported for global external
       Application Load Balancers.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.Principal principals = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPrincipalsOrBuilderList in interface AuthzPolicy.AuthzRule.From.RequestSourceOrBuilder
    • addPrincipalsBuilder

      public AuthzPolicy.AuthzRule.Principal.Builder addPrincipalsBuilder()
       Optional. A list of identities derived from the client's certificate.
       This field will not match on a request unless frontend mutual TLS is
       enabled for the forwarding rule or Gateway and the client certificate
       has been successfully validated by mTLS.
       Each identity is a string whose value is matched against a list of
       URI SANs, DNS Name SANs, or the common name in the client's
       certificate. A match happens when any principal matches with the
       rule. Limited to 50 principals per Authorization Policy for regional
       internal Application Load Balancers, regional external Application
       Load Balancers, cross-region internal Application Load Balancers, and
       Cloud Service Mesh. This field is not supported for global external
       Application Load Balancers.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.Principal principals = 1 [(.google.api.field_behavior) = OPTIONAL];
    • addPrincipalsBuilder

      public AuthzPolicy.AuthzRule.Principal.Builder addPrincipalsBuilder(int index)
       Optional. A list of identities derived from the client's certificate.
       This field will not match on a request unless frontend mutual TLS is
       enabled for the forwarding rule or Gateway and the client certificate
       has been successfully validated by mTLS.
       Each identity is a string whose value is matched against a list of
       URI SANs, DNS Name SANs, or the common name in the client's
       certificate. A match happens when any principal matches with the
       rule. Limited to 50 principals per Authorization Policy for regional
       internal Application Load Balancers, regional external Application
       Load Balancers, cross-region internal Application Load Balancers, and
       Cloud Service Mesh. This field is not supported for global external
       Application Load Balancers.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.Principal principals = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getPrincipalsBuilderList

      public List<AuthzPolicy.AuthzRule.Principal.Builder> getPrincipalsBuilderList()
       Optional. A list of identities derived from the client's certificate.
       This field will not match on a request unless frontend mutual TLS is
       enabled for the forwarding rule or Gateway and the client certificate
       has been successfully validated by mTLS.
       Each identity is a string whose value is matched against a list of
       URI SANs, DNS Name SANs, or the common name in the client's
       certificate. A match happens when any principal matches with the
       rule. Limited to 50 principals per Authorization Policy for regional
       internal Application Load Balancers, regional external Application
       Load Balancers, cross-region internal Application Load Balancers, and
       Cloud Service Mesh. This field is not supported for global external
       Application Load Balancers.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.Principal principals = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getIpBlocksList

      public List<AuthzPolicy.AuthzRule.IpBlock> getIpBlocksList()
       Optional. A list of IP addresses or IP address ranges to match
       against the source IP address of the request. Limited to 10 ip_blocks
       per Authorization Policy
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.IpBlock ip_blocks = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getIpBlocksList in interface AuthzPolicy.AuthzRule.From.RequestSourceOrBuilder
    • getIpBlocksCount

      public int getIpBlocksCount()
       Optional. A list of IP addresses or IP address ranges to match
       against the source IP address of the request. Limited to 10 ip_blocks
       per Authorization Policy
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.IpBlock ip_blocks = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getIpBlocksCount in interface AuthzPolicy.AuthzRule.From.RequestSourceOrBuilder
    • getIpBlocks

      public AuthzPolicy.AuthzRule.IpBlock getIpBlocks(int index)
       Optional. A list of IP addresses or IP address ranges to match
       against the source IP address of the request. Limited to 10 ip_blocks
       per Authorization Policy
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.IpBlock ip_blocks = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getIpBlocks in interface AuthzPolicy.AuthzRule.From.RequestSourceOrBuilder
    • setIpBlocks

       Optional. A list of IP addresses or IP address ranges to match
       against the source IP address of the request. Limited to 10 ip_blocks
       per Authorization Policy
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.IpBlock ip_blocks = 2 [(.google.api.field_behavior) = OPTIONAL];
    • setIpBlocks

       Optional. A list of IP addresses or IP address ranges to match
       against the source IP address of the request. Limited to 10 ip_blocks
       per Authorization Policy
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.IpBlock ip_blocks = 2 [(.google.api.field_behavior) = OPTIONAL];
    • addIpBlocks

       Optional. A list of IP addresses or IP address ranges to match
       against the source IP address of the request. Limited to 10 ip_blocks
       per Authorization Policy
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.IpBlock ip_blocks = 2 [(.google.api.field_behavior) = OPTIONAL];
    • addIpBlocks

       Optional. A list of IP addresses or IP address ranges to match
       against the source IP address of the request. Limited to 10 ip_blocks
       per Authorization Policy
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.IpBlock ip_blocks = 2 [(.google.api.field_behavior) = OPTIONAL];
    • addIpBlocks

       Optional. A list of IP addresses or IP address ranges to match
       against the source IP address of the request. Limited to 10 ip_blocks
       per Authorization Policy
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.IpBlock ip_blocks = 2 [(.google.api.field_behavior) = OPTIONAL];
    • addIpBlocks

       Optional. A list of IP addresses or IP address ranges to match
       against the source IP address of the request. Limited to 10 ip_blocks
       per Authorization Policy
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.IpBlock ip_blocks = 2 [(.google.api.field_behavior) = OPTIONAL];
    • addAllIpBlocks

       Optional. A list of IP addresses or IP address ranges to match
       against the source IP address of the request. Limited to 10 ip_blocks
       per Authorization Policy
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.IpBlock ip_blocks = 2 [(.google.api.field_behavior) = OPTIONAL];
    • clearIpBlocks

       Optional. A list of IP addresses or IP address ranges to match
       against the source IP address of the request. Limited to 10 ip_blocks
       per Authorization Policy
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.IpBlock ip_blocks = 2 [(.google.api.field_behavior) = OPTIONAL];
    • removeIpBlocks

      public AuthzPolicy.AuthzRule.From.RequestSource.Builder removeIpBlocks(int index)
       Optional. A list of IP addresses or IP address ranges to match
       against the source IP address of the request. Limited to 10 ip_blocks
       per Authorization Policy
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.IpBlock ip_blocks = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getIpBlocksBuilder

      public AuthzPolicy.AuthzRule.IpBlock.Builder getIpBlocksBuilder(int index)
       Optional. A list of IP addresses or IP address ranges to match
       against the source IP address of the request. Limited to 10 ip_blocks
       per Authorization Policy
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.IpBlock ip_blocks = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getIpBlocksOrBuilder

      public AuthzPolicy.AuthzRule.IpBlockOrBuilder getIpBlocksOrBuilder(int index)
       Optional. A list of IP addresses or IP address ranges to match
       against the source IP address of the request. Limited to 10 ip_blocks
       per Authorization Policy
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.IpBlock ip_blocks = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getIpBlocksOrBuilder in interface AuthzPolicy.AuthzRule.From.RequestSourceOrBuilder
    • getIpBlocksOrBuilderList

      public List<? extends AuthzPolicy.AuthzRule.IpBlockOrBuilder> getIpBlocksOrBuilderList()
       Optional. A list of IP addresses or IP address ranges to match
       against the source IP address of the request. Limited to 10 ip_blocks
       per Authorization Policy
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.IpBlock ip_blocks = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getIpBlocksOrBuilderList in interface AuthzPolicy.AuthzRule.From.RequestSourceOrBuilder
    • addIpBlocksBuilder

      public AuthzPolicy.AuthzRule.IpBlock.Builder addIpBlocksBuilder()
       Optional. A list of IP addresses or IP address ranges to match
       against the source IP address of the request. Limited to 10 ip_blocks
       per Authorization Policy
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.IpBlock ip_blocks = 2 [(.google.api.field_behavior) = OPTIONAL];
    • addIpBlocksBuilder

      public AuthzPolicy.AuthzRule.IpBlock.Builder addIpBlocksBuilder(int index)
       Optional. A list of IP addresses or IP address ranges to match
       against the source IP address of the request. Limited to 10 ip_blocks
       per Authorization Policy
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.IpBlock ip_blocks = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getIpBlocksBuilderList

      public List<AuthzPolicy.AuthzRule.IpBlock.Builder> getIpBlocksBuilderList()
       Optional. A list of IP addresses or IP address ranges to match
       against the source IP address of the request. Limited to 10 ip_blocks
       per Authorization Policy
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.IpBlock ip_blocks = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getResourcesList

      public List<AuthzPolicy.AuthzRule.RequestResource> getResourcesList()
       Optional. A list of resources to match against the resource of the
       source VM of a request. Limited to 10 resources per Authorization
       Policy.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.RequestResource resources = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getResourcesList in interface AuthzPolicy.AuthzRule.From.RequestSourceOrBuilder
    • getResourcesCount

      public int getResourcesCount()
       Optional. A list of resources to match against the resource of the
       source VM of a request. Limited to 10 resources per Authorization
       Policy.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.RequestResource resources = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getResourcesCount in interface AuthzPolicy.AuthzRule.From.RequestSourceOrBuilder
    • getResources

      public AuthzPolicy.AuthzRule.RequestResource getResources(int index)
       Optional. A list of resources to match against the resource of the
       source VM of a request. Limited to 10 resources per Authorization
       Policy.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.RequestResource resources = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getResources in interface AuthzPolicy.AuthzRule.From.RequestSourceOrBuilder
    • setResources

       Optional. A list of resources to match against the resource of the
       source VM of a request. Limited to 10 resources per Authorization
       Policy.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.RequestResource resources = 3 [(.google.api.field_behavior) = OPTIONAL];
    • setResources

       Optional. A list of resources to match against the resource of the
       source VM of a request. Limited to 10 resources per Authorization
       Policy.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.RequestResource resources = 3 [(.google.api.field_behavior) = OPTIONAL];
    • addResources

       Optional. A list of resources to match against the resource of the
       source VM of a request. Limited to 10 resources per Authorization
       Policy.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.RequestResource resources = 3 [(.google.api.field_behavior) = OPTIONAL];
    • addResources

       Optional. A list of resources to match against the resource of the
       source VM of a request. Limited to 10 resources per Authorization
       Policy.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.RequestResource resources = 3 [(.google.api.field_behavior) = OPTIONAL];
    • addResources

       Optional. A list of resources to match against the resource of the
       source VM of a request. Limited to 10 resources per Authorization
       Policy.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.RequestResource resources = 3 [(.google.api.field_behavior) = OPTIONAL];
    • addResources

       Optional. A list of resources to match against the resource of the
       source VM of a request. Limited to 10 resources per Authorization
       Policy.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.RequestResource resources = 3 [(.google.api.field_behavior) = OPTIONAL];
    • addAllResources

       Optional. A list of resources to match against the resource of the
       source VM of a request. Limited to 10 resources per Authorization
       Policy.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.RequestResource resources = 3 [(.google.api.field_behavior) = OPTIONAL];
    • clearResources

       Optional. A list of resources to match against the resource of the
       source VM of a request. Limited to 10 resources per Authorization
       Policy.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.RequestResource resources = 3 [(.google.api.field_behavior) = OPTIONAL];
    • removeResources

      public AuthzPolicy.AuthzRule.From.RequestSource.Builder removeResources(int index)
       Optional. A list of resources to match against the resource of the
       source VM of a request. Limited to 10 resources per Authorization
       Policy.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.RequestResource resources = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getResourcesBuilder

      public AuthzPolicy.AuthzRule.RequestResource.Builder getResourcesBuilder(int index)
       Optional. A list of resources to match against the resource of the
       source VM of a request. Limited to 10 resources per Authorization
       Policy.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.RequestResource resources = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getResourcesOrBuilder

      public AuthzPolicy.AuthzRule.RequestResourceOrBuilder getResourcesOrBuilder(int index)
       Optional. A list of resources to match against the resource of the
       source VM of a request. Limited to 10 resources per Authorization
       Policy.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.RequestResource resources = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getResourcesOrBuilder in interface AuthzPolicy.AuthzRule.From.RequestSourceOrBuilder
    • getResourcesOrBuilderList

      public List<? extends AuthzPolicy.AuthzRule.RequestResourceOrBuilder> getResourcesOrBuilderList()
       Optional. A list of resources to match against the resource of the
       source VM of a request. Limited to 10 resources per Authorization
       Policy.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.RequestResource resources = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getResourcesOrBuilderList in interface AuthzPolicy.AuthzRule.From.RequestSourceOrBuilder
    • addResourcesBuilder

      public AuthzPolicy.AuthzRule.RequestResource.Builder addResourcesBuilder()
       Optional. A list of resources to match against the resource of the
       source VM of a request. Limited to 10 resources per Authorization
       Policy.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.RequestResource resources = 3 [(.google.api.field_behavior) = OPTIONAL];
    • addResourcesBuilder

      public AuthzPolicy.AuthzRule.RequestResource.Builder addResourcesBuilder(int index)
       Optional. A list of resources to match against the resource of the
       source VM of a request. Limited to 10 resources per Authorization
       Policy.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.RequestResource resources = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getResourcesBuilderList

      public List<AuthzPolicy.AuthzRule.RequestResource.Builder> getResourcesBuilderList()
       Optional. A list of resources to match against the resource of the
       source VM of a request. Limited to 10 resources per Authorization
       Policy.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.RequestResource resources = 3 [(.google.api.field_behavior) = OPTIONAL];