Class AuthzPolicy.AuthzRule.To.Builder

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

public static final class AuthzPolicy.AuthzRule.To.Builder extends com.google.protobuf.GeneratedMessage.Builder<AuthzPolicy.AuthzRule.To.Builder> implements AuthzPolicy.AuthzRule.ToOrBuilder
 Describes properties of one or more targets of a request.
 
Protobuf type google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To
  • 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.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.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.Builder>
    • getDefaultInstanceForType

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

      public AuthzPolicy.AuthzRule.To build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

      public List<AuthzPolicy.AuthzRule.To.RequestOperation> getOperationsList()
       Optional. Describes properties of one or more targets of a request. At
       least one of operations or notOperations must be specified. Limited to
       1 operation. A match occurs when ANY operation (in operations or
       notOperations) matches. Within an operation, the match follows AND
       semantics across fields and OR semantics within a field, i.e. a match
       occurs when ANY path matches AND ANY header matches and ANY method
       matches.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation operations = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getOperationsList in interface AuthzPolicy.AuthzRule.ToOrBuilder
    • getOperationsCount

      public int getOperationsCount()
       Optional. Describes properties of one or more targets of a request. At
       least one of operations or notOperations must be specified. Limited to
       1 operation. A match occurs when ANY operation (in operations or
       notOperations) matches. Within an operation, the match follows AND
       semantics across fields and OR semantics within a field, i.e. a match
       occurs when ANY path matches AND ANY header matches and ANY method
       matches.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation operations = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getOperationsCount in interface AuthzPolicy.AuthzRule.ToOrBuilder
    • getOperations

      public AuthzPolicy.AuthzRule.To.RequestOperation getOperations(int index)
       Optional. Describes properties of one or more targets of a request. At
       least one of operations or notOperations must be specified. Limited to
       1 operation. A match occurs when ANY operation (in operations or
       notOperations) matches. Within an operation, the match follows AND
       semantics across fields and OR semantics within a field, i.e. a match
       occurs when ANY path matches AND ANY header matches and ANY method
       matches.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation operations = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getOperations in interface AuthzPolicy.AuthzRule.ToOrBuilder
    • setOperations

       Optional. Describes properties of one or more targets of a request. At
       least one of operations or notOperations must be specified. Limited to
       1 operation. A match occurs when ANY operation (in operations or
       notOperations) matches. Within an operation, the match follows AND
       semantics across fields and OR semantics within a field, i.e. a match
       occurs when ANY path matches AND ANY header matches and ANY method
       matches.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation operations = 1 [(.google.api.field_behavior) = OPTIONAL];
    • setOperations

      public AuthzPolicy.AuthzRule.To.Builder setOperations(int index, AuthzPolicy.AuthzRule.To.RequestOperation.Builder builderForValue)
       Optional. Describes properties of one or more targets of a request. At
       least one of operations or notOperations must be specified. Limited to
       1 operation. A match occurs when ANY operation (in operations or
       notOperations) matches. Within an operation, the match follows AND
       semantics across fields and OR semantics within a field, i.e. a match
       occurs when ANY path matches AND ANY header matches and ANY method
       matches.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation operations = 1 [(.google.api.field_behavior) = OPTIONAL];
    • addOperations

       Optional. Describes properties of one or more targets of a request. At
       least one of operations or notOperations must be specified. Limited to
       1 operation. A match occurs when ANY operation (in operations or
       notOperations) matches. Within an operation, the match follows AND
       semantics across fields and OR semantics within a field, i.e. a match
       occurs when ANY path matches AND ANY header matches and ANY method
       matches.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation operations = 1 [(.google.api.field_behavior) = OPTIONAL];
    • addOperations

       Optional. Describes properties of one or more targets of a request. At
       least one of operations or notOperations must be specified. Limited to
       1 operation. A match occurs when ANY operation (in operations or
       notOperations) matches. Within an operation, the match follows AND
       semantics across fields and OR semantics within a field, i.e. a match
       occurs when ANY path matches AND ANY header matches and ANY method
       matches.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation operations = 1 [(.google.api.field_behavior) = OPTIONAL];
    • addOperations

       Optional. Describes properties of one or more targets of a request. At
       least one of operations or notOperations must be specified. Limited to
       1 operation. A match occurs when ANY operation (in operations or
       notOperations) matches. Within an operation, the match follows AND
       semantics across fields and OR semantics within a field, i.e. a match
       occurs when ANY path matches AND ANY header matches and ANY method
       matches.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation operations = 1 [(.google.api.field_behavior) = OPTIONAL];
    • addOperations

      public AuthzPolicy.AuthzRule.To.Builder addOperations(int index, AuthzPolicy.AuthzRule.To.RequestOperation.Builder builderForValue)
       Optional. Describes properties of one or more targets of a request. At
       least one of operations or notOperations must be specified. Limited to
       1 operation. A match occurs when ANY operation (in operations or
       notOperations) matches. Within an operation, the match follows AND
       semantics across fields and OR semantics within a field, i.e. a match
       occurs when ANY path matches AND ANY header matches and ANY method
       matches.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation operations = 1 [(.google.api.field_behavior) = OPTIONAL];
    • addAllOperations

       Optional. Describes properties of one or more targets of a request. At
       least one of operations or notOperations must be specified. Limited to
       1 operation. A match occurs when ANY operation (in operations or
       notOperations) matches. Within an operation, the match follows AND
       semantics across fields and OR semantics within a field, i.e. a match
       occurs when ANY path matches AND ANY header matches and ANY method
       matches.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation operations = 1 [(.google.api.field_behavior) = OPTIONAL];
    • clearOperations

      public AuthzPolicy.AuthzRule.To.Builder clearOperations()
       Optional. Describes properties of one or more targets of a request. At
       least one of operations or notOperations must be specified. Limited to
       1 operation. A match occurs when ANY operation (in operations or
       notOperations) matches. Within an operation, the match follows AND
       semantics across fields and OR semantics within a field, i.e. a match
       occurs when ANY path matches AND ANY header matches and ANY method
       matches.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation operations = 1 [(.google.api.field_behavior) = OPTIONAL];
    • removeOperations

      public AuthzPolicy.AuthzRule.To.Builder removeOperations(int index)
       Optional. Describes properties of one or more targets of a request. At
       least one of operations or notOperations must be specified. Limited to
       1 operation. A match occurs when ANY operation (in operations or
       notOperations) matches. Within an operation, the match follows AND
       semantics across fields and OR semantics within a field, i.e. a match
       occurs when ANY path matches AND ANY header matches and ANY method
       matches.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation operations = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getOperationsBuilder

      public AuthzPolicy.AuthzRule.To.RequestOperation.Builder getOperationsBuilder(int index)
       Optional. Describes properties of one or more targets of a request. At
       least one of operations or notOperations must be specified. Limited to
       1 operation. A match occurs when ANY operation (in operations or
       notOperations) matches. Within an operation, the match follows AND
       semantics across fields and OR semantics within a field, i.e. a match
       occurs when ANY path matches AND ANY header matches and ANY method
       matches.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation operations = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getOperationsOrBuilder

      public AuthzPolicy.AuthzRule.To.RequestOperationOrBuilder getOperationsOrBuilder(int index)
       Optional. Describes properties of one or more targets of a request. At
       least one of operations or notOperations must be specified. Limited to
       1 operation. A match occurs when ANY operation (in operations or
       notOperations) matches. Within an operation, the match follows AND
       semantics across fields and OR semantics within a field, i.e. a match
       occurs when ANY path matches AND ANY header matches and ANY method
       matches.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation operations = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getOperationsOrBuilder in interface AuthzPolicy.AuthzRule.ToOrBuilder
    • getOperationsOrBuilderList

      public List<? extends AuthzPolicy.AuthzRule.To.RequestOperationOrBuilder> getOperationsOrBuilderList()
       Optional. Describes properties of one or more targets of a request. At
       least one of operations or notOperations must be specified. Limited to
       1 operation. A match occurs when ANY operation (in operations or
       notOperations) matches. Within an operation, the match follows AND
       semantics across fields and OR semantics within a field, i.e. a match
       occurs when ANY path matches AND ANY header matches and ANY method
       matches.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation operations = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getOperationsOrBuilderList in interface AuthzPolicy.AuthzRule.ToOrBuilder
    • addOperationsBuilder

       Optional. Describes properties of one or more targets of a request. At
       least one of operations or notOperations must be specified. Limited to
       1 operation. A match occurs when ANY operation (in operations or
       notOperations) matches. Within an operation, the match follows AND
       semantics across fields and OR semantics within a field, i.e. a match
       occurs when ANY path matches AND ANY header matches and ANY method
       matches.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation operations = 1 [(.google.api.field_behavior) = OPTIONAL];
    • addOperationsBuilder

      public AuthzPolicy.AuthzRule.To.RequestOperation.Builder addOperationsBuilder(int index)
       Optional. Describes properties of one or more targets of a request. At
       least one of operations or notOperations must be specified. Limited to
       1 operation. A match occurs when ANY operation (in operations or
       notOperations) matches. Within an operation, the match follows AND
       semantics across fields and OR semantics within a field, i.e. a match
       occurs when ANY path matches AND ANY header matches and ANY method
       matches.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation operations = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getOperationsBuilderList

      public List<AuthzPolicy.AuthzRule.To.RequestOperation.Builder> getOperationsBuilderList()
       Optional. Describes properties of one or more targets of a request. At
       least one of operations or notOperations must be specified. Limited to
       1 operation. A match occurs when ANY operation (in operations or
       notOperations) matches. Within an operation, the match follows AND
       semantics across fields and OR semantics within a field, i.e. a match
       occurs when ANY path matches AND ANY header matches and ANY method
       matches.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation operations = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getNotOperationsList

      public List<AuthzPolicy.AuthzRule.To.RequestOperation> getNotOperationsList()
       Optional. Describes the negated properties of the targets of a request.
       Matches requests for operations that do not match the criteria
       specified in this field. At least one of operations or notOperations
       must be specified.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation not_operations = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getNotOperationsList in interface AuthzPolicy.AuthzRule.ToOrBuilder
    • getNotOperationsCount

      public int getNotOperationsCount()
       Optional. Describes the negated properties of the targets of a request.
       Matches requests for operations that do not match the criteria
       specified in this field. At least one of operations or notOperations
       must be specified.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation not_operations = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getNotOperationsCount in interface AuthzPolicy.AuthzRule.ToOrBuilder
    • getNotOperations

      public AuthzPolicy.AuthzRule.To.RequestOperation getNotOperations(int index)
       Optional. Describes the negated properties of the targets of a request.
       Matches requests for operations that do not match the criteria
       specified in this field. At least one of operations or notOperations
       must be specified.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation not_operations = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getNotOperations in interface AuthzPolicy.AuthzRule.ToOrBuilder
    • setNotOperations

       Optional. Describes the negated properties of the targets of a request.
       Matches requests for operations that do not match the criteria
       specified in this field. At least one of operations or notOperations
       must be specified.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation not_operations = 2 [(.google.api.field_behavior) = OPTIONAL];
    • setNotOperations

      public AuthzPolicy.AuthzRule.To.Builder setNotOperations(int index, AuthzPolicy.AuthzRule.To.RequestOperation.Builder builderForValue)
       Optional. Describes the negated properties of the targets of a request.
       Matches requests for operations that do not match the criteria
       specified in this field. At least one of operations or notOperations
       must be specified.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation not_operations = 2 [(.google.api.field_behavior) = OPTIONAL];
    • addNotOperations

       Optional. Describes the negated properties of the targets of a request.
       Matches requests for operations that do not match the criteria
       specified in this field. At least one of operations or notOperations
       must be specified.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation not_operations = 2 [(.google.api.field_behavior) = OPTIONAL];
    • addNotOperations

       Optional. Describes the negated properties of the targets of a request.
       Matches requests for operations that do not match the criteria
       specified in this field. At least one of operations or notOperations
       must be specified.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation not_operations = 2 [(.google.api.field_behavior) = OPTIONAL];
    • addNotOperations

       Optional. Describes the negated properties of the targets of a request.
       Matches requests for operations that do not match the criteria
       specified in this field. At least one of operations or notOperations
       must be specified.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation not_operations = 2 [(.google.api.field_behavior) = OPTIONAL];
    • addNotOperations

      public AuthzPolicy.AuthzRule.To.Builder addNotOperations(int index, AuthzPolicy.AuthzRule.To.RequestOperation.Builder builderForValue)
       Optional. Describes the negated properties of the targets of a request.
       Matches requests for operations that do not match the criteria
       specified in this field. At least one of operations or notOperations
       must be specified.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation not_operations = 2 [(.google.api.field_behavior) = OPTIONAL];
    • addAllNotOperations

       Optional. Describes the negated properties of the targets of a request.
       Matches requests for operations that do not match the criteria
       specified in this field. At least one of operations or notOperations
       must be specified.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation not_operations = 2 [(.google.api.field_behavior) = OPTIONAL];
    • clearNotOperations

      public AuthzPolicy.AuthzRule.To.Builder clearNotOperations()
       Optional. Describes the negated properties of the targets of a request.
       Matches requests for operations that do not match the criteria
       specified in this field. At least one of operations or notOperations
       must be specified.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation not_operations = 2 [(.google.api.field_behavior) = OPTIONAL];
    • removeNotOperations

      public AuthzPolicy.AuthzRule.To.Builder removeNotOperations(int index)
       Optional. Describes the negated properties of the targets of a request.
       Matches requests for operations that do not match the criteria
       specified in this field. At least one of operations or notOperations
       must be specified.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation not_operations = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getNotOperationsBuilder

      public AuthzPolicy.AuthzRule.To.RequestOperation.Builder getNotOperationsBuilder(int index)
       Optional. Describes the negated properties of the targets of a request.
       Matches requests for operations that do not match the criteria
       specified in this field. At least one of operations or notOperations
       must be specified.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation not_operations = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getNotOperationsOrBuilder

      public AuthzPolicy.AuthzRule.To.RequestOperationOrBuilder getNotOperationsOrBuilder(int index)
       Optional. Describes the negated properties of the targets of a request.
       Matches requests for operations that do not match the criteria
       specified in this field. At least one of operations or notOperations
       must be specified.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation not_operations = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getNotOperationsOrBuilder in interface AuthzPolicy.AuthzRule.ToOrBuilder
    • getNotOperationsOrBuilderList

      public List<? extends AuthzPolicy.AuthzRule.To.RequestOperationOrBuilder> getNotOperationsOrBuilderList()
       Optional. Describes the negated properties of the targets of a request.
       Matches requests for operations that do not match the criteria
       specified in this field. At least one of operations or notOperations
       must be specified.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation not_operations = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getNotOperationsOrBuilderList in interface AuthzPolicy.AuthzRule.ToOrBuilder
    • addNotOperationsBuilder

      public AuthzPolicy.AuthzRule.To.RequestOperation.Builder addNotOperationsBuilder()
       Optional. Describes the negated properties of the targets of a request.
       Matches requests for operations that do not match the criteria
       specified in this field. At least one of operations or notOperations
       must be specified.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation not_operations = 2 [(.google.api.field_behavior) = OPTIONAL];
    • addNotOperationsBuilder

      public AuthzPolicy.AuthzRule.To.RequestOperation.Builder addNotOperationsBuilder(int index)
       Optional. Describes the negated properties of the targets of a request.
       Matches requests for operations that do not match the criteria
       specified in this field. At least one of operations or notOperations
       must be specified.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation not_operations = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getNotOperationsBuilderList

      public List<AuthzPolicy.AuthzRule.To.RequestOperation.Builder> getNotOperationsBuilderList()
       Optional. Describes the negated properties of the targets of a request.
       Matches requests for operations that do not match the criteria
       specified in this field. At least one of operations or notOperations
       must be specified.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation not_operations = 2 [(.google.api.field_behavior) = OPTIONAL];