    public interface DnsNameMappingOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getConnectionType()

    public abstract DnsNameMapping.ConnectionType getConnectionType()

Output only. The connection type of the DNS name.

` .google.cloud.sql.v1beta4.DnsNameMapping.ConnectionType connection_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; `

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-sql/latest/com.google.cloud.sql.v1beta4.DnsNameMapping.ConnectionType` | The connectionType. |

### getConnectionTypeValue()

    public abstract int getConnectionTypeValue()

Output only. The connection type of the DNS name.

` .google.cloud.sql.v1beta4.DnsNameMapping.ConnectionType connection_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; `

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for connectionType. |

### getDnsScope()

    public abstract DnsNameMapping.DnsScope getDnsScope()

Output only. The scope that the DNS name applies to.

` .google.cloud.sql.v1beta4.DnsNameMapping.DnsScope dns_scope = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; `

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-sql/latest/com.google.cloud.sql.v1beta4.DnsNameMapping.DnsScope` | The dnsScope. |

### getDnsScopeValue()

    public abstract int getDnsScopeValue()

Output only. The scope that the DNS name applies to.

` .google.cloud.sql.v1beta4.DnsNameMapping.DnsScope dns_scope = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; `

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for dnsScope. |

### getName()

    public abstract String getName()

Output only. The DNS name.

`string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The name. |

### getNameBytes()

    public abstract ByteString getNameBytes()

Output only. The DNS name.

`string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for name. |

### getRecordManager()

    public abstract DnsNameMapping.RecordManager getRecordManager()

Output only. The manager for this DNS record.

` .google.cloud.sql.v1beta4.DnsNameMapping.RecordManager record_manager = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; `

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-sql/latest/com.google.cloud.sql.v1beta4.DnsNameMapping.RecordManager` | The recordManager. |

### getRecordManagerValue()

    public abstract int getRecordManagerValue()

Output only. The manager for this DNS record.

` .google.cloud.sql.v1beta4.DnsNameMapping.RecordManager record_manager = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; `

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for recordManager. |