Class DnsNameMapping (0.1.0)

public final class DnsNameMapping extends GeneratedMessage implements DnsNameMappingOrBuilder

DNS metadata.

Protobuf type google.cloud.sql.v1beta4.DnsNameMapping

Static Fields

CONNECTION_TYPE_FIELD_NUMBER

public static final int CONNECTION_TYPE_FIELD_NUMBER
Field Value
Type Description
int

DNS_SCOPE_FIELD_NUMBER

public static final int DNS_SCOPE_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

RECORD_MANAGER_FIELD_NUMBER

public static final int RECORD_MANAGER_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DnsNameMapping getDefaultInstance()
Returns
Type Description
DnsNameMapping

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static DnsNameMapping.Builder newBuilder()
Returns
Type Description
DnsNameMapping.Builder

newBuilder(DnsNameMapping prototype)

public static DnsNameMapping.Builder newBuilder(DnsNameMapping prototype)
Parameter
Name Description
prototype DnsNameMapping
Returns
Type Description
DnsNameMapping.Builder

parseDelimitedFrom(InputStream input)

public static DnsNameMapping parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DnsNameMapping
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DnsNameMapping parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DnsNameMapping
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DnsNameMapping parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DnsNameMapping
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DnsNameMapping parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DnsNameMapping
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DnsNameMapping parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DnsNameMapping
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DnsNameMapping parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DnsNameMapping
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DnsNameMapping parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DnsNameMapping
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DnsNameMapping parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DnsNameMapping
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DnsNameMapping parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DnsNameMapping
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DnsNameMapping parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DnsNameMapping
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DnsNameMapping parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DnsNameMapping
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DnsNameMapping parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DnsNameMapping
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<DnsNameMapping> parser()
Returns
Type Description
Parser<DnsNameMapping>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getConnectionType()

public 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
DnsNameMapping.ConnectionType

The connectionType.

getConnectionTypeValue()

public 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
int

The enum numeric value on the wire for connectionType.

getDefaultInstanceForType()

public DnsNameMapping getDefaultInstanceForType()
Returns
Type Description
DnsNameMapping

getDnsScope()

public 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
DnsNameMapping.DnsScope

The dnsScope.

getDnsScopeValue()

public 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
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.

getParserForType()

public Parser<DnsNameMapping> getParserForType()
Returns
Type Description
Parser<DnsNameMapping>
Overrides

getRecordManager()

public 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
DnsNameMapping.RecordManager

The recordManager.

getRecordManagerValue()

public 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
int

The enum numeric value on the wire for recordManager.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public DnsNameMapping.Builder newBuilderForType()
Returns
Type Description
DnsNameMapping.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected DnsNameMapping.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DnsNameMapping.Builder
Overrides

toBuilder()

public DnsNameMapping.Builder toBuilder()
Returns
Type Description
DnsNameMapping.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException