Class SecurityPolicyRuleMatcherConfig (1.41.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static SecurityPolicyRuleMatcherConfig getDefaultInstance()
Returns
TypeDescription
SecurityPolicyRuleMatcherConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static SecurityPolicyRuleMatcherConfig.Builder newBuilder()
Returns
TypeDescription
SecurityPolicyRuleMatcherConfig.Builder

newBuilder(SecurityPolicyRuleMatcherConfig prototype)

public static SecurityPolicyRuleMatcherConfig.Builder newBuilder(SecurityPolicyRuleMatcherConfig prototype)
Parameter
NameDescription
prototypeSecurityPolicyRuleMatcherConfig
Returns
TypeDescription
SecurityPolicyRuleMatcherConfig.Builder

parseDelimitedFrom(InputStream input)

public static SecurityPolicyRuleMatcherConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SecurityPolicyRuleMatcherConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SecurityPolicyRuleMatcherConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SecurityPolicyRuleMatcherConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static SecurityPolicyRuleMatcherConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
SecurityPolicyRuleMatcherConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SecurityPolicyRuleMatcherConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SecurityPolicyRuleMatcherConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SecurityPolicyRuleMatcherConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
SecurityPolicyRuleMatcherConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SecurityPolicyRuleMatcherConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SecurityPolicyRuleMatcherConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SecurityPolicyRuleMatcherConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
SecurityPolicyRuleMatcherConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SecurityPolicyRuleMatcherConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SecurityPolicyRuleMatcherConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static SecurityPolicyRuleMatcherConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SecurityPolicyRuleMatcherConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SecurityPolicyRuleMatcherConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SecurityPolicyRuleMatcherConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static SecurityPolicyRuleMatcherConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
SecurityPolicyRuleMatcherConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SecurityPolicyRuleMatcherConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SecurityPolicyRuleMatcherConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<SecurityPolicyRuleMatcherConfig> parser()
Returns
TypeDescription
Parser<SecurityPolicyRuleMatcherConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public SecurityPolicyRuleMatcherConfig getDefaultInstanceForType()
Returns
TypeDescription
SecurityPolicyRuleMatcherConfig

getParserForType()

public Parser<SecurityPolicyRuleMatcherConfig> getParserForType()
Returns
TypeDescription
Parser<SecurityPolicyRuleMatcherConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the srcIpRanges.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public SecurityPolicyRuleMatcherConfig.Builder newBuilderForType()
Returns
TypeDescription
SecurityPolicyRuleMatcherConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SecurityPolicyRuleMatcherConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
SecurityPolicyRuleMatcherConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public SecurityPolicyRuleMatcherConfig.Builder toBuilder()
Returns
TypeDescription
SecurityPolicyRuleMatcherConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException