Package com.google.cloud.vmwareengine.v1
Class ExternalAccessRule.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ExternalAccessRule.Builder>
com.google.cloud.vmwareengine.v1.ExternalAccessRule.Builder
- All Implemented Interfaces:
ExternalAccessRuleOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ExternalAccessRule
public static final class ExternalAccessRule.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ExternalAccessRule.Builder>
implements ExternalAccessRuleOrBuilder
External access firewall rules for filtering incoming traffic destined to `ExternalAddress` resources.Protobuf type
google.cloud.vmwareengine.v1.ExternalAccessRule-
Method Summary
Modifier and TypeMethodDescriptionaddAllDestinationIpRanges(Iterable<? extends ExternalAccessRule.IpRange> values) If destination ranges are specified, the external access rule applies only to the traffic that has a destination IP address in these ranges.addAllDestinationPorts(Iterable<String> values) A list of destination ports to which the external access rule applies.addAllSourceIpRanges(Iterable<? extends ExternalAccessRule.IpRange> values) If source ranges are specified, the external access rule applies only to traffic that has a source IP address in these ranges.addAllSourcePorts(Iterable<String> values) A list of source ports to which the external access rule applies.addDestinationIpRanges(int index, ExternalAccessRule.IpRange value) If destination ranges are specified, the external access rule applies only to the traffic that has a destination IP address in these ranges.addDestinationIpRanges(int index, ExternalAccessRule.IpRange.Builder builderForValue) If destination ranges are specified, the external access rule applies only to the traffic that has a destination IP address in these ranges.If destination ranges are specified, the external access rule applies only to the traffic that has a destination IP address in these ranges.addDestinationIpRanges(ExternalAccessRule.IpRange.Builder builderForValue) If destination ranges are specified, the external access rule applies only to the traffic that has a destination IP address in these ranges.If destination ranges are specified, the external access rule applies only to the traffic that has a destination IP address in these ranges.addDestinationIpRangesBuilder(int index) If destination ranges are specified, the external access rule applies only to the traffic that has a destination IP address in these ranges.addDestinationPorts(String value) A list of destination ports to which the external access rule applies.addDestinationPortsBytes(com.google.protobuf.ByteString value) A list of destination ports to which the external access rule applies.addSourceIpRanges(int index, ExternalAccessRule.IpRange value) If source ranges are specified, the external access rule applies only to traffic that has a source IP address in these ranges.addSourceIpRanges(int index, ExternalAccessRule.IpRange.Builder builderForValue) If source ranges are specified, the external access rule applies only to traffic that has a source IP address in these ranges.If source ranges are specified, the external access rule applies only to traffic that has a source IP address in these ranges.addSourceIpRanges(ExternalAccessRule.IpRange.Builder builderForValue) If source ranges are specified, the external access rule applies only to traffic that has a source IP address in these ranges.If source ranges are specified, the external access rule applies only to traffic that has a source IP address in these ranges.addSourceIpRangesBuilder(int index) If source ranges are specified, the external access rule applies only to traffic that has a source IP address in these ranges.addSourcePorts(String value) A list of source ports to which the external access rule applies.addSourcePortsBytes(com.google.protobuf.ByteString value) A list of source ports to which the external access rule applies.build()clear()The action that the external access rule performs.Output only.User-provided description for this external access rule.If destination ranges are specified, the external access rule applies only to the traffic that has a destination IP address in these ranges.A list of destination ports to which the external access rule applies.The IP protocol to which the external access rule applies.Output only.External access rule priority, which determines the external access rule to use when multiple rules apply.If source ranges are specified, the external access rule applies only to traffic that has a source IP address in these ranges.A list of source ports to which the external access rule applies.Output only.clearUid()Output only.Output only.The action that the external access rule performs.intThe action that the external access rule performs.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.User-provided description for this external access rule.com.google.protobuf.ByteStringUser-provided description for this external access rule.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetDestinationIpRanges(int index) If destination ranges are specified, the external access rule applies only to the traffic that has a destination IP address in these ranges.getDestinationIpRangesBuilder(int index) If destination ranges are specified, the external access rule applies only to the traffic that has a destination IP address in these ranges.If destination ranges are specified, the external access rule applies only to the traffic that has a destination IP address in these ranges.intIf destination ranges are specified, the external access rule applies only to the traffic that has a destination IP address in these ranges.If destination ranges are specified, the external access rule applies only to the traffic that has a destination IP address in these ranges.getDestinationIpRangesOrBuilder(int index) If destination ranges are specified, the external access rule applies only to the traffic that has a destination IP address in these ranges.List<? extends ExternalAccessRule.IpRangeOrBuilder>If destination ranges are specified, the external access rule applies only to the traffic that has a destination IP address in these ranges.getDestinationPorts(int index) A list of destination ports to which the external access rule applies.com.google.protobuf.ByteStringgetDestinationPortsBytes(int index) A list of destination ports to which the external access rule applies.intA list of destination ports to which the external access rule applies.com.google.protobuf.ProtocolStringListA list of destination ports to which the external access rule applies.The IP protocol to which the external access rule applies.com.google.protobuf.ByteStringThe IP protocol to which the external access rule applies.getName()Output only.com.google.protobuf.ByteStringOutput only.intExternal access rule priority, which determines the external access rule to use when multiple rules apply.getSourceIpRanges(int index) If source ranges are specified, the external access rule applies only to traffic that has a source IP address in these ranges.getSourceIpRangesBuilder(int index) If source ranges are specified, the external access rule applies only to traffic that has a source IP address in these ranges.If source ranges are specified, the external access rule applies only to traffic that has a source IP address in these ranges.intIf source ranges are specified, the external access rule applies only to traffic that has a source IP address in these ranges.If source ranges are specified, the external access rule applies only to traffic that has a source IP address in these ranges.getSourceIpRangesOrBuilder(int index) If source ranges are specified, the external access rule applies only to traffic that has a source IP address in these ranges.List<? extends ExternalAccessRule.IpRangeOrBuilder>If source ranges are specified, the external access rule applies only to traffic that has a source IP address in these ranges.getSourcePorts(int index) A list of source ports to which the external access rule applies.com.google.protobuf.ByteStringgetSourcePortsBytes(int index) A list of source ports to which the external access rule applies.intA list of source ports to which the external access rule applies.com.google.protobuf.ProtocolStringListA list of source ports to which the external access rule applies.getState()Output only.intOutput only.getUid()Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeCreateTime(com.google.protobuf.Timestamp value) Output only.mergeFrom(ExternalAccessRule other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUpdateTime(com.google.protobuf.Timestamp value) Output only.removeDestinationIpRanges(int index) If destination ranges are specified, the external access rule applies only to the traffic that has a destination IP address in these ranges.removeSourceIpRanges(int index) If source ranges are specified, the external access rule applies only to traffic that has a source IP address in these ranges.The action that the external access rule performs.setActionValue(int value) The action that the external access rule performs.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setDescription(String value) User-provided description for this external access rule.setDescriptionBytes(com.google.protobuf.ByteString value) User-provided description for this external access rule.setDestinationIpRanges(int index, ExternalAccessRule.IpRange value) If destination ranges are specified, the external access rule applies only to the traffic that has a destination IP address in these ranges.setDestinationIpRanges(int index, ExternalAccessRule.IpRange.Builder builderForValue) If destination ranges are specified, the external access rule applies only to the traffic that has a destination IP address in these ranges.setDestinationPorts(int index, String value) A list of destination ports to which the external access rule applies.setIpProtocol(String value) The IP protocol to which the external access rule applies.setIpProtocolBytes(com.google.protobuf.ByteString value) The IP protocol to which the external access rule applies.Output only.setNameBytes(com.google.protobuf.ByteString value) Output only.setPriority(int value) External access rule priority, which determines the external access rule to use when multiple rules apply.setSourceIpRanges(int index, ExternalAccessRule.IpRange value) If source ranges are specified, the external access rule applies only to traffic that has a source IP address in these ranges.setSourceIpRanges(int index, ExternalAccessRule.IpRange.Builder builderForValue) If source ranges are specified, the external access rule applies only to traffic that has a source IP address in these ranges.setSourcePorts(int index, String value) A list of source ports to which the external access rule applies.setState(ExternalAccessRule.State value) Output only.setStateValue(int value) Output only.Output only.setUidBytes(com.google.protobuf.ByteString value) Output only.setUpdateTime(com.google.protobuf.Timestamp value) Output only.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ExternalAccessRule.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ExternalAccessRule.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ExternalAccessRule.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ExternalAccessRule.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ExternalAccessRule.Builder>
-
mergeFrom
public ExternalAccessRule.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ExternalAccessRule.Builder>- Throws:
IOException
-
getName
Output only. The resource name of this external access rule. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1/networkPolicies/my-policy/externalAccessRules/my-rule`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNamein interfaceExternalAccessRuleOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Output only. The resource name of this external access rule. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1/networkPolicies/my-policy/externalAccessRules/my-rule`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNameBytesin interfaceExternalAccessRuleOrBuilder- Returns:
- The bytes for name.
-
setName
Output only. The resource name of this external access rule. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1/networkPolicies/my-policy/externalAccessRules/my-rule`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Output only. The resource name of this external access rule. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1/networkPolicies/my-policy/externalAccessRules/my-rule`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setNameBytes
Output only. The resource name of this external access rule. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1/networkPolicies/my-policy/externalAccessRules/my-rule`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()Output only. Creation time of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceExternalAccessRuleOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. Creation time of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceExternalAccessRuleOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. Creation time of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
public ExternalAccessRule.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only. Creation time of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. Creation time of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreateTime
Output only. Creation time of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()Output only. Creation time of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. Creation time of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceExternalAccessRuleOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Output only. Last update time of this resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceExternalAccessRuleOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()Output only. Last update time of this resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceExternalAccessRuleOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Output only. Last update time of this resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUpdateTime
public ExternalAccessRule.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only. Last update time of this resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUpdateTime
Output only. Last update time of this resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearUpdateTime
Output only. Last update time of this resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()Output only. Last update time of this resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. Last update time of this resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceExternalAccessRuleOrBuilder
-
getDescription
User-provided description for this external access rule.
string description = 5;- Specified by:
getDescriptionin interfaceExternalAccessRuleOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()User-provided description for this external access rule.
string description = 5;- Specified by:
getDescriptionBytesin interfaceExternalAccessRuleOrBuilder- Returns:
- The bytes for description.
-
setDescription
User-provided description for this external access rule.
string description = 5;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
User-provided description for this external access rule.
string description = 5;- Returns:
- This builder for chaining.
-
setDescriptionBytes
User-provided description for this external access rule.
string description = 5;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
getPriority
public int getPriority()External access rule priority, which determines the external access rule to use when multiple rules apply. If multiple rules have the same priority, their ordering is non-deterministic. If specific ordering is required, assign unique priorities to enforce such ordering. The external access rule priority is an integer from 100 to 4096, both inclusive. Lower integers indicate higher precedence. For example, a rule with priority `100` has higher precedence than a rule with priority `101`.
int32 priority = 6;- Specified by:
getPriorityin interfaceExternalAccessRuleOrBuilder- Returns:
- The priority.
-
setPriority
External access rule priority, which determines the external access rule to use when multiple rules apply. If multiple rules have the same priority, their ordering is non-deterministic. If specific ordering is required, assign unique priorities to enforce such ordering. The external access rule priority is an integer from 100 to 4096, both inclusive. Lower integers indicate higher precedence. For example, a rule with priority `100` has higher precedence than a rule with priority `101`.
int32 priority = 6;- Parameters:
value- The priority to set.- Returns:
- This builder for chaining.
-
clearPriority
External access rule priority, which determines the external access rule to use when multiple rules apply. If multiple rules have the same priority, their ordering is non-deterministic. If specific ordering is required, assign unique priorities to enforce such ordering. The external access rule priority is an integer from 100 to 4096, both inclusive. Lower integers indicate higher precedence. For example, a rule with priority `100` has higher precedence than a rule with priority `101`.
int32 priority = 6;- Returns:
- This builder for chaining.
-
getActionValue
public int getActionValue()The action that the external access rule performs.
.google.cloud.vmwareengine.v1.ExternalAccessRule.Action action = 7;- Specified by:
getActionValuein interfaceExternalAccessRuleOrBuilder- Returns:
- The enum numeric value on the wire for action.
-
setActionValue
The action that the external access rule performs.
.google.cloud.vmwareengine.v1.ExternalAccessRule.Action action = 7;- Parameters:
value- The enum numeric value on the wire for action to set.- Returns:
- This builder for chaining.
-
getAction
The action that the external access rule performs.
.google.cloud.vmwareengine.v1.ExternalAccessRule.Action action = 7;- Specified by:
getActionin interfaceExternalAccessRuleOrBuilder- Returns:
- The action.
-
setAction
The action that the external access rule performs.
.google.cloud.vmwareengine.v1.ExternalAccessRule.Action action = 7;- Parameters:
value- The action to set.- Returns:
- This builder for chaining.
-
clearAction
The action that the external access rule performs.
.google.cloud.vmwareengine.v1.ExternalAccessRule.Action action = 7;- Returns:
- This builder for chaining.
-
getIpProtocol
The IP protocol to which the external access rule applies. This value can be one of the following three protocol strings (not case-sensitive): `tcp`, `udp`, or `icmp`.
string ip_protocol = 8;- Specified by:
getIpProtocolin interfaceExternalAccessRuleOrBuilder- Returns:
- The ipProtocol.
-
getIpProtocolBytes
public com.google.protobuf.ByteString getIpProtocolBytes()The IP protocol to which the external access rule applies. This value can be one of the following three protocol strings (not case-sensitive): `tcp`, `udp`, or `icmp`.
string ip_protocol = 8;- Specified by:
getIpProtocolBytesin interfaceExternalAccessRuleOrBuilder- Returns:
- The bytes for ipProtocol.
-
setIpProtocol
The IP protocol to which the external access rule applies. This value can be one of the following three protocol strings (not case-sensitive): `tcp`, `udp`, or `icmp`.
string ip_protocol = 8;- Parameters:
value- The ipProtocol to set.- Returns:
- This builder for chaining.
-
clearIpProtocol
The IP protocol to which the external access rule applies. This value can be one of the following three protocol strings (not case-sensitive): `tcp`, `udp`, or `icmp`.
string ip_protocol = 8;- Returns:
- This builder for chaining.
-
setIpProtocolBytes
The IP protocol to which the external access rule applies. This value can be one of the following three protocol strings (not case-sensitive): `tcp`, `udp`, or `icmp`.
string ip_protocol = 8;- Parameters:
value- The bytes for ipProtocol to set.- Returns:
- This builder for chaining.
-
getSourceIpRangesList
If source ranges are specified, the external access rule applies only to traffic that has a source IP address in these ranges. These ranges can either be expressed in the CIDR format or as an IP address. As only inbound rules are supported, `ExternalAddress` resources cannot be the source IP addresses of an external access rule. To match all source addresses, specify `0.0.0.0/0`.
repeated .google.cloud.vmwareengine.v1.ExternalAccessRule.IpRange source_ip_ranges = 9;- Specified by:
getSourceIpRangesListin interfaceExternalAccessRuleOrBuilder
-
getSourceIpRangesCount
public int getSourceIpRangesCount()If source ranges are specified, the external access rule applies only to traffic that has a source IP address in these ranges. These ranges can either be expressed in the CIDR format or as an IP address. As only inbound rules are supported, `ExternalAddress` resources cannot be the source IP addresses of an external access rule. To match all source addresses, specify `0.0.0.0/0`.
repeated .google.cloud.vmwareengine.v1.ExternalAccessRule.IpRange source_ip_ranges = 9;- Specified by:
getSourceIpRangesCountin interfaceExternalAccessRuleOrBuilder
-
getSourceIpRanges
If source ranges are specified, the external access rule applies only to traffic that has a source IP address in these ranges. These ranges can either be expressed in the CIDR format or as an IP address. As only inbound rules are supported, `ExternalAddress` resources cannot be the source IP addresses of an external access rule. To match all source addresses, specify `0.0.0.0/0`.
repeated .google.cloud.vmwareengine.v1.ExternalAccessRule.IpRange source_ip_ranges = 9;- Specified by:
getSourceIpRangesin interfaceExternalAccessRuleOrBuilder
-
setSourceIpRanges
If source ranges are specified, the external access rule applies only to traffic that has a source IP address in these ranges. These ranges can either be expressed in the CIDR format or as an IP address. As only inbound rules are supported, `ExternalAddress` resources cannot be the source IP addresses of an external access rule. To match all source addresses, specify `0.0.0.0/0`.
repeated .google.cloud.vmwareengine.v1.ExternalAccessRule.IpRange source_ip_ranges = 9; -
setSourceIpRanges
public ExternalAccessRule.Builder setSourceIpRanges(int index, ExternalAccessRule.IpRange.Builder builderForValue) If source ranges are specified, the external access rule applies only to traffic that has a source IP address in these ranges. These ranges can either be expressed in the CIDR format or as an IP address. As only inbound rules are supported, `ExternalAddress` resources cannot be the source IP addresses of an external access rule. To match all source addresses, specify `0.0.0.0/0`.
repeated .google.cloud.vmwareengine.v1.ExternalAccessRule.IpRange source_ip_ranges = 9; -
addSourceIpRanges
If source ranges are specified, the external access rule applies only to traffic that has a source IP address in these ranges. These ranges can either be expressed in the CIDR format or as an IP address. As only inbound rules are supported, `ExternalAddress` resources cannot be the source IP addresses of an external access rule. To match all source addresses, specify `0.0.0.0/0`.
repeated .google.cloud.vmwareengine.v1.ExternalAccessRule.IpRange source_ip_ranges = 9; -
addSourceIpRanges
If source ranges are specified, the external access rule applies only to traffic that has a source IP address in these ranges. These ranges can either be expressed in the CIDR format or as an IP address. As only inbound rules are supported, `ExternalAddress` resources cannot be the source IP addresses of an external access rule. To match all source addresses, specify `0.0.0.0/0`.
repeated .google.cloud.vmwareengine.v1.ExternalAccessRule.IpRange source_ip_ranges = 9; -
addSourceIpRanges
public ExternalAccessRule.Builder addSourceIpRanges(ExternalAccessRule.IpRange.Builder builderForValue) If source ranges are specified, the external access rule applies only to traffic that has a source IP address in these ranges. These ranges can either be expressed in the CIDR format or as an IP address. As only inbound rules are supported, `ExternalAddress` resources cannot be the source IP addresses of an external access rule. To match all source addresses, specify `0.0.0.0/0`.
repeated .google.cloud.vmwareengine.v1.ExternalAccessRule.IpRange source_ip_ranges = 9; -
addSourceIpRanges
public ExternalAccessRule.Builder addSourceIpRanges(int index, ExternalAccessRule.IpRange.Builder builderForValue) If source ranges are specified, the external access rule applies only to traffic that has a source IP address in these ranges. These ranges can either be expressed in the CIDR format or as an IP address. As only inbound rules are supported, `ExternalAddress` resources cannot be the source IP addresses of an external access rule. To match all source addresses, specify `0.0.0.0/0`.
repeated .google.cloud.vmwareengine.v1.ExternalAccessRule.IpRange source_ip_ranges = 9; -
addAllSourceIpRanges
public ExternalAccessRule.Builder addAllSourceIpRanges(Iterable<? extends ExternalAccessRule.IpRange> values) If source ranges are specified, the external access rule applies only to traffic that has a source IP address in these ranges. These ranges can either be expressed in the CIDR format or as an IP address. As only inbound rules are supported, `ExternalAddress` resources cannot be the source IP addresses of an external access rule. To match all source addresses, specify `0.0.0.0/0`.
repeated .google.cloud.vmwareengine.v1.ExternalAccessRule.IpRange source_ip_ranges = 9; -
clearSourceIpRanges
If source ranges are specified, the external access rule applies only to traffic that has a source IP address in these ranges. These ranges can either be expressed in the CIDR format or as an IP address. As only inbound rules are supported, `ExternalAddress` resources cannot be the source IP addresses of an external access rule. To match all source addresses, specify `0.0.0.0/0`.
repeated .google.cloud.vmwareengine.v1.ExternalAccessRule.IpRange source_ip_ranges = 9; -
removeSourceIpRanges
If source ranges are specified, the external access rule applies only to traffic that has a source IP address in these ranges. These ranges can either be expressed in the CIDR format or as an IP address. As only inbound rules are supported, `ExternalAddress` resources cannot be the source IP addresses of an external access rule. To match all source addresses, specify `0.0.0.0/0`.
repeated .google.cloud.vmwareengine.v1.ExternalAccessRule.IpRange source_ip_ranges = 9; -
getSourceIpRangesBuilder
If source ranges are specified, the external access rule applies only to traffic that has a source IP address in these ranges. These ranges can either be expressed in the CIDR format or as an IP address. As only inbound rules are supported, `ExternalAddress` resources cannot be the source IP addresses of an external access rule. To match all source addresses, specify `0.0.0.0/0`.
repeated .google.cloud.vmwareengine.v1.ExternalAccessRule.IpRange source_ip_ranges = 9; -
getSourceIpRangesOrBuilder
If source ranges are specified, the external access rule applies only to traffic that has a source IP address in these ranges. These ranges can either be expressed in the CIDR format or as an IP address. As only inbound rules are supported, `ExternalAddress` resources cannot be the source IP addresses of an external access rule. To match all source addresses, specify `0.0.0.0/0`.
repeated .google.cloud.vmwareengine.v1.ExternalAccessRule.IpRange source_ip_ranges = 9;- Specified by:
getSourceIpRangesOrBuilderin interfaceExternalAccessRuleOrBuilder
-
getSourceIpRangesOrBuilderList
If source ranges are specified, the external access rule applies only to traffic that has a source IP address in these ranges. These ranges can either be expressed in the CIDR format or as an IP address. As only inbound rules are supported, `ExternalAddress` resources cannot be the source IP addresses of an external access rule. To match all source addresses, specify `0.0.0.0/0`.
repeated .google.cloud.vmwareengine.v1.ExternalAccessRule.IpRange source_ip_ranges = 9;- Specified by:
getSourceIpRangesOrBuilderListin interfaceExternalAccessRuleOrBuilder
-
addSourceIpRangesBuilder
If source ranges are specified, the external access rule applies only to traffic that has a source IP address in these ranges. These ranges can either be expressed in the CIDR format or as an IP address. As only inbound rules are supported, `ExternalAddress` resources cannot be the source IP addresses of an external access rule. To match all source addresses, specify `0.0.0.0/0`.
repeated .google.cloud.vmwareengine.v1.ExternalAccessRule.IpRange source_ip_ranges = 9; -
addSourceIpRangesBuilder
If source ranges are specified, the external access rule applies only to traffic that has a source IP address in these ranges. These ranges can either be expressed in the CIDR format or as an IP address. As only inbound rules are supported, `ExternalAddress` resources cannot be the source IP addresses of an external access rule. To match all source addresses, specify `0.0.0.0/0`.
repeated .google.cloud.vmwareengine.v1.ExternalAccessRule.IpRange source_ip_ranges = 9; -
getSourceIpRangesBuilderList
If source ranges are specified, the external access rule applies only to traffic that has a source IP address in these ranges. These ranges can either be expressed in the CIDR format or as an IP address. As only inbound rules are supported, `ExternalAddress` resources cannot be the source IP addresses of an external access rule. To match all source addresses, specify `0.0.0.0/0`.
repeated .google.cloud.vmwareengine.v1.ExternalAccessRule.IpRange source_ip_ranges = 9; -
getSourcePortsList
public com.google.protobuf.ProtocolStringList getSourcePortsList()A list of source ports to which the external access rule applies. This field is only applicable for the UDP or TCP protocol. Each entry must be either an integer or a range. For example: `["22"]`, `["80","443"]`, or `["12345-12349"]`. To match all source ports, specify `["0-65535"]`.
repeated string source_ports = 10;- Specified by:
getSourcePortsListin interfaceExternalAccessRuleOrBuilder- Returns:
- A list containing the sourcePorts.
-
getSourcePortsCount
public int getSourcePortsCount()A list of source ports to which the external access rule applies. This field is only applicable for the UDP or TCP protocol. Each entry must be either an integer or a range. For example: `["22"]`, `["80","443"]`, or `["12345-12349"]`. To match all source ports, specify `["0-65535"]`.
repeated string source_ports = 10;- Specified by:
getSourcePortsCountin interfaceExternalAccessRuleOrBuilder- Returns:
- The count of sourcePorts.
-
getSourcePorts
A list of source ports to which the external access rule applies. This field is only applicable for the UDP or TCP protocol. Each entry must be either an integer or a range. For example: `["22"]`, `["80","443"]`, or `["12345-12349"]`. To match all source ports, specify `["0-65535"]`.
repeated string source_ports = 10;- Specified by:
getSourcePortsin interfaceExternalAccessRuleOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The sourcePorts at the given index.
-
getSourcePortsBytes
public com.google.protobuf.ByteString getSourcePortsBytes(int index) A list of source ports to which the external access rule applies. This field is only applicable for the UDP or TCP protocol. Each entry must be either an integer or a range. For example: `["22"]`, `["80","443"]`, or `["12345-12349"]`. To match all source ports, specify `["0-65535"]`.
repeated string source_ports = 10;- Specified by:
getSourcePortsBytesin interfaceExternalAccessRuleOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the sourcePorts at the given index.
-
setSourcePorts
A list of source ports to which the external access rule applies. This field is only applicable for the UDP or TCP protocol. Each entry must be either an integer or a range. For example: `["22"]`, `["80","443"]`, or `["12345-12349"]`. To match all source ports, specify `["0-65535"]`.
repeated string source_ports = 10;- Parameters:
index- The index to set the value at.value- The sourcePorts to set.- Returns:
- This builder for chaining.
-
addSourcePorts
A list of source ports to which the external access rule applies. This field is only applicable for the UDP or TCP protocol. Each entry must be either an integer or a range. For example: `["22"]`, `["80","443"]`, or `["12345-12349"]`. To match all source ports, specify `["0-65535"]`.
repeated string source_ports = 10;- Parameters:
value- The sourcePorts to add.- Returns:
- This builder for chaining.
-
addAllSourcePorts
A list of source ports to which the external access rule applies. This field is only applicable for the UDP or TCP protocol. Each entry must be either an integer or a range. For example: `["22"]`, `["80","443"]`, or `["12345-12349"]`. To match all source ports, specify `["0-65535"]`.
repeated string source_ports = 10;- Parameters:
values- The sourcePorts to add.- Returns:
- This builder for chaining.
-
clearSourcePorts
A list of source ports to which the external access rule applies. This field is only applicable for the UDP or TCP protocol. Each entry must be either an integer or a range. For example: `["22"]`, `["80","443"]`, or `["12345-12349"]`. To match all source ports, specify `["0-65535"]`.
repeated string source_ports = 10;- Returns:
- This builder for chaining.
-
addSourcePortsBytes
A list of source ports to which the external access rule applies. This field is only applicable for the UDP or TCP protocol. Each entry must be either an integer or a range. For example: `["22"]`, `["80","443"]`, or `["12345-12349"]`. To match all source ports, specify `["0-65535"]`.
repeated string source_ports = 10;- Parameters:
value- The bytes of the sourcePorts to add.- Returns:
- This builder for chaining.
-
getDestinationIpRangesList
If destination ranges are specified, the external access rule applies only to the traffic that has a destination IP address in these ranges. The specified IP addresses must have reserved external IP addresses in the scope of the parent network policy. To match all external IP addresses in the scope of the parent network policy, specify `0.0.0.0/0`. To match a specific external IP address, specify it using the `IpRange.external_address` property.
repeated .google.cloud.vmwareengine.v1.ExternalAccessRule.IpRange destination_ip_ranges = 11;- Specified by:
getDestinationIpRangesListin interfaceExternalAccessRuleOrBuilder
-
getDestinationIpRangesCount
public int getDestinationIpRangesCount()If destination ranges are specified, the external access rule applies only to the traffic that has a destination IP address in these ranges. The specified IP addresses must have reserved external IP addresses in the scope of the parent network policy. To match all external IP addresses in the scope of the parent network policy, specify `0.0.0.0/0`. To match a specific external IP address, specify it using the `IpRange.external_address` property.
repeated .google.cloud.vmwareengine.v1.ExternalAccessRule.IpRange destination_ip_ranges = 11;- Specified by:
getDestinationIpRangesCountin interfaceExternalAccessRuleOrBuilder
-
getDestinationIpRanges
If destination ranges are specified, the external access rule applies only to the traffic that has a destination IP address in these ranges. The specified IP addresses must have reserved external IP addresses in the scope of the parent network policy. To match all external IP addresses in the scope of the parent network policy, specify `0.0.0.0/0`. To match a specific external IP address, specify it using the `IpRange.external_address` property.
repeated .google.cloud.vmwareengine.v1.ExternalAccessRule.IpRange destination_ip_ranges = 11;- Specified by:
getDestinationIpRangesin interfaceExternalAccessRuleOrBuilder
-
setDestinationIpRanges
public ExternalAccessRule.Builder setDestinationIpRanges(int index, ExternalAccessRule.IpRange value) If destination ranges are specified, the external access rule applies only to the traffic that has a destination IP address in these ranges. The specified IP addresses must have reserved external IP addresses in the scope of the parent network policy. To match all external IP addresses in the scope of the parent network policy, specify `0.0.0.0/0`. To match a specific external IP address, specify it using the `IpRange.external_address` property.
repeated .google.cloud.vmwareengine.v1.ExternalAccessRule.IpRange destination_ip_ranges = 11; -
setDestinationIpRanges
public ExternalAccessRule.Builder setDestinationIpRanges(int index, ExternalAccessRule.IpRange.Builder builderForValue) If destination ranges are specified, the external access rule applies only to the traffic that has a destination IP address in these ranges. The specified IP addresses must have reserved external IP addresses in the scope of the parent network policy. To match all external IP addresses in the scope of the parent network policy, specify `0.0.0.0/0`. To match a specific external IP address, specify it using the `IpRange.external_address` property.
repeated .google.cloud.vmwareengine.v1.ExternalAccessRule.IpRange destination_ip_ranges = 11; -
addDestinationIpRanges
If destination ranges are specified, the external access rule applies only to the traffic that has a destination IP address in these ranges. The specified IP addresses must have reserved external IP addresses in the scope of the parent network policy. To match all external IP addresses in the scope of the parent network policy, specify `0.0.0.0/0`. To match a specific external IP address, specify it using the `IpRange.external_address` property.
repeated .google.cloud.vmwareengine.v1.ExternalAccessRule.IpRange destination_ip_ranges = 11; -
addDestinationIpRanges
public ExternalAccessRule.Builder addDestinationIpRanges(int index, ExternalAccessRule.IpRange value) If destination ranges are specified, the external access rule applies only to the traffic that has a destination IP address in these ranges. The specified IP addresses must have reserved external IP addresses in the scope of the parent network policy. To match all external IP addresses in the scope of the parent network policy, specify `0.0.0.0/0`. To match a specific external IP address, specify it using the `IpRange.external_address` property.
repeated .google.cloud.vmwareengine.v1.ExternalAccessRule.IpRange destination_ip_ranges = 11; -
addDestinationIpRanges
public ExternalAccessRule.Builder addDestinationIpRanges(ExternalAccessRule.IpRange.Builder builderForValue) If destination ranges are specified, the external access rule applies only to the traffic that has a destination IP address in these ranges. The specified IP addresses must have reserved external IP addresses in the scope of the parent network policy. To match all external IP addresses in the scope of the parent network policy, specify `0.0.0.0/0`. To match a specific external IP address, specify it using the `IpRange.external_address` property.
repeated .google.cloud.vmwareengine.v1.ExternalAccessRule.IpRange destination_ip_ranges = 11; -
addDestinationIpRanges
public ExternalAccessRule.Builder addDestinationIpRanges(int index, ExternalAccessRule.IpRange.Builder builderForValue) If destination ranges are specified, the external access rule applies only to the traffic that has a destination IP address in these ranges. The specified IP addresses must have reserved external IP addresses in the scope of the parent network policy. To match all external IP addresses in the scope of the parent network policy, specify `0.0.0.0/0`. To match a specific external IP address, specify it using the `IpRange.external_address` property.
repeated .google.cloud.vmwareengine.v1.ExternalAccessRule.IpRange destination_ip_ranges = 11; -
addAllDestinationIpRanges
public ExternalAccessRule.Builder addAllDestinationIpRanges(Iterable<? extends ExternalAccessRule.IpRange> values) If destination ranges are specified, the external access rule applies only to the traffic that has a destination IP address in these ranges. The specified IP addresses must have reserved external IP addresses in the scope of the parent network policy. To match all external IP addresses in the scope of the parent network policy, specify `0.0.0.0/0`. To match a specific external IP address, specify it using the `IpRange.external_address` property.
repeated .google.cloud.vmwareengine.v1.ExternalAccessRule.IpRange destination_ip_ranges = 11; -
clearDestinationIpRanges
If destination ranges are specified, the external access rule applies only to the traffic that has a destination IP address in these ranges. The specified IP addresses must have reserved external IP addresses in the scope of the parent network policy. To match all external IP addresses in the scope of the parent network policy, specify `0.0.0.0/0`. To match a specific external IP address, specify it using the `IpRange.external_address` property.
repeated .google.cloud.vmwareengine.v1.ExternalAccessRule.IpRange destination_ip_ranges = 11; -
removeDestinationIpRanges
If destination ranges are specified, the external access rule applies only to the traffic that has a destination IP address in these ranges. The specified IP addresses must have reserved external IP addresses in the scope of the parent network policy. To match all external IP addresses in the scope of the parent network policy, specify `0.0.0.0/0`. To match a specific external IP address, specify it using the `IpRange.external_address` property.
repeated .google.cloud.vmwareengine.v1.ExternalAccessRule.IpRange destination_ip_ranges = 11; -
getDestinationIpRangesBuilder
If destination ranges are specified, the external access rule applies only to the traffic that has a destination IP address in these ranges. The specified IP addresses must have reserved external IP addresses in the scope of the parent network policy. To match all external IP addresses in the scope of the parent network policy, specify `0.0.0.0/0`. To match a specific external IP address, specify it using the `IpRange.external_address` property.
repeated .google.cloud.vmwareengine.v1.ExternalAccessRule.IpRange destination_ip_ranges = 11; -
getDestinationIpRangesOrBuilder
If destination ranges are specified, the external access rule applies only to the traffic that has a destination IP address in these ranges. The specified IP addresses must have reserved external IP addresses in the scope of the parent network policy. To match all external IP addresses in the scope of the parent network policy, specify `0.0.0.0/0`. To match a specific external IP address, specify it using the `IpRange.external_address` property.
repeated .google.cloud.vmwareengine.v1.ExternalAccessRule.IpRange destination_ip_ranges = 11;- Specified by:
getDestinationIpRangesOrBuilderin interfaceExternalAccessRuleOrBuilder
-
getDestinationIpRangesOrBuilderList
If destination ranges are specified, the external access rule applies only to the traffic that has a destination IP address in these ranges. The specified IP addresses must have reserved external IP addresses in the scope of the parent network policy. To match all external IP addresses in the scope of the parent network policy, specify `0.0.0.0/0`. To match a specific external IP address, specify it using the `IpRange.external_address` property.
repeated .google.cloud.vmwareengine.v1.ExternalAccessRule.IpRange destination_ip_ranges = 11;- Specified by:
getDestinationIpRangesOrBuilderListin interfaceExternalAccessRuleOrBuilder
-
addDestinationIpRangesBuilder
If destination ranges are specified, the external access rule applies only to the traffic that has a destination IP address in these ranges. The specified IP addresses must have reserved external IP addresses in the scope of the parent network policy. To match all external IP addresses in the scope of the parent network policy, specify `0.0.0.0/0`. To match a specific external IP address, specify it using the `IpRange.external_address` property.
repeated .google.cloud.vmwareengine.v1.ExternalAccessRule.IpRange destination_ip_ranges = 11; -
addDestinationIpRangesBuilder
If destination ranges are specified, the external access rule applies only to the traffic that has a destination IP address in these ranges. The specified IP addresses must have reserved external IP addresses in the scope of the parent network policy. To match all external IP addresses in the scope of the parent network policy, specify `0.0.0.0/0`. To match a specific external IP address, specify it using the `IpRange.external_address` property.
repeated .google.cloud.vmwareengine.v1.ExternalAccessRule.IpRange destination_ip_ranges = 11; -
getDestinationIpRangesBuilderList
If destination ranges are specified, the external access rule applies only to the traffic that has a destination IP address in these ranges. The specified IP addresses must have reserved external IP addresses in the scope of the parent network policy. To match all external IP addresses in the scope of the parent network policy, specify `0.0.0.0/0`. To match a specific external IP address, specify it using the `IpRange.external_address` property.
repeated .google.cloud.vmwareengine.v1.ExternalAccessRule.IpRange destination_ip_ranges = 11; -
getDestinationPortsList
public com.google.protobuf.ProtocolStringList getDestinationPortsList()A list of destination ports to which the external access rule applies. This field is only applicable for the UDP or TCP protocol. Each entry must be either an integer or a range. For example: `["22"]`, `["80","443"]`, or `["12345-12349"]`. To match all destination ports, specify `["0-65535"]`.
repeated string destination_ports = 12;- Specified by:
getDestinationPortsListin interfaceExternalAccessRuleOrBuilder- Returns:
- A list containing the destinationPorts.
-
getDestinationPortsCount
public int getDestinationPortsCount()A list of destination ports to which the external access rule applies. This field is only applicable for the UDP or TCP protocol. Each entry must be either an integer or a range. For example: `["22"]`, `["80","443"]`, or `["12345-12349"]`. To match all destination ports, specify `["0-65535"]`.
repeated string destination_ports = 12;- Specified by:
getDestinationPortsCountin interfaceExternalAccessRuleOrBuilder- Returns:
- The count of destinationPorts.
-
getDestinationPorts
A list of destination ports to which the external access rule applies. This field is only applicable for the UDP or TCP protocol. Each entry must be either an integer or a range. For example: `["22"]`, `["80","443"]`, or `["12345-12349"]`. To match all destination ports, specify `["0-65535"]`.
repeated string destination_ports = 12;- Specified by:
getDestinationPortsin interfaceExternalAccessRuleOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The destinationPorts at the given index.
-
getDestinationPortsBytes
public com.google.protobuf.ByteString getDestinationPortsBytes(int index) A list of destination ports to which the external access rule applies. This field is only applicable for the UDP or TCP protocol. Each entry must be either an integer or a range. For example: `["22"]`, `["80","443"]`, or `["12345-12349"]`. To match all destination ports, specify `["0-65535"]`.
repeated string destination_ports = 12;- Specified by:
getDestinationPortsBytesin interfaceExternalAccessRuleOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the destinationPorts at the given index.
-
setDestinationPorts
A list of destination ports to which the external access rule applies. This field is only applicable for the UDP or TCP protocol. Each entry must be either an integer or a range. For example: `["22"]`, `["80","443"]`, or `["12345-12349"]`. To match all destination ports, specify `["0-65535"]`.
repeated string destination_ports = 12;- Parameters:
index- The index to set the value at.value- The destinationPorts to set.- Returns:
- This builder for chaining.
-
addDestinationPorts
A list of destination ports to which the external access rule applies. This field is only applicable for the UDP or TCP protocol. Each entry must be either an integer or a range. For example: `["22"]`, `["80","443"]`, or `["12345-12349"]`. To match all destination ports, specify `["0-65535"]`.
repeated string destination_ports = 12;- Parameters:
value- The destinationPorts to add.- Returns:
- This builder for chaining.
-
addAllDestinationPorts
A list of destination ports to which the external access rule applies. This field is only applicable for the UDP or TCP protocol. Each entry must be either an integer or a range. For example: `["22"]`, `["80","443"]`, or `["12345-12349"]`. To match all destination ports, specify `["0-65535"]`.
repeated string destination_ports = 12;- Parameters:
values- The destinationPorts to add.- Returns:
- This builder for chaining.
-
clearDestinationPorts
A list of destination ports to which the external access rule applies. This field is only applicable for the UDP or TCP protocol. Each entry must be either an integer or a range. For example: `["22"]`, `["80","443"]`, or `["12345-12349"]`. To match all destination ports, specify `["0-65535"]`.
repeated string destination_ports = 12;- Returns:
- This builder for chaining.
-
addDestinationPortsBytes
A list of destination ports to which the external access rule applies. This field is only applicable for the UDP or TCP protocol. Each entry must be either an integer or a range. For example: `["22"]`, `["80","443"]`, or `["12345-12349"]`. To match all destination ports, specify `["0-65535"]`.
repeated string destination_ports = 12;- Parameters:
value- The bytes of the destinationPorts to add.- Returns:
- This builder for chaining.
-
getStateValue
public int getStateValue()Output only. The state of the resource.
.google.cloud.vmwareengine.v1.ExternalAccessRule.State state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateValuein interfaceExternalAccessRuleOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
Output only. The state of the resource.
.google.cloud.vmwareengine.v1.ExternalAccessRule.State state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
Output only. The state of the resource.
.google.cloud.vmwareengine.v1.ExternalAccessRule.State state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceExternalAccessRuleOrBuilder- Returns:
- The state.
-
setState
Output only. The state of the resource.
.google.cloud.vmwareengine.v1.ExternalAccessRule.State state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
Output only. The state of the resource.
.google.cloud.vmwareengine.v1.ExternalAccessRule.State state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getUid
Output only. System-generated unique identifier for the resource.
string uid = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUidin interfaceExternalAccessRuleOrBuilder- Returns:
- The uid.
-
getUidBytes
public com.google.protobuf.ByteString getUidBytes()Output only. System-generated unique identifier for the resource.
string uid = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUidBytesin interfaceExternalAccessRuleOrBuilder- Returns:
- The bytes for uid.
-
setUid
Output only. System-generated unique identifier for the resource.
string uid = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The uid to set.- Returns:
- This builder for chaining.
-
clearUid
Output only. System-generated unique identifier for the resource.
string uid = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setUidBytes
Output only. System-generated unique identifier for the resource.
string uid = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for uid to set.- Returns:
- This builder for chaining.
-