Interface ResourceRecordOrBuilder (2.37.0)

publicinterface ResourceRecordOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getName()

publicabstractStringgetName()

Relative name of the object affected by this record. Only applicable for CNAME records. Example: 'www'.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

publicabstractByteStringgetNameBytes()

Relative name of the object affected by this record. Only applicable for CNAME records. Example: 'www'.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getRrdata()

publicabstractStringgetRrdata()

Data for this record. Values vary by record type, as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1).

string rrdata = 2;

Returns
Type Description
String

The rrdata.

getRrdataBytes()

publicabstractByteStringgetRrdataBytes()

Data for this record. Values vary by record type, as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1).

string rrdata = 2;

Returns
Type Description
ByteString

The bytes for rrdata.

getType()

publicabstractResourceRecord.RecordTypegetType()

Resource record type. Example: AAAA.

.google.appengine.v1.ResourceRecord.RecordType type = 3;

Returns
Type Description
ResourceRecord.RecordType

The type.

getTypeValue()

publicabstractintgetTypeValue()

Resource record type. Example: AAAA.

.google.appengine.v1.ResourceRecord.RecordType type = 3;

Returns
Type Description
int

The enum numeric value on the wire for type.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.