public static final class DnsNameMapping.Builder extends GeneratedMessage.Builder<DnsNameMapping.Builder> implements DnsNameMappingOrBuilderDNS metadata.
Protobuf type google.cloud.sql.v1.DnsNameMapping
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DnsNameMapping.BuilderImplements
DnsNameMappingOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DnsNameMapping build()| Returns | |
|---|---|
| Type | Description |
DnsNameMapping |
|
buildPartial()
public DnsNameMapping buildPartial()| Returns | |
|---|---|
| Type | Description |
DnsNameMapping |
|
clear()
public DnsNameMapping.Builder clear()| Returns | |
|---|---|
| Type | Description |
DnsNameMapping.Builder |
|
clearConnectionType()
public DnsNameMapping.Builder clearConnectionType()Output only. The connection type of the DNS name.
.google.cloud.sql.v1.DnsNameMapping.ConnectionType connection_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DnsNameMapping.Builder |
This builder for chaining. |
clearDnsScope()
public DnsNameMapping.Builder clearDnsScope()Output only. The scope that the DNS name applies to.
.google.cloud.sql.v1.DnsNameMapping.DnsScope dns_scope = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DnsNameMapping.Builder |
This builder for chaining. |
clearName()
public DnsNameMapping.Builder clearName()Output only. The DNS name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DnsNameMapping.Builder |
This builder for chaining. |
clearRecordManager()
public DnsNameMapping.Builder clearRecordManager()Output only. The manager for this DNS record.
.google.cloud.sql.v1.DnsNameMapping.RecordManager record_manager = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DnsNameMapping.Builder |
This builder for chaining. |
getConnectionType()
public DnsNameMapping.ConnectionType getConnectionType()Output only. The connection type of the DNS name.
.google.cloud.sql.v1.DnsNameMapping.ConnectionType connection_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DnsNameMapping.ConnectionType |
The connectionType. |
getConnectionTypeValue()
public int getConnectionTypeValue()Output only. The connection type of the DNS name.
.google.cloud.sql.v1.DnsNameMapping.ConnectionType connection_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for connectionType. |
getDefaultInstanceForType()
public DnsNameMapping getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DnsNameMapping |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDnsScope()
public DnsNameMapping.DnsScope getDnsScope()Output only. The scope that the DNS name applies to.
.google.cloud.sql.v1.DnsNameMapping.DnsScope dns_scope = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DnsNameMapping.DnsScope |
The dnsScope. |
getDnsScopeValue()
public int getDnsScopeValue()Output only. The scope that the DNS name applies to.
.google.cloud.sql.v1.DnsNameMapping.DnsScope dns_scope = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for dnsScope. |
getName()
public String getName()Output only. The DNS name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Output only. The DNS name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getRecordManager()
public DnsNameMapping.RecordManager getRecordManager()Output only. The manager for this DNS record.
.google.cloud.sql.v1.DnsNameMapping.RecordManager record_manager = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DnsNameMapping.RecordManager |
The recordManager. |
getRecordManagerValue()
public int getRecordManagerValue()Output only. The manager for this DNS record.
.google.cloud.sql.v1.DnsNameMapping.RecordManager record_manager = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for recordManager. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DnsNameMapping other)
public DnsNameMapping.Builder mergeFrom(DnsNameMapping other)| Parameter | |
|---|---|
| Name | Description |
other |
DnsNameMapping |
| Returns | |
|---|---|
| Type | Description |
DnsNameMapping.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DnsNameMapping.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DnsNameMapping.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DnsNameMapping.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DnsNameMapping.Builder |
|
setConnectionType(DnsNameMapping.ConnectionType value)
public DnsNameMapping.Builder setConnectionType(DnsNameMapping.ConnectionType value)Output only. The connection type of the DNS name.
.google.cloud.sql.v1.DnsNameMapping.ConnectionType connection_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
DnsNameMapping.ConnectionTypeThe connectionType to set. |
| Returns | |
|---|---|
| Type | Description |
DnsNameMapping.Builder |
This builder for chaining. |
setConnectionTypeValue(int value)
public DnsNameMapping.Builder setConnectionTypeValue(int value)Output only. The connection type of the DNS name.
.google.cloud.sql.v1.DnsNameMapping.ConnectionType connection_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for connectionType to set. |
| Returns | |
|---|---|
| Type | Description |
DnsNameMapping.Builder |
This builder for chaining. |
setDnsScope(DnsNameMapping.DnsScope value)
public DnsNameMapping.Builder setDnsScope(DnsNameMapping.DnsScope value)Output only. The scope that the DNS name applies to.
.google.cloud.sql.v1.DnsNameMapping.DnsScope dns_scope = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
DnsNameMapping.DnsScopeThe dnsScope to set. |
| Returns | |
|---|---|
| Type | Description |
DnsNameMapping.Builder |
This builder for chaining. |
setDnsScopeValue(int value)
public DnsNameMapping.Builder setDnsScopeValue(int value)Output only. The scope that the DNS name applies to.
.google.cloud.sql.v1.DnsNameMapping.DnsScope dns_scope = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for dnsScope to set. |
| Returns | |
|---|---|
| Type | Description |
DnsNameMapping.Builder |
This builder for chaining. |
setName(String value)
public DnsNameMapping.Builder setName(String value)Output only. The DNS name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
DnsNameMapping.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public DnsNameMapping.Builder setNameBytes(ByteString value)Output only. The DNS name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
DnsNameMapping.Builder |
This builder for chaining. |
setRecordManager(DnsNameMapping.RecordManager value)
public DnsNameMapping.Builder setRecordManager(DnsNameMapping.RecordManager value)Output only. The manager for this DNS record.
.google.cloud.sql.v1.DnsNameMapping.RecordManager record_manager = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
DnsNameMapping.RecordManagerThe recordManager to set. |
| Returns | |
|---|---|
| Type | Description |
DnsNameMapping.Builder |
This builder for chaining. |
setRecordManagerValue(int value)
public DnsNameMapping.Builder setRecordManagerValue(int value)Output only. The manager for this DNS record.
.google.cloud.sql.v1.DnsNameMapping.RecordManager record_manager = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for recordManager to set. |
| Returns | |
|---|---|
| Type | Description |
DnsNameMapping.Builder |
This builder for chaining. |