public static final class DNSRecord.Builder extends GeneratedMessage.Builder<DNSRecord.Builder> implements DNSRecordOrBuilderDNS record.
Protobuf type google.backstory.DNSRecord
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DNSRecord.BuilderImplements
DNSRecordOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DNSRecord build()| Returns | |
|---|---|
| Type | Description |
DNSRecord |
|
buildPartial()
public DNSRecord buildPartial()| Returns | |
|---|---|
| Type | Description |
DNSRecord |
|
clear()
public DNSRecord.Builder clear()| Returns | |
|---|---|
| Type | Description |
DNSRecord.Builder |
|
clearExpire()
public DNSRecord.Builder clearExpire()Expire.
.google.protobuf.Duration expire = 8;
| Returns | |
|---|---|
| Type | Description |
DNSRecord.Builder |
|
clearMinimum()
public DNSRecord.Builder clearMinimum()Minimum.
.google.protobuf.Duration minimum = 7;
| Returns | |
|---|---|
| Type | Description |
DNSRecord.Builder |
|
clearPriority()
public DNSRecord.Builder clearPriority()Priority.
int64 priority = 4;
| Returns | |
|---|---|
| Type | Description |
DNSRecord.Builder |
This builder for chaining. |
clearRefresh()
public DNSRecord.Builder clearRefresh()Refresh.
.google.protobuf.Duration refresh = 6;
| Returns | |
|---|---|
| Type | Description |
DNSRecord.Builder |
|
clearRetry()
public DNSRecord.Builder clearRetry()Retry.
int64 retry = 5;
| Returns | |
|---|---|
| Type | Description |
DNSRecord.Builder |
This builder for chaining. |
clearRname()
public DNSRecord.Builder clearRname()Rname.
string rname = 10;
| Returns | |
|---|---|
| Type | Description |
DNSRecord.Builder |
This builder for chaining. |
clearSerial()
public DNSRecord.Builder clearSerial()Serial.
int64 serial = 9;
| Returns | |
|---|---|
| Type | Description |
DNSRecord.Builder |
This builder for chaining. |
clearTtl()
public DNSRecord.Builder clearTtl()Time to live.
.google.protobuf.Duration ttl = 3;
| Returns | |
|---|---|
| Type | Description |
DNSRecord.Builder |
|
clearType()
public DNSRecord.Builder clearType()Type.
string type = 1;
| Returns | |
|---|---|
| Type | Description |
DNSRecord.Builder |
This builder for chaining. |
clearValue()
public DNSRecord.Builder clearValue()Value.
string value = 2;
| Returns | |
|---|---|
| Type | Description |
DNSRecord.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public DNSRecord getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DNSRecord |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getExpire()
public Duration getExpire()Expire.
.google.protobuf.Duration expire = 8;
| Returns | |
|---|---|
| Type | Description |
Duration |
The expire. |
getExpireBuilder()
public Duration.Builder getExpireBuilder()Expire.
.google.protobuf.Duration expire = 8;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
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. |
getMinimumBuilder()
public Duration.Builder getMinimumBuilder()Minimum.
.google.protobuf.Duration minimum = 7;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getMinimumOrBuilder()
public DurationOrBuilder getMinimumOrBuilder()Minimum.
.google.protobuf.Duration minimum = 7;
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
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. |
getRefreshBuilder()
public Duration.Builder getRefreshBuilder()Refresh.
.google.protobuf.Duration refresh = 6;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
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. |
getTtl()
public Duration getTtl()Time to live.
.google.protobuf.Duration ttl = 3;
| Returns | |
|---|---|
| Type | Description |
Duration |
The ttl. |
getTtlBuilder()
public Duration.Builder getTtlBuilder()Time to live.
.google.protobuf.Duration ttl = 3;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeExpire(Duration value)
public DNSRecord.Builder mergeExpire(Duration value)Expire.
.google.protobuf.Duration expire = 8;
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
DNSRecord.Builder |
|
mergeFrom(DNSRecord other)
public DNSRecord.Builder mergeFrom(DNSRecord other)| Parameter | |
|---|---|
| Name | Description |
other |
DNSRecord |
| Returns | |
|---|---|
| Type | Description |
DNSRecord.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DNSRecord.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DNSRecord.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DNSRecord.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DNSRecord.Builder |
|
mergeMinimum(Duration value)
public DNSRecord.Builder mergeMinimum(Duration value)Minimum.
.google.protobuf.Duration minimum = 7;
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
DNSRecord.Builder |
|
mergeRefresh(Duration value)
public DNSRecord.Builder mergeRefresh(Duration value)Refresh.
.google.protobuf.Duration refresh = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
DNSRecord.Builder |
|
mergeTtl(Duration value)
public DNSRecord.Builder mergeTtl(Duration value)Time to live.
.google.protobuf.Duration ttl = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
DNSRecord.Builder |
|
setExpire(Duration value)
public DNSRecord.Builder setExpire(Duration value)Expire.
.google.protobuf.Duration expire = 8;
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
DNSRecord.Builder |
|
setExpire(Duration.Builder builderForValue)
public DNSRecord.Builder setExpire(Duration.Builder builderForValue)Expire.
.google.protobuf.Duration expire = 8;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
DNSRecord.Builder |
|
setMinimum(Duration value)
public DNSRecord.Builder setMinimum(Duration value)Minimum.
.google.protobuf.Duration minimum = 7;
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
DNSRecord.Builder |
|
setMinimum(Duration.Builder builderForValue)
public DNSRecord.Builder setMinimum(Duration.Builder builderForValue)Minimum.
.google.protobuf.Duration minimum = 7;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
DNSRecord.Builder |
|
setPriority(long value)
public DNSRecord.Builder setPriority(long value)Priority.
int64 priority = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe priority to set. |
| Returns | |
|---|---|
| Type | Description |
DNSRecord.Builder |
This builder for chaining. |
setRefresh(Duration value)
public DNSRecord.Builder setRefresh(Duration value)Refresh.
.google.protobuf.Duration refresh = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
DNSRecord.Builder |
|
setRefresh(Duration.Builder builderForValue)
public DNSRecord.Builder setRefresh(Duration.Builder builderForValue)Refresh.
.google.protobuf.Duration refresh = 6;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
DNSRecord.Builder |
|
setRetry(long value)
public DNSRecord.Builder setRetry(long value)Retry.
int64 retry = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe retry to set. |
| Returns | |
|---|---|
| Type | Description |
DNSRecord.Builder |
This builder for chaining. |
setRname(String value)
public DNSRecord.Builder setRname(String value)Rname.
string rname = 10;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe rname to set. |
| Returns | |
|---|---|
| Type | Description |
DNSRecord.Builder |
This builder for chaining. |
setRnameBytes(ByteString value)
public DNSRecord.Builder setRnameBytes(ByteString value)Rname.
string rname = 10;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for rname to set. |
| Returns | |
|---|---|
| Type | Description |
DNSRecord.Builder |
This builder for chaining. |
setSerial(long value)
public DNSRecord.Builder setSerial(long value)Serial.
int64 serial = 9;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe serial to set. |
| Returns | |
|---|---|
| Type | Description |
DNSRecord.Builder |
This builder for chaining. |
setTtl(Duration value)
public DNSRecord.Builder setTtl(Duration value)Time to live.
.google.protobuf.Duration ttl = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
DNSRecord.Builder |
|
setTtl(Duration.Builder builderForValue)
public DNSRecord.Builder setTtl(Duration.Builder builderForValue)Time to live.
.google.protobuf.Duration ttl = 3;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
DNSRecord.Builder |
|
setType(String value)
public DNSRecord.Builder setType(String value)Type.
string type = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe type to set. |
| Returns | |
|---|---|
| Type | Description |
DNSRecord.Builder |
This builder for chaining. |
setTypeBytes(ByteString value)
public DNSRecord.Builder setTypeBytes(ByteString value)Type.
string type = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for type to set. |
| Returns | |
|---|---|
| Type | Description |
DNSRecord.Builder |
This builder for chaining. |
setValue(String value)
public DNSRecord.Builder setValue(String value)Value.
string value = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe value to set. |
| Returns | |
|---|---|
| Type | Description |
DNSRecord.Builder |
This builder for chaining. |
setValueBytes(ByteString value)
public DNSRecord.Builder setValueBytes(ByteString value)Value.
string value = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for value to set. |
| Returns | |
|---|---|
| Type | Description |
DNSRecord.Builder |
This builder for chaining. |