Class FirewallPolicyAssociation (1.39.0)

public final class FirewallPolicyAssociation extends GeneratedMessageV3 implements FirewallPolicyAssociationOrBuilder

Protobuf type google.cloud.compute.v1.FirewallPolicyAssociation

Static Fields

ATTACHMENT_TARGET_FIELD_NUMBER

public static final int ATTACHMENT_TARGET_FIELD_NUMBER
Field Value
TypeDescription
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

FIREWALL_POLICY_ID_FIELD_NUMBER

public static final int FIREWALL_POLICY_ID_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

SHORT_NAME_FIELD_NUMBER

public static final int SHORT_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static FirewallPolicyAssociation getDefaultInstance()
Returns
TypeDescription
FirewallPolicyAssociation

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static FirewallPolicyAssociation.Builder newBuilder()
Returns
TypeDescription
FirewallPolicyAssociation.Builder

newBuilder(FirewallPolicyAssociation prototype)

public static FirewallPolicyAssociation.Builder newBuilder(FirewallPolicyAssociation prototype)
Parameter
NameDescription
prototypeFirewallPolicyAssociation
Returns
TypeDescription
FirewallPolicyAssociation.Builder

parseDelimitedFrom(InputStream input)

public static FirewallPolicyAssociation parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
FirewallPolicyAssociation
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FirewallPolicyAssociation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FirewallPolicyAssociation
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static FirewallPolicyAssociation parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
FirewallPolicyAssociation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static FirewallPolicyAssociation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FirewallPolicyAssociation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static FirewallPolicyAssociation parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
FirewallPolicyAssociation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static FirewallPolicyAssociation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FirewallPolicyAssociation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static FirewallPolicyAssociation parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
FirewallPolicyAssociation
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static FirewallPolicyAssociation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FirewallPolicyAssociation
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static FirewallPolicyAssociation parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
FirewallPolicyAssociation
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FirewallPolicyAssociation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FirewallPolicyAssociation
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static FirewallPolicyAssociation parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
FirewallPolicyAssociation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static FirewallPolicyAssociation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FirewallPolicyAssociation
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<FirewallPolicyAssociation> parser()
Returns
TypeDescription
Parser<FirewallPolicyAssociation>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAttachmentTarget()

public String getAttachmentTarget()

The target that the firewall policy is attached to.

optional string attachment_target = 175773741;

Returns
TypeDescription
String

The attachmentTarget.

getAttachmentTargetBytes()

public ByteString getAttachmentTargetBytes()

The target that the firewall policy is attached to.

optional string attachment_target = 175773741;

Returns
TypeDescription
ByteString

The bytes for attachmentTarget.

getDefaultInstanceForType()

public FirewallPolicyAssociation getDefaultInstanceForType()
Returns
TypeDescription
FirewallPolicyAssociation

getDisplayName()

public String getDisplayName()

[Output Only] Deprecated, please use short name instead. The display name of the firewall policy of the association.

optional string display_name = 4473832;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

[Output Only] Deprecated, please use short name instead. The display name of the firewall policy of the association.

optional string display_name = 4473832;

Returns
TypeDescription
ByteString

The bytes for displayName.

getFirewallPolicyId()

public String getFirewallPolicyId()

[Output Only] The firewall policy ID of the association.

optional string firewall_policy_id = 357211849;

Returns
TypeDescription
String

The firewallPolicyId.

getFirewallPolicyIdBytes()

public ByteString getFirewallPolicyIdBytes()

[Output Only] The firewall policy ID of the association.

optional string firewall_policy_id = 357211849;

Returns
TypeDescription
ByteString

The bytes for firewallPolicyId.

getName()

public String getName()

The name for an association.

optional string name = 3373707;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

The name for an association.

optional string name = 3373707;

Returns
TypeDescription
ByteString

The bytes for name.

getParserForType()

public Parser<FirewallPolicyAssociation> getParserForType()
Returns
TypeDescription
Parser<FirewallPolicyAssociation>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getShortName()

public String getShortName()

[Output Only] The short name of the firewall policy of the association.

optional string short_name = 492051566;

Returns
TypeDescription
String

The shortName.

getShortNameBytes()

public ByteString getShortNameBytes()

[Output Only] The short name of the firewall policy of the association.

optional string short_name = 492051566;

Returns
TypeDescription
ByteString

The bytes for shortName.

hasAttachmentTarget()

public boolean hasAttachmentTarget()

The target that the firewall policy is attached to.

optional string attachment_target = 175773741;

Returns
TypeDescription
boolean

Whether the attachmentTarget field is set.

hasDisplayName()

public boolean hasDisplayName()

[Output Only] Deprecated, please use short name instead. The display name of the firewall policy of the association.

optional string display_name = 4473832;

Returns
TypeDescription
boolean

Whether the displayName field is set.

hasFirewallPolicyId()

public boolean hasFirewallPolicyId()

[Output Only] The firewall policy ID of the association.

optional string firewall_policy_id = 357211849;

Returns
TypeDescription
boolean

Whether the firewallPolicyId field is set.

hasName()

public boolean hasName()

The name for an association.

optional string name = 3373707;

Returns
TypeDescription
boolean

Whether the name field is set.

hasShortName()

public boolean hasShortName()

[Output Only] The short name of the firewall policy of the association.

optional string short_name = 492051566;

Returns
TypeDescription
boolean

Whether the shortName field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public FirewallPolicyAssociation.Builder newBuilderForType()
Returns
TypeDescription
FirewallPolicyAssociation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected FirewallPolicyAssociation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
FirewallPolicyAssociation.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public FirewallPolicyAssociation.Builder toBuilder()
Returns
TypeDescription
FirewallPolicyAssociation.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException