Uses of Class
com.google.cloud.compute.v1.Firewall.Builder
-
Uses of Firewall.Builder in com.google.cloud.compute.v1
Methods in com.google.cloud.compute.v1 that return Firewall.BuilderModifier and TypeMethodDescriptionFirewall.Builder.addAllAllowed(Iterable<? extends Allowed> values) The list of ALLOW rules specified by this firewall.Firewall.Builder.addAllDenied(Iterable<? extends Denied> values) The list of DENY rules specified by this firewall.Firewall.Builder.addAllDestinationRanges(Iterable<String> values) If destination ranges are specified, the firewall rule applies only to traffic that has destination IP address in these ranges.Firewall.Builder.addAllowed(int index, Allowed value) The list of ALLOW rules specified by this firewall.Firewall.Builder.addAllowed(int index, Allowed.Builder builderForValue) The list of ALLOW rules specified by this firewall.Firewall.Builder.addAllowed(Allowed value) The list of ALLOW rules specified by this firewall.Firewall.Builder.addAllowed(Allowed.Builder builderForValue) The list of ALLOW rules specified by this firewall.Firewall.Builder.addAllSourceRanges(Iterable<String> values) If source ranges are specified, the firewall rule applies only to traffic that has a source IP address in these ranges.Firewall.Builder.addAllSourceServiceAccounts(Iterable<String> values) If source service accounts are specified, the firewall rules apply only to traffic originating from an instance with a service account in this list.Firewall.Builder.addAllSourceTags(Iterable<String> values) If source tags are specified, the firewall rule applies only to traffic with source IPs that match the primary network interfaces of VM instances that have the tag and are in the same VPC network.Firewall.Builder.addAllTargetServiceAccounts(Iterable<String> values) A list of service accounts indicating sets of instances located in the network that may make network connections as specified inallowed[].targetServiceAccounts cannot be used at the same time astargetTags or sourceTags.Firewall.Builder.addAllTargetTags(Iterable<String> values) A list of tags that controls which instances the firewall rule applies to.The list of DENY rules specified by this firewall.Firewall.Builder.addDenied(int index, Denied.Builder builderForValue) The list of DENY rules specified by this firewall.The list of DENY rules specified by this firewall.Firewall.Builder.addDenied(Denied.Builder builderForValue) The list of DENY rules specified by this firewall.Firewall.Builder.addDestinationRanges(String value) If destination ranges are specified, the firewall rule applies only to traffic that has destination IP address in these ranges.Firewall.Builder.addDestinationRangesBytes(com.google.protobuf.ByteString value) If destination ranges are specified, the firewall rule applies only to traffic that has destination IP address in these ranges.InstancesGetEffectiveFirewallsResponse.Builder.addFirewallsBuilder()Effective firewalls on the instance.InstancesGetEffectiveFirewallsResponse.Builder.addFirewallsBuilder(int index) Effective firewalls on the instance.NetworksGetEffectiveFirewallsResponse.Builder.addFirewallsBuilder()Effective firewalls on the network.NetworksGetEffectiveFirewallsResponse.Builder.addFirewallsBuilder(int index) Effective firewalls on the network.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse.Builder.addFirewallsBuilder()Effective firewalls on the network.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse.Builder.addFirewallsBuilder(int index) Effective firewalls on the network.FirewallList.Builder.addItemsBuilder()A list of Firewall resources.FirewallList.Builder.addItemsBuilder(int index) A list of Firewall resources.Firewall.Builder.addSourceRanges(String value) If source ranges are specified, the firewall rule applies only to traffic that has a source IP address in these ranges.Firewall.Builder.addSourceRangesBytes(com.google.protobuf.ByteString value) If source ranges are specified, the firewall rule applies only to traffic that has a source IP address in these ranges.Firewall.Builder.addSourceServiceAccounts(String value) If source service accounts are specified, the firewall rules apply only to traffic originating from an instance with a service account in this list.Firewall.Builder.addSourceServiceAccountsBytes(com.google.protobuf.ByteString value) If source service accounts are specified, the firewall rules apply only to traffic originating from an instance with a service account in this list.Firewall.Builder.addSourceTags(String value) If source tags are specified, the firewall rule applies only to traffic with source IPs that match the primary network interfaces of VM instances that have the tag and are in the same VPC network.Firewall.Builder.addSourceTagsBytes(com.google.protobuf.ByteString value) If source tags are specified, the firewall rule applies only to traffic with source IPs that match the primary network interfaces of VM instances that have the tag and are in the same VPC network.Firewall.Builder.addTargetServiceAccounts(String value) A list of service accounts indicating sets of instances located in the network that may make network connections as specified inallowed[].targetServiceAccounts cannot be used at the same time astargetTags or sourceTags.Firewall.Builder.addTargetServiceAccountsBytes(com.google.protobuf.ByteString value) A list of service accounts indicating sets of instances located in the network that may make network connections as specified inallowed[].targetServiceAccounts cannot be used at the same time astargetTags or sourceTags.Firewall.Builder.addTargetTags(String value) A list of tags that controls which instances the firewall rule applies to.Firewall.Builder.addTargetTagsBytes(com.google.protobuf.ByteString value) A list of tags that controls which instances the firewall rule applies to.Firewall.Builder.clear()Firewall.Builder.clearAllowed()The list of ALLOW rules specified by this firewall.Firewall.Builder.clearCreationTimestamp()Output only.Firewall.Builder.clearDenied()The list of DENY rules specified by this firewall.Firewall.Builder.clearDescription()An optional description of this resource.Firewall.Builder.clearDestinationRanges()If destination ranges are specified, the firewall rule applies only to traffic that has destination IP address in these ranges.Firewall.Builder.clearDirection()Direction of traffic to which this firewall applies, either `INGRESS` or `EGRESS`.Firewall.Builder.clearDisabled()Denotes whether the firewall rule is disabled.Firewall.Builder.clearId()Output only.Firewall.Builder.clearKind()Output only.Firewall.Builder.clearLogConfig()This field denotes the logging options for a particular firewall rule.Firewall.Builder.clearName()Name of the resource; provided by the client when the resource is created.Firewall.Builder.clearNetwork()URL of the network resource for this firewall rule.Firewall.Builder.clearParams()Input only.Firewall.Builder.clearPriority()Priority for this rule.Firewall.Builder.clearSelfLink()[Output Only] Server-defined URL for the resource.Firewall.Builder.clearSourceRanges()If source ranges are specified, the firewall rule applies only to traffic that has a source IP address in these ranges.Firewall.Builder.clearSourceServiceAccounts()If source service accounts are specified, the firewall rules apply only to traffic originating from an instance with a service account in this list.Firewall.Builder.clearSourceTags()If source tags are specified, the firewall rule applies only to traffic with source IPs that match the primary network interfaces of VM instances that have the tag and are in the same VPC network.Firewall.Builder.clearTargetServiceAccounts()A list of service accounts indicating sets of instances located in the network that may make network connections as specified inallowed[].targetServiceAccounts cannot be used at the same time astargetTags or sourceTags.Firewall.Builder.clearTargetTags()A list of tags that controls which instances the firewall rule applies to.InsertFirewallRequest.Builder.getFirewallResourceBuilder()The body resource for this requestPatchFirewallRequest.Builder.getFirewallResourceBuilder()The body resource for this requestUpdateFirewallRequest.Builder.getFirewallResourceBuilder()The body resource for this requestInstancesGetEffectiveFirewallsResponse.Builder.getFirewallsBuilder(int index) Effective firewalls on the instance.NetworksGetEffectiveFirewallsResponse.Builder.getFirewallsBuilder(int index) Effective firewalls on the network.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse.Builder.getFirewallsBuilder(int index) Effective firewalls on the network.FirewallList.Builder.getItemsBuilder(int index) A list of Firewall resources.Firewall.Builder.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) Firewall.Builder.mergeFrom(com.google.protobuf.Message other) Firewall.Builder.mergeLogConfig(FirewallLogConfig value) This field denotes the logging options for a particular firewall rule.Firewall.Builder.mergeParams(FirewallParams value) Input only.static Firewall.BuilderFirewall.newBuilder()static Firewall.BuilderFirewall.newBuilder(Firewall prototype) Firewall.newBuilderForType()protected Firewall.BuilderFirewall.newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) Firewall.Builder.removeAllowed(int index) The list of ALLOW rules specified by this firewall.Firewall.Builder.removeDenied(int index) The list of DENY rules specified by this firewall.Firewall.Builder.setAllowed(int index, Allowed value) The list of ALLOW rules specified by this firewall.Firewall.Builder.setAllowed(int index, Allowed.Builder builderForValue) The list of ALLOW rules specified by this firewall.Firewall.Builder.setCreationTimestamp(String value) Output only.Firewall.Builder.setCreationTimestampBytes(com.google.protobuf.ByteString value) Output only.The list of DENY rules specified by this firewall.Firewall.Builder.setDenied(int index, Denied.Builder builderForValue) The list of DENY rules specified by this firewall.Firewall.Builder.setDescription(String value) An optional description of this resource.Firewall.Builder.setDescriptionBytes(com.google.protobuf.ByteString value) An optional description of this resource.Firewall.Builder.setDestinationRanges(int index, String value) If destination ranges are specified, the firewall rule applies only to traffic that has destination IP address in these ranges.Firewall.Builder.setDirection(String value) Direction of traffic to which this firewall applies, either `INGRESS` or `EGRESS`.Firewall.Builder.setDirectionBytes(com.google.protobuf.ByteString value) Direction of traffic to which this firewall applies, either `INGRESS` or `EGRESS`.Firewall.Builder.setDisabled(boolean value) Denotes whether the firewall rule is disabled.Firewall.Builder.setId(long value) Output only.Output only.Firewall.Builder.setKindBytes(com.google.protobuf.ByteString value) Output only.Firewall.Builder.setLogConfig(FirewallLogConfig value) This field denotes the logging options for a particular firewall rule.Firewall.Builder.setLogConfig(FirewallLogConfig.Builder builderForValue) This field denotes the logging options for a particular firewall rule.Name of the resource; provided by the client when the resource is created.Firewall.Builder.setNameBytes(com.google.protobuf.ByteString value) Name of the resource; provided by the client when the resource is created.Firewall.Builder.setNetwork(String value) URL of the network resource for this firewall rule.Firewall.Builder.setNetworkBytes(com.google.protobuf.ByteString value) URL of the network resource for this firewall rule.Firewall.Builder.setParams(FirewallParams value) Input only.Firewall.Builder.setParams(FirewallParams.Builder builderForValue) Input only.Firewall.Builder.setPriority(int value) Priority for this rule.Firewall.Builder.setSelfLink(String value) [Output Only] Server-defined URL for the resource.Firewall.Builder.setSelfLinkBytes(com.google.protobuf.ByteString value) [Output Only] Server-defined URL for the resource.Firewall.Builder.setSourceRanges(int index, String value) If source ranges are specified, the firewall rule applies only to traffic that has a source IP address in these ranges.Firewall.Builder.setSourceServiceAccounts(int index, String value) If source service accounts are specified, the firewall rules apply only to traffic originating from an instance with a service account in this list.Firewall.Builder.setSourceTags(int index, String value) If source tags are specified, the firewall rule applies only to traffic with source IPs that match the primary network interfaces of VM instances that have the tag and are in the same VPC network.Firewall.Builder.setTargetServiceAccounts(int index, String value) A list of service accounts indicating sets of instances located in the network that may make network connections as specified inallowed[].targetServiceAccounts cannot be used at the same time astargetTags or sourceTags.Firewall.Builder.setTargetTags(int index, String value) A list of tags that controls which instances the firewall rule applies to.Firewall.toBuilder()Methods in com.google.cloud.compute.v1 that return types with arguments of type Firewall.BuilderModifier and TypeMethodDescriptionInstancesGetEffectiveFirewallsResponse.Builder.getFirewallsBuilderList()Effective firewalls on the instance.NetworksGetEffectiveFirewallsResponse.Builder.getFirewallsBuilderList()Effective firewalls on the network.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse.Builder.getFirewallsBuilderList()Effective firewalls on the network.FirewallList.Builder.getItemsBuilderList()A list of Firewall resources.Methods in com.google.cloud.compute.v1 with parameters of type Firewall.BuilderModifier and TypeMethodDescriptionInstancesGetEffectiveFirewallsResponse.Builder.addFirewalls(int index, Firewall.Builder builderForValue) Effective firewalls on the instance.InstancesGetEffectiveFirewallsResponse.Builder.addFirewalls(Firewall.Builder builderForValue) Effective firewalls on the instance.NetworksGetEffectiveFirewallsResponse.Builder.addFirewalls(int index, Firewall.Builder builderForValue) Effective firewalls on the network.NetworksGetEffectiveFirewallsResponse.Builder.addFirewalls(Firewall.Builder builderForValue) Effective firewalls on the network.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse.Builder.addFirewalls(int index, Firewall.Builder builderForValue) Effective firewalls on the network.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse.Builder.addFirewalls(Firewall.Builder builderForValue) Effective firewalls on the network.FirewallList.Builder.addItems(int index, Firewall.Builder builderForValue) A list of Firewall resources.FirewallList.Builder.addItems(Firewall.Builder builderForValue) A list of Firewall resources.InsertFirewallRequest.Builder.setFirewallResource(Firewall.Builder builderForValue) The body resource for this requestPatchFirewallRequest.Builder.setFirewallResource(Firewall.Builder builderForValue) The body resource for this requestUpdateFirewallRequest.Builder.setFirewallResource(Firewall.Builder builderForValue) The body resource for this requestInstancesGetEffectiveFirewallsResponse.Builder.setFirewalls(int index, Firewall.Builder builderForValue) Effective firewalls on the instance.NetworksGetEffectiveFirewallsResponse.Builder.setFirewalls(int index, Firewall.Builder builderForValue) Effective firewalls on the network.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse.Builder.setFirewalls(int index, Firewall.Builder builderForValue) Effective firewalls on the network.FirewallList.Builder.setItems(int index, Firewall.Builder builderForValue) A list of Firewall resources.