Class FirewallPolicyAssociation.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<FirewallPolicyAssociation.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<FirewallPolicyAssociation.Builder>
      • getDefaultInstanceForType

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

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

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

        public FirewallPolicyAssociation.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                  int index,
                                                                  Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<FirewallPolicyAssociation.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<FirewallPolicyAssociation.Builder>
      • mergeFrom

        public FirewallPolicyAssociation.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                    throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<FirewallPolicyAssociation.Builder>
        Throws:
        IOException
      • 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.
      • 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.
      • setAttachmentTarget

        public FirewallPolicyAssociation.Builder setAttachmentTarget​(String value)
         The target that the firewall policy is attached to.
         
        optional string attachment_target = 175773741;
        Parameters:
        value - The attachmentTarget to set.
        Returns:
        This builder for chaining.
      • clearAttachmentTarget

        public FirewallPolicyAssociation.Builder clearAttachmentTarget()
         The target that the firewall policy is attached to.
         
        optional string attachment_target = 175773741;
        Returns:
        This builder for chaining.
      • setAttachmentTargetBytes

        public FirewallPolicyAssociation.Builder setAttachmentTargetBytes​(com.google.protobuf.ByteString value)
         The target that the firewall policy is attached to.
         
        optional string attachment_target = 175773741;
        Parameters:
        value - The bytes for attachmentTarget to set.
        Returns:
        This builder for chaining.
      • 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.
      • setDisplayName

        public FirewallPolicyAssociation.Builder setDisplayName​(String value)
         [Output Only] Deprecated, please use short name instead. The display name of the firewall policy of the association.
         
        optional string display_name = 4473832;
        Parameters:
        value - The displayName to set.
        Returns:
        This builder for chaining.
      • clearDisplayName

        public FirewallPolicyAssociation.Builder clearDisplayName()
         [Output Only] Deprecated, please use short name instead. The display name of the firewall policy of the association.
         
        optional string display_name = 4473832;
        Returns:
        This builder for chaining.
      • setDisplayNameBytes

        public FirewallPolicyAssociation.Builder setDisplayNameBytes​(com.google.protobuf.ByteString value)
         [Output Only] Deprecated, please use short name instead. The display name of the firewall policy of the association.
         
        optional string display_name = 4473832;
        Parameters:
        value - The bytes for displayName to set.
        Returns:
        This builder for chaining.
      • hasFirewallPolicyId

        public boolean hasFirewallPolicyId()
         [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.
      • getFirewallPolicyIdBytes

        public com.google.protobuf.ByteString getFirewallPolicyIdBytes()
         [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.
      • setFirewallPolicyId

        public FirewallPolicyAssociation.Builder setFirewallPolicyId​(String value)
         [Output Only] The firewall policy ID of the association.
         
        optional string firewall_policy_id = 357211849;
        Parameters:
        value - The firewallPolicyId to set.
        Returns:
        This builder for chaining.
      • clearFirewallPolicyId

        public FirewallPolicyAssociation.Builder clearFirewallPolicyId()
         [Output Only] The firewall policy ID of the association.
         
        optional string firewall_policy_id = 357211849;
        Returns:
        This builder for chaining.
      • setFirewallPolicyIdBytes

        public FirewallPolicyAssociation.Builder setFirewallPolicyIdBytes​(com.google.protobuf.ByteString value)
         [Output Only] The firewall policy ID of the association.
         
        optional string firewall_policy_id = 357211849;
        Parameters:
        value - The bytes for firewallPolicyId to set.
        Returns:
        This builder for chaining.
      • 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.
      • 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.
      • setName

        public FirewallPolicyAssociation.Builder setName​(String value)
         The name for an association.
         
        optional string name = 3373707;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • setNameBytes

        public FirewallPolicyAssociation.Builder setNameBytes​(com.google.protobuf.ByteString value)
         The name for an association.
         
        optional string name = 3373707;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • hasShortName

        public boolean hasShortName()
         [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.
      • getShortNameBytes

        public com.google.protobuf.ByteString getShortNameBytes()
         [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.
      • setShortName

        public FirewallPolicyAssociation.Builder setShortName​(String value)
         [Output Only] The short name of the firewall policy of the association.
         
        optional string short_name = 492051566;
        Parameters:
        value - The shortName to set.
        Returns:
        This builder for chaining.
      • clearShortName

        public FirewallPolicyAssociation.Builder clearShortName()
         [Output Only] The short name of the firewall policy of the association.
         
        optional string short_name = 492051566;
        Returns:
        This builder for chaining.
      • setShortNameBytes

        public FirewallPolicyAssociation.Builder setShortNameBytes​(com.google.protobuf.ByteString value)
         [Output Only] The short name of the firewall policy of the association.
         
        optional string short_name = 492051566;
        Parameters:
        value - The bytes for shortName to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final FirewallPolicyAssociation.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<FirewallPolicyAssociation.Builder>
      • mergeUnknownFields

        public final FirewallPolicyAssociation.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<FirewallPolicyAssociation.Builder>