Package com.google.storage.v2
Interface Bucket.IpFilter.VpcNetworkSourceOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Bucket.IpFilter.VpcNetworkSource,Bucket.IpFilter.VpcNetworkSource.Builder
- Enclosing class:
- Bucket.IpFilter
public static interface Bucket.IpFilter.VpcNetworkSourceOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetAllowedIpCidrRanges(int index) Optional.com.google.protobuf.ByteStringgetAllowedIpCidrRangesBytes(int index) Optional.intOptional.Optional.Name of the network.com.google.protobuf.ByteStringName of the network.booleanName of the network.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
-
hasNetwork
boolean hasNetwork()Name of the network. Format: `projects/PROJECT_ID/global/networks/NETWORK_NAME`
optional string network = 1;- Returns:
- Whether the network field is set.
-
getNetwork
String getNetwork()Name of the network. Format: `projects/PROJECT_ID/global/networks/NETWORK_NAME`
optional string network = 1;- Returns:
- The network.
-
getNetworkBytes
com.google.protobuf.ByteString getNetworkBytes()Name of the network. Format: `projects/PROJECT_ID/global/networks/NETWORK_NAME`
optional string network = 1;- Returns:
- The bytes for network.
-
getAllowedIpCidrRangesList
Optional. The list of public or private IPv4 and IPv6 CIDR ranges that can access the bucket. In the CIDR IP address block, the specified IP address must be properly truncated, meaning all the host bits must be zero or else the input is considered malformed. For example, `192.0.2.0/24` is accepted but `192.0.2.1/24` is not. Similarly, for IPv6, `2001:db8::/32` is accepted whereas `2001:db8::1/32` is not.
repeated string allowed_ip_cidr_ranges = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- A list containing the allowedIpCidrRanges.
-
getAllowedIpCidrRangesCount
int getAllowedIpCidrRangesCount()Optional. The list of public or private IPv4 and IPv6 CIDR ranges that can access the bucket. In the CIDR IP address block, the specified IP address must be properly truncated, meaning all the host bits must be zero or else the input is considered malformed. For example, `192.0.2.0/24` is accepted but `192.0.2.1/24` is not. Similarly, for IPv6, `2001:db8::/32` is accepted whereas `2001:db8::1/32` is not.
repeated string allowed_ip_cidr_ranges = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The count of allowedIpCidrRanges.
-
getAllowedIpCidrRanges
Optional. The list of public or private IPv4 and IPv6 CIDR ranges that can access the bucket. In the CIDR IP address block, the specified IP address must be properly truncated, meaning all the host bits must be zero or else the input is considered malformed. For example, `192.0.2.0/24` is accepted but `192.0.2.1/24` is not. Similarly, for IPv6, `2001:db8::/32` is accepted whereas `2001:db8::1/32` is not.
repeated string allowed_ip_cidr_ranges = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the element to return.- Returns:
- The allowedIpCidrRanges at the given index.
-
getAllowedIpCidrRangesBytes
com.google.protobuf.ByteString getAllowedIpCidrRangesBytes(int index) Optional. The list of public or private IPv4 and IPv6 CIDR ranges that can access the bucket. In the CIDR IP address block, the specified IP address must be properly truncated, meaning all the host bits must be zero or else the input is considered malformed. For example, `192.0.2.0/24` is accepted but `192.0.2.1/24` is not. Similarly, for IPv6, `2001:db8::/32` is accepted whereas `2001:db8::1/32` is not.
repeated string allowed_ip_cidr_ranges = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the allowedIpCidrRanges at the given index.
-