Package com.google.cloud.vmwareengine.v1
Interface ExternalAccessRule.IpRangeOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ExternalAccessRule.IpRange,ExternalAccessRule.IpRange.Builder
- Enclosing class:
- ExternalAccessRule
public static interface ExternalAccessRule.IpRangeOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe name of an `ExternalAddress` resource.com.google.protobuf.ByteStringThe name of an `ExternalAddress` resource.A single IP address.com.google.protobuf.ByteStringA single IP address.An IP address range in the CIDR format.com.google.protobuf.ByteStringAn IP address range in the CIDR format.booleanThe name of an `ExternalAddress` resource.booleanA single IP address.booleanAn IP address range in the CIDR format.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasIpAddress
boolean hasIpAddress()A single IP address. For example: `10.0.0.5`.
string ip_address = 1;- Returns:
- Whether the ipAddress field is set.
-
getIpAddress
String getIpAddress()A single IP address. For example: `10.0.0.5`.
string ip_address = 1;- Returns:
- The ipAddress.
-
getIpAddressBytes
com.google.protobuf.ByteString getIpAddressBytes()A single IP address. For example: `10.0.0.5`.
string ip_address = 1;- Returns:
- The bytes for ipAddress.
-
hasIpAddressRange
boolean hasIpAddressRange()An IP address range in the CIDR format. For example: `10.0.0.0/24`.
string ip_address_range = 2;- Returns:
- Whether the ipAddressRange field is set.
-
getIpAddressRange
String getIpAddressRange()An IP address range in the CIDR format. For example: `10.0.0.0/24`.
string ip_address_range = 2;- Returns:
- The ipAddressRange.
-
getIpAddressRangeBytes
com.google.protobuf.ByteString getIpAddressRangeBytes()An IP address range in the CIDR format. For example: `10.0.0.0/24`.
string ip_address_range = 2;- Returns:
- The bytes for ipAddressRange.
-
hasExternalAddress
boolean hasExternalAddress()The name of an `ExternalAddress` resource. The external address must have been reserved in the scope of this external access rule's parent network policy. Provide the external address name in the form of `projects/{project}/locations/{location}/privateClouds/{private_cloud}/externalAddresses/{external_address}`. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/externalAddresses/my-address`.string external_address = 3 [(.google.api.resource_reference) = { ... }- Returns:
- Whether the externalAddress field is set.
-
getExternalAddress
String getExternalAddress()The name of an `ExternalAddress` resource. The external address must have been reserved in the scope of this external access rule's parent network policy. Provide the external address name in the form of `projects/{project}/locations/{location}/privateClouds/{private_cloud}/externalAddresses/{external_address}`. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/externalAddresses/my-address`.string external_address = 3 [(.google.api.resource_reference) = { ... }- Returns:
- The externalAddress.
-
getExternalAddressBytes
com.google.protobuf.ByteString getExternalAddressBytes()The name of an `ExternalAddress` resource. The external address must have been reserved in the scope of this external access rule's parent network policy. Provide the external address name in the form of `projects/{project}/locations/{location}/privateClouds/{private_cloud}/externalAddresses/{external_address}`. For example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/externalAddresses/my-address`.string external_address = 3 [(.google.api.resource_reference) = { ... }- Returns:
- The bytes for externalAddress.
-
getIpRangeCase
ExternalAccessRule.IpRange.IpRangeCase getIpRangeCase()
-