public final class FirewallInfo extends com.google.protobuf.GeneratedMessageV3 implements FirewallInfoOrBuilder
For display only. Metadata associated with a VPC firewall rule, an implied VPC firewall rule, or a hierarchical firewall policy rule.Protobuf type
google.cloud.networkmanagement.v1beta1.FirewallInfo| Modifier and Type | Class and Description |
|---|---|
static class |
FirewallInfo.Builder
For display only.
|
static class |
FirewallInfo.FirewallRuleType
The firewall rule's type.
|
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 |
ACTION_FIELD_NUMBER |
static int |
DIRECTION_FIELD_NUMBER |
static int |
DISPLAY_NAME_FIELD_NUMBER |
static int |
FIREWALL_RULE_TYPE_FIELD_NUMBER |
static int |
NETWORK_URI_FIELD_NUMBER |
static int |
POLICY_FIELD_NUMBER |
static int |
PRIORITY_FIELD_NUMBER |
static int |
TARGET_SERVICE_ACCOUNTS_FIELD_NUMBER |
static int |
TARGET_TAGS_FIELD_NUMBER |
static int |
URI_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAction()
Possible values: ALLOW, DENY
|
com.google.protobuf.ByteString |
getActionBytes()
Possible values: ALLOW, DENY
|
static FirewallInfo |
getDefaultInstance() |
FirewallInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getDirection()
Possible values: INGRESS, EGRESS
|
com.google.protobuf.ByteString |
getDirectionBytes()
Possible values: INGRESS, EGRESS
|
String |
getDisplayName()
The display name of the VPC firewall rule.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
The display name of the VPC firewall rule.
|
FirewallInfo.FirewallRuleType |
getFirewallRuleType()
The firewall rule's type.
|
int |
getFirewallRuleTypeValue()
The firewall rule's type.
|
String |
getNetworkUri()
The URI of the VPC network that the firewall rule is associated with.
|
com.google.protobuf.ByteString |
getNetworkUriBytes()
The URI of the VPC network that the firewall rule is associated with.
|
com.google.protobuf.Parser<FirewallInfo> |
getParserForType() |
String |
getPolicy()
The hierarchical firewall policy that this rule is associated with.
|
com.google.protobuf.ByteString |
getPolicyBytes()
The hierarchical firewall policy that this rule is associated with.
|
int |
getPriority()
The priority of the firewall rule.
|
int |
getSerializedSize() |
String |
getTargetServiceAccounts(int index)
The target service accounts specified by the firewall rule.
|
com.google.protobuf.ByteString |
getTargetServiceAccountsBytes(int index)
The target service accounts specified by the firewall rule.
|
int |
getTargetServiceAccountsCount()
The target service accounts specified by the firewall rule.
|
com.google.protobuf.ProtocolStringList |
getTargetServiceAccountsList()
The target service accounts specified by the firewall rule.
|
String |
getTargetTags(int index)
The target tags defined by the VPC firewall rule.
|
com.google.protobuf.ByteString |
getTargetTagsBytes(int index)
The target tags defined by the VPC firewall rule.
|
int |
getTargetTagsCount()
The target tags defined by the VPC firewall rule.
|
com.google.protobuf.ProtocolStringList |
getTargetTagsList()
The target tags defined by the VPC firewall rule.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
String |
getUri()
The URI of the VPC firewall rule.
|
com.google.protobuf.ByteString |
getUriBytes()
The URI of the VPC firewall rule.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static FirewallInfo.Builder |
newBuilder() |
static FirewallInfo.Builder |
newBuilder(FirewallInfo prototype) |
FirewallInfo.Builder |
newBuilderForType() |
protected FirewallInfo.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static FirewallInfo |
parseDelimitedFrom(InputStream input) |
static FirewallInfo |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FirewallInfo |
parseFrom(byte[] data) |
static FirewallInfo |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FirewallInfo |
parseFrom(ByteBuffer data) |
static FirewallInfo |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FirewallInfo |
parseFrom(com.google.protobuf.ByteString data) |
static FirewallInfo |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FirewallInfo |
parseFrom(com.google.protobuf.CodedInputStream input) |
static FirewallInfo |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FirewallInfo |
parseFrom(InputStream input) |
static FirewallInfo |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<FirewallInfo> |
parser() |
FirewallInfo.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 DISPLAY_NAME_FIELD_NUMBER
public static final int URI_FIELD_NUMBER
public static final int DIRECTION_FIELD_NUMBER
public static final int ACTION_FIELD_NUMBER
public static final int PRIORITY_FIELD_NUMBER
public static final int NETWORK_URI_FIELD_NUMBER
public static final int TARGET_TAGS_FIELD_NUMBER
public static final int TARGET_SERVICE_ACCOUNTS_FIELD_NUMBER
public static final int POLICY_FIELD_NUMBER
public static final int FIREWALL_RULE_TYPE_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 String getDisplayName()
The display name of the VPC firewall rule. This field is not applicable to hierarchical firewall policy rules.
string display_name = 1;getDisplayName in interface FirewallInfoOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
The display name of the VPC firewall rule. This field is not applicable to hierarchical firewall policy rules.
string display_name = 1;getDisplayNameBytes in interface FirewallInfoOrBuilderpublic String getUri()
The URI of the VPC firewall rule. This field is not applicable to implied firewall rules or hierarchical firewall policy rules.
string uri = 2;getUri in interface FirewallInfoOrBuilderpublic com.google.protobuf.ByteString getUriBytes()
The URI of the VPC firewall rule. This field is not applicable to implied firewall rules or hierarchical firewall policy rules.
string uri = 2;getUriBytes in interface FirewallInfoOrBuilderpublic String getDirection()
Possible values: INGRESS, EGRESS
string direction = 3;getDirection in interface FirewallInfoOrBuilderpublic com.google.protobuf.ByteString getDirectionBytes()
Possible values: INGRESS, EGRESS
string direction = 3;getDirectionBytes in interface FirewallInfoOrBuilderpublic String getAction()
Possible values: ALLOW, DENY
string action = 4;getAction in interface FirewallInfoOrBuilderpublic com.google.protobuf.ByteString getActionBytes()
Possible values: ALLOW, DENY
string action = 4;getActionBytes in interface FirewallInfoOrBuilderpublic int getPriority()
The priority of the firewall rule.
int32 priority = 5;getPriority in interface FirewallInfoOrBuilderpublic String getNetworkUri()
The URI of the VPC network that the firewall rule is associated with. This field is not applicable to hierarchical firewall policy rules.
string network_uri = 6;getNetworkUri in interface FirewallInfoOrBuilderpublic com.google.protobuf.ByteString getNetworkUriBytes()
The URI of the VPC network that the firewall rule is associated with. This field is not applicable to hierarchical firewall policy rules.
string network_uri = 6;getNetworkUriBytes in interface FirewallInfoOrBuilderpublic com.google.protobuf.ProtocolStringList getTargetTagsList()
The target tags defined by the VPC firewall rule. This field is not applicable to hierarchical firewall policy rules.
repeated string target_tags = 7;getTargetTagsList in interface FirewallInfoOrBuilderpublic int getTargetTagsCount()
The target tags defined by the VPC firewall rule. This field is not applicable to hierarchical firewall policy rules.
repeated string target_tags = 7;getTargetTagsCount in interface FirewallInfoOrBuilderpublic String getTargetTags(int index)
The target tags defined by the VPC firewall rule. This field is not applicable to hierarchical firewall policy rules.
repeated string target_tags = 7;getTargetTags in interface FirewallInfoOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getTargetTagsBytes(int index)
The target tags defined by the VPC firewall rule. This field is not applicable to hierarchical firewall policy rules.
repeated string target_tags = 7;getTargetTagsBytes in interface FirewallInfoOrBuilderindex - The index of the value to return.public com.google.protobuf.ProtocolStringList getTargetServiceAccountsList()
The target service accounts specified by the firewall rule.
repeated string target_service_accounts = 8;getTargetServiceAccountsList in interface FirewallInfoOrBuilderpublic int getTargetServiceAccountsCount()
The target service accounts specified by the firewall rule.
repeated string target_service_accounts = 8;getTargetServiceAccountsCount in interface FirewallInfoOrBuilderpublic String getTargetServiceAccounts(int index)
The target service accounts specified by the firewall rule.
repeated string target_service_accounts = 8;getTargetServiceAccounts in interface FirewallInfoOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getTargetServiceAccountsBytes(int index)
The target service accounts specified by the firewall rule.
repeated string target_service_accounts = 8;getTargetServiceAccountsBytes in interface FirewallInfoOrBuilderindex - The index of the value to return.public String getPolicy()
The hierarchical firewall policy that this rule is associated with. This field is not applicable to VPC firewall rules.
string policy = 9;getPolicy in interface FirewallInfoOrBuilderpublic com.google.protobuf.ByteString getPolicyBytes()
The hierarchical firewall policy that this rule is associated with. This field is not applicable to VPC firewall rules.
string policy = 9;getPolicyBytes in interface FirewallInfoOrBuilderpublic int getFirewallRuleTypeValue()
The firewall rule's type.
.google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType firewall_rule_type = 10;
getFirewallRuleTypeValue in interface FirewallInfoOrBuilderpublic FirewallInfo.FirewallRuleType getFirewallRuleType()
The firewall rule's type.
.google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType firewall_rule_type = 10;
getFirewallRuleType in interface FirewallInfoOrBuilderpublic 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 FirewallInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FirewallInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FirewallInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FirewallInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FirewallInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FirewallInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FirewallInfo parseFrom(InputStream input) throws IOException
IOExceptionpublic static FirewallInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static FirewallInfo parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static FirewallInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static FirewallInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static FirewallInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic FirewallInfo.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static FirewallInfo.Builder newBuilder()
public static FirewallInfo.Builder newBuilder(FirewallInfo prototype)
public FirewallInfo.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected FirewallInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static FirewallInfo getDefaultInstance()
public static com.google.protobuf.Parser<FirewallInfo> parser()
public com.google.protobuf.Parser<FirewallInfo> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public FirewallInfo getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 Google LLC. All rights reserved.