public final class FirewallPolicyRuleSecureTag extends GeneratedMessageV3 implements FirewallPolicyRuleSecureTagOrBuilder
Protobuf type google.cloud.compute.v1.FirewallPolicyRuleSecureTag
Static Fields
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static FirewallPolicyRuleSecureTag getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static FirewallPolicyRuleSecureTag.Builder newBuilder()
Returns
newBuilder(FirewallPolicyRuleSecureTag prototype)
public static FirewallPolicyRuleSecureTag.Builder newBuilder(FirewallPolicyRuleSecureTag prototype)
Parameter
Returns
public static FirewallPolicyRuleSecureTag parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static FirewallPolicyRuleSecureTag parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static FirewallPolicyRuleSecureTag parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static FirewallPolicyRuleSecureTag parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static FirewallPolicyRuleSecureTag parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static FirewallPolicyRuleSecureTag parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static FirewallPolicyRuleSecureTag parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static FirewallPolicyRuleSecureTag parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static FirewallPolicyRuleSecureTag parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static FirewallPolicyRuleSecureTag parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static FirewallPolicyRuleSecureTag parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static FirewallPolicyRuleSecureTag parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<FirewallPolicyRuleSecureTag> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public FirewallPolicyRuleSecureTag getDefaultInstanceForType()
Returns
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
getParserForType()
public Parser<FirewallPolicyRuleSecureTag> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
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
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public FirewallPolicyRuleSecureTag.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected FirewallPolicyRuleSecureTag.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public FirewallPolicyRuleSecureTag.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions