Class SecurityPolicyRuleMatcherConfig (1.57.0)

public final class SecurityPolicyRuleMatcherConfig extends GeneratedMessageV3 implements SecurityPolicyRuleMatcherConfigOrBuilder

Protobuf type google.cloud.compute.v1.SecurityPolicyRuleMatcherConfig

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > SecurityPolicyRuleMatcherConfig

Static Fields

SRC_IP_RANGES_FIELD_NUMBER

public static final int SRC_IP_RANGES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SecurityPolicyRuleMatcherConfig getDefaultInstance()
Returns
Type Description
SecurityPolicyRuleMatcherConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static SecurityPolicyRuleMatcherConfig.Builder newBuilder()
Returns
Type Description
SecurityPolicyRuleMatcherConfig.Builder

newBuilder(SecurityPolicyRuleMatcherConfig prototype)

public static SecurityPolicyRuleMatcherConfig.Builder newBuilder(SecurityPolicyRuleMatcherConfig prototype)
Parameter
Name Description
prototype SecurityPolicyRuleMatcherConfig
Returns
Type Description
SecurityPolicyRuleMatcherConfig.Builder

parseDelimitedFrom(InputStream input)

public static SecurityPolicyRuleMatcherConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SecurityPolicyRuleMatcherConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SecurityPolicyRuleMatcherConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SecurityPolicyRuleMatcherConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static SecurityPolicyRuleMatcherConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
SecurityPolicyRuleMatcherConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SecurityPolicyRuleMatcherConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SecurityPolicyRuleMatcherConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SecurityPolicyRuleMatcherConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
SecurityPolicyRuleMatcherConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SecurityPolicyRuleMatcherConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SecurityPolicyRuleMatcherConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SecurityPolicyRuleMatcherConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SecurityPolicyRuleMatcherConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SecurityPolicyRuleMatcherConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SecurityPolicyRuleMatcherConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static SecurityPolicyRuleMatcherConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SecurityPolicyRuleMatcherConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SecurityPolicyRuleMatcherConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SecurityPolicyRuleMatcherConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static SecurityPolicyRuleMatcherConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SecurityPolicyRuleMatcherConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SecurityPolicyRuleMatcherConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SecurityPolicyRuleMatcherConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<SecurityPolicyRuleMatcherConfig> parser()
Returns
Type Description
Parser<SecurityPolicyRuleMatcherConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public SecurityPolicyRuleMatcherConfig getDefaultInstanceForType()
Returns
Type Description
SecurityPolicyRuleMatcherConfig

getParserForType()

public Parser<SecurityPolicyRuleMatcherConfig> getParserForType()
Returns
Type Description
Parser<SecurityPolicyRuleMatcherConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSrcIpRanges(int index)

public String getSrcIpRanges(int index)

CIDR IP address range. Maximum number of src_ip_ranges allowed is 10.

repeated string src_ip_ranges = 432128083;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The srcIpRanges at the given index.

getSrcIpRangesBytes(int index)

public ByteString getSrcIpRangesBytes(int index)

CIDR IP address range. Maximum number of src_ip_ranges allowed is 10.

repeated string src_ip_ranges = 432128083;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the srcIpRanges at the given index.

getSrcIpRangesCount()

public int getSrcIpRangesCount()

CIDR IP address range. Maximum number of src_ip_ranges allowed is 10.

repeated string src_ip_ranges = 432128083;

Returns
Type Description
int

The count of srcIpRanges.

getSrcIpRangesList()

public ProtocolStringList getSrcIpRangesList()

CIDR IP address range. Maximum number of src_ip_ranges allowed is 10.

repeated string src_ip_ranges = 432128083;

Returns
Type Description
ProtocolStringList

A list containing the srcIpRanges.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public SecurityPolicyRuleMatcherConfig.Builder newBuilderForType()
Returns
Type Description
SecurityPolicyRuleMatcherConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SecurityPolicyRuleMatcherConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SecurityPolicyRuleMatcherConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public SecurityPolicyRuleMatcherConfig.Builder toBuilder()
Returns
Type Description
SecurityPolicyRuleMatcherConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException