Class AuthzPolicy.AuthzRule.To

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

public static final class AuthzPolicy.AuthzRule.To extends com.google.protobuf.GeneratedMessage implements AuthzPolicy.AuthzRule.ToOrBuilder
 Describes properties of one or more targets of a request.
 
Protobuf type google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To
See Also:
  • Field Details

    • OPERATIONS_FIELD_NUMBER

      public static final int OPERATIONS_FIELD_NUMBER
      See Also:
    • NOT_OPERATIONS_FIELD_NUMBER

      public static final int NOT_OPERATIONS_FIELD_NUMBER
      See Also:
  • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static AuthzPolicy.AuthzRule.To parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AuthzPolicy.AuthzRule.To parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AuthzPolicy.AuthzRule.To parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AuthzPolicy.AuthzRule.To parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AuthzPolicy.AuthzRule.To parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AuthzPolicy.AuthzRule.To parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AuthzPolicy.AuthzRule.To parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AuthzPolicy.AuthzRule.To parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static AuthzPolicy.AuthzRule.To parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static AuthzPolicy.AuthzRule.To parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AuthzPolicy.AuthzRule.To parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AuthzPolicy.AuthzRule.To parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static AuthzPolicy.AuthzRule.To.Builder newBuilder()
    • newBuilder

      public static AuthzPolicy.AuthzRule.To.Builder newBuilder(AuthzPolicy.AuthzRule.To prototype)
    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected AuthzPolicy.AuthzRule.To.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static AuthzPolicy.AuthzRule.To getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<AuthzPolicy.AuthzRule.To> parser()
    • getParserForType

      public com.google.protobuf.Parser<AuthzPolicy.AuthzRule.To> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

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