Package com.google.storage.v2
Interface Bucket.IpFilter.PublicNetworkSourceOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Bucket.IpFilter.PublicNetworkSource,Bucket.IpFilter.PublicNetworkSource.Builder
- Enclosing class:
- Bucket.IpFilter
public static interface Bucket.IpFilter.PublicNetworkSourceOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetAllowedIpCidrRanges(int index) Optional.com.google.protobuf.ByteStringgetAllowedIpCidrRangesBytes(int index) Optional.intOptional.Optional.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
-
getAllowedIpCidrRangesList
Optional. The list of IPv4 and IPv6 cidr blocks that are allowed to operate or access the bucket and its underlying objects.
repeated string allowed_ip_cidr_ranges = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- A list containing the allowedIpCidrRanges.
-
getAllowedIpCidrRangesCount
int getAllowedIpCidrRangesCount()Optional. The list of IPv4 and IPv6 cidr blocks that are allowed to operate or access the bucket and its underlying objects.
repeated string allowed_ip_cidr_ranges = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The count of allowedIpCidrRanges.
-
getAllowedIpCidrRanges
Optional. The list of IPv4 and IPv6 cidr blocks that are allowed to operate or access the bucket and its underlying objects.
repeated string allowed_ip_cidr_ranges = 1 [(.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 IPv4 and IPv6 cidr blocks that are allowed to operate or access the bucket and its underlying objects.
repeated string allowed_ip_cidr_ranges = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the allowedIpCidrRanges at the given index.
-