public final class Dns extends GeneratedMessage implements DnsOrBuilder
DNS information.
Protobuf type google.backstory.Dns
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
ADDITIONAL_FIELD_NUMBER
public static final int ADDITIONAL_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
ANSWERS_FIELD_NUMBER
public static final int ANSWERS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
AUTHORITATIVE_FIELD_NUMBER
public static final int AUTHORITATIVE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
AUTHORITY_FIELD_NUMBER
public static final int AUTHORITY_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
OPCODE_FIELD_NUMBER
public static final int OPCODE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
QUESTIONS_FIELD_NUMBER
public static final int QUESTIONS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
RECURSION_AVAILABLE_FIELD_NUMBER
public static final int RECURSION_AVAILABLE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
RECURSION_DESIRED_FIELD_NUMBER
public static final int RECURSION_DESIRED_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
RESPONSE_CODE_FIELD_NUMBER
public static final int RESPONSE_CODE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
RESPONSE_FIELD_NUMBER
public static final int RESPONSE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
TRUNCATED_FIELD_NUMBER
public static final int TRUNCATED_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Dns getDefaultInstance()
| Returns |
| Type |
Description |
Dns |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Dns.Builder newBuilder()
newBuilder(Dns prototype)
public static Dns.Builder newBuilder(Dns prototype)
| Parameter |
| Name |
Description |
prototype |
Dns
|
parseDelimitedFrom(InputStream input)
public static Dns parseDelimitedFrom(InputStream input)
| Returns |
| Type |
Description |
Dns |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Dns parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Dns |
|
parseFrom(byte[] data)
public static Dns parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
| Returns |
| Type |
Description |
Dns |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Dns parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Dns |
|
parseFrom(ByteString data)
public static Dns parseFrom(ByteString data)
| Returns |
| Type |
Description |
Dns |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Dns parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Dns |
|
parseFrom(CodedInputStream input)
public static Dns parseFrom(CodedInputStream input)
| Returns |
| Type |
Description |
Dns |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Dns parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Dns |
|
parseFrom(InputStream input)
public static Dns parseFrom(InputStream input)
| Returns |
| Type |
Description |
Dns |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Dns parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Dns |
|
parseFrom(ByteBuffer data)
public static Dns parseFrom(ByteBuffer data)
| Returns |
| Type |
Description |
Dns |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Dns parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Dns |
|
parser()
public static Parser<Dns> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getAdditional(int index)
public Dns.ResourceRecord getAdditional(int index)
A list of additional domain name servers that can be used to verify the
answer to the domain.
repeated .google.backstory.Dns.ResourceRecord additional = 4;
| Parameter |
| Name |
Description |
index |
int
|
getAdditionalCount()
public int getAdditionalCount()
A list of additional domain name servers that can be used to verify the
answer to the domain.
repeated .google.backstory.Dns.ResourceRecord additional = 4;
| Returns |
| Type |
Description |
int |
|
getAdditionalList()
public List<Dns.ResourceRecord> getAdditionalList()
A list of additional domain name servers that can be used to verify the
answer to the domain.
repeated .google.backstory.Dns.ResourceRecord additional = 4;
getAdditionalOrBuilder(int index)
public Dns.ResourceRecordOrBuilder getAdditionalOrBuilder(int index)
A list of additional domain name servers that can be used to verify the
answer to the domain.
repeated .google.backstory.Dns.ResourceRecord additional = 4;
| Parameter |
| Name |
Description |
index |
int
|
getAdditionalOrBuilderList()
public List<? extends Dns.ResourceRecordOrBuilder> getAdditionalOrBuilderList()
A list of additional domain name servers that can be used to verify the
answer to the domain.
repeated .google.backstory.Dns.ResourceRecord additional = 4;
| Returns |
| Type |
Description |
List<? extends com.google.backstory.Dns.ResourceRecordOrBuilder> |
|
getAnswers(int index)
public Dns.ResourceRecord getAnswers(int index)
A list of answers to the domain name query.
repeated .google.backstory.Dns.ResourceRecord answers = 2;
| Parameter |
| Name |
Description |
index |
int
|
getAnswersCount()
public int getAnswersCount()
A list of answers to the domain name query.
repeated .google.backstory.Dns.ResourceRecord answers = 2;
| Returns |
| Type |
Description |
int |
|
getAnswersList()
public List<Dns.ResourceRecord> getAnswersList()
A list of answers to the domain name query.
repeated .google.backstory.Dns.ResourceRecord answers = 2;
getAnswersOrBuilder(int index)
public Dns.ResourceRecordOrBuilder getAnswersOrBuilder(int index)
A list of answers to the domain name query.
repeated .google.backstory.Dns.ResourceRecord answers = 2;
| Parameter |
| Name |
Description |
index |
int
|
getAnswersOrBuilderList()
public List<? extends Dns.ResourceRecordOrBuilder> getAnswersOrBuilderList()
A list of answers to the domain name query.
repeated .google.backstory.Dns.ResourceRecord answers = 2;
| Returns |
| Type |
Description |
List<? extends com.google.backstory.Dns.ResourceRecordOrBuilder> |
|
getAuthoritative()
public boolean getAuthoritative()
Other DNS header flags. See RFC1035, section 4.1.1.
bool authoritative = 9;
| Returns |
| Type |
Description |
boolean |
The authoritative.
|
getAuthority(int index)
public Dns.ResourceRecord getAuthority(int index)
A list of domain name servers which verified the answers to the domain name
queries.
repeated .google.backstory.Dns.ResourceRecord authority = 3;
| Parameter |
| Name |
Description |
index |
int
|
getAuthorityCount()
public int getAuthorityCount()
A list of domain name servers which verified the answers to the domain name
queries.
repeated .google.backstory.Dns.ResourceRecord authority = 3;
| Returns |
| Type |
Description |
int |
|
getAuthorityList()
public List<Dns.ResourceRecord> getAuthorityList()
A list of domain name servers which verified the answers to the domain name
queries.
repeated .google.backstory.Dns.ResourceRecord authority = 3;
getAuthorityOrBuilder(int index)
public Dns.ResourceRecordOrBuilder getAuthorityOrBuilder(int index)
A list of domain name servers which verified the answers to the domain name
queries.
repeated .google.backstory.Dns.ResourceRecord authority = 3;
| Parameter |
| Name |
Description |
index |
int
|
getAuthorityOrBuilderList()
public List<? extends Dns.ResourceRecordOrBuilder> getAuthorityOrBuilderList()
A list of domain name servers which verified the answers to the domain name
queries.
repeated .google.backstory.Dns.ResourceRecord authority = 3;
| Returns |
| Type |
Description |
List<? extends com.google.backstory.Dns.ResourceRecordOrBuilder> |
|
getDefaultInstanceForType()
public Dns getDefaultInstanceForType()
| Returns |
| Type |
Description |
Dns |
|
getId()
DNS query id.
uint32 id = 6;
| Returns |
| Type |
Description |
int |
The id.
|
getOpcode()
The DNS OpCode used to specify the type of DNS query
(for example, QUERY, IQUERY, or STATUS).
uint32 opcode = 8;
| Returns |
| Type |
Description |
int |
The opcode.
|
getParserForType()
public Parser<Dns> getParserForType()
Overrides
getQuestions(int index)
public Dns.Question getQuestions(int index)
A list of domain protocol message questions.
repeated .google.backstory.Dns.Question questions = 1;
| Parameter |
| Name |
Description |
index |
int
|
getQuestionsCount()
public int getQuestionsCount()
A list of domain protocol message questions.
repeated .google.backstory.Dns.Question questions = 1;
| Returns |
| Type |
Description |
int |
|
getQuestionsList()
public List<Dns.Question> getQuestionsList()
A list of domain protocol message questions.
repeated .google.backstory.Dns.Question questions = 1;
getQuestionsOrBuilder(int index)
public Dns.QuestionOrBuilder getQuestionsOrBuilder(int index)
A list of domain protocol message questions.
repeated .google.backstory.Dns.Question questions = 1;
| Parameter |
| Name |
Description |
index |
int
|
getQuestionsOrBuilderList()
public List<? extends Dns.QuestionOrBuilder> getQuestionsOrBuilderList()
A list of domain protocol message questions.
repeated .google.backstory.Dns.Question questions = 1;
| Returns |
| Type |
Description |
List<? extends com.google.backstory.Dns.QuestionOrBuilder> |
|
getRecursionAvailable()
public boolean getRecursionAvailable()
Whether a recursive DNS lookup is available.
bool recursion_available = 12;
| Returns |
| Type |
Description |
boolean |
The recursionAvailable.
|
getRecursionDesired()
public boolean getRecursionDesired()
Whether a recursive DNS lookup is desired.
bool recursion_desired = 11;
| Returns |
| Type |
Description |
boolean |
The recursionDesired.
|
getResponse()
public boolean getResponse()
Set to true if the event is a DNS response. See QR field from RFC1035.
bool response = 7;
| Returns |
| Type |
Description |
boolean |
The response.
|
getResponseCode()
public int getResponseCode()
Response code. See RCODE from RFC1035.
uint32 response_code = 13;
| Returns |
| Type |
Description |
int |
The responseCode.
|
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getTruncated()
public boolean getTruncated()
Whether the DNS response was truncated.
bool truncated = 10;
| Returns |
| Type |
Description |
boolean |
The truncated.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Dns.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected Dns.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public Dns.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides