Send feedback
Class FirewallPolicyRuleSecureTag.Builder (1.9.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.9.1 keyboard_arrow_down
public static final class FirewallPolicyRuleSecureTag . Builder extends GeneratedMessageV3 . Builder<FirewallPolicyRuleSecureTag . Builder > implements FirewallPolicyRuleSecureTagOrBuilder
Protobuf type google.cloud.compute.v1.FirewallPolicyRuleSecureTag
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FirewallPolicyRuleSecureTag . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public FirewallPolicyRuleSecureTag build ()
Returns
buildPartial()
public FirewallPolicyRuleSecureTag buildPartial ()
Returns
clear()
public FirewallPolicyRuleSecureTag . Builder clear ()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public FirewallPolicyRuleSecureTag . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearName()
public FirewallPolicyRuleSecureTag . Builder clearName ()
Name of the secure tag, created with TagManager's TagValue API.
optional string name = 3373707;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public FirewallPolicyRuleSecureTag . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
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
clone()
public FirewallPolicyRuleSecureTag . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public FirewallPolicyRuleSecureTag getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
getName()
Name of the secure tag, created with TagManager's TagValue API.
optional string name = 3373707;
Returns
Type Description String The name.
getNameBytes()
public ByteString getNameBytes ()
Name of the secure tag, created with TagManager's TagValue API.
optional string name = 3373707;
Returns
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;
Returns
Type Description String The state.
getStateBytes()
public 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;
Returns
hasName()
Name of the secure tag, created with TagManager's TagValue API.
optional string name = 3373707;
Returns
Type Description boolean Whether the name field is set.
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;
Returns
Type Description boolean Whether the state field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(FirewallPolicyRuleSecureTag other)
public FirewallPolicyRuleSecureTag . Builder mergeFrom ( FirewallPolicyRuleSecureTag other )
Parameter
Returns
public FirewallPolicyRuleSecureTag . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public FirewallPolicyRuleSecureTag . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FirewallPolicyRuleSecureTag . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public FirewallPolicyRuleSecureTag . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setName(String value)
public FirewallPolicyRuleSecureTag . Builder setName ( String value )
Name of the secure tag, created with TagManager's TagValue API.
optional string name = 3373707;
Parameter
Name Description value String
The name to set.
Returns
setNameBytes(ByteString value)
public FirewallPolicyRuleSecureTag . Builder setNameBytes ( ByteString value )
Name of the secure tag, created with TagManager's TagValue API.
optional string name = 3373707;
Parameter
Name Description value ByteString
The bytes for name to set.
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FirewallPolicyRuleSecureTag . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setState(String value)
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;
Parameter
Name Description value String
The state to set.
Returns
setStateBytes(ByteString value)
public FirewallPolicyRuleSecureTag . Builder setStateBytes ( 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;
Parameter
Name Description value ByteString
The bytes for state to set.
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final FirewallPolicyRuleSecureTag . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]