Class AuthzPolicy.AuthzRule.To.RequestOperation.HeaderSet.Builder

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

public static final class AuthzPolicy.AuthzRule.To.RequestOperation.HeaderSet.Builder extends com.google.protobuf.GeneratedMessage.Builder<AuthzPolicy.AuthzRule.To.RequestOperation.HeaderSet.Builder> implements AuthzPolicy.AuthzRule.To.RequestOperation.HeaderSetOrBuilder
 Describes a set of HTTP headers to match against.
 
Protobuf type google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation.HeaderSet
  • 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.To.RequestOperation.HeaderSet.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.To.RequestOperation.HeaderSet.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.To.RequestOperation.HeaderSet.Builder>
    • getDefaultInstanceForType

      public AuthzPolicy.AuthzRule.To.RequestOperation.HeaderSet 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.To.RequestOperation.HeaderSet.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.To.RequestOperation.HeaderSet.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.To.RequestOperation.HeaderSet.Builder>
    • mergeFrom

      public AuthzPolicy.AuthzRule.To.RequestOperation.HeaderSet.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.To.RequestOperation.HeaderSet.Builder>
      Throws:
      IOException
    • getHeadersList

      public List<AuthzPolicy.AuthzRule.HeaderMatch> getHeadersList()
       Required. A list of headers to match against in http header.
       The match can be one of exact, prefix, suffix, or contains
       (substring match). The match follows AND semantics which means all
       the headers must match. Matches are always case sensitive unless
       the ignoreCase is set. Limited to 10 headers per Authorization
       Policy.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.HeaderMatch headers = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getHeadersList in interface AuthzPolicy.AuthzRule.To.RequestOperation.HeaderSetOrBuilder
    • getHeadersCount

      public int getHeadersCount()
       Required. A list of headers to match against in http header.
       The match can be one of exact, prefix, suffix, or contains
       (substring match). The match follows AND semantics which means all
       the headers must match. Matches are always case sensitive unless
       the ignoreCase is set. Limited to 10 headers per Authorization
       Policy.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.HeaderMatch headers = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getHeadersCount in interface AuthzPolicy.AuthzRule.To.RequestOperation.HeaderSetOrBuilder
    • getHeaders

      public AuthzPolicy.AuthzRule.HeaderMatch getHeaders(int index)
       Required. A list of headers to match against in http header.
       The match can be one of exact, prefix, suffix, or contains
       (substring match). The match follows AND semantics which means all
       the headers must match. Matches are always case sensitive unless
       the ignoreCase is set. Limited to 10 headers per Authorization
       Policy.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.HeaderMatch headers = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getHeaders in interface AuthzPolicy.AuthzRule.To.RequestOperation.HeaderSetOrBuilder
    • setHeaders

       Required. A list of headers to match against in http header.
       The match can be one of exact, prefix, suffix, or contains
       (substring match). The match follows AND semantics which means all
       the headers must match. Matches are always case sensitive unless
       the ignoreCase is set. Limited to 10 headers per Authorization
       Policy.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.HeaderMatch headers = 1 [(.google.api.field_behavior) = REQUIRED];
    • setHeaders

       Required. A list of headers to match against in http header.
       The match can be one of exact, prefix, suffix, or contains
       (substring match). The match follows AND semantics which means all
       the headers must match. Matches are always case sensitive unless
       the ignoreCase is set. Limited to 10 headers per Authorization
       Policy.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.HeaderMatch headers = 1 [(.google.api.field_behavior) = REQUIRED];
    • addHeaders

       Required. A list of headers to match against in http header.
       The match can be one of exact, prefix, suffix, or contains
       (substring match). The match follows AND semantics which means all
       the headers must match. Matches are always case sensitive unless
       the ignoreCase is set. Limited to 10 headers per Authorization
       Policy.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.HeaderMatch headers = 1 [(.google.api.field_behavior) = REQUIRED];
    • addHeaders

       Required. A list of headers to match against in http header.
       The match can be one of exact, prefix, suffix, or contains
       (substring match). The match follows AND semantics which means all
       the headers must match. Matches are always case sensitive unless
       the ignoreCase is set. Limited to 10 headers per Authorization
       Policy.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.HeaderMatch headers = 1 [(.google.api.field_behavior) = REQUIRED];
    • addHeaders

       Required. A list of headers to match against in http header.
       The match can be one of exact, prefix, suffix, or contains
       (substring match). The match follows AND semantics which means all
       the headers must match. Matches are always case sensitive unless
       the ignoreCase is set. Limited to 10 headers per Authorization
       Policy.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.HeaderMatch headers = 1 [(.google.api.field_behavior) = REQUIRED];
    • addHeaders

       Required. A list of headers to match against in http header.
       The match can be one of exact, prefix, suffix, or contains
       (substring match). The match follows AND semantics which means all
       the headers must match. Matches are always case sensitive unless
       the ignoreCase is set. Limited to 10 headers per Authorization
       Policy.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.HeaderMatch headers = 1 [(.google.api.field_behavior) = REQUIRED];
    • addAllHeaders

       Required. A list of headers to match against in http header.
       The match can be one of exact, prefix, suffix, or contains
       (substring match). The match follows AND semantics which means all
       the headers must match. Matches are always case sensitive unless
       the ignoreCase is set. Limited to 10 headers per Authorization
       Policy.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.HeaderMatch headers = 1 [(.google.api.field_behavior) = REQUIRED];
    • clearHeaders

       Required. A list of headers to match against in http header.
       The match can be one of exact, prefix, suffix, or contains
       (substring match). The match follows AND semantics which means all
       the headers must match. Matches are always case sensitive unless
       the ignoreCase is set. Limited to 10 headers per Authorization
       Policy.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.HeaderMatch headers = 1 [(.google.api.field_behavior) = REQUIRED];
    • removeHeaders

       Required. A list of headers to match against in http header.
       The match can be one of exact, prefix, suffix, or contains
       (substring match). The match follows AND semantics which means all
       the headers must match. Matches are always case sensitive unless
       the ignoreCase is set. Limited to 10 headers per Authorization
       Policy.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.HeaderMatch headers = 1 [(.google.api.field_behavior) = REQUIRED];
    • getHeadersBuilder

      public AuthzPolicy.AuthzRule.HeaderMatch.Builder getHeadersBuilder(int index)
       Required. A list of headers to match against in http header.
       The match can be one of exact, prefix, suffix, or contains
       (substring match). The match follows AND semantics which means all
       the headers must match. Matches are always case sensitive unless
       the ignoreCase is set. Limited to 10 headers per Authorization
       Policy.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.HeaderMatch headers = 1 [(.google.api.field_behavior) = REQUIRED];
    • getHeadersOrBuilder

      public AuthzPolicy.AuthzRule.HeaderMatchOrBuilder getHeadersOrBuilder(int index)
       Required. A list of headers to match against in http header.
       The match can be one of exact, prefix, suffix, or contains
       (substring match). The match follows AND semantics which means all
       the headers must match. Matches are always case sensitive unless
       the ignoreCase is set. Limited to 10 headers per Authorization
       Policy.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.HeaderMatch headers = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getHeadersOrBuilder in interface AuthzPolicy.AuthzRule.To.RequestOperation.HeaderSetOrBuilder
    • getHeadersOrBuilderList

      public List<? extends AuthzPolicy.AuthzRule.HeaderMatchOrBuilder> getHeadersOrBuilderList()
       Required. A list of headers to match against in http header.
       The match can be one of exact, prefix, suffix, or contains
       (substring match). The match follows AND semantics which means all
       the headers must match. Matches are always case sensitive unless
       the ignoreCase is set. Limited to 10 headers per Authorization
       Policy.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.HeaderMatch headers = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getHeadersOrBuilderList in interface AuthzPolicy.AuthzRule.To.RequestOperation.HeaderSetOrBuilder
    • addHeadersBuilder

      public AuthzPolicy.AuthzRule.HeaderMatch.Builder addHeadersBuilder()
       Required. A list of headers to match against in http header.
       The match can be one of exact, prefix, suffix, or contains
       (substring match). The match follows AND semantics which means all
       the headers must match. Matches are always case sensitive unless
       the ignoreCase is set. Limited to 10 headers per Authorization
       Policy.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.HeaderMatch headers = 1 [(.google.api.field_behavior) = REQUIRED];
    • addHeadersBuilder

      public AuthzPolicy.AuthzRule.HeaderMatch.Builder addHeadersBuilder(int index)
       Required. A list of headers to match against in http header.
       The match can be one of exact, prefix, suffix, or contains
       (substring match). The match follows AND semantics which means all
       the headers must match. Matches are always case sensitive unless
       the ignoreCase is set. Limited to 10 headers per Authorization
       Policy.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.HeaderMatch headers = 1 [(.google.api.field_behavior) = REQUIRED];
    • getHeadersBuilderList

      public List<AuthzPolicy.AuthzRule.HeaderMatch.Builder> getHeadersBuilderList()
       Required. A list of headers to match against in http header.
       The match can be one of exact, prefix, suffix, or contains
       (substring match). The match follows AND semantics which means all
       the headers must match. Matches are always case sensitive unless
       the ignoreCase is set. Limited to 10 headers per Authorization
       Policy.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.HeaderMatch headers = 1 [(.google.api.field_behavior) = REQUIRED];