public final class DNSRecord extends GeneratedMessage implements DNSRecordOrBuilderDNS record.
Protobuf type google.backstory.DNSRecord
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > DNSRecordImplements
DNSRecordOrBuilderStatic Fields
EXPIRE_FIELD_NUMBER
public static final int EXPIRE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
MINIMUM_FIELD_NUMBER
public static final int MINIMUM_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
PRIORITY_FIELD_NUMBER
public static final int PRIORITY_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
REFRESH_FIELD_NUMBER
public static final int REFRESH_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
RETRY_FIELD_NUMBER
public static final int RETRY_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
RNAME_FIELD_NUMBER
public static final int RNAME_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
SERIAL_FIELD_NUMBER
public static final int SERIAL_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
TTL_FIELD_NUMBER
public static final int TTL_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
VALUE_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static DNSRecord getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
DNSRecord |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static DNSRecord.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
DNSRecord.Builder |
|
newBuilder(DNSRecord prototype)
public static DNSRecord.Builder newBuilder(DNSRecord prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
DNSRecord |
| Returns | |
|---|---|
| Type | Description |
DNSRecord.Builder |
|
parseDelimitedFrom(InputStream input)
public static DNSRecord parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
DNSRecord |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DNSRecord parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DNSRecord |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static DNSRecord parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
DNSRecord |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DNSRecord parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DNSRecord |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static DNSRecord parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
DNSRecord |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DNSRecord parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DNSRecord |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static DNSRecord parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
DNSRecord |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DNSRecord parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DNSRecord |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static DNSRecord parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
DNSRecord |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DNSRecord parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DNSRecord |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static DNSRecord parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
DNSRecord |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DNSRecord parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DNSRecord |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<DNSRecord> parser()| Returns | |
|---|---|
| Type | Description |
Parser<DNSRecord> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public DNSRecord getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DNSRecord |
|
getExpire()
public Duration getExpire()Expire.
.google.protobuf.Duration expire = 8;
| Returns | |
|---|---|
| Type | Description |
Duration |
The expire. |
getExpireOrBuilder()
public DurationOrBuilder getExpireOrBuilder()Expire.
.google.protobuf.Duration expire = 8;
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
getMinimum()
public Duration getMinimum()Minimum.
.google.protobuf.Duration minimum = 7;
| Returns | |
|---|---|
| Type | Description |
Duration |
The minimum. |
getMinimumOrBuilder()
public DurationOrBuilder getMinimumOrBuilder()Minimum.
.google.protobuf.Duration minimum = 7;
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
getParserForType()
public Parser<DNSRecord> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<DNSRecord> |
|
getPriority()
public long getPriority()Priority.
int64 priority = 4;
| Returns | |
|---|---|
| Type | Description |
long |
The priority. |
getRefresh()
public Duration getRefresh()Refresh.
.google.protobuf.Duration refresh = 6;
| Returns | |
|---|---|
| Type | Description |
Duration |
The refresh. |
getRefreshOrBuilder()
public DurationOrBuilder getRefreshOrBuilder()Refresh.
.google.protobuf.Duration refresh = 6;
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
getRetry()
public long getRetry()Retry.
int64 retry = 5;
| Returns | |
|---|---|
| Type | Description |
long |
The retry. |
getRname()
public String getRname()Rname.
string rname = 10;
| Returns | |
|---|---|
| Type | Description |
String |
The rname. |
getRnameBytes()
public ByteString getRnameBytes()Rname.
string rname = 10;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for rname. |
getSerial()
public long getSerial()Serial.
int64 serial = 9;
| Returns | |
|---|---|
| Type | Description |
long |
The serial. |
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getTtl()
public Duration getTtl()Time to live.
.google.protobuf.Duration ttl = 3;
| Returns | |
|---|---|
| Type | Description |
Duration |
The ttl. |
getTtlOrBuilder()
public DurationOrBuilder getTtlOrBuilder()Time to live.
.google.protobuf.Duration ttl = 3;
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
getType()
public String getType()Type.
string type = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The type. |
getTypeBytes()
public ByteString getTypeBytes()Type.
string type = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for type. |
getValue()
public String getValue()Value.
string value = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The value. |
getValueBytes()
public ByteString getValueBytes()Value.
string value = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for value. |
hasExpire()
public boolean hasExpire()Expire.
.google.protobuf.Duration expire = 8;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the expire field is set. |
hasMinimum()
public boolean hasMinimum()Minimum.
.google.protobuf.Duration minimum = 7;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the minimum field is set. |
hasRefresh()
public boolean hasRefresh()Refresh.
.google.protobuf.Duration refresh = 6;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the refresh field is set. |
hasTtl()
public boolean hasTtl()Time to live.
.google.protobuf.Duration ttl = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the ttl field is set. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public DNSRecord.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
DNSRecord.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected DNSRecord.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
DNSRecord.Builder |
|
toBuilder()
public DNSRecord.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
DNSRecord.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|