public final class FirewallPolicyRuleMatcherLayer4Config extends com.google.protobuf.GeneratedMessageV3 implements FirewallPolicyRuleMatcherLayer4ConfigOrBuilder
Protobuf type
google.cloud.compute.v1.FirewallPolicyRuleMatcherLayer4Config| Modifier and Type | Class and Description |
|---|---|
static class |
FirewallPolicyRuleMatcherLayer4Config.Builder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
IP_PROTOCOL_FIELD_NUMBER |
static int |
PORTS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static FirewallPolicyRuleMatcherLayer4Config |
getDefaultInstance() |
FirewallPolicyRuleMatcherLayer4Config |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getIpProtocol()
The IP protocol to which this rule applies.
|
com.google.protobuf.ByteString |
getIpProtocolBytes()
The IP protocol to which this rule applies.
|
com.google.protobuf.Parser<FirewallPolicyRuleMatcherLayer4Config> |
getParserForType() |
String |
getPorts(int index)
An optional list of ports to which this rule applies.
|
com.google.protobuf.ByteString |
getPortsBytes(int index)
An optional list of ports to which this rule applies.
|
int |
getPortsCount()
An optional list of ports to which this rule applies.
|
com.google.protobuf.ProtocolStringList |
getPortsList()
An optional list of ports to which this rule applies.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasIpProtocol()
The IP protocol to which this rule applies.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static FirewallPolicyRuleMatcherLayer4Config.Builder |
newBuilder() |
static FirewallPolicyRuleMatcherLayer4Config.Builder |
newBuilder(FirewallPolicyRuleMatcherLayer4Config prototype) |
FirewallPolicyRuleMatcherLayer4Config.Builder |
newBuilderForType() |
protected FirewallPolicyRuleMatcherLayer4Config.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static FirewallPolicyRuleMatcherLayer4Config |
parseDelimitedFrom(InputStream input) |
static FirewallPolicyRuleMatcherLayer4Config |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FirewallPolicyRuleMatcherLayer4Config |
parseFrom(byte[] data) |
static FirewallPolicyRuleMatcherLayer4Config |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FirewallPolicyRuleMatcherLayer4Config |
parseFrom(ByteBuffer data) |
static FirewallPolicyRuleMatcherLayer4Config |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FirewallPolicyRuleMatcherLayer4Config |
parseFrom(com.google.protobuf.ByteString data) |
static FirewallPolicyRuleMatcherLayer4Config |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FirewallPolicyRuleMatcherLayer4Config |
parseFrom(com.google.protobuf.CodedInputStream input) |
static FirewallPolicyRuleMatcherLayer4Config |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FirewallPolicyRuleMatcherLayer4Config |
parseFrom(InputStream input) |
static FirewallPolicyRuleMatcherLayer4Config |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<FirewallPolicyRuleMatcherLayer4Config> |
parser() |
FirewallPolicyRuleMatcherLayer4Config.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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 IP_PROTOCOL_FIELD_NUMBER
public static final int PORTS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields 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 hasIpProtocol()
The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number.
optional string ip_protocol = 475958960;hasIpProtocol in interface FirewallPolicyRuleMatcherLayer4ConfigOrBuilderpublic String getIpProtocol()
The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number.
optional string ip_protocol = 475958960;getIpProtocol in interface FirewallPolicyRuleMatcherLayer4ConfigOrBuilderpublic com.google.protobuf.ByteString getIpProtocolBytes()
The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number.
optional string ip_protocol = 475958960;getIpProtocolBytes in interface FirewallPolicyRuleMatcherLayer4ConfigOrBuilderpublic com.google.protobuf.ProtocolStringList getPortsList()
An optional list of ports to which this rule applies. This field is only applicable for UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port. Example inputs include: ["22"], ["80","443"], and ["12345-12349"].
repeated string ports = 106854418;getPortsList in interface FirewallPolicyRuleMatcherLayer4ConfigOrBuilderpublic int getPortsCount()
An optional list of ports to which this rule applies. This field is only applicable for UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port. Example inputs include: ["22"], ["80","443"], and ["12345-12349"].
repeated string ports = 106854418;getPortsCount in interface FirewallPolicyRuleMatcherLayer4ConfigOrBuilderpublic String getPorts(int index)
An optional list of ports to which this rule applies. This field is only applicable for UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port. Example inputs include: ["22"], ["80","443"], and ["12345-12349"].
repeated string ports = 106854418;getPorts in interface FirewallPolicyRuleMatcherLayer4ConfigOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getPortsBytes(int index)
An optional list of ports to which this rule applies. This field is only applicable for UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port. Example inputs include: ["22"], ["80","443"], and ["12345-12349"].
repeated string ports = 106854418;getPortsBytes in interface FirewallPolicyRuleMatcherLayer4ConfigOrBuilderindex - The index of the value to return.public 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 FirewallPolicyRuleMatcherLayer4Config parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FirewallPolicyRuleMatcherLayer4Config parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FirewallPolicyRuleMatcherLayer4Config parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FirewallPolicyRuleMatcherLayer4Config parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FirewallPolicyRuleMatcherLayer4Config parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FirewallPolicyRuleMatcherLayer4Config parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FirewallPolicyRuleMatcherLayer4Config parseFrom(InputStream input) throws IOException
IOExceptionpublic static FirewallPolicyRuleMatcherLayer4Config parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static FirewallPolicyRuleMatcherLayer4Config parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static FirewallPolicyRuleMatcherLayer4Config parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static FirewallPolicyRuleMatcherLayer4Config parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static FirewallPolicyRuleMatcherLayer4Config parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic FirewallPolicyRuleMatcherLayer4Config.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static FirewallPolicyRuleMatcherLayer4Config.Builder newBuilder()
public static FirewallPolicyRuleMatcherLayer4Config.Builder newBuilder(FirewallPolicyRuleMatcherLayer4Config prototype)
public FirewallPolicyRuleMatcherLayer4Config.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected FirewallPolicyRuleMatcherLayer4Config.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static FirewallPolicyRuleMatcherLayer4Config getDefaultInstance()
public static com.google.protobuf.Parser<FirewallPolicyRuleMatcherLayer4Config> parser()
public com.google.protobuf.Parser<FirewallPolicyRuleMatcherLayer4Config> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public FirewallPolicyRuleMatcherLayer4Config getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.