public static final class FirewallPolicyRuleSecureTag.Builder extends GeneratedMessageV3.Builder<FirewallPolicyRuleSecureTag.Builder> implements FirewallPolicyRuleSecureTagOrBuilder
Protobuf type google.cloud.compute.v1.FirewallPolicyRuleSecureTag
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FirewallPolicyRuleSecureTag.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public FirewallPolicyRuleSecureTag build()
buildPartial()
public FirewallPolicyRuleSecureTag buildPartial()
clear()
public FirewallPolicyRuleSecureTag.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public FirewallPolicyRuleSecureTag.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearName()
public FirewallPolicyRuleSecureTag.Builder clearName()
Name of the secure tag, created with TagManager's TagValue API.
optional string name = 3373707;
clearOneof(Descriptors.OneofDescriptor oneof)
public FirewallPolicyRuleSecureTag.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
clone()
public FirewallPolicyRuleSecureTag.Builder clone()
Overrides
getDefaultInstanceForType()
public FirewallPolicyRuleSecureTag getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
Type |
Description |
ByteString |
The bytes for name.
|
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 |
Type |
Description |
ByteString |
The bytes for state.
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(FirewallPolicyRuleSecureTag other)
public FirewallPolicyRuleSecureTag.Builder mergeFrom(FirewallPolicyRuleSecureTag other)
public FirewallPolicyRuleSecureTag.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public FirewallPolicyRuleSecureTag.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FirewallPolicyRuleSecureTag.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public FirewallPolicyRuleSecureTag.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FirewallPolicyRuleSecureTag.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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.
|
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.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final FirewallPolicyRuleSecureTag.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides