Class NetworksGetEffectiveFirewallsResponse (1.65.0)

public final class NetworksGetEffectiveFirewallsResponse extends GeneratedMessageV3 implements NetworksGetEffectiveFirewallsResponseOrBuilder

Protobuf type google.cloud.compute.v1.NetworksGetEffectiveFirewallsResponse

Inheritance

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

Static Fields

FIREWALLS_FIELD_NUMBER

public static final int FIREWALLS_FIELD_NUMBER
Field Value
Type Description
int

FIREWALL_POLICYS_FIELD_NUMBER

public static final int FIREWALL_POLICYS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static NetworksGetEffectiveFirewallsResponse getDefaultInstance()
Returns
Type Description
NetworksGetEffectiveFirewallsResponse

getDescriptor()

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

newBuilder()

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

newBuilder(NetworksGetEffectiveFirewallsResponse prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public NetworksGetEffectiveFirewallsResponse getDefaultInstanceForType()
Returns
Type Description
NetworksGetEffectiveFirewallsResponse

getFirewallPolicys(int index)

public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy getFirewallPolicys(int index)

[Output Only] Effective firewalls from firewall policy. It returns Global Network Firewall Policies and Hierarchical Firewall Policies. Use regionNetworkFirewallPolicies.getEffectiveFirewalls to get Regional Network Firewall Policies as well.

repeated .google.cloud.compute.v1.NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy firewall_policys = 410985794;

Parameter
Name Description
index int
Returns
Type Description
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy

getFirewallPolicysCount()

public int getFirewallPolicysCount()

[Output Only] Effective firewalls from firewall policy. It returns Global Network Firewall Policies and Hierarchical Firewall Policies. Use regionNetworkFirewallPolicies.getEffectiveFirewalls to get Regional Network Firewall Policies as well.

repeated .google.cloud.compute.v1.NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy firewall_policys = 410985794;

Returns
Type Description
int

getFirewallPolicysList()

public List<NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy> getFirewallPolicysList()

[Output Only] Effective firewalls from firewall policy. It returns Global Network Firewall Policies and Hierarchical Firewall Policies. Use regionNetworkFirewallPolicies.getEffectiveFirewalls to get Regional Network Firewall Policies as well.

repeated .google.cloud.compute.v1.NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy firewall_policys = 410985794;

Returns
Type Description
List<NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy>

getFirewallPolicysOrBuilder(int index)

public NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder getFirewallPolicysOrBuilder(int index)

[Output Only] Effective firewalls from firewall policy. It returns Global Network Firewall Policies and Hierarchical Firewall Policies. Use regionNetworkFirewallPolicies.getEffectiveFirewalls to get Regional Network Firewall Policies as well.

repeated .google.cloud.compute.v1.NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy firewall_policys = 410985794;

Parameter
Name Description
index int
Returns
Type Description
NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder

getFirewallPolicysOrBuilderList()

public List<? extends NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder> getFirewallPolicysOrBuilderList()

[Output Only] Effective firewalls from firewall policy. It returns Global Network Firewall Policies and Hierarchical Firewall Policies. Use regionNetworkFirewallPolicies.getEffectiveFirewalls to get Regional Network Firewall Policies as well.

repeated .google.cloud.compute.v1.NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy firewall_policys = 410985794;

Returns
Type Description
List<? extends com.google.cloud.compute.v1.NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder>

getFirewalls(int index)

public Firewall getFirewalls(int index)

Effective firewalls on the network.

repeated .google.cloud.compute.v1.Firewall firewalls = 272245619;

Parameter
Name Description
index int
Returns
Type Description
Firewall

getFirewallsCount()

public int getFirewallsCount()

Effective firewalls on the network.

repeated .google.cloud.compute.v1.Firewall firewalls = 272245619;

Returns
Type Description
int

getFirewallsList()

public List<Firewall> getFirewallsList()

Effective firewalls on the network.

repeated .google.cloud.compute.v1.Firewall firewalls = 272245619;

Returns
Type Description
List<Firewall>

getFirewallsOrBuilder(int index)

public FirewallOrBuilder getFirewallsOrBuilder(int index)

Effective firewalls on the network.

repeated .google.cloud.compute.v1.Firewall firewalls = 272245619;

Parameter
Name Description
index int
Returns
Type Description
FirewallOrBuilder

getFirewallsOrBuilderList()

public List<? extends FirewallOrBuilder> getFirewallsOrBuilderList()

Effective firewalls on the network.

repeated .google.cloud.compute.v1.Firewall firewalls = 272245619;

Returns
Type Description
List<? extends com.google.cloud.compute.v1.FirewallOrBuilder>

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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