- 1.56.0 (latest)
- 1.55.0
- 1.54.0
- 1.53.0
- 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.v1.NetworkConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > NetworkConfig.BuilderImplements
NetworkConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllIpAddresses(Iterable<String> values)
public NetworkConfig.Builder addAllIpAddresses(Iterable<String> values)
Output only. IPv4 addresses in the format
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];
Parameter | |
---|---|
Name | Description |
values | Iterable<String> The ipAddresses to add. |
Returns | |
---|---|
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.v1.NetworkConfig.AddressMode modes = 3;
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.cloud.filestore.v1.NetworkConfig.AddressMode> The modes to add. |
Returns | |
---|---|
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.v1.NetworkConfig.AddressMode modes = 3;
Parameter | |
---|---|
Name | Description |
values | Iterable<Integer> The enum numeric values on the wire for modes to add. |
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder | This builder for chaining. |
addIpAddresses(String value)
public NetworkConfig.Builder addIpAddresses(String value)
Output only. IPv4 addresses in the format
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];
Parameter | |
---|---|
Name | Description |
value | String The ipAddresses to add. |
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder | This builder for chaining. |
addIpAddressesBytes(ByteString value)
public NetworkConfig.Builder addIpAddressesBytes(ByteString value)
Output only. IPv4 addresses in the format
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];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes of the ipAddresses to add. |
Returns | |
---|---|
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.v1.NetworkConfig.AddressMode modes = 3;
Parameter | |
---|---|
Name | Description |
value | NetworkConfig.AddressMode The modes to add. |
Returns | |
---|---|
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.v1.NetworkConfig.AddressMode modes = 3;
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for modes to add. |
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NetworkConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
build()
public NetworkConfig build()
Returns | |
---|---|
Type | Description |
NetworkConfig |
buildPartial()
public NetworkConfig buildPartial()
Returns | |
---|---|
Type | Description |
NetworkConfig |
clear()
public NetworkConfig.Builder clear()
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
clearField(Descriptors.FieldDescriptor field)
public NetworkConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
clearIpAddresses()
public NetworkConfig.Builder clearIpAddresses()
Output only. IPv4 addresses in the format
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];
Returns | |
---|---|
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.v1.NetworkConfig.AddressMode modes = 3;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public NetworkConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
clearReservedIpRange()
public NetworkConfig.Builder clearReservedIpRange()
A /29 CIDR block 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 or 192.168.0.0/29. The range you specify can't overlap with either existing subnets or assigned IP address ranges for other Cloud Filestore instances in the selected VPC network.
string reserved_ip_range = 4;
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder | This builder for chaining. |
clone()
public NetworkConfig.Builder clone()
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
getDefaultInstanceForType()
public NetworkConfig getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
NetworkConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getIpAddresses(int index)
public String getIpAddresses(int index)
Output only. IPv4 addresses in the format
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];
Parameter | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String | The ipAddresses at the given index. |
getIpAddressesBytes(int index)
public ByteString getIpAddressesBytes(int index)
Output only. IPv4 addresses in the format
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];
Parameter | |
---|---|
Name | Description |
index | int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString | The bytes of the ipAddresses at the given index. |
getIpAddressesCount()
public int getIpAddressesCount()
Output only. IPv4 addresses in the format
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];
Returns | |
---|---|
Type | Description |
int | The count of ipAddresses. |
getIpAddressesList()
public ProtocolStringList getIpAddressesList()
Output only. IPv4 addresses in the format
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];
Returns | |
---|---|
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.v1.NetworkConfig.AddressMode modes = 3;
Parameter | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
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.v1.NetworkConfig.AddressMode modes = 3;
Returns | |
---|---|
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.v1.NetworkConfig.AddressMode modes = 3;
Returns | |
---|---|
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.v1.NetworkConfig.AddressMode modes = 3;
Parameter | |
---|---|
Name | Description |
index | int The index of the value to return. |
Returns | |
---|---|
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.v1.NetworkConfig.AddressMode modes = 3;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for network. |
getReservedIpRange()
public String getReservedIpRange()
A /29 CIDR block 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 or 192.168.0.0/29. The range you specify can't overlap with either existing subnets or assigned IP address ranges for other Cloud Filestore instances in the selected VPC network.
string reserved_ip_range = 4;
Returns | |
---|---|
Type | Description |
String | The reservedIpRange. |
getReservedIpRangeBytes()
public ByteString getReservedIpRangeBytes()
A /29 CIDR block 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 or 192.168.0.0/29. The range you specify can't overlap with either existing subnets or assigned IP address ranges for other Cloud Filestore instances in the selected VPC network.
string reserved_ip_range = 4;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for reservedIpRange. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(NetworkConfig other)
public NetworkConfig.Builder mergeFrom(NetworkConfig other)
Parameter | |
---|---|
Name | Description |
other | NetworkConfig |
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public NetworkConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public NetworkConfig.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NetworkConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public NetworkConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
setIpAddresses(int index, String value)
public NetworkConfig.Builder setIpAddresses(int index, String value)
Output only. IPv4 addresses in the format
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];
Parameters | |
---|---|
Name | Description |
index | int The index to set the value at. |
value | String The ipAddresses to set. |
Returns | |
---|---|
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.v1.NetworkConfig.AddressMode modes = 3;
Parameters | |
---|---|
Name | Description |
index | int The index to set the value at. |
value | NetworkConfig.AddressMode The modes to set. |
Returns | |
---|---|
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.v1.NetworkConfig.AddressMode modes = 3;
Parameters | |
---|---|
Name | Description |
index | int The index to set the value at. |
value | int The enum numeric value on the wire for modes to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | String The network to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for network to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |
setReservedIpRange(String value)
public NetworkConfig.Builder setReservedIpRange(String value)
A /29 CIDR block 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 or 192.168.0.0/29. The range you specify can't overlap with either existing subnets or assigned IP address ranges for other Cloud Filestore instances in the selected VPC network.
string reserved_ip_range = 4;
Parameter | |
---|---|
Name | Description |
value | String The reservedIpRange to set. |
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder | This builder for chaining. |
setReservedIpRangeBytes(ByteString value)
public NetworkConfig.Builder setReservedIpRangeBytes(ByteString value)
A /29 CIDR block 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 or 192.168.0.0/29. The range you specify can't overlap with either existing subnets or assigned IP address ranges for other Cloud Filestore instances in the selected VPC network.
string reserved_ip_range = 4;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for reservedIpRange to set. |
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final NetworkConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
NetworkConfig.Builder |