public static final class Dns.Question.Builder extends GeneratedMessage.Builder<Dns.Question.Builder> implements Dns.QuestionOrBuilderDNS Questions. See RFC1035, section 4.1.2.
Protobuf type google.backstory.Dns.Question
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Dns.Question.BuilderImplements
Dns.QuestionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Dns.Question build()| Returns | |
|---|---|
| Type | Description |
Dns.Question |
|
buildPartial()
public Dns.Question buildPartial()| Returns | |
|---|---|
| Type | Description |
Dns.Question |
|
clear()
public Dns.Question.Builder clear()| Returns | |
|---|---|
| Type | Description |
Dns.Question.Builder |
|
clearClass_()
public Dns.Question.Builder clearClass_()The code specifying the class of the query.
uint32 class = 3;
| Returns | |
|---|---|
| Type | Description |
Dns.Question.Builder |
This builder for chaining. |
clearName()
public Dns.Question.Builder clearName()The domain name.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
Dns.Question.Builder |
This builder for chaining. |
clearPrevalence()
public Dns.Question.Builder clearPrevalence()The prevalence of the domain within the customer's environment.
.google.backstory.Prevalence prevalence = 4;
| Returns | |
|---|---|
| Type | Description |
Dns.Question.Builder |
|
clearType()
public Dns.Question.Builder clearType()The code specifying the type of the query.
uint32 type = 2;
| Returns | |
|---|---|
| Type | Description |
Dns.Question.Builder |
This builder for chaining. |
getClass_()
public int getClass_()The code specifying the class of the query.
uint32 class = 3;
| Returns | |
|---|---|
| Type | Description |
int |
The class. |
getDefaultInstanceForType()
public Dns.Question getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Dns.Question |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName()The domain name.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()The domain name.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getPrevalence()
public Prevalence getPrevalence()The prevalence of the domain within the customer's environment.
.google.backstory.Prevalence prevalence = 4;
| Returns | |
|---|---|
| Type | Description |
Prevalence |
The prevalence. |
getPrevalenceBuilder()
public Prevalence.Builder getPrevalenceBuilder()The prevalence of the domain within the customer's environment.
.google.backstory.Prevalence prevalence = 4;
| Returns | |
|---|---|
| Type | Description |
Prevalence.Builder |
|
getPrevalenceOrBuilder()
public PrevalenceOrBuilder getPrevalenceOrBuilder()The prevalence of the domain within the customer's environment.
.google.backstory.Prevalence prevalence = 4;
| Returns | |
|---|---|
| Type | Description |
PrevalenceOrBuilder |
|
getType()
public int getType()The code specifying the type of the query.
uint32 type = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The type. |
hasPrevalence()
public boolean hasPrevalence()The prevalence of the domain within the customer's environment.
.google.backstory.Prevalence prevalence = 4;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the prevalence field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Dns.Question other)
public Dns.Question.Builder mergeFrom(Dns.Question other)| Parameter | |
|---|---|
| Name | Description |
other |
Dns.Question |
| Returns | |
|---|---|
| Type | Description |
Dns.Question.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Dns.Question.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Dns.Question.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Dns.Question.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Dns.Question.Builder |
|
mergePrevalence(Prevalence value)
public Dns.Question.Builder mergePrevalence(Prevalence value)The prevalence of the domain within the customer's environment.
.google.backstory.Prevalence prevalence = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
Prevalence |
| Returns | |
|---|---|
| Type | Description |
Dns.Question.Builder |
|
setClass_(int value)
public Dns.Question.Builder setClass_(int value)The code specifying the class of the query.
uint32 class = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe class to set. |
| Returns | |
|---|---|
| Type | Description |
Dns.Question.Builder |
This builder for chaining. |
setName(String value)
public Dns.Question.Builder setName(String value)The domain name.
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
Dns.Question.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Dns.Question.Builder setNameBytes(ByteString value)The domain name.
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
Dns.Question.Builder |
This builder for chaining. |
setPrevalence(Prevalence value)
public Dns.Question.Builder setPrevalence(Prevalence value)The prevalence of the domain within the customer's environment.
.google.backstory.Prevalence prevalence = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
Prevalence |
| Returns | |
|---|---|
| Type | Description |
Dns.Question.Builder |
|
setPrevalence(Prevalence.Builder builderForValue)
public Dns.Question.Builder setPrevalence(Prevalence.Builder builderForValue)The prevalence of the domain within the customer's environment.
.google.backstory.Prevalence prevalence = 4;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Prevalence.Builder |
| Returns | |
|---|---|
| Type | Description |
Dns.Question.Builder |
|
setType(int value)
public Dns.Question.Builder setType(int value)The code specifying the type of the query.
uint32 type = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe type to set. |
| Returns | |
|---|---|
| Type | Description |
Dns.Question.Builder |
This builder for chaining. |