Class SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch (1.43.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
TypeDescription
int

VALUES_FIELD_NUMBER

public static final int VALUES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch getDefaultInstance()
Returns
TypeDescription
SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch

getDescriptor()

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

newBuilder()

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

newBuilder(SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch prototype)

public static SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch.Builder newBuilder(SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch prototype)
Parameter
NameDescription
prototypeSecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch
Returns
TypeDescription
SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch getDefaultInstanceForType()
Returns
TypeDescription
SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch

getName()

public String getName()

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

optional string name = 3373707;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

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

optional string name = 3373707;

Returns
TypeDescription
ByteString

The bytes for name.

getParserForType()

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

getSerializedSize()

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

The index of the element to return.

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

The index of the value to return.

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

Whether the name field is set.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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