public static interface Dns.ResourceRecordOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getBinaryData()
public abstract ByteString getBinaryData()The raw bytes of any non-UTF8 strings that might be included as part of a DNS response.
bytes binary_data = 6;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The binaryData. |
getClass_()
public abstract int getClass_()The code specifying the class of the resource record.
uint32 class = 3;
| Returns | |
|---|---|
| Type | Description |
int |
The class. |
getData()
public abstract String getData()The payload or response to the DNS question for all responses encoded in UTF-8 format
string data = 5;
| Returns | |
|---|---|
| Type | Description |
String |
The data. |
getDataBytes()
public abstract ByteString getDataBytes()The payload or response to the DNS question for all responses encoded in UTF-8 format
string data = 5;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for data. |
getName()
public abstract String getName()The name of the owner of the resource record.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes()The name of the owner of the resource record.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getTtl()
public abstract int getTtl()The time interval for which the resource record can be cached before the source of the information should again be queried.
uint32 ttl = 4;
| Returns | |
|---|---|
| Type | Description |
int |
The ttl. |
getType()
public abstract int getType()The code specifying the type of the resource record.
uint32 type = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The type. |