public static final class FirewallPolicyRuleSecureTag.Builder extends GeneratedMessage.Builder<FirewallPolicyRuleSecureTag.Builder> implements FirewallPolicyRuleSecureTagOrBuilder Protobuf type google.cloud.compute.v1.FirewallPolicyRuleSecureTag
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > FirewallPolicyRuleSecureTag.BuilderImplements
FirewallPolicyRuleSecureTagOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public FirewallPolicyRuleSecureTag build()| Returns | |
|---|---|
| Type | Description |
FirewallPolicyRuleSecureTag |
|
buildPartial()
public FirewallPolicyRuleSecureTag buildPartial()| Returns | |
|---|---|
| Type | Description |
FirewallPolicyRuleSecureTag |
|
clear()
public FirewallPolicyRuleSecureTag.Builder clear()| Returns | |
|---|---|
| Type | Description |
FirewallPolicyRuleSecureTag.Builder |
|
clearName()
public FirewallPolicyRuleSecureTag.Builder clearName()Name of the secure tag, created with TagManager's TagValue API.
optional string name = 3373707;
| Returns | |
|---|---|
| Type | Description |
FirewallPolicyRuleSecureTag.Builder |
This builder for chaining. |
clearState()
public FirewallPolicyRuleSecureTag.Builder clearState() Output only. [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 |
FirewallPolicyRuleSecureTag.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public FirewallPolicyRuleSecureTag getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
FirewallPolicyRuleSecureTag |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String 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()
public String getState() Output only. [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. [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()
public boolean 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. [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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(FirewallPolicyRuleSecureTag other)
public FirewallPolicyRuleSecureTag.Builder mergeFrom(FirewallPolicyRuleSecureTag other)| Parameter | |
|---|---|
| Name | Description |
other |
FirewallPolicyRuleSecureTag |
| Returns | |
|---|---|
| Type | Description |
FirewallPolicyRuleSecureTag.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public FirewallPolicyRuleSecureTag.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FirewallPolicyRuleSecureTag.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public FirewallPolicyRuleSecureTag.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
FirewallPolicyRuleSecureTag.Builder |
|
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 |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
FirewallPolicyRuleSecureTag.Builder |
This builder for chaining. |
setState(String value)
public FirewallPolicyRuleSecureTag.Builder setState(String value) Output only. [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 |
StringThe state to set. |
| Returns | |
|---|---|
| Type | Description |
FirewallPolicyRuleSecureTag.Builder |
This builder for chaining. |
setStateBytes(ByteString value)
public FirewallPolicyRuleSecureTag.Builder setStateBytes(ByteString value) Output only. [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 |
ByteStringThe bytes for state to set. |
| Returns | |
|---|---|
| Type | Description |
FirewallPolicyRuleSecureTag.Builder |
This builder for chaining. |