- 2.52.0 (latest)
- 2.51.0
- 2.50.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.0
- 2.2.8
- 2.1.9
public static final class SqlIpConfig.Builder extends GeneratedMessageV3.Builder<SqlIpConfig.Builder> implements SqlIpConfigOrBuilder
IP Management configuration.
Protobuf type google.cloud.clouddms.v1.SqlIpConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SqlIpConfig.BuilderImplements
SqlIpConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllAuthorizedNetworks(Iterable<? extends SqlAclEntry> values)
public SqlIpConfig.Builder addAllAuthorizedNetworks(Iterable<? extends SqlAclEntry> values)
The list of external networks that are allowed to connect to the instance
using the IP. See
https://en.wikipedia.org/wiki/CIDR_notation#CIDR_notation, also known as
'slash' notation (e.g. 192.168.100.0/24
).
repeated .google.cloud.clouddms.v1.SqlAclEntry authorized_networks = 4;
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.cloud.clouddms.v1.SqlAclEntry> |
Returns | |
---|---|
Type | Description |
SqlIpConfig.Builder |
addAuthorizedNetworks(SqlAclEntry value)
public SqlIpConfig.Builder addAuthorizedNetworks(SqlAclEntry value)
The list of external networks that are allowed to connect to the instance
using the IP. See
https://en.wikipedia.org/wiki/CIDR_notation#CIDR_notation, also known as
'slash' notation (e.g. 192.168.100.0/24
).
repeated .google.cloud.clouddms.v1.SqlAclEntry authorized_networks = 4;
Parameter | |
---|---|
Name | Description |
value | SqlAclEntry |
Returns | |
---|---|
Type | Description |
SqlIpConfig.Builder |
addAuthorizedNetworks(SqlAclEntry.Builder builderForValue)
public SqlIpConfig.Builder addAuthorizedNetworks(SqlAclEntry.Builder builderForValue)
The list of external networks that are allowed to connect to the instance
using the IP. See
https://en.wikipedia.org/wiki/CIDR_notation#CIDR_notation, also known as
'slash' notation (e.g. 192.168.100.0/24
).
repeated .google.cloud.clouddms.v1.SqlAclEntry authorized_networks = 4;
Parameter | |
---|---|
Name | Description |
builderForValue | SqlAclEntry.Builder |
Returns | |
---|---|
Type | Description |
SqlIpConfig.Builder |
addAuthorizedNetworks(int index, SqlAclEntry value)
public SqlIpConfig.Builder addAuthorizedNetworks(int index, SqlAclEntry value)
The list of external networks that are allowed to connect to the instance
using the IP. See
https://en.wikipedia.org/wiki/CIDR_notation#CIDR_notation, also known as
'slash' notation (e.g. 192.168.100.0/24
).
repeated .google.cloud.clouddms.v1.SqlAclEntry authorized_networks = 4;
Parameters | |
---|---|
Name | Description |
index | int |
value | SqlAclEntry |
Returns | |
---|---|
Type | Description |
SqlIpConfig.Builder |
addAuthorizedNetworks(int index, SqlAclEntry.Builder builderForValue)
public SqlIpConfig.Builder addAuthorizedNetworks(int index, SqlAclEntry.Builder builderForValue)
The list of external networks that are allowed to connect to the instance
using the IP. See
https://en.wikipedia.org/wiki/CIDR_notation#CIDR_notation, also known as
'slash' notation (e.g. 192.168.100.0/24
).
repeated .google.cloud.clouddms.v1.SqlAclEntry authorized_networks = 4;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | SqlAclEntry.Builder |
Returns | |
---|---|
Type | Description |
SqlIpConfig.Builder |
addAuthorizedNetworksBuilder()
public SqlAclEntry.Builder addAuthorizedNetworksBuilder()
The list of external networks that are allowed to connect to the instance
using the IP. See
https://en.wikipedia.org/wiki/CIDR_notation#CIDR_notation, also known as
'slash' notation (e.g. 192.168.100.0/24
).
repeated .google.cloud.clouddms.v1.SqlAclEntry authorized_networks = 4;
Returns | |
---|---|
Type | Description |
SqlAclEntry.Builder |
addAuthorizedNetworksBuilder(int index)
public SqlAclEntry.Builder addAuthorizedNetworksBuilder(int index)
The list of external networks that are allowed to connect to the instance
using the IP. See
https://en.wikipedia.org/wiki/CIDR_notation#CIDR_notation, also known as
'slash' notation (e.g. 192.168.100.0/24
).
repeated .google.cloud.clouddms.v1.SqlAclEntry authorized_networks = 4;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
SqlAclEntry.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SqlIpConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
SqlIpConfig.Builder |
build()
public SqlIpConfig build()
Returns | |
---|---|
Type | Description |
SqlIpConfig |
buildPartial()
public SqlIpConfig buildPartial()
Returns | |
---|---|
Type | Description |
SqlIpConfig |
clear()
public SqlIpConfig.Builder clear()
Returns | |
---|---|
Type | Description |
SqlIpConfig.Builder |
clearAuthorizedNetworks()
public SqlIpConfig.Builder clearAuthorizedNetworks()
The list of external networks that are allowed to connect to the instance
using the IP. See
https://en.wikipedia.org/wiki/CIDR_notation#CIDR_notation, also known as
'slash' notation (e.g. 192.168.100.0/24
).
repeated .google.cloud.clouddms.v1.SqlAclEntry authorized_networks = 4;
Returns | |
---|---|
Type | Description |
SqlIpConfig.Builder |
clearEnableIpv4()
public SqlIpConfig.Builder clearEnableIpv4()
Whether the instance should be assigned an IPv4 address or not.
.google.protobuf.BoolValue enable_ipv4 = 1;
Returns | |
---|---|
Type | Description |
SqlIpConfig.Builder |
clearField(Descriptors.FieldDescriptor field)
public SqlIpConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
SqlIpConfig.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public SqlIpConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
SqlIpConfig.Builder |
clearPrivateNetwork()
public SqlIpConfig.Builder clearPrivateNetwork()
The resource link for the VPC network from which the Cloud SQL instance is
accessible for private IP. For example,
projects/myProject/global/networks/default
. This setting can
be updated, but it cannot be removed after it is set.
string private_network = 2;
Returns | |
---|---|
Type | Description |
SqlIpConfig.Builder | This builder for chaining. |
clearRequireSsl()
public SqlIpConfig.Builder clearRequireSsl()
Whether SSL connections over IP should be enforced or not.
.google.protobuf.BoolValue require_ssl = 3;
Returns | |
---|---|
Type | Description |
SqlIpConfig.Builder |
clone()
public SqlIpConfig.Builder clone()
Returns | |
---|---|
Type | Description |
SqlIpConfig.Builder |
getAuthorizedNetworks(int index)
public SqlAclEntry getAuthorizedNetworks(int index)
The list of external networks that are allowed to connect to the instance
using the IP. See
https://en.wikipedia.org/wiki/CIDR_notation#CIDR_notation, also known as
'slash' notation (e.g. 192.168.100.0/24
).
repeated .google.cloud.clouddms.v1.SqlAclEntry authorized_networks = 4;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
SqlAclEntry |
getAuthorizedNetworksBuilder(int index)
public SqlAclEntry.Builder getAuthorizedNetworksBuilder(int index)
The list of external networks that are allowed to connect to the instance
using the IP. See
https://en.wikipedia.org/wiki/CIDR_notation#CIDR_notation, also known as
'slash' notation (e.g. 192.168.100.0/24
).
repeated .google.cloud.clouddms.v1.SqlAclEntry authorized_networks = 4;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
SqlAclEntry.Builder |
getAuthorizedNetworksBuilderList()
public List<SqlAclEntry.Builder> getAuthorizedNetworksBuilderList()
The list of external networks that are allowed to connect to the instance
using the IP. See
https://en.wikipedia.org/wiki/CIDR_notation#CIDR_notation, also known as
'slash' notation (e.g. 192.168.100.0/24
).
repeated .google.cloud.clouddms.v1.SqlAclEntry authorized_networks = 4;
Returns | |
---|---|
Type | Description |
List<Builder> |
getAuthorizedNetworksCount()
public int getAuthorizedNetworksCount()
The list of external networks that are allowed to connect to the instance
using the IP. See
https://en.wikipedia.org/wiki/CIDR_notation#CIDR_notation, also known as
'slash' notation (e.g. 192.168.100.0/24
).
repeated .google.cloud.clouddms.v1.SqlAclEntry authorized_networks = 4;
Returns | |
---|---|
Type | Description |
int |
getAuthorizedNetworksList()
public List<SqlAclEntry> getAuthorizedNetworksList()
The list of external networks that are allowed to connect to the instance
using the IP. See
https://en.wikipedia.org/wiki/CIDR_notation#CIDR_notation, also known as
'slash' notation (e.g. 192.168.100.0/24
).
repeated .google.cloud.clouddms.v1.SqlAclEntry authorized_networks = 4;
Returns | |
---|---|
Type | Description |
List<SqlAclEntry> |
getAuthorizedNetworksOrBuilder(int index)
public SqlAclEntryOrBuilder getAuthorizedNetworksOrBuilder(int index)
The list of external networks that are allowed to connect to the instance
using the IP. See
https://en.wikipedia.org/wiki/CIDR_notation#CIDR_notation, also known as
'slash' notation (e.g. 192.168.100.0/24
).
repeated .google.cloud.clouddms.v1.SqlAclEntry authorized_networks = 4;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
SqlAclEntryOrBuilder |
getAuthorizedNetworksOrBuilderList()
public List<? extends SqlAclEntryOrBuilder> getAuthorizedNetworksOrBuilderList()
The list of external networks that are allowed to connect to the instance
using the IP. See
https://en.wikipedia.org/wiki/CIDR_notation#CIDR_notation, also known as
'slash' notation (e.g. 192.168.100.0/24
).
repeated .google.cloud.clouddms.v1.SqlAclEntry authorized_networks = 4;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.clouddms.v1.SqlAclEntryOrBuilder> |
getDefaultInstanceForType()
public SqlIpConfig getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
SqlIpConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getEnableIpv4()
public BoolValue getEnableIpv4()
Whether the instance should be assigned an IPv4 address or not.
.google.protobuf.BoolValue enable_ipv4 = 1;
Returns | |
---|---|
Type | Description |
BoolValue | The enableIpv4. |
getEnableIpv4Builder()
public BoolValue.Builder getEnableIpv4Builder()
Whether the instance should be assigned an IPv4 address or not.
.google.protobuf.BoolValue enable_ipv4 = 1;
Returns | |
---|---|
Type | Description |
Builder |
getEnableIpv4OrBuilder()
public BoolValueOrBuilder getEnableIpv4OrBuilder()
Whether the instance should be assigned an IPv4 address or not.
.google.protobuf.BoolValue enable_ipv4 = 1;
Returns | |
---|---|
Type | Description |
BoolValueOrBuilder |
getPrivateNetwork()
public String getPrivateNetwork()
The resource link for the VPC network from which the Cloud SQL instance is
accessible for private IP. For example,
projects/myProject/global/networks/default
. This setting can
be updated, but it cannot be removed after it is set.
string private_network = 2;
Returns | |
---|---|
Type | Description |
String | The privateNetwork. |
getPrivateNetworkBytes()
public ByteString getPrivateNetworkBytes()
The resource link for the VPC network from which the Cloud SQL instance is
accessible for private IP. For example,
projects/myProject/global/networks/default
. This setting can
be updated, but it cannot be removed after it is set.
string private_network = 2;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for privateNetwork. |
getRequireSsl()
public BoolValue getRequireSsl()
Whether SSL connections over IP should be enforced or not.
.google.protobuf.BoolValue require_ssl = 3;
Returns | |
---|---|
Type | Description |
BoolValue | The requireSsl. |
getRequireSslBuilder()
public BoolValue.Builder getRequireSslBuilder()
Whether SSL connections over IP should be enforced or not.
.google.protobuf.BoolValue require_ssl = 3;
Returns | |
---|---|
Type | Description |
Builder |
getRequireSslOrBuilder()
public BoolValueOrBuilder getRequireSslOrBuilder()
Whether SSL connections over IP should be enforced or not.
.google.protobuf.BoolValue require_ssl = 3;
Returns | |
---|---|
Type | Description |
BoolValueOrBuilder |
hasEnableIpv4()
public boolean hasEnableIpv4()
Whether the instance should be assigned an IPv4 address or not.
.google.protobuf.BoolValue enable_ipv4 = 1;
Returns | |
---|---|
Type | Description |
boolean | Whether the enableIpv4 field is set. |
hasRequireSsl()
public boolean hasRequireSsl()
Whether SSL connections over IP should be enforced or not.
.google.protobuf.BoolValue require_ssl = 3;
Returns | |
---|---|
Type | Description |
boolean | Whether the requireSsl field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeEnableIpv4(BoolValue value)
public SqlIpConfig.Builder mergeEnableIpv4(BoolValue value)
Whether the instance should be assigned an IPv4 address or not.
.google.protobuf.BoolValue enable_ipv4 = 1;
Parameter | |
---|---|
Name | Description |
value | BoolValue |
Returns | |
---|---|
Type | Description |
SqlIpConfig.Builder |
mergeFrom(SqlIpConfig other)
public SqlIpConfig.Builder mergeFrom(SqlIpConfig other)
Parameter | |
---|---|
Name | Description |
other | SqlIpConfig |
Returns | |
---|---|
Type | Description |
SqlIpConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SqlIpConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
SqlIpConfig.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public SqlIpConfig.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
SqlIpConfig.Builder |
mergeRequireSsl(BoolValue value)
public SqlIpConfig.Builder mergeRequireSsl(BoolValue value)
Whether SSL connections over IP should be enforced or not.
.google.protobuf.BoolValue require_ssl = 3;
Parameter | |
---|---|
Name | Description |
value | BoolValue |
Returns | |
---|---|
Type | Description |
SqlIpConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SqlIpConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SqlIpConfig.Builder |
removeAuthorizedNetworks(int index)
public SqlIpConfig.Builder removeAuthorizedNetworks(int index)
The list of external networks that are allowed to connect to the instance
using the IP. See
https://en.wikipedia.org/wiki/CIDR_notation#CIDR_notation, also known as
'slash' notation (e.g. 192.168.100.0/24
).
repeated .google.cloud.clouddms.v1.SqlAclEntry authorized_networks = 4;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
SqlIpConfig.Builder |
setAuthorizedNetworks(int index, SqlAclEntry value)
public SqlIpConfig.Builder setAuthorizedNetworks(int index, SqlAclEntry value)
The list of external networks that are allowed to connect to the instance
using the IP. See
https://en.wikipedia.org/wiki/CIDR_notation#CIDR_notation, also known as
'slash' notation (e.g. 192.168.100.0/24
).
repeated .google.cloud.clouddms.v1.SqlAclEntry authorized_networks = 4;
Parameters | |
---|---|
Name | Description |
index | int |
value | SqlAclEntry |
Returns | |
---|---|
Type | Description |
SqlIpConfig.Builder |
setAuthorizedNetworks(int index, SqlAclEntry.Builder builderForValue)
public SqlIpConfig.Builder setAuthorizedNetworks(int index, SqlAclEntry.Builder builderForValue)
The list of external networks that are allowed to connect to the instance
using the IP. See
https://en.wikipedia.org/wiki/CIDR_notation#CIDR_notation, also known as
'slash' notation (e.g. 192.168.100.0/24
).
repeated .google.cloud.clouddms.v1.SqlAclEntry authorized_networks = 4;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | SqlAclEntry.Builder |
Returns | |
---|---|
Type | Description |
SqlIpConfig.Builder |
setEnableIpv4(BoolValue value)
public SqlIpConfig.Builder setEnableIpv4(BoolValue value)
Whether the instance should be assigned an IPv4 address or not.
.google.protobuf.BoolValue enable_ipv4 = 1;
Parameter | |
---|---|
Name | Description |
value | BoolValue |
Returns | |
---|---|
Type | Description |
SqlIpConfig.Builder |
setEnableIpv4(BoolValue.Builder builderForValue)
public SqlIpConfig.Builder setEnableIpv4(BoolValue.Builder builderForValue)
Whether the instance should be assigned an IPv4 address or not.
.google.protobuf.BoolValue enable_ipv4 = 1;
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
SqlIpConfig.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public SqlIpConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
SqlIpConfig.Builder |
setPrivateNetwork(String value)
public SqlIpConfig.Builder setPrivateNetwork(String value)
The resource link for the VPC network from which the Cloud SQL instance is
accessible for private IP. For example,
projects/myProject/global/networks/default
. This setting can
be updated, but it cannot be removed after it is set.
string private_network = 2;
Parameter | |
---|---|
Name | Description |
value | String The privateNetwork to set. |
Returns | |
---|---|
Type | Description |
SqlIpConfig.Builder | This builder for chaining. |
setPrivateNetworkBytes(ByteString value)
public SqlIpConfig.Builder setPrivateNetworkBytes(ByteString value)
The resource link for the VPC network from which the Cloud SQL instance is
accessible for private IP. For example,
projects/myProject/global/networks/default
. This setting can
be updated, but it cannot be removed after it is set.
string private_network = 2;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for privateNetwork to set. |
Returns | |
---|---|
Type | Description |
SqlIpConfig.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SqlIpConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
SqlIpConfig.Builder |
setRequireSsl(BoolValue value)
public SqlIpConfig.Builder setRequireSsl(BoolValue value)
Whether SSL connections over IP should be enforced or not.
.google.protobuf.BoolValue require_ssl = 3;
Parameter | |
---|---|
Name | Description |
value | BoolValue |
Returns | |
---|---|
Type | Description |
SqlIpConfig.Builder |
setRequireSsl(BoolValue.Builder builderForValue)
public SqlIpConfig.Builder setRequireSsl(BoolValue.Builder builderForValue)
Whether SSL connections over IP should be enforced or not.
.google.protobuf.BoolValue require_ssl = 3;
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
SqlIpConfig.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final SqlIpConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SqlIpConfig.Builder |