public interface DnsOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getAdditional(int index)
public abstract 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 |
| Returns | |
|---|---|
| Type | Description |
Dns.ResourceRecord |
|
getAdditionalCount()
public abstract 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 abstract 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;
| Returns | |
|---|---|
| Type | Description |
List<ResourceRecord> |
|
getAdditionalOrBuilder(int index)
public abstract 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 |
| Returns | |
|---|---|
| Type | Description |
Dns.ResourceRecordOrBuilder |
|
getAdditionalOrBuilderList()
public abstract 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 abstract 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 |
| Returns | |
|---|---|
| Type | Description |
Dns.ResourceRecord |
|
getAnswersCount()
public abstract int getAnswersCount()A list of answers to the domain name query.
repeated .google.backstory.Dns.ResourceRecord answers = 2;
| Returns | |
|---|---|
| Type | Description |
int |
|
getAnswersList()
public abstract List<Dns.ResourceRecord> getAnswersList()A list of answers to the domain name query.
repeated .google.backstory.Dns.ResourceRecord answers = 2;
| Returns | |
|---|---|
| Type | Description |
List<ResourceRecord> |
|
getAnswersOrBuilder(int index)
public abstract 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 |
| Returns | |
|---|---|
| Type | Description |
Dns.ResourceRecordOrBuilder |
|
getAnswersOrBuilderList()
public abstract 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 abstract 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 abstract 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 |
| Returns | |
|---|---|
| Type | Description |
Dns.ResourceRecord |
|
getAuthorityCount()
public abstract 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 abstract 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;
| Returns | |
|---|---|
| Type | Description |
List<ResourceRecord> |
|
getAuthorityOrBuilder(int index)
public abstract 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 |
| Returns | |
|---|---|
| Type | Description |
Dns.ResourceRecordOrBuilder |
|
getAuthorityOrBuilderList()
public abstract 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> |
|
getId()
public abstract int getId()DNS query id.
uint32 id = 6;
| Returns | |
|---|---|
| Type | Description |
int |
The id. |
getOpcode()
public abstract int 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. |
getQuestions(int index)
public abstract Dns.Question getQuestions(int index)A list of domain protocol message questions.
repeated .google.backstory.Dns.Question questions = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Dns.Question |
|
getQuestionsCount()
public abstract int getQuestionsCount()A list of domain protocol message questions.
repeated .google.backstory.Dns.Question questions = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getQuestionsList()
public abstract List<Dns.Question> getQuestionsList()A list of domain protocol message questions.
repeated .google.backstory.Dns.Question questions = 1;
| Returns | |
|---|---|
| Type | Description |
List<Question> |
|
getQuestionsOrBuilder(int index)
public abstract Dns.QuestionOrBuilder getQuestionsOrBuilder(int index)A list of domain protocol message questions.
repeated .google.backstory.Dns.Question questions = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Dns.QuestionOrBuilder |
|
getQuestionsOrBuilderList()
public abstract 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 abstract boolean getRecursionAvailable()Whether a recursive DNS lookup is available.
bool recursion_available = 12;
| Returns | |
|---|---|
| Type | Description |
boolean |
The recursionAvailable. |
getRecursionDesired()
public abstract boolean getRecursionDesired()Whether a recursive DNS lookup is desired.
bool recursion_desired = 11;
| Returns | |
|---|---|
| Type | Description |
boolean |
The recursionDesired. |
getResponse()
public abstract 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 abstract int getResponseCode()Response code. See RCODE from RFC1035.
uint32 response_code = 13;
| Returns | |
|---|---|
| Type | Description |
int |
The responseCode. |
getTruncated()
public abstract boolean getTruncated()Whether the DNS response was truncated.
bool truncated = 10;
| Returns | |
|---|---|
| Type | Description |
boolean |
The truncated. |