Class FirewallPolicyRuleSecureTag.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<FirewallPolicyRuleSecureTag.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<FirewallPolicyRuleSecureTag.Builder>
      • getDefaultInstanceForType

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

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

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

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

        public FirewallPolicyRuleSecureTag.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<FirewallPolicyRuleSecureTag.Builder>
        Throws:
        IOException
      • hasName

        public boolean hasName()
         Name of the secure tag, created with TagManager's TagValue API.
         
        optional string name = 3373707;
        Specified by:
        hasName in interface FirewallPolicyRuleSecureTagOrBuilder
        Returns:
        Whether the name field is set.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Name of the secure tag, created with TagManager's TagValue API.
         
        optional string name = 3373707;
        Specified by:
        getNameBytes in interface FirewallPolicyRuleSecureTagOrBuilder
        Returns:
        The bytes for name.
      • setName

        public FirewallPolicyRuleSecureTag.Builder setName​(String value)
         Name of the secure tag, created with TagManager's TagValue API.
         
        optional string name = 3373707;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public FirewallPolicyRuleSecureTag.Builder clearName()
         Name of the secure tag, created with TagManager's TagValue API.
         
        optional string name = 3373707;
        Returns:
        This builder for chaining.
      • setNameBytes

        public FirewallPolicyRuleSecureTag.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Name of the secure tag, created with TagManager's TagValue API.
         
        optional string name = 3373707;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • hasState

        public boolean hasState()
         [Output Only] State of the secure tag, either `EFFECTIVE` or `INEFFECTIVE`. A secure tag is `INEFFECTIVE` when it is deleted or its network is deleted.
         Check the State enum for the list of possible values.
         
        optional string state = 109757585;
        Specified by:
        hasState in interface FirewallPolicyRuleSecureTagOrBuilder
        Returns:
        Whether the state field is set.
      • getState

        public String getState()
         [Output Only] State of the secure tag, either `EFFECTIVE` or `INEFFECTIVE`. A secure tag is `INEFFECTIVE` when it is deleted or its network is deleted.
         Check the State enum for the list of possible values.
         
        optional string state = 109757585;
        Specified by:
        getState in interface FirewallPolicyRuleSecureTagOrBuilder
        Returns:
        The state.
      • getStateBytes

        public com.google.protobuf.ByteString getStateBytes()
         [Output Only] State of the secure tag, either `EFFECTIVE` or `INEFFECTIVE`. A secure tag is `INEFFECTIVE` when it is deleted or its network is deleted.
         Check the State enum for the list of possible values.
         
        optional string state = 109757585;
        Specified by:
        getStateBytes in interface FirewallPolicyRuleSecureTagOrBuilder
        Returns:
        The bytes for state.
      • setState

        public FirewallPolicyRuleSecureTag.Builder setState​(String value)
         [Output Only] State of the secure tag, either `EFFECTIVE` or `INEFFECTIVE`. A secure tag is `INEFFECTIVE` when it is deleted or its network is deleted.
         Check the State enum for the list of possible values.
         
        optional string state = 109757585;
        Parameters:
        value - The state to set.
        Returns:
        This builder for chaining.
      • clearState

        public FirewallPolicyRuleSecureTag.Builder clearState()
         [Output Only] State of the secure tag, either `EFFECTIVE` or `INEFFECTIVE`. A secure tag is `INEFFECTIVE` when it is deleted or its network is deleted.
         Check the State enum for the list of possible values.
         
        optional string state = 109757585;
        Returns:
        This builder for chaining.
      • setStateBytes

        public FirewallPolicyRuleSecureTag.Builder setStateBytes​(com.google.protobuf.ByteString value)
         [Output Only] State of the secure tag, either `EFFECTIVE` or `INEFFECTIVE`. A secure tag is `INEFFECTIVE` when it is deleted or its network is deleted.
         Check the State enum for the list of possible values.
         
        optional string state = 109757585;
        Parameters:
        value - The bytes for state to set.
        Returns:
        This builder for chaining.
      • mergeUnknownFields

        public final FirewallPolicyRuleSecureTag.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<FirewallPolicyRuleSecureTag.Builder>