public final class IpRules extends GeneratedMessageV3 implements IpRulesOrBuilder
   
   IP rules associated with the finding.
 Protobuf type google.cloud.securitycenter.v2.IpRules
    Inherited Members
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Fields
  
  ALLOWED_FIELD_NUMBER
  
    public static final int ALLOWED_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  DENIED_FIELD_NUMBER
  
    public static final int DENIED_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  DESTINATION_IP_RANGES_FIELD_NUMBER
  
    public static final int DESTINATION_IP_RANGES_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  DIRECTION_FIELD_NUMBER
  
    public static final int DIRECTION_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  EXPOSED_SERVICES_FIELD_NUMBER
  
    public static final int EXPOSED_SERVICES_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  SOURCE_IP_RANGES_FIELD_NUMBER
  
    public static final int SOURCE_IP_RANGES_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  Static Methods
  
  
  getDefaultInstance()
  
    public static IpRules getDefaultInstance()
   
  
  
  getDescriptor()
  
    public static final Descriptors.Descriptor getDescriptor()
   
  
  
  newBuilder()
  
    public static IpRules.Builder newBuilder()
   
  
  
  newBuilder(IpRules prototype)
  
    public static IpRules.Builder newBuilder(IpRules prototype)
   
  
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | prototype | IpRules
 | 
    
  
  
  
  
  
    public static IpRules parseDelimitedFrom(InputStream input)
   
  
  
  
  
  
  
    public static IpRules parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
   
  
  
  
  
  parseFrom(byte[] data)
  
    public static IpRules parseFrom(byte[] data)
   
  
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | data | byte[]
 | 
    
  
  
  
  
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
  
    public static IpRules parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
   
  
  
  
  
  parseFrom(ByteString data)
  
    public static IpRules parseFrom(ByteString data)
   
  
  
  
  
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
  
    public static IpRules parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
   
  
  
  
  
  
  
    public static IpRules parseFrom(CodedInputStream input)
   
  
  
  
  
  
  
    public static IpRules parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
   
  
  
  
  
  
  
    public static IpRules parseFrom(InputStream input)
   
  
  
  
  
  
  
    public static IpRules parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
   
  
  
  
  
  parseFrom(ByteBuffer data)
  
    public static IpRules parseFrom(ByteBuffer data)
   
  
  
  
  
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
  
    public static IpRules parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
   
  
  
  
  
  parser()
  
    public static Parser<IpRules> parser()
   
  
  Methods
  
  
  equals(Object obj)
  
    public boolean equals(Object obj)
   
  
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | obj | Object
 | 
    
  
  
  Overrides
  
  
  getAllowed()
  
    public Allowed getAllowed()
   
   Tuple with allowed rules.
 .google.cloud.securitycenter.v2.Allowed allowed = 2;
    
      
        | Returns | 
      
        | Type | Description | 
      
        | Allowed | The allowed. | 
    
  
  
  getAllowedOrBuilder()
  
    public AllowedOrBuilder getAllowedOrBuilder()
   
   Tuple with allowed rules.
 .google.cloud.securitycenter.v2.Allowed allowed = 2;
getDefaultInstanceForType()
  
    public IpRules getDefaultInstanceForType()
   
  
  
  getDenied()
  
    public Denied getDenied()
   
   Tuple with denied rules.
 .google.cloud.securitycenter.v2.Denied denied = 3;
    
      
        | Returns | 
      
        | Type | Description | 
      
        | Denied | The denied. | 
    
  
  
  getDeniedOrBuilder()
  
    public DeniedOrBuilder getDeniedOrBuilder()
   
   Tuple with denied rules.
 .google.cloud.securitycenter.v2.Denied denied = 3;
getDestinationIpRanges(int index)
  
    public String getDestinationIpRanges(int index)
   
   If destination IP ranges are specified, the firewall rule applies only to
 traffic that has a destination IP address in these ranges. These ranges
 must be expressed in CIDR format. Only supports IPv4.
 repeated string destination_ip_ranges = 5;
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | index | int
 The index of the element to return. | 
    
  
  
    
      
        | Returns | 
      
        | Type | Description | 
      
        | String | The destinationIpRanges at the given index. | 
    
  
  
  getDestinationIpRangesBytes(int index)
  
    public ByteString getDestinationIpRangesBytes(int index)
   
   If destination IP ranges are specified, the firewall rule applies only to
 traffic that has a destination IP address in these ranges. These ranges
 must be expressed in CIDR format. Only supports IPv4.
 repeated string destination_ip_ranges = 5;
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | index | int
 The index of the value to return. | 
    
  
  
    
      
        | Returns | 
      
        | Type | Description | 
      
        | ByteString | The bytes of the destinationIpRanges at the given index. | 
    
  
  
  getDestinationIpRangesCount()
  
    public int getDestinationIpRangesCount()
   
   If destination IP ranges are specified, the firewall rule applies only to
 traffic that has a destination IP address in these ranges. These ranges
 must be expressed in CIDR format. Only supports IPv4.
 repeated string destination_ip_ranges = 5;
    
      
        | Returns | 
      
        | Type | Description | 
      
        | int | The count of destinationIpRanges. | 
    
  
  
  getDestinationIpRangesList()
  
    public ProtocolStringList getDestinationIpRangesList()
   
   If destination IP ranges are specified, the firewall rule applies only to
 traffic that has a destination IP address in these ranges. These ranges
 must be expressed in CIDR format. Only supports IPv4.
 repeated string destination_ip_ranges = 5;
getDirection()
  
    public IpRules.Direction getDirection()
   
   The direction that the rule is applicable to, one of ingress or egress.
 .google.cloud.securitycenter.v2.IpRules.Direction direction = 1;
getDirectionValue()
  
    public int getDirectionValue()
   
   The direction that the rule is applicable to, one of ingress or egress.
 .google.cloud.securitycenter.v2.IpRules.Direction direction = 1;
    
      
        | Returns | 
      
        | Type | Description | 
      
        | int | The enum numeric value on the wire for direction. | 
    
  
  
  getExposedServices(int index)
  
    public String getExposedServices(int index)
   
  
  
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | index | int
 The index of the element to return. | 
    
  
  
    
      
        | Returns | 
      
        | Type | Description | 
      
        | String | The exposedServices at the given index. | 
    
  
  
  getExposedServicesBytes(int index)
  
    public ByteString getExposedServicesBytes(int index)
   
  
  
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | index | int
 The index of the value to return. | 
    
  
  
    
      
        | Returns | 
      
        | Type | Description | 
      
        | ByteString | The bytes of the exposedServices at the given index. | 
    
  
  
  getExposedServicesCount()
  
    public int getExposedServicesCount()
   
  
  
    
      
        | Returns | 
      
        | Type | Description | 
      
        | int | The count of exposedServices. | 
    
  
  
  getExposedServicesList()
  
    public ProtocolStringList getExposedServicesList()
   
  
  
  
  getParserForType()
  
    public Parser<IpRules> getParserForType()
   
  
  Overrides
  
  
  getRulesCase()
  
    public IpRules.RulesCase getRulesCase()
   
  
  
  getSerializedSize()
  
    public int getSerializedSize()
   
  
    
      
        | Returns | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  Overrides
  
  
  getSourceIpRanges(int index)
  
    public String getSourceIpRanges(int index)
   
   If source IP ranges are specified, the firewall rule applies only to
 traffic that has a source IP address in these ranges. These ranges must be
 expressed in CIDR format. Only supports IPv4.
 repeated string source_ip_ranges = 4;
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | index | int
 The index of the element to return. | 
    
  
  
    
      
        | Returns | 
      
        | Type | Description | 
      
        | String | The sourceIpRanges at the given index. | 
    
  
  
  getSourceIpRangesBytes(int index)
  
    public ByteString getSourceIpRangesBytes(int index)
   
   If source IP ranges are specified, the firewall rule applies only to
 traffic that has a source IP address in these ranges. These ranges must be
 expressed in CIDR format. Only supports IPv4.
 repeated string source_ip_ranges = 4;
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | index | int
 The index of the value to return. | 
    
  
  
    
      
        | Returns | 
      
        | Type | Description | 
      
        | ByteString | The bytes of the sourceIpRanges at the given index. | 
    
  
  
  getSourceIpRangesCount()
  
    public int getSourceIpRangesCount()
   
   If source IP ranges are specified, the firewall rule applies only to
 traffic that has a source IP address in these ranges. These ranges must be
 expressed in CIDR format. Only supports IPv4.
 repeated string source_ip_ranges = 4;
    
      
        | Returns | 
      
        | Type | Description | 
      
        | int | The count of sourceIpRanges. | 
    
  
  
  getSourceIpRangesList()
  
    public ProtocolStringList getSourceIpRangesList()
   
   If source IP ranges are specified, the firewall rule applies only to
 traffic that has a source IP address in these ranges. These ranges must be
 expressed in CIDR format. Only supports IPv4.
 repeated string source_ip_ranges = 4;
hasAllowed()
  
    public boolean hasAllowed()
   
   Tuple with allowed rules.
 .google.cloud.securitycenter.v2.Allowed allowed = 2;
    
      
        | Returns | 
      
        | Type | Description | 
      
        | boolean | Whether the allowed field is set. | 
    
  
  
  hasDenied()
  
    public boolean hasDenied()
   
   Tuple with denied rules.
 .google.cloud.securitycenter.v2.Denied denied = 3;
    
      
        | Returns | 
      
        | Type | Description | 
      
        | boolean | Whether the denied field is set. | 
    
  
  
  hashCode()
  
  
    
      
        | Returns | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  Overrides
  
  
  internalGetFieldAccessorTable()
  
    protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
   
  
  Overrides
  
  
  isInitialized()
  
    public final boolean isInitialized()
   
  
  Overrides
  
  
  newBuilderForType()
  
    public IpRules.Builder newBuilderForType()
   
  
  
  newBuilderForType(GeneratedMessageV3.BuilderParent parent)
  
    protected IpRules.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
   
  
  
  Overrides
  
  
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
  
    protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
   
  
  
    
      
        | Returns | 
      
        | Type | Description | 
      
        | Object |  | 
    
  
  Overrides
  
  
  toBuilder()
  
    public IpRules.Builder toBuilder()
   
  
  
  writeTo(CodedOutputStream output)
  
    public void writeTo(CodedOutputStream output)
   
  
  Overrides