- 1.52.0 (latest)
- 1.50.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.38.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.10.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.1.10
public static final class FirewallInfo.Builder extends GeneratedMessageV3.Builder<FirewallInfo.Builder> implements FirewallInfoOrBuilder
For display only. Metadata associated with a VPC firewall rule, an implied VPC firewall rule, or a hierarchical firewall policy rule.
Protobuf type google.cloud.networkmanagement.v1beta1.FirewallInfo
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > FirewallInfo.BuilderImplements
FirewallInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllTargetServiceAccounts(Iterable<String> values)
public FirewallInfo.Builder addAllTargetServiceAccounts(Iterable<String> values)
The target service accounts specified by the firewall rule.
repeated string target_service_accounts = 8;
Name | Description |
values | Iterable<String> The targetServiceAccounts to add. |
Type | Description |
FirewallInfo.Builder | This builder for chaining. |
addAllTargetTags(Iterable<String> values)
public FirewallInfo.Builder addAllTargetTags(Iterable<String> values)
The target tags defined by the VPC firewall rule. This field is not applicable to hierarchical firewall policy rules.
repeated string target_tags = 7;
Name | Description |
values | Iterable<String> The targetTags to add. |
Type | Description |
FirewallInfo.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FirewallInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
FirewallInfo.Builder |
addTargetServiceAccounts(String value)
public FirewallInfo.Builder addTargetServiceAccounts(String value)
The target service accounts specified by the firewall rule.
repeated string target_service_accounts = 8;
Name | Description |
value | String The targetServiceAccounts to add. |
Type | Description |
FirewallInfo.Builder | This builder for chaining. |
addTargetServiceAccountsBytes(ByteString value)
public FirewallInfo.Builder addTargetServiceAccountsBytes(ByteString value)
The target service accounts specified by the firewall rule.
repeated string target_service_accounts = 8;
Name | Description |
value | ByteString The bytes of the targetServiceAccounts to add. |
Type | Description |
FirewallInfo.Builder | This builder for chaining. |
addTargetTags(String value)
public FirewallInfo.Builder addTargetTags(String value)
The target tags defined by the VPC firewall rule. This field is not applicable to hierarchical firewall policy rules.
repeated string target_tags = 7;
Name | Description |
value | String The targetTags to add. |
Type | Description |
FirewallInfo.Builder | This builder for chaining. |
addTargetTagsBytes(ByteString value)
public FirewallInfo.Builder addTargetTagsBytes(ByteString value)
The target tags defined by the VPC firewall rule. This field is not applicable to hierarchical firewall policy rules.
repeated string target_tags = 7;
Name | Description |
value | ByteString The bytes of the targetTags to add. |
Type | Description |
FirewallInfo.Builder | This builder for chaining. |
build()
public FirewallInfo build()
Type | Description |
FirewallInfo |
buildPartial()
public FirewallInfo buildPartial()
Type | Description |
FirewallInfo |
clear()
public FirewallInfo.Builder clear()
Type | Description |
FirewallInfo.Builder |
clearAction()
public FirewallInfo.Builder clearAction()
Possible values: ALLOW, DENY
string action = 4;
Type | Description |
FirewallInfo.Builder | This builder for chaining. |
clearDirection()
public FirewallInfo.Builder clearDirection()
Possible values: INGRESS, EGRESS
string direction = 3;
Type | Description |
FirewallInfo.Builder | This builder for chaining. |
clearDisplayName()
public FirewallInfo.Builder clearDisplayName()
The display name of the VPC firewall rule. This field is not applicable to hierarchical firewall policy rules.
string display_name = 1;
Type | Description |
FirewallInfo.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public FirewallInfo.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
FirewallInfo.Builder |
clearFirewallRuleType()
public FirewallInfo.Builder clearFirewallRuleType()
The firewall rule's type.
.google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType firewall_rule_type = 10;
Type | Description |
FirewallInfo.Builder | This builder for chaining. |
clearNetworkUri()
public FirewallInfo.Builder clearNetworkUri()
The URI of the VPC network that the firewall rule is associated with. This field is not applicable to hierarchical firewall policy rules.
string network_uri = 6;
Type | Description |
FirewallInfo.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public FirewallInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
FirewallInfo.Builder |
clearPolicy()
public FirewallInfo.Builder clearPolicy()
The hierarchical firewall policy that this rule is associated with. This field is not applicable to VPC firewall rules.
string policy = 9;
Type | Description |
FirewallInfo.Builder | This builder for chaining. |
clearPriority()
public FirewallInfo.Builder clearPriority()
The priority of the firewall rule.
int32 priority = 5;
Type | Description |
FirewallInfo.Builder | This builder for chaining. |
clearTargetServiceAccounts()
public FirewallInfo.Builder clearTargetServiceAccounts()
The target service accounts specified by the firewall rule.
repeated string target_service_accounts = 8;
Type | Description |
FirewallInfo.Builder | This builder for chaining. |
clearTargetTags()
public FirewallInfo.Builder clearTargetTags()
The target tags defined by the VPC firewall rule. This field is not applicable to hierarchical firewall policy rules.
repeated string target_tags = 7;
Type | Description |
FirewallInfo.Builder | This builder for chaining. |
clearUri()
public FirewallInfo.Builder clearUri()
The URI of the VPC firewall rule. This field is not applicable to implied firewall rules or hierarchical firewall policy rules.
string uri = 2;
Type | Description |
FirewallInfo.Builder | This builder for chaining. |
clone()
public FirewallInfo.Builder clone()
Type | Description |
FirewallInfo.Builder |
getAction()
public String getAction()
Possible values: ALLOW, DENY
string action = 4;
Type | Description |
String | The action. |
getActionBytes()
public ByteString getActionBytes()
Possible values: ALLOW, DENY
string action = 4;
Type | Description |
ByteString | The bytes for action. |
getDefaultInstanceForType()
public FirewallInfo getDefaultInstanceForType()
Type | Description |
FirewallInfo |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDirection()
public String getDirection()
Possible values: INGRESS, EGRESS
string direction = 3;
Type | Description |
String | The direction. |
getDirectionBytes()
public ByteString getDirectionBytes()
Possible values: INGRESS, EGRESS
string direction = 3;
Type | Description |
ByteString | The bytes for direction. |
getDisplayName()
public String getDisplayName()
The display name of the VPC firewall rule. This field is not applicable to hierarchical firewall policy rules.
string display_name = 1;
Type | Description |
String | The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
The display name of the VPC firewall rule. This field is not applicable to hierarchical firewall policy rules.
string display_name = 1;
Type | Description |
ByteString | The bytes for displayName. |
getFirewallRuleType()
public FirewallInfo.FirewallRuleType getFirewallRuleType()
The firewall rule's type.
.google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType firewall_rule_type = 10;
Type | Description |
FirewallInfo.FirewallRuleType | The firewallRuleType. |
getFirewallRuleTypeValue()
public int getFirewallRuleTypeValue()
The firewall rule's type.
.google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType firewall_rule_type = 10;
Type | Description |
int | The enum numeric value on the wire for firewallRuleType. |
getNetworkUri()
public String getNetworkUri()
The URI of the VPC network that the firewall rule is associated with. This field is not applicable to hierarchical firewall policy rules.
string network_uri = 6;
Type | Description |
String | The networkUri. |
getNetworkUriBytes()
public ByteString getNetworkUriBytes()
The URI of the VPC network that the firewall rule is associated with. This field is not applicable to hierarchical firewall policy rules.
string network_uri = 6;
Type | Description |
ByteString | The bytes for networkUri. |
getPolicy()
public String getPolicy()
The hierarchical firewall policy that this rule is associated with. This field is not applicable to VPC firewall rules.
string policy = 9;
Type | Description |
String | The policy. |
getPolicyBytes()
public ByteString getPolicyBytes()
The hierarchical firewall policy that this rule is associated with. This field is not applicable to VPC firewall rules.
string policy = 9;
Type | Description |
ByteString | The bytes for policy. |
getPriority()
public int getPriority()
The priority of the firewall rule.
int32 priority = 5;
Type | Description |
int | The priority. |
getTargetServiceAccounts(int index)
public String getTargetServiceAccounts(int index)
The target service accounts specified by the firewall rule.
repeated string target_service_accounts = 8;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The targetServiceAccounts at the given index. |
getTargetServiceAccountsBytes(int index)
public ByteString getTargetServiceAccountsBytes(int index)
The target service accounts specified by the firewall rule.
repeated string target_service_accounts = 8;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the targetServiceAccounts at the given index. |
getTargetServiceAccountsCount()
public int getTargetServiceAccountsCount()
The target service accounts specified by the firewall rule.
repeated string target_service_accounts = 8;
Type | Description |
int | The count of targetServiceAccounts. |
getTargetServiceAccountsList()
public ProtocolStringList getTargetServiceAccountsList()
The target service accounts specified by the firewall rule.
repeated string target_service_accounts = 8;
Type | Description |
ProtocolStringList | A list containing the targetServiceAccounts. |
getTargetTags(int index)
public String getTargetTags(int index)
The target tags defined by the VPC firewall rule. This field is not applicable to hierarchical firewall policy rules.
repeated string target_tags = 7;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The targetTags at the given index. |
getTargetTagsBytes(int index)
public ByteString getTargetTagsBytes(int index)
The target tags defined by the VPC firewall rule. This field is not applicable to hierarchical firewall policy rules.
repeated string target_tags = 7;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the targetTags at the given index. |
getTargetTagsCount()
public int getTargetTagsCount()
The target tags defined by the VPC firewall rule. This field is not applicable to hierarchical firewall policy rules.
repeated string target_tags = 7;
Type | Description |
int | The count of targetTags. |
getTargetTagsList()
public ProtocolStringList getTargetTagsList()
The target tags defined by the VPC firewall rule. This field is not applicable to hierarchical firewall policy rules.
repeated string target_tags = 7;
Type | Description |
ProtocolStringList | A list containing the targetTags. |
getUri()
public String getUri()
The URI of the VPC firewall rule. This field is not applicable to implied firewall rules or hierarchical firewall policy rules.
string uri = 2;
Type | Description |
String | The uri. |
getUriBytes()
public ByteString getUriBytes()
The URI of the VPC firewall rule. This field is not applicable to implied firewall rules or hierarchical firewall policy rules.
string uri = 2;
Type | Description |
ByteString | The bytes for uri. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(FirewallInfo other)
public FirewallInfo.Builder mergeFrom(FirewallInfo other)
Name | Description |
other | FirewallInfo |
Type | Description |
FirewallInfo.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public FirewallInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
FirewallInfo.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public FirewallInfo.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
FirewallInfo.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FirewallInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
FirewallInfo.Builder |
setAction(String value)
public FirewallInfo.Builder setAction(String value)
Possible values: ALLOW, DENY
string action = 4;
Name | Description |
value | String The action to set. |
Type | Description |
FirewallInfo.Builder | This builder for chaining. |
setActionBytes(ByteString value)
public FirewallInfo.Builder setActionBytes(ByteString value)
Possible values: ALLOW, DENY
string action = 4;
Name | Description |
value | ByteString The bytes for action to set. |
Type | Description |
FirewallInfo.Builder | This builder for chaining. |
setDirection(String value)
public FirewallInfo.Builder setDirection(String value)
Possible values: INGRESS, EGRESS
string direction = 3;
Name | Description |
value | String The direction to set. |
Type | Description |
FirewallInfo.Builder | This builder for chaining. |
setDirectionBytes(ByteString value)
public FirewallInfo.Builder setDirectionBytes(ByteString value)
Possible values: INGRESS, EGRESS
string direction = 3;
Name | Description |
value | ByteString The bytes for direction to set. |
Type | Description |
FirewallInfo.Builder | This builder for chaining. |
setDisplayName(String value)
public FirewallInfo.Builder setDisplayName(String value)
The display name of the VPC firewall rule. This field is not applicable to hierarchical firewall policy rules.
string display_name = 1;
Name | Description |
value | String The displayName to set. |
Type | Description |
FirewallInfo.Builder | This builder for chaining. |
setDisplayNameBytes(ByteString value)
public FirewallInfo.Builder setDisplayNameBytes(ByteString value)
The display name of the VPC firewall rule. This field is not applicable to hierarchical firewall policy rules.
string display_name = 1;
Name | Description |
value | ByteString The bytes for displayName to set. |
Type | Description |
FirewallInfo.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public FirewallInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
FirewallInfo.Builder |
setFirewallRuleType(FirewallInfo.FirewallRuleType value)
public FirewallInfo.Builder setFirewallRuleType(FirewallInfo.FirewallRuleType value)
The firewall rule's type.
.google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType firewall_rule_type = 10;
Name | Description |
value | FirewallInfo.FirewallRuleType The firewallRuleType to set. |
Type | Description |
FirewallInfo.Builder | This builder for chaining. |
setFirewallRuleTypeValue(int value)
public FirewallInfo.Builder setFirewallRuleTypeValue(int value)
The firewall rule's type.
.google.cloud.networkmanagement.v1beta1.FirewallInfo.FirewallRuleType firewall_rule_type = 10;
Name | Description |
value | int The enum numeric value on the wire for firewallRuleType to set. |
Type | Description |
FirewallInfo.Builder | This builder for chaining. |
setNetworkUri(String value)
public FirewallInfo.Builder setNetworkUri(String value)
The URI of the VPC network that the firewall rule is associated with. This field is not applicable to hierarchical firewall policy rules.
string network_uri = 6;
Name | Description |
value | String The networkUri to set. |
Type | Description |
FirewallInfo.Builder | This builder for chaining. |
setNetworkUriBytes(ByteString value)
public FirewallInfo.Builder setNetworkUriBytes(ByteString value)
The URI of the VPC network that the firewall rule is associated with. This field is not applicable to hierarchical firewall policy rules.
string network_uri = 6;
Name | Description |
value | ByteString The bytes for networkUri to set. |
Type | Description |
FirewallInfo.Builder | This builder for chaining. |
setPolicy(String value)
public FirewallInfo.Builder setPolicy(String value)
The hierarchical firewall policy that this rule is associated with. This field is not applicable to VPC firewall rules.
string policy = 9;
Name | Description |
value | String The policy to set. |
Type | Description |
FirewallInfo.Builder | This builder for chaining. |
setPolicyBytes(ByteString value)
public FirewallInfo.Builder setPolicyBytes(ByteString value)
The hierarchical firewall policy that this rule is associated with. This field is not applicable to VPC firewall rules.
string policy = 9;
Name | Description |
value | ByteString The bytes for policy to set. |
Type | Description |
FirewallInfo.Builder | This builder for chaining. |
setPriority(int value)
public FirewallInfo.Builder setPriority(int value)
The priority of the firewall rule.
int32 priority = 5;
Name | Description |
value | int The priority to set. |
Type | Description |
FirewallInfo.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FirewallInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
FirewallInfo.Builder |
setTargetServiceAccounts(int index, String value)
public FirewallInfo.Builder setTargetServiceAccounts(int index, String value)
The target service accounts specified by the firewall rule.
repeated string target_service_accounts = 8;
Name | Description |
index | int The index to set the value at. |
value | String The targetServiceAccounts to set. |
Type | Description |
FirewallInfo.Builder | This builder for chaining. |
setTargetTags(int index, String value)
public FirewallInfo.Builder setTargetTags(int index, String value)
The target tags defined by the VPC firewall rule. This field is not applicable to hierarchical firewall policy rules.
repeated string target_tags = 7;
Name | Description |
index | int The index to set the value at. |
value | String The targetTags to set. |
Type | Description |
FirewallInfo.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final FirewallInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
FirewallInfo.Builder |
setUri(String value)
public FirewallInfo.Builder setUri(String value)
The URI of the VPC firewall rule. This field is not applicable to implied firewall rules or hierarchical firewall policy rules.
string uri = 2;
Name | Description |
value | String The uri to set. |
Type | Description |
FirewallInfo.Builder | This builder for chaining. |
setUriBytes(ByteString value)
public FirewallInfo.Builder setUriBytes(ByteString value)
The URI of the VPC firewall rule. This field is not applicable to implied firewall rules or hierarchical firewall policy rules.
string uri = 2;
Name | Description |
value | ByteString The bytes for uri to set. |
Type | Description |
FirewallInfo.Builder | This builder for chaining. |