Class GetAssociationFirewallPolicyRequest (1.63.0)

public final class GetAssociationFirewallPolicyRequest extends GeneratedMessageV3 implements GetAssociationFirewallPolicyRequestOrBuilder

A request message for FirewallPolicies.GetAssociation. See the method description for details.

Protobuf type google.cloud.compute.v1.GetAssociationFirewallPolicyRequest

Inheritance

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

Static Fields

FIREWALL_POLICY_FIELD_NUMBER

public static final int FIREWALL_POLICY_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static GetAssociationFirewallPolicyRequest getDefaultInstance()
Returns
Type Description
GetAssociationFirewallPolicyRequest

getDescriptor()

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

newBuilder()

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

newBuilder(GetAssociationFirewallPolicyRequest prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public GetAssociationFirewallPolicyRequest getDefaultInstanceForType()
Returns
Type Description
GetAssociationFirewallPolicyRequest

getFirewallPolicy()

public String getFirewallPolicy()

Name of the firewall policy to which the queried rule belongs.

string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The firewallPolicy.

getFirewallPolicyBytes()

public ByteString getFirewallPolicyBytes()

Name of the firewall policy to which the queried rule belongs.

string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for firewallPolicy.

getName()

public String getName()

The name of the association to get from the firewall policy.

optional string name = 3373707;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The name of the association to get from the firewall policy.

optional string name = 3373707;

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasName()

public boolean hasName()

The name of the association to get from the firewall policy.

optional string name = 3373707;

Returns
Type Description
boolean

Whether the name field is set.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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