Class FirewallPolicyAssociation

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.compute.v1.FirewallPolicyAssociation
All Implemented Interfaces:
FirewallPolicyAssociationOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class FirewallPolicyAssociation extends com.google.protobuf.GeneratedMessage implements FirewallPolicyAssociationOrBuilder
 
Protobuf type google.cloud.compute.v1.FirewallPolicyAssociation
See Also:
  • Field Details

    • ATTACHMENT_TARGET_FIELD_NUMBER

      public static final int ATTACHMENT_TARGET_FIELD_NUMBER
      See Also:
    • DISPLAY_NAME_FIELD_NUMBER

      public static final int DISPLAY_NAME_FIELD_NUMBER
      See Also:
    • FIREWALL_POLICY_ID_FIELD_NUMBER

      public static final int FIREWALL_POLICY_ID_FIELD_NUMBER
      See Also:
    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • SHORT_NAME_FIELD_NUMBER

      public static final int SHORT_NAME_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • hasAttachmentTarget

      public boolean hasAttachmentTarget()
       The target that the firewall policy is attached to.
       
      optional string attachment_target = 175773741;
      Specified by:
      hasAttachmentTarget in interface FirewallPolicyAssociationOrBuilder
      Returns:
      Whether the attachmentTarget field is set.
    • getAttachmentTarget

      public String getAttachmentTarget()
       The target that the firewall policy is attached to.
       
      optional string attachment_target = 175773741;
      Specified by:
      getAttachmentTarget in interface FirewallPolicyAssociationOrBuilder
      Returns:
      The attachmentTarget.
    • getAttachmentTargetBytes

      public com.google.protobuf.ByteString getAttachmentTargetBytes()
       The target that the firewall policy is attached to.
       
      optional string attachment_target = 175773741;
      Specified by:
      getAttachmentTargetBytes in interface FirewallPolicyAssociationOrBuilder
      Returns:
      The bytes for attachmentTarget.
    • 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;
      Specified by:
      hasDisplayName in interface FirewallPolicyAssociationOrBuilder
      Returns:
      Whether the displayName field is set.
    • 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;
      Specified by:
      getDisplayName in interface FirewallPolicyAssociationOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.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;
      Specified by:
      getDisplayNameBytes in interface FirewallPolicyAssociationOrBuilder
      Returns:
      The bytes for displayName.
    • hasFirewallPolicyId

      public boolean hasFirewallPolicyId()
       Output only. [Output Only] The firewall policy ID of the association.
       
      optional string firewall_policy_id = 357211849;
      Specified by:
      hasFirewallPolicyId in interface FirewallPolicyAssociationOrBuilder
      Returns:
      Whether the firewallPolicyId field is set.
    • getFirewallPolicyId

      public String getFirewallPolicyId()
       Output only. [Output Only] The firewall policy ID of the association.
       
      optional string firewall_policy_id = 357211849;
      Specified by:
      getFirewallPolicyId in interface FirewallPolicyAssociationOrBuilder
      Returns:
      The firewallPolicyId.
    • getFirewallPolicyIdBytes

      public com.google.protobuf.ByteString getFirewallPolicyIdBytes()
       Output only. [Output Only] The firewall policy ID of the association.
       
      optional string firewall_policy_id = 357211849;
      Specified by:
      getFirewallPolicyIdBytes in interface FirewallPolicyAssociationOrBuilder
      Returns:
      The bytes for firewallPolicyId.
    • hasName

      public boolean hasName()
       The name for an association.
       
      optional string name = 3373707;
      Specified by:
      hasName in interface FirewallPolicyAssociationOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public String getName()
       The name for an association.
       
      optional string name = 3373707;
      Specified by:
      getName in interface FirewallPolicyAssociationOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       The name for an association.
       
      optional string name = 3373707;
      Specified by:
      getNameBytes in interface FirewallPolicyAssociationOrBuilder
      Returns:
      The bytes for name.
    • hasShortName

      public boolean hasShortName()
       Output only. [Output Only] The short name of the firewall policy of the association.
       
      optional string short_name = 492051566;
      Specified by:
      hasShortName in interface FirewallPolicyAssociationOrBuilder
      Returns:
      Whether the shortName field is set.
    • getShortName

      public String getShortName()
       Output only. [Output Only] The short name of the firewall policy of the association.
       
      optional string short_name = 492051566;
      Specified by:
      getShortName in interface FirewallPolicyAssociationOrBuilder
      Returns:
      The shortName.
    • getShortNameBytes

      public com.google.protobuf.ByteString getShortNameBytes()
       Output only. [Output Only] The short name of the firewall policy of the association.
       
      optional string short_name = 492051566;
      Specified by:
      getShortNameBytes in interface FirewallPolicyAssociationOrBuilder
      Returns:
      The bytes for shortName.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static FirewallPolicyAssociation parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FirewallPolicyAssociation parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FirewallPolicyAssociation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FirewallPolicyAssociation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FirewallPolicyAssociation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FirewallPolicyAssociation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FirewallPolicyAssociation parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static FirewallPolicyAssociation parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static FirewallPolicyAssociation parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static FirewallPolicyAssociation parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static FirewallPolicyAssociation parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static FirewallPolicyAssociation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public FirewallPolicyAssociation.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static FirewallPolicyAssociation.Builder newBuilder()
    • newBuilder

      public static FirewallPolicyAssociation.Builder newBuilder(FirewallPolicyAssociation prototype)
    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected FirewallPolicyAssociation.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static FirewallPolicyAssociation getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<FirewallPolicyAssociation> parser()
    • getParserForType

      public com.google.protobuf.Parser<FirewallPolicyAssociation> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public FirewallPolicyAssociation getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder