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
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
FIREWALL_POLICY_ID_FIELD_NUMBER
public static final int FIREWALL_POLICY_ID_FIELD_NUMBER
Field Value
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
SHORT_NAME_FIELD_NUMBER
public static final int SHORT_NAME_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static FirewallPolicyAssociation getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static FirewallPolicyAssociation.Builder newBuilder()
Returns
newBuilder(FirewallPolicyAssociation prototype)
public static FirewallPolicyAssociation.Builder newBuilder(FirewallPolicyAssociation prototype)
Parameter
Returns
public static FirewallPolicyAssociation parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static FirewallPolicyAssociation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static FirewallPolicyAssociation parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static FirewallPolicyAssociation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static FirewallPolicyAssociation parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static FirewallPolicyAssociation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static FirewallPolicyAssociation parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static FirewallPolicyAssociation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static FirewallPolicyAssociation parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static FirewallPolicyAssociation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static FirewallPolicyAssociation parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static FirewallPolicyAssociation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<FirewallPolicyAssociation> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getAttachmentTarget()
public String getAttachmentTarget()
The target that the firewall policy is attached to.
optional string attachment_target = 175773741;
Returns
Type | Description |
String | The attachmentTarget.
|
getAttachmentTargetBytes()
public ByteString getAttachmentTargetBytes()
The target that the firewall policy is attached to.
optional string attachment_target = 175773741;
Returns
Type | Description |
ByteString | The bytes for attachmentTarget.
|
getDefaultInstanceForType()
public FirewallPolicyAssociation getDefaultInstanceForType()
Returns
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
Type | Description |
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
Type | Description |
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
Type | Description |
String | The firewallPolicyId.
|
getFirewallPolicyIdBytes()
public ByteString getFirewallPolicyIdBytes()
[Output Only] The firewall policy ID of the association.
optional string firewall_policy_id = 357211849;
Returns
Type | Description |
ByteString | The bytes for firewallPolicyId.
|
getName()
The name for an association.
optional string name = 3373707;
Returns
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
The name for an association.
optional string name = 3373707;
Returns
getParserForType()
public Parser<FirewallPolicyAssociation> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getShortName()
public String getShortName()
[Output Only] The short name of the firewall policy of the association.
optional string short_name = 492051566;
Returns
Type | Description |
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
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasAttachmentTarget()
public boolean hasAttachmentTarget()
The target that the firewall policy is attached to.
optional string attachment_target = 175773741;
Returns
Type | Description |
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
Type | Description |
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
Type | Description |
boolean | Whether the firewallPolicyId field is set.
|
hasName()
The name for an association.
optional string name = 3373707;
Returns
Type | Description |
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
Type | Description |
boolean | Whether the shortName field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public FirewallPolicyAssociation.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected FirewallPolicyAssociation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public FirewallPolicyAssociation.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions