Class NetworkConfig.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<NetworkConfig.Builder>
-
- com.google.cloud.filestore.v1beta1.NetworkConfig.Builder
-
- All Implemented Interfaces:
NetworkConfigOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- NetworkConfig
public static final class NetworkConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<NetworkConfig.Builder> implements NetworkConfigOrBuilder
Network configuration for the instance.
Protobuf typegoogle.cloud.filestore.v1beta1.NetworkConfig
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description NetworkConfig.Builder
addAllIpAddresses(Iterable<String> values)
Output only.NetworkConfig.Builder
addAllModes(Iterable<? extends NetworkConfig.AddressMode> values)
Internet protocol versions for which the instance has IP addresses assigned.NetworkConfig.Builder
addAllModesValue(Iterable<Integer> values)
Internet protocol versions for which the instance has IP addresses assigned.NetworkConfig.Builder
addIpAddresses(String value)
Output only.NetworkConfig.Builder
addIpAddressesBytes(com.google.protobuf.ByteString value)
Output only.NetworkConfig.Builder
addModes(NetworkConfig.AddressMode value)
Internet protocol versions for which the instance has IP addresses assigned.NetworkConfig.Builder
addModesValue(int value)
Internet protocol versions for which the instance has IP addresses assigned.NetworkConfig.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
NetworkConfig
build()
NetworkConfig
buildPartial()
NetworkConfig.Builder
clear()
NetworkConfig.Builder
clearConnectMode()
The network connect mode of the Filestore instance.NetworkConfig.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
NetworkConfig.Builder
clearIpAddresses()
Output only.NetworkConfig.Builder
clearModes()
Internet protocol versions for which the instance has IP addresses assigned.NetworkConfig.Builder
clearNetwork()
The name of the Google Compute Engine [VPC network](https://cloud.google.com/vpc/docs/vpc) to which the instance is connected.NetworkConfig.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
NetworkConfig.Builder
clearReservedIpRange()
Optional, reserved_ip_range can have one of the following two types of values.NetworkConfig.Builder
clone()
NetworkConfig.ConnectMode
getConnectMode()
The network connect mode of the Filestore instance.int
getConnectModeValue()
The network connect mode of the Filestore instance.NetworkConfig
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getIpAddresses(int index)
Output only.com.google.protobuf.ByteString
getIpAddressesBytes(int index)
Output only.int
getIpAddressesCount()
Output only.com.google.protobuf.ProtocolStringList
getIpAddressesList()
Output only.NetworkConfig.AddressMode
getModes(int index)
Internet protocol versions for which the instance has IP addresses assigned.int
getModesCount()
Internet protocol versions for which the instance has IP addresses assigned.List<NetworkConfig.AddressMode>
getModesList()
Internet protocol versions for which the instance has IP addresses assigned.int
getModesValue(int index)
Internet protocol versions for which the instance has IP addresses assigned.List<Integer>
getModesValueList()
Internet protocol versions for which the instance has IP addresses assigned.String
getNetwork()
The name of the Google Compute Engine [VPC network](https://cloud.google.com/vpc/docs/vpc) to which the instance is connected.com.google.protobuf.ByteString
getNetworkBytes()
The name of the Google Compute Engine [VPC network](https://cloud.google.com/vpc/docs/vpc) to which the instance is connected.String
getReservedIpRange()
Optional, reserved_ip_range can have one of the following two types of values.com.google.protobuf.ByteString
getReservedIpRangeBytes()
Optional, reserved_ip_range can have one of the following two types of values.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
NetworkConfig.Builder
mergeFrom(NetworkConfig other)
NetworkConfig.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
NetworkConfig.Builder
mergeFrom(com.google.protobuf.Message other)
NetworkConfig.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
NetworkConfig.Builder
setConnectMode(NetworkConfig.ConnectMode value)
The network connect mode of the Filestore instance.NetworkConfig.Builder
setConnectModeValue(int value)
The network connect mode of the Filestore instance.NetworkConfig.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
NetworkConfig.Builder
setIpAddresses(int index, String value)
Output only.NetworkConfig.Builder
setModes(int index, NetworkConfig.AddressMode value)
Internet protocol versions for which the instance has IP addresses assigned.NetworkConfig.Builder
setModesValue(int index, int value)
Internet protocol versions for which the instance has IP addresses assigned.NetworkConfig.Builder
setNetwork(String value)
The name of the Google Compute Engine [VPC network](https://cloud.google.com/vpc/docs/vpc) to which the instance is connected.NetworkConfig.Builder
setNetworkBytes(com.google.protobuf.ByteString value)
The name of the Google Compute Engine [VPC network](https://cloud.google.com/vpc/docs/vpc) to which the instance is connected.NetworkConfig.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
NetworkConfig.Builder
setReservedIpRange(String value)
Optional, reserved_ip_range can have one of the following two types of values.NetworkConfig.Builder
setReservedIpRangeBytes(com.google.protobuf.ByteString value)
Optional, reserved_ip_range can have one of the following two types of values.NetworkConfig.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkConfig.Builder>
-
clear
public NetworkConfig.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkConfig.Builder>
-
getDefaultInstanceForType
public NetworkConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public NetworkConfig build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public NetworkConfig buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public NetworkConfig.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkConfig.Builder>
-
setField
public NetworkConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkConfig.Builder>
-
clearField
public NetworkConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkConfig.Builder>
-
clearOneof
public NetworkConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkConfig.Builder>
-
setRepeatedField
public NetworkConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkConfig.Builder>
-
addRepeatedField
public NetworkConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkConfig.Builder>
-
mergeFrom
public NetworkConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<NetworkConfig.Builder>
-
mergeFrom
public NetworkConfig.Builder mergeFrom(NetworkConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkConfig.Builder>
-
mergeFrom
public NetworkConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<NetworkConfig.Builder>
- Throws:
IOException
-
getNetwork
public String getNetwork()
The name of the Google Compute Engine [VPC network](https://cloud.google.com/vpc/docs/vpc) to which the instance is connected.
string network = 1;
- Specified by:
getNetwork
in interfaceNetworkConfigOrBuilder
- Returns:
- The network.
-
getNetworkBytes
public com.google.protobuf.ByteString getNetworkBytes()
The name of the Google Compute Engine [VPC network](https://cloud.google.com/vpc/docs/vpc) to which the instance is connected.
string network = 1;
- Specified by:
getNetworkBytes
in interfaceNetworkConfigOrBuilder
- Returns:
- The bytes for network.
-
setNetwork
public NetworkConfig.Builder setNetwork(String value)
The name of the Google Compute Engine [VPC network](https://cloud.google.com/vpc/docs/vpc) to which the instance is connected.
string network = 1;
- Parameters:
value
- The network to set.- Returns:
- This builder for chaining.
-
clearNetwork
public NetworkConfig.Builder clearNetwork()
The name of the Google Compute Engine [VPC network](https://cloud.google.com/vpc/docs/vpc) to which the instance is connected.
string network = 1;
- Returns:
- This builder for chaining.
-
setNetworkBytes
public NetworkConfig.Builder setNetworkBytes(com.google.protobuf.ByteString value)
The name of the Google Compute Engine [VPC network](https://cloud.google.com/vpc/docs/vpc) to which the instance is connected.
string network = 1;
- Parameters:
value
- The bytes for network to set.- Returns:
- This builder for chaining.
-
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;
- Specified by:
getModesList
in interfaceNetworkConfigOrBuilder
- Returns:
- A list containing the modes.
-
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;
- Specified by:
getModesCount
in interfaceNetworkConfigOrBuilder
- Returns:
- The count of modes.
-
getModes
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;
- Specified by:
getModes
in interfaceNetworkConfigOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The modes at the given index.
-
setModes
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;
- Parameters:
index
- The index to set the value at.value
- The modes to set.- Returns:
- This builder for chaining.
-
addModes
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;
- Parameters:
value
- The modes to add.- Returns:
- This builder for chaining.
-
addAllModes
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;
- Parameters:
values
- The modes to add.- Returns:
- 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;
- Returns:
- This builder for chaining.
-
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;
- Specified by:
getModesValueList
in interfaceNetworkConfigOrBuilder
- Returns:
- A list containing the enum numeric values on the wire for modes.
-
getModesValue
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;
- Specified by:
getModesValue
in interfaceNetworkConfigOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The enum numeric value on the wire of modes at the given index.
-
setModesValue
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;
- Parameters:
index
- The index to set the value at.value
- The enum numeric value on the wire for modes to set.- Returns:
- This builder for chaining.
-
addModesValue
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;
- Parameters:
value
- The enum numeric value on the wire for modes to add.- Returns:
- This builder for chaining.
-
addAllModesValue
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;
- Parameters:
values
- The enum numeric values on the wire for modes to add.- Returns:
- This builder for chaining.
-
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](https://cloud.google.com/compute/docs/ip-addresses/reserve-static-internal-ip-address) 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](https://www.arin.net/reference/research/statistics/address_filters/) 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;
- Specified by:
getReservedIpRange
in interfaceNetworkConfigOrBuilder
- Returns:
- The reservedIpRange.
-
getReservedIpRangeBytes
public com.google.protobuf.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](https://cloud.google.com/compute/docs/ip-addresses/reserve-static-internal-ip-address) 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](https://www.arin.net/reference/research/statistics/address_filters/) 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;
- Specified by:
getReservedIpRangeBytes
in interfaceNetworkConfigOrBuilder
- Returns:
- The bytes for reservedIpRange.
-
setReservedIpRange
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](https://cloud.google.com/compute/docs/ip-addresses/reserve-static-internal-ip-address) 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](https://www.arin.net/reference/research/statistics/address_filters/) 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;
- Parameters:
value
- The reservedIpRange to set.- Returns:
- This builder for chaining.
-
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](https://cloud.google.com/compute/docs/ip-addresses/reserve-static-internal-ip-address) 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](https://www.arin.net/reference/research/statistics/address_filters/) 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;
- Returns:
- This builder for chaining.
-
setReservedIpRangeBytes
public NetworkConfig.Builder setReservedIpRangeBytes(com.google.protobuf.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](https://cloud.google.com/compute/docs/ip-addresses/reserve-static-internal-ip-address) 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](https://www.arin.net/reference/research/statistics/address_filters/) 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;
- Parameters:
value
- The bytes for reservedIpRange to set.- Returns:
- This builder for chaining.
-
getIpAddressesList
public com.google.protobuf.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];
- Specified by:
getIpAddressesList
in interfaceNetworkConfigOrBuilder
- Returns:
- A list containing the ipAddresses.
-
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];
- Specified by:
getIpAddressesCount
in interfaceNetworkConfigOrBuilder
- Returns:
- The count of ipAddresses.
-
getIpAddresses
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];
- Specified by:
getIpAddresses
in interfaceNetworkConfigOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The ipAddresses at the given index.
-
getIpAddressesBytes
public com.google.protobuf.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];
- Specified by:
getIpAddressesBytes
in interfaceNetworkConfigOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the ipAddresses at the given index.
-
setIpAddresses
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];
- Parameters:
index
- The index to set the value at.value
- The ipAddresses to set.- Returns:
- This builder for chaining.
-
addIpAddresses
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];
- Parameters:
value
- The ipAddresses to add.- Returns:
- This builder for chaining.
-
addAllIpAddresses
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];
- Parameters:
values
- The ipAddresses to add.- Returns:
- This builder for chaining.
-
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];
- Returns:
- This builder for chaining.
-
addIpAddressesBytes
public NetworkConfig.Builder addIpAddressesBytes(com.google.protobuf.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];
- Parameters:
value
- The bytes of the ipAddresses to add.- Returns:
- This builder for chaining.
-
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;
- Specified by:
getConnectModeValue
in interfaceNetworkConfigOrBuilder
- Returns:
- The enum numeric value on the wire for connectMode.
-
setConnectModeValue
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;
- Parameters:
value
- The enum numeric value on the wire for connectMode to set.- Returns:
- This builder for chaining.
-
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;
- Specified by:
getConnectMode
in interfaceNetworkConfigOrBuilder
- Returns:
- The connectMode.
-
setConnectMode
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;
- Parameters:
value
- The connectMode to set.- Returns:
- This builder for chaining.
-
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;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final NetworkConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkConfig.Builder>
-
mergeUnknownFields
public final NetworkConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkConfig.Builder>
-
-