- 1.53.0 (latest)
- 1.52.0
- 1.50.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.38.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.10.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.2.0
public static final class NetworkConfig.Builder extends GeneratedMessageV3.Builder<NetworkConfig.Builder> implements NetworkConfigOrBuilder
Network configuration for the instance.
Protobuf type google.cloud.filestore.v1beta1.NetworkConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > NetworkConfig.BuilderImplements
NetworkConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllIpAddresses(Iterable<String> values)
public NetworkConfig.Builder addAllIpAddresses(Iterable<String> values)
Output only. IPv4 addresses in the format {octet1}.{octet2}.{octet3}.{octet4}
or
IPv6 addresses in the format
{block1}:{block2}:{block3}:{block4}:{block5}:{block6}:{block7}:{block8}
.
repeated string ip_addresses = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
values | Iterable<String> The ipAddresses to add. |
Type | Description |
NetworkConfig.Builder | This builder for chaining. |
addAllModes(Iterable<? extends NetworkConfig.AddressMode> values)
public NetworkConfig.Builder addAllModes(Iterable<? extends NetworkConfig.AddressMode> values)
Internet protocol versions for which the instance has IP addresses assigned. For this version, only MODE_IPV4 is supported.
repeated .google.cloud.filestore.v1beta1.NetworkConfig.AddressMode modes = 3;
Name | Description |
values | Iterable<? extends com.google.cloud.filestore.v1beta1.NetworkConfig.AddressMode> The modes to add. |
Type | Description |
NetworkConfig.Builder | This builder for chaining. |
addAllModesValue(Iterable<Integer> values)
public NetworkConfig.Builder addAllModesValue(Iterable<Integer> values)
Internet protocol versions for which the instance has IP addresses assigned. For this version, only MODE_IPV4 is supported.
repeated .google.cloud.filestore.v1beta1.NetworkConfig.AddressMode modes = 3;
Name | Description |
values | Iterable<Integer> The enum numeric values on the wire for modes to add. |
Type | Description |
NetworkConfig.Builder | This builder for chaining. |
addIpAddresses(String value)
public NetworkConfig.Builder addIpAddresses(String value)
Output only. IPv4 addresses in the format {octet1}.{octet2}.{octet3}.{octet4}
or
IPv6 addresses in the format
{block1}:{block2}:{block3}:{block4}:{block5}:{block6}:{block7}:{block8}
.
repeated string ip_addresses = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | String The ipAddresses to add. |
Type | Description |
NetworkConfig.Builder | This builder for chaining. |
addIpAddressesBytes(ByteString value)
public NetworkConfig.Builder addIpAddressesBytes(ByteString value)
Output only. IPv4 addresses in the format {octet1}.{octet2}.{octet3}.{octet4}
or
IPv6 addresses in the format
{block1}:{block2}:{block3}:{block4}:{block5}:{block6}:{block7}:{block8}
.
repeated string ip_addresses = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString The bytes of the ipAddresses to add. |
Type | Description |
NetworkConfig.Builder | This builder for chaining. |
addModes(NetworkConfig.AddressMode value)
public NetworkConfig.Builder addModes(NetworkConfig.AddressMode value)
Internet protocol versions for which the instance has IP addresses assigned. For this version, only MODE_IPV4 is supported.
repeated .google.cloud.filestore.v1beta1.NetworkConfig.AddressMode modes = 3;
Name | Description |
value | NetworkConfig.AddressMode The modes to add. |
Type | Description |
NetworkConfig.Builder | This builder for chaining. |
addModesValue(int value)
public NetworkConfig.Builder addModesValue(int value)
Internet protocol versions for which the instance has IP addresses assigned. For this version, only MODE_IPV4 is supported.
repeated .google.cloud.filestore.v1beta1.NetworkConfig.AddressMode modes = 3;
Name | Description |
value | int The enum numeric value on the wire for modes to add. |
Type | Description |
NetworkConfig.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NetworkConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
NetworkConfig.Builder |
build()
public NetworkConfig build()
Type | Description |
NetworkConfig |
buildPartial()
public NetworkConfig buildPartial()
Type | Description |
NetworkConfig |
clear()
public NetworkConfig.Builder clear()
Type | Description |
NetworkConfig.Builder |
clearConnectMode()
public NetworkConfig.Builder clearConnectMode()
The network connect mode of the Filestore instance. If not provided, the connect mode defaults to DIRECT_PEERING.
.google.cloud.filestore.v1beta1.NetworkConfig.ConnectMode connect_mode = 6;
Type | Description |
NetworkConfig.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public NetworkConfig.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
NetworkConfig.Builder |
clearIpAddresses()
public NetworkConfig.Builder clearIpAddresses()
Output only. IPv4 addresses in the format {octet1}.{octet2}.{octet3}.{octet4}
or
IPv6 addresses in the format
{block1}:{block2}:{block3}:{block4}:{block5}:{block6}:{block7}:{block8}
.
repeated string ip_addresses = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
NetworkConfig.Builder | This builder for chaining. |
clearModes()
public NetworkConfig.Builder clearModes()
Internet protocol versions for which the instance has IP addresses assigned. For this version, only MODE_IPV4 is supported.
repeated .google.cloud.filestore.v1beta1.NetworkConfig.AddressMode modes = 3;
Type | Description |
NetworkConfig.Builder | This builder for chaining. |
clearNetwork()
public NetworkConfig.Builder clearNetwork()
The name of the Google Compute Engine VPC network to which the instance is connected.
string network = 1;
Type | Description |
NetworkConfig.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public NetworkConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
NetworkConfig.Builder |
clearReservedIpRange()
public NetworkConfig.Builder clearReservedIpRange()
Optional, reserved_ip_range can have one of the following two types of values.
- CIDR range value when using DIRECT_PEERING connect mode.
- Allocated IP address range when using PRIVATE_SERVICE_ACCESS connect mode. When the name of an allocated IP address range is specified, it must be one of the ranges associated with the private service access connection. When specified as a direct CIDR value, it must be a /29 CIDR block for Basic tier, a /24 CIDR block for High Scale tier, or a /26 CIDR block for Enterprise tier in one of the internal IP address ranges that identifies the range of IP addresses reserved for this instance. For example, 10.0.0.0/29, 192.168.0.0/24, or 192.168.0.0/26, respectively. The range you specify can't overlap with either existing subnets or assigned IP address ranges for other Filestore instances in the selected VPC network.
string reserved_ip_range = 4;
Type | Description |
NetworkConfig.Builder | This builder for chaining. |
clone()
public NetworkConfig.Builder clone()
Type | Description |
NetworkConfig.Builder |
getConnectMode()
public NetworkConfig.ConnectMode getConnectMode()
The network connect mode of the Filestore instance. If not provided, the connect mode defaults to DIRECT_PEERING.
.google.cloud.filestore.v1beta1.NetworkConfig.ConnectMode connect_mode = 6;
Type | Description |
NetworkConfig.ConnectMode | The connectMode. |
getConnectModeValue()
public int getConnectModeValue()
The network connect mode of the Filestore instance. If not provided, the connect mode defaults to DIRECT_PEERING.
.google.cloud.filestore.v1beta1.NetworkConfig.ConnectMode connect_mode = 6;
Type | Description |
int | The enum numeric value on the wire for connectMode. |
getDefaultInstanceForType()
public NetworkConfig getDefaultInstanceForType()
Type | Description |
NetworkConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getIpAddresses(int index)
public String getIpAddresses(int index)
Output only. IPv4 addresses in the format {octet1}.{octet2}.{octet3}.{octet4}
or
IPv6 addresses in the format
{block1}:{block2}:{block3}:{block4}:{block5}:{block6}:{block7}:{block8}
.
repeated string ip_addresses = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The ipAddresses at the given index. |
getIpAddressesBytes(int index)
public ByteString getIpAddressesBytes(int index)
Output only. IPv4 addresses in the format {octet1}.{octet2}.{octet3}.{octet4}
or
IPv6 addresses in the format
{block1}:{block2}:{block3}:{block4}:{block5}:{block6}:{block7}:{block8}
.
repeated string ip_addresses = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the ipAddresses at the given index. |
getIpAddressesCount()
public int getIpAddressesCount()
Output only. IPv4 addresses in the format {octet1}.{octet2}.{octet3}.{octet4}
or
IPv6 addresses in the format
{block1}:{block2}:{block3}:{block4}:{block5}:{block6}:{block7}:{block8}
.
repeated string ip_addresses = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
int | The count of ipAddresses. |
getIpAddressesList()
public ProtocolStringList getIpAddressesList()
Output only. IPv4 addresses in the format {octet1}.{octet2}.{octet3}.{octet4}
or
IPv6 addresses in the format
{block1}:{block2}:{block3}:{block4}:{block5}:{block6}:{block7}:{block8}
.
repeated string ip_addresses = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ProtocolStringList | A list containing the ipAddresses. |
getModes(int index)
public NetworkConfig.AddressMode getModes(int index)
Internet protocol versions for which the instance has IP addresses assigned. For this version, only MODE_IPV4 is supported.
repeated .google.cloud.filestore.v1beta1.NetworkConfig.AddressMode modes = 3;
Name | Description |
index | int The index of the element to return. |
Type | Description |
NetworkConfig.AddressMode | The modes at the given index. |
getModesCount()
public int getModesCount()
Internet protocol versions for which the instance has IP addresses assigned. For this version, only MODE_IPV4 is supported.
repeated .google.cloud.filestore.v1beta1.NetworkConfig.AddressMode modes = 3;
Type | Description |
int | The count of modes. |
getModesList()
public List<NetworkConfig.AddressMode> getModesList()
Internet protocol versions for which the instance has IP addresses assigned. For this version, only MODE_IPV4 is supported.
repeated .google.cloud.filestore.v1beta1.NetworkConfig.AddressMode modes = 3;
Type | Description |
List<AddressMode> | A list containing the modes. |
getModesValue(int index)
public int getModesValue(int index)
Internet protocol versions for which the instance has IP addresses assigned. For this version, only MODE_IPV4 is supported.
repeated .google.cloud.filestore.v1beta1.NetworkConfig.AddressMode modes = 3;
Name | Description |
index | int The index of the value to return. |
Type | Description |
int | The enum numeric value on the wire of modes at the given index. |
getModesValueList()
public List<Integer> getModesValueList()
Internet protocol versions for which the instance has IP addresses assigned. For this version, only MODE_IPV4 is supported.
repeated .google.cloud.filestore.v1beta1.NetworkConfig.AddressMode modes = 3;
Type | Description |
List<Integer> | A list containing the enum numeric values on the wire for modes. |
getNetwork()
public String getNetwork()
The name of the Google Compute Engine VPC network to which the instance is connected.
string network = 1;
Type | Description |
String | The network. |
getNetworkBytes()
public ByteString getNetworkBytes()
The name of the Google Compute Engine VPC network to which the instance is connected.
string network = 1;
Type | Description |
ByteString | The bytes for network. |
getReservedIpRange()
public String getReservedIpRange()
Optional, reserved_ip_range can have one of the following two types of values.
- CIDR range value when using DIRECT_PEERING connect mode.
- Allocated IP address range when using PRIVATE_SERVICE_ACCESS connect mode. When the name of an allocated IP address range is specified, it must be one of the ranges associated with the private service access connection. When specified as a direct CIDR value, it must be a /29 CIDR block for Basic tier, a /24 CIDR block for High Scale tier, or a /26 CIDR block for Enterprise tier in one of the internal IP address ranges that identifies the range of IP addresses reserved for this instance. For example, 10.0.0.0/29, 192.168.0.0/24, or 192.168.0.0/26, respectively. The range you specify can't overlap with either existing subnets or assigned IP address ranges for other Filestore instances in the selected VPC network.
string reserved_ip_range = 4;
Type | Description |
String | The reservedIpRange. |
getReservedIpRangeBytes()
public ByteString getReservedIpRangeBytes()
Optional, reserved_ip_range can have one of the following two types of values.
- CIDR range value when using DIRECT_PEERING connect mode.
- Allocated IP address range when using PRIVATE_SERVICE_ACCESS connect mode. When the name of an allocated IP address range is specified, it must be one of the ranges associated with the private service access connection. When specified as a direct CIDR value, it must be a /29 CIDR block for Basic tier, a /24 CIDR block for High Scale tier, or a /26 CIDR block for Enterprise tier in one of the internal IP address ranges that identifies the range of IP addresses reserved for this instance. For example, 10.0.0.0/29, 192.168.0.0/24, or 192.168.0.0/26, respectively. The range you specify can't overlap with either existing subnets or assigned IP address ranges for other Filestore instances in the selected VPC network.
string reserved_ip_range = 4;
Type | Description |
ByteString | The bytes for reservedIpRange. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(NetworkConfig other)
public NetworkConfig.Builder mergeFrom(NetworkConfig other)
Name | Description |
other | NetworkConfig |
Type | Description |
NetworkConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public NetworkConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
NetworkConfig.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public NetworkConfig.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
NetworkConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NetworkConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
NetworkConfig.Builder |
setConnectMode(NetworkConfig.ConnectMode value)
public NetworkConfig.Builder setConnectMode(NetworkConfig.ConnectMode value)
The network connect mode of the Filestore instance. If not provided, the connect mode defaults to DIRECT_PEERING.
.google.cloud.filestore.v1beta1.NetworkConfig.ConnectMode connect_mode = 6;
Name | Description |
value | NetworkConfig.ConnectMode The connectMode to set. |
Type | Description |
NetworkConfig.Builder | This builder for chaining. |
setConnectModeValue(int value)
public NetworkConfig.Builder setConnectModeValue(int value)
The network connect mode of the Filestore instance. If not provided, the connect mode defaults to DIRECT_PEERING.
.google.cloud.filestore.v1beta1.NetworkConfig.ConnectMode connect_mode = 6;
Name | Description |
value | int The enum numeric value on the wire for connectMode to set. |
Type | Description |
NetworkConfig.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public NetworkConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
NetworkConfig.Builder |
setIpAddresses(int index, String value)
public NetworkConfig.Builder setIpAddresses(int index, String value)
Output only. IPv4 addresses in the format {octet1}.{octet2}.{octet3}.{octet4}
or
IPv6 addresses in the format
{block1}:{block2}:{block3}:{block4}:{block5}:{block6}:{block7}:{block8}
.
repeated string ip_addresses = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int The index to set the value at. |
value | String The ipAddresses to set. |
Type | Description |
NetworkConfig.Builder | This builder for chaining. |
setModes(int index, NetworkConfig.AddressMode value)
public NetworkConfig.Builder setModes(int index, NetworkConfig.AddressMode value)
Internet protocol versions for which the instance has IP addresses assigned. For this version, only MODE_IPV4 is supported.
repeated .google.cloud.filestore.v1beta1.NetworkConfig.AddressMode modes = 3;
Name | Description |
index | int The index to set the value at. |
value | NetworkConfig.AddressMode The modes to set. |
Type | Description |
NetworkConfig.Builder | This builder for chaining. |
setModesValue(int index, int value)
public NetworkConfig.Builder setModesValue(int index, int value)
Internet protocol versions for which the instance has IP addresses assigned. For this version, only MODE_IPV4 is supported.
repeated .google.cloud.filestore.v1beta1.NetworkConfig.AddressMode modes = 3;
Name | Description |
index | int The index to set the value at. |
value | int The enum numeric value on the wire for modes to set. |
Type | Description |
NetworkConfig.Builder | This builder for chaining. |
setNetwork(String value)
public NetworkConfig.Builder setNetwork(String value)
The name of the Google Compute Engine VPC network to which the instance is connected.
string network = 1;
Name | Description |
value | String The network to set. |
Type | Description |
NetworkConfig.Builder | This builder for chaining. |
setNetworkBytes(ByteString value)
public NetworkConfig.Builder setNetworkBytes(ByteString value)
The name of the Google Compute Engine VPC network to which the instance is connected.
string network = 1;
Name | Description |
value | ByteString The bytes for network to set. |
Type | Description |
NetworkConfig.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NetworkConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
NetworkConfig.Builder |
setReservedIpRange(String value)
public NetworkConfig.Builder setReservedIpRange(String value)
Optional, reserved_ip_range can have one of the following two types of values.
- CIDR range value when using DIRECT_PEERING connect mode.
- Allocated IP address range when using PRIVATE_SERVICE_ACCESS connect mode. When the name of an allocated IP address range is specified, it must be one of the ranges associated with the private service access connection. When specified as a direct CIDR value, it must be a /29 CIDR block for Basic tier, a /24 CIDR block for High Scale tier, or a /26 CIDR block for Enterprise tier in one of the internal IP address ranges that identifies the range of IP addresses reserved for this instance. For example, 10.0.0.0/29, 192.168.0.0/24, or 192.168.0.0/26, respectively. The range you specify can't overlap with either existing subnets or assigned IP address ranges for other Filestore instances in the selected VPC network.
string reserved_ip_range = 4;
Name | Description |
value | String The reservedIpRange to set. |
Type | Description |
NetworkConfig.Builder | This builder for chaining. |
setReservedIpRangeBytes(ByteString value)
public NetworkConfig.Builder setReservedIpRangeBytes(ByteString value)
Optional, reserved_ip_range can have one of the following two types of values.
- CIDR range value when using DIRECT_PEERING connect mode.
- Allocated IP address range when using PRIVATE_SERVICE_ACCESS connect mode. When the name of an allocated IP address range is specified, it must be one of the ranges associated with the private service access connection. When specified as a direct CIDR value, it must be a /29 CIDR block for Basic tier, a /24 CIDR block for High Scale tier, or a /26 CIDR block for Enterprise tier in one of the internal IP address ranges that identifies the range of IP addresses reserved for this instance. For example, 10.0.0.0/29, 192.168.0.0/24, or 192.168.0.0/26, respectively. The range you specify can't overlap with either existing subnets or assigned IP address ranges for other Filestore instances in the selected VPC network.
string reserved_ip_range = 4;
Name | Description |
value | ByteString The bytes for reservedIpRange to set. |
Type | Description |
NetworkConfig.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final NetworkConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
NetworkConfig.Builder |