public final class SqlIpConfig extends GeneratedMessageV3 implements SqlIpConfigOrBuilder
IP Management configuration.
Protobuf type google.cloud.clouddms.v1.SqlIpConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
ALLOCATED_IP_RANGE_FIELD_NUMBER
public static final int ALLOCATED_IP_RANGE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
AUTHORIZED_NETWORKS_FIELD_NUMBER
public static final int AUTHORIZED_NETWORKS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
ENABLE_IPV4_FIELD_NUMBER
public static final int ENABLE_IPV4_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
PRIVATE_NETWORK_FIELD_NUMBER
public static final int PRIVATE_NETWORK_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
REQUIRE_SSL_FIELD_NUMBER
public static final int REQUIRE_SSL_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static SqlIpConfig getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static SqlIpConfig.Builder newBuilder()
newBuilder(SqlIpConfig prototype)
public static SqlIpConfig.Builder newBuilder(SqlIpConfig prototype)
public static SqlIpConfig parseDelimitedFrom(InputStream input)
public static SqlIpConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static SqlIpConfig parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SqlIpConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static SqlIpConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SqlIpConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SqlIpConfig parseFrom(CodedInputStream input)
public static SqlIpConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SqlIpConfig parseFrom(InputStream input)
public static SqlIpConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static SqlIpConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SqlIpConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<SqlIpConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getAllocatedIpRange()
public String getAllocatedIpRange()
Optional. The name of the allocated IP address range for the private IP
Cloud SQL instance. This name refers to an already allocated IP range
address. If set, the instance IP address will be created in the allocated
range. Note that this IP address range can't be modified after the instance
is created. If you change the VPC when configuring connectivity settings
for the migration job, this field is not relevant.
string allocated_ip_range = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
String | The allocatedIpRange.
|
getAllocatedIpRangeBytes()
public ByteString getAllocatedIpRangeBytes()
Optional. The name of the allocated IP address range for the private IP
Cloud SQL instance. This name refers to an already allocated IP range
address. If set, the instance IP address will be created in the allocated
range. Note that this IP address range can't be modified after the instance
is created. If you change the VPC when configuring connectivity settings
for the migration job, this field is not relevant.
string allocated_ip_range = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
ByteString | The bytes for allocatedIpRange.
|
getAuthorizedNetworks(int index)
public SqlAclEntry getAuthorizedNetworks(int index)
Parameter |
---|
Name | Description |
index | int
|
getAuthorizedNetworksCount()
public int getAuthorizedNetworksCount()
Returns |
---|
Type | Description |
int | |
getAuthorizedNetworksList()
public List<SqlAclEntry> getAuthorizedNetworksList()
getAuthorizedNetworksOrBuilder(int index)
public SqlAclEntryOrBuilder getAuthorizedNetworksOrBuilder(int index)
Parameter |
---|
Name | Description |
index | int
|
getAuthorizedNetworksOrBuilderList()
public List<? extends SqlAclEntryOrBuilder> getAuthorizedNetworksOrBuilderList()
Returns |
---|
Type | Description |
List<? extends com.google.cloud.clouddms.v1.SqlAclEntryOrBuilder> | |
getDefaultInstanceForType()
public SqlIpConfig getDefaultInstanceForType()
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.
|
getEnableIpv4OrBuilder()
public BoolValueOrBuilder getEnableIpv4OrBuilder()
Whether the instance should be assigned an IPv4 address or not.
.google.protobuf.BoolValue enable_ipv4 = 1;
getParserForType()
public Parser<SqlIpConfig> getParserForType()
Overrides
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.
|
getRequireSslOrBuilder()
public BoolValueOrBuilder getRequireSslOrBuilder()
Whether SSL connections over IP should be enforced or not.
.google.protobuf.BoolValue require_ssl = 3;
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
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.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public SqlIpConfig.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SqlIpConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public SqlIpConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides