public final class SecurityPolicyUserDefinedField extends com.google.protobuf.GeneratedMessageV3 implements SecurityPolicyUserDefinedFieldOrBuilder
Protobuf type
google.cloud.compute.v1.SecurityPolicyUserDefinedField| Modifier and Type | Class and Description |
|---|---|
static class |
SecurityPolicyUserDefinedField.Base
The base relative to which 'offset' is measured.
|
static class |
SecurityPolicyUserDefinedField.Builder
Protobuf type
google.cloud.compute.v1.SecurityPolicyUserDefinedField |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
BASE_FIELD_NUMBER |
static int |
MASK_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
OFFSET_FIELD_NUMBER |
static int |
SIZE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getBase()
The base relative to which 'offset' is measured.
|
com.google.protobuf.ByteString |
getBaseBytes()
The base relative to which 'offset' is measured.
|
static SecurityPolicyUserDefinedField |
getDefaultInstance() |
SecurityPolicyUserDefinedField |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getMask()
If specified, apply this mask (bitwise AND) to the field to ignore bits before matching.
|
com.google.protobuf.ByteString |
getMaskBytes()
If specified, apply this mask (bitwise AND) to the field to ignore bits before matching.
|
String |
getName()
The name of this field.
|
com.google.protobuf.ByteString |
getNameBytes()
The name of this field.
|
int |
getOffset()
Offset of the first byte of the field (in network byte order) relative to 'base'.
|
com.google.protobuf.Parser<SecurityPolicyUserDefinedField> |
getParserForType() |
int |
getSerializedSize() |
int |
getSize()
Size of the field in bytes.
|
boolean |
hasBase()
The base relative to which 'offset' is measured.
|
int |
hashCode() |
boolean |
hasMask()
If specified, apply this mask (bitwise AND) to the field to ignore bits before matching.
|
boolean |
hasName()
The name of this field.
|
boolean |
hasOffset()
Offset of the first byte of the field (in network byte order) relative to 'base'.
|
boolean |
hasSize()
Size of the field in bytes.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static SecurityPolicyUserDefinedField.Builder |
newBuilder() |
static SecurityPolicyUserDefinedField.Builder |
newBuilder(SecurityPolicyUserDefinedField prototype) |
SecurityPolicyUserDefinedField.Builder |
newBuilderForType() |
protected SecurityPolicyUserDefinedField.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static SecurityPolicyUserDefinedField |
parseDelimitedFrom(InputStream input) |
static SecurityPolicyUserDefinedField |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SecurityPolicyUserDefinedField |
parseFrom(byte[] data) |
static SecurityPolicyUserDefinedField |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SecurityPolicyUserDefinedField |
parseFrom(ByteBuffer data) |
static SecurityPolicyUserDefinedField |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SecurityPolicyUserDefinedField |
parseFrom(com.google.protobuf.ByteString data) |
static SecurityPolicyUserDefinedField |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SecurityPolicyUserDefinedField |
parseFrom(com.google.protobuf.CodedInputStream input) |
static SecurityPolicyUserDefinedField |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SecurityPolicyUserDefinedField |
parseFrom(InputStream input) |
static SecurityPolicyUserDefinedField |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<SecurityPolicyUserDefinedField> |
parser() |
SecurityPolicyUserDefinedField.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int BASE_FIELD_NUMBER
public static final int MASK_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
public static final int OFFSET_FIELD_NUMBER
public static final int SIZE_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasBase()
The base relative to which 'offset' is measured. Possible values are: - IPV4: Points to the beginning of the IPv4 header. - IPV6: Points to the beginning of the IPv6 header. - TCP: Points to the beginning of the TCP header, skipping over any IPv4 options or IPv6 extension headers. Not present for non-first fragments. - UDP: Points to the beginning of the UDP header, skipping over any IPv4 options or IPv6 extension headers. Not present for non-first fragments. required Check the Base enum for the list of possible values.
optional string base = 3016401;hasBase in interface SecurityPolicyUserDefinedFieldOrBuilderpublic String getBase()
The base relative to which 'offset' is measured. Possible values are: - IPV4: Points to the beginning of the IPv4 header. - IPV6: Points to the beginning of the IPv6 header. - TCP: Points to the beginning of the TCP header, skipping over any IPv4 options or IPv6 extension headers. Not present for non-first fragments. - UDP: Points to the beginning of the UDP header, skipping over any IPv4 options or IPv6 extension headers. Not present for non-first fragments. required Check the Base enum for the list of possible values.
optional string base = 3016401;getBase in interface SecurityPolicyUserDefinedFieldOrBuilderpublic com.google.protobuf.ByteString getBaseBytes()
The base relative to which 'offset' is measured. Possible values are: - IPV4: Points to the beginning of the IPv4 header. - IPV6: Points to the beginning of the IPv6 header. - TCP: Points to the beginning of the TCP header, skipping over any IPv4 options or IPv6 extension headers. Not present for non-first fragments. - UDP: Points to the beginning of the UDP header, skipping over any IPv4 options or IPv6 extension headers. Not present for non-first fragments. required Check the Base enum for the list of possible values.
optional string base = 3016401;getBaseBytes in interface SecurityPolicyUserDefinedFieldOrBuilderpublic boolean hasMask()
If specified, apply this mask (bitwise AND) to the field to ignore bits before matching. Encoded as a hexadecimal number (starting with "0x"). The last byte of the field (in network byte order) corresponds to the least significant byte of the mask.
optional string mask = 3344108;hasMask in interface SecurityPolicyUserDefinedFieldOrBuilderpublic String getMask()
If specified, apply this mask (bitwise AND) to the field to ignore bits before matching. Encoded as a hexadecimal number (starting with "0x"). The last byte of the field (in network byte order) corresponds to the least significant byte of the mask.
optional string mask = 3344108;getMask in interface SecurityPolicyUserDefinedFieldOrBuilderpublic com.google.protobuf.ByteString getMaskBytes()
If specified, apply this mask (bitwise AND) to the field to ignore bits before matching. Encoded as a hexadecimal number (starting with "0x"). The last byte of the field (in network byte order) corresponds to the least significant byte of the mask.
optional string mask = 3344108;getMaskBytes in interface SecurityPolicyUserDefinedFieldOrBuilderpublic boolean hasName()
The name of this field. Must be unique within the policy.
optional string name = 3373707;hasName in interface SecurityPolicyUserDefinedFieldOrBuilderpublic String getName()
The name of this field. Must be unique within the policy.
optional string name = 3373707;getName in interface SecurityPolicyUserDefinedFieldOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
The name of this field. Must be unique within the policy.
optional string name = 3373707;getNameBytes in interface SecurityPolicyUserDefinedFieldOrBuilderpublic boolean hasOffset()
Offset of the first byte of the field (in network byte order) relative to 'base'.
optional int32 offset = 53961875;hasOffset in interface SecurityPolicyUserDefinedFieldOrBuilderpublic int getOffset()
Offset of the first byte of the field (in network byte order) relative to 'base'.
optional int32 offset = 53961875;getOffset in interface SecurityPolicyUserDefinedFieldOrBuilderpublic boolean hasSize()
Size of the field in bytes. Valid values: 1-4.
optional int32 size = 3530753;hasSize in interface SecurityPolicyUserDefinedFieldOrBuilderpublic int getSize()
Size of the field in bytes. Valid values: 1-4.
optional int32 size = 3530753;getSize in interface SecurityPolicyUserDefinedFieldOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static SecurityPolicyUserDefinedField parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SecurityPolicyUserDefinedField parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SecurityPolicyUserDefinedField parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SecurityPolicyUserDefinedField parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SecurityPolicyUserDefinedField parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SecurityPolicyUserDefinedField parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SecurityPolicyUserDefinedField parseFrom(InputStream input) throws IOException
IOExceptionpublic static SecurityPolicyUserDefinedField parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static SecurityPolicyUserDefinedField parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static SecurityPolicyUserDefinedField parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static SecurityPolicyUserDefinedField parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static SecurityPolicyUserDefinedField parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic SecurityPolicyUserDefinedField.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static SecurityPolicyUserDefinedField.Builder newBuilder()
public static SecurityPolicyUserDefinedField.Builder newBuilder(SecurityPolicyUserDefinedField prototype)
public SecurityPolicyUserDefinedField.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected SecurityPolicyUserDefinedField.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static SecurityPolicyUserDefinedField getDefaultInstance()
public static com.google.protobuf.Parser<SecurityPolicyUserDefinedField> parser()
public com.google.protobuf.Parser<SecurityPolicyUserDefinedField> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public SecurityPolicyUserDefinedField getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.