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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ExternalAccessRule.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<ExternalAccessRule.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ExternalAccessRule.Builder>
    • getDefaultInstanceForType

      public ExternalAccessRule getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public ExternalAccessRule build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ExternalAccessRule buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ExternalAccessRule.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ExternalAccessRule.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ExternalAccessRule.Builder>
      Throws:
      IOException
    • getName

      public String 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:
      getName in interface ExternalAccessRuleOrBuilder
      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:
      getNameBytes in interface ExternalAccessRuleOrBuilder
      Returns:
      The bytes for name.
    • setName

      public ExternalAccessRule.Builder setName(String value)
       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

      public ExternalAccessRule.Builder 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

      public ExternalAccessRule.Builder setNameBytes(com.google.protobuf.ByteString value)
       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:
      hasCreateTime in interface ExternalAccessRuleOrBuilder
      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:
      getCreateTime in interface ExternalAccessRuleOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public ExternalAccessRule.Builder setCreateTime(com.google.protobuf.Timestamp value)
       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

      public ExternalAccessRule.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. Creation time of this resource.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCreateTime

      public ExternalAccessRule.Builder 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:
      getCreateTimeOrBuilder in interface ExternalAccessRuleOrBuilder
    • 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:
      hasUpdateTime in interface ExternalAccessRuleOrBuilder
      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:
      getUpdateTime in interface ExternalAccessRuleOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public ExternalAccessRule.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       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

      public ExternalAccessRule.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Output only. Last update time of this resource.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearUpdateTime

      public ExternalAccessRule.Builder 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:
      getUpdateTimeOrBuilder in interface ExternalAccessRuleOrBuilder
    • getDescription

      public String getDescription()
       User-provided description for this external access rule.
       
      string description = 5;
      Specified by:
      getDescription in interface ExternalAccessRuleOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       User-provided description for this external access rule.
       
      string description = 5;
      Specified by:
      getDescriptionBytes in interface ExternalAccessRuleOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public ExternalAccessRule.Builder setDescription(String value)
       User-provided description for this external access rule.
       
      string description = 5;
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public ExternalAccessRule.Builder clearDescription()
       User-provided description for this external access rule.
       
      string description = 5;
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public ExternalAccessRule.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       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:
      getPriority in interface ExternalAccessRuleOrBuilder
      Returns:
      The priority.
    • setPriority

      public ExternalAccessRule.Builder setPriority(int value)
       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

      public ExternalAccessRule.Builder 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:
      getActionValue in interface ExternalAccessRuleOrBuilder
      Returns:
      The enum numeric value on the wire for action.
    • setActionValue

      public ExternalAccessRule.Builder setActionValue(int value)
       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

      public ExternalAccessRule.Action getAction()
       The action that the external access rule performs.
       
      .google.cloud.vmwareengine.v1.ExternalAccessRule.Action action = 7;
      Specified by:
      getAction in interface ExternalAccessRuleOrBuilder
      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

      public ExternalAccessRule.Builder clearAction()
       The action that the external access rule performs.
       
      .google.cloud.vmwareengine.v1.ExternalAccessRule.Action action = 7;
      Returns:
      This builder for chaining.
    • getIpProtocol

      public String 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:
      getIpProtocol in interface ExternalAccessRuleOrBuilder
      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:
      getIpProtocolBytes in interface ExternalAccessRuleOrBuilder
      Returns:
      The bytes for ipProtocol.
    • setIpProtocol

      public ExternalAccessRule.Builder setIpProtocol(String value)
       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

      public ExternalAccessRule.Builder 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

      public ExternalAccessRule.Builder setIpProtocolBytes(com.google.protobuf.ByteString value)
       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

      public List<ExternalAccessRule.IpRange> 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:
      getSourceIpRangesList in interface ExternalAccessRuleOrBuilder
    • 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:
      getSourceIpRangesCount in interface ExternalAccessRuleOrBuilder
    • getSourceIpRanges

      public ExternalAccessRule.IpRange 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. 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:
      getSourceIpRanges in interface ExternalAccessRuleOrBuilder
    • setSourceIpRanges

      public ExternalAccessRule.Builder 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. 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

      public ExternalAccessRule.Builder addSourceIpRanges(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. 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 value)
       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

      public ExternalAccessRule.Builder 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

      public ExternalAccessRule.Builder 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. 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

      public ExternalAccessRule.IpRange.Builder 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. 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

      public ExternalAccessRule.IpRangeOrBuilder 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. 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:
      getSourceIpRangesOrBuilder in interface ExternalAccessRuleOrBuilder
    • getSourceIpRangesOrBuilderList

      public List<? extends ExternalAccessRule.IpRangeOrBuilder> 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:
      getSourceIpRangesOrBuilderList in interface ExternalAccessRuleOrBuilder
    • addSourceIpRangesBuilder

      public ExternalAccessRule.IpRange.Builder 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

      public ExternalAccessRule.IpRange.Builder 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. 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

      public List<ExternalAccessRule.IpRange.Builder> 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:
      getSourcePortsList in interface ExternalAccessRuleOrBuilder
      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:
      getSourcePortsCount in interface ExternalAccessRuleOrBuilder
      Returns:
      The count of sourcePorts.
    • getSourcePorts

      public String getSourcePorts(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:
      getSourcePorts in interface ExternalAccessRuleOrBuilder
      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:
      getSourcePortsBytes in interface ExternalAccessRuleOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the sourcePorts at the given index.
    • setSourcePorts

      public ExternalAccessRule.Builder setSourcePorts(int index, String value)
       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

      public ExternalAccessRule.Builder addSourcePorts(String value)
       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

      public ExternalAccessRule.Builder addAllSourcePorts(Iterable<String> values)
       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

      public ExternalAccessRule.Builder 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

      public ExternalAccessRule.Builder addSourcePortsBytes(com.google.protobuf.ByteString value)
       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

      public List<ExternalAccessRule.IpRange> 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:
      getDestinationIpRangesList in interface ExternalAccessRuleOrBuilder
    • 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:
      getDestinationIpRangesCount in interface ExternalAccessRuleOrBuilder
    • getDestinationIpRanges

      public ExternalAccessRule.IpRange getDestinationIpRanges(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. 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:
      getDestinationIpRanges in interface ExternalAccessRuleOrBuilder
    • 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

      public ExternalAccessRule.Builder addDestinationIpRanges(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(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

      public ExternalAccessRule.Builder 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

      public ExternalAccessRule.Builder 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. 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

      public ExternalAccessRule.IpRange.Builder 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. 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

      public ExternalAccessRule.IpRangeOrBuilder 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. 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:
      getDestinationIpRangesOrBuilder in interface ExternalAccessRuleOrBuilder
    • getDestinationIpRangesOrBuilderList

      public List<? extends ExternalAccessRule.IpRangeOrBuilder> 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:
      getDestinationIpRangesOrBuilderList in interface ExternalAccessRuleOrBuilder
    • addDestinationIpRangesBuilder

      public ExternalAccessRule.IpRange.Builder 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

      public ExternalAccessRule.IpRange.Builder 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. 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

      public List<ExternalAccessRule.IpRange.Builder> 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:
      getDestinationPortsList in interface ExternalAccessRuleOrBuilder
      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:
      getDestinationPortsCount in interface ExternalAccessRuleOrBuilder
      Returns:
      The count of destinationPorts.
    • getDestinationPorts

      public String getDestinationPorts(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:
      getDestinationPorts in interface ExternalAccessRuleOrBuilder
      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:
      getDestinationPortsBytes in interface ExternalAccessRuleOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the destinationPorts at the given index.
    • setDestinationPorts

      public ExternalAccessRule.Builder setDestinationPorts(int index, String value)
       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

      public ExternalAccessRule.Builder addDestinationPorts(String value)
       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

      public ExternalAccessRule.Builder addAllDestinationPorts(Iterable<String> values)
       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

      public ExternalAccessRule.Builder 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

      public ExternalAccessRule.Builder addDestinationPortsBytes(com.google.protobuf.ByteString value)
       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:
      getStateValue in interface ExternalAccessRuleOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • setStateValue

      public ExternalAccessRule.Builder setStateValue(int value)
       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

      public ExternalAccessRule.State getState()
       Output only. The state of the resource.
       
      .google.cloud.vmwareengine.v1.ExternalAccessRule.State state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getState in interface ExternalAccessRuleOrBuilder
      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

      public ExternalAccessRule.Builder 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

      public String getUid()
       Output only. System-generated unique identifier for the resource.
       
      string uid = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUid in interface ExternalAccessRuleOrBuilder
      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:
      getUidBytes in interface ExternalAccessRuleOrBuilder
      Returns:
      The bytes for uid.
    • setUid

      public ExternalAccessRule.Builder setUid(String value)
       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

      public ExternalAccessRule.Builder 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

      public ExternalAccessRule.Builder setUidBytes(com.google.protobuf.ByteString value)
       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.