Class SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch (1.54.0)

public final class SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch extends GeneratedMessageV3 implements SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchOrBuilder

Protobuf type google.cloud.compute.v1.SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch

Inheritance

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

Static Fields

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

VALUES_FIELD_NUMBER

public static final int VALUES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch getDefaultInstance()
Returns
Type Description
SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch

getDescriptor()

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

newBuilder()

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

newBuilder(SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch getDefaultInstanceForType()
Returns
Type Description
SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch

getName()

public String getName()

Name of the user-defined field, as given in the definition.

optional string name = 3373707;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Name of the user-defined field, as given in the definition.

optional string name = 3373707;

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getValues(int index)

public String getValues(int index)

Matching values of the field. Each element can be a 32-bit unsigned decimal or hexadecimal (starting with "0x") number (e.g. "64") or range (e.g. "0x400-0x7ff").

repeated string values = 249928994;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The values at the given index.

getValuesBytes(int index)

public ByteString getValuesBytes(int index)

Matching values of the field. Each element can be a 32-bit unsigned decimal or hexadecimal (starting with "0x") number (e.g. "64") or range (e.g. "0x400-0x7ff").

repeated string values = 249928994;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the values at the given index.

getValuesCount()

public int getValuesCount()

Matching values of the field. Each element can be a 32-bit unsigned decimal or hexadecimal (starting with "0x") number (e.g. "64") or range (e.g. "0x400-0x7ff").

repeated string values = 249928994;

Returns
Type Description
int

The count of values.

getValuesList()

public ProtocolStringList getValuesList()

Matching values of the field. Each element can be a 32-bit unsigned decimal or hexadecimal (starting with "0x") number (e.g. "64") or range (e.g. "0x400-0x7ff").

repeated string values = 249928994;

Returns
Type Description
ProtocolStringList

A list containing the values.

hasName()

public boolean hasName()

Name of the user-defined field, as given in the definition.

optional string name = 3373707;

Returns
Type Description
boolean

Whether the name field is set.

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 SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch.Builder newBuilderForType()
Returns
Type Description
SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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