Class FirewallPolicyRuleSecureTag.Builder (1.24.0)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public FirewallPolicyRuleSecureTag.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
FirewallPolicyRuleSecureTag.Builder
Overrides

build()

public FirewallPolicyRuleSecureTag build()
Returns
TypeDescription
FirewallPolicyRuleSecureTag

buildPartial()

public FirewallPolicyRuleSecureTag buildPartial()
Returns
TypeDescription
FirewallPolicyRuleSecureTag

clear()

public FirewallPolicyRuleSecureTag.Builder clear()
Returns
TypeDescription
FirewallPolicyRuleSecureTag.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public FirewallPolicyRuleSecureTag.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
FirewallPolicyRuleSecureTag.Builder
Overrides

clearName()

public FirewallPolicyRuleSecureTag.Builder clearName()

Name of the secure tag, created with TagManager's TagValue API.

optional string name = 3373707;

Returns
TypeDescription
FirewallPolicyRuleSecureTag.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public FirewallPolicyRuleSecureTag.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
FirewallPolicyRuleSecureTag.Builder
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
TypeDescription
FirewallPolicyRuleSecureTag.Builder

This builder for chaining.

clone()

public FirewallPolicyRuleSecureTag.Builder clone()
Returns
TypeDescription
FirewallPolicyRuleSecureTag.Builder
Overrides

getDefaultInstanceForType()

public FirewallPolicyRuleSecureTag getDefaultInstanceForType()
Returns
TypeDescription
FirewallPolicyRuleSecureTag

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Name of the secure tag, created with TagManager's TagValue API.

optional string name = 3373707;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Name of the secure tag, created with TagManager's TagValue API.

optional string name = 3373707;

Returns
TypeDescription
ByteString

The bytes for name.

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;

Returns
TypeDescription
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
TypeDescription
ByteString

The bytes for state.

hasName()

public boolean hasName()

Name of the secure tag, created with TagManager's TagValue API.

optional string name = 3373707;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the state field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(FirewallPolicyRuleSecureTag other)

public FirewallPolicyRuleSecureTag.Builder mergeFrom(FirewallPolicyRuleSecureTag other)
Parameter
NameDescription
otherFirewallPolicyRuleSecureTag
Returns
TypeDescription
FirewallPolicyRuleSecureTag.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public FirewallPolicyRuleSecureTag.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FirewallPolicyRuleSecureTag.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public FirewallPolicyRuleSecureTag.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
FirewallPolicyRuleSecureTag.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FirewallPolicyRuleSecureTag.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
FirewallPolicyRuleSecureTag.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public FirewallPolicyRuleSecureTag.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
FirewallPolicyRuleSecureTag.Builder
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
FirewallPolicyRuleSecureTag.Builder

This builder for chaining.

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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
FirewallPolicyRuleSecureTag.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public FirewallPolicyRuleSecureTag.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
FirewallPolicyRuleSecureTag.Builder
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
NameDescription
valueString

The state to set.

Returns
TypeDescription
FirewallPolicyRuleSecureTag.Builder

This builder for chaining.

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
NameDescription
valueByteString

The bytes for state to set.

Returns
TypeDescription
FirewallPolicyRuleSecureTag.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final FirewallPolicyRuleSecureTag.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
FirewallPolicyRuleSecureTag.Builder
Overrides