Class DnsAuthorization.DnsResourceRecord.Builder (0.86.0)

public static final class DnsAuthorization.DnsResourceRecord.Builder extends GeneratedMessage.Builder<DnsAuthorization.DnsResourceRecord.Builder> implements DnsAuthorization.DnsResourceRecordOrBuilder

The structure describing the DNS Resource Record that needs to be added to DNS configuration for the authorization to be usable by certificate.

Protobuf type google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public DnsAuthorization.DnsResourceRecord build()
Returns
Type Description
DnsAuthorization.DnsResourceRecord

buildPartial()

public DnsAuthorization.DnsResourceRecord buildPartial()
Returns
Type Description
DnsAuthorization.DnsResourceRecord

clear()

public DnsAuthorization.DnsResourceRecord.Builder clear()
Returns
Type Description
DnsAuthorization.DnsResourceRecord.Builder
Overrides

clearData()

public DnsAuthorization.DnsResourceRecord.Builder clearData()

Output only. Data of the DNS Resource Record.

string data = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DnsAuthorization.DnsResourceRecord.Builder

This builder for chaining.

clearName()

public DnsAuthorization.DnsResourceRecord.Builder clearName()

Output only. Fully qualified name of the DNS Resource Record. e.g. _acme-challenge.example.com

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DnsAuthorization.DnsResourceRecord.Builder

This builder for chaining.

clearType()

public DnsAuthorization.DnsResourceRecord.Builder clearType()

Output only. Type of the DNS Resource Record. Currently always set to "CNAME".

string type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DnsAuthorization.DnsResourceRecord.Builder

This builder for chaining.

getData()

public String getData()

Output only. Data of the DNS Resource Record.

string data = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The data.

getDataBytes()

public ByteString getDataBytes()

Output only. Data of the DNS Resource Record.

string data = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for data.

getDefaultInstanceForType()

public DnsAuthorization.DnsResourceRecord getDefaultInstanceForType()
Returns
Type Description
DnsAuthorization.DnsResourceRecord

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getName()

public String getName()

Output only. Fully qualified name of the DNS Resource Record. e.g. _acme-challenge.example.com

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. Fully qualified name of the DNS Resource Record. e.g. _acme-challenge.example.com

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for name.

getType()

public String getType()

Output only. Type of the DNS Resource Record. Currently always set to "CNAME".

string type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The type.

getTypeBytes()

public ByteString getTypeBytes()

Output only. Type of the DNS Resource Record. Currently always set to "CNAME".

string type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for type.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DnsAuthorization.DnsResourceRecord other)

public DnsAuthorization.DnsResourceRecord.Builder mergeFrom(DnsAuthorization.DnsResourceRecord other)
Parameter
Name Description
other DnsAuthorization.DnsResourceRecord
Returns
Type Description
DnsAuthorization.DnsResourceRecord.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DnsAuthorization.DnsResourceRecord.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DnsAuthorization.DnsResourceRecord.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DnsAuthorization.DnsResourceRecord.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DnsAuthorization.DnsResourceRecord.Builder
Overrides

setData(String value)

public DnsAuthorization.DnsResourceRecord.Builder setData(String value)

Output only. Data of the DNS Resource Record.

string data = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The data to set.

Returns
Type Description
DnsAuthorization.DnsResourceRecord.Builder

This builder for chaining.

setDataBytes(ByteString value)

public DnsAuthorization.DnsResourceRecord.Builder setDataBytes(ByteString value)

Output only. Data of the DNS Resource Record.

string data = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for data to set.

Returns
Type Description
DnsAuthorization.DnsResourceRecord.Builder

This builder for chaining.

setName(String value)

public DnsAuthorization.DnsResourceRecord.Builder setName(String value)

Output only. Fully qualified name of the DNS Resource Record. e.g. _acme-challenge.example.com

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
DnsAuthorization.DnsResourceRecord.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DnsAuthorization.DnsResourceRecord.Builder setNameBytes(ByteString value)

Output only. Fully qualified name of the DNS Resource Record. e.g. _acme-challenge.example.com

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
DnsAuthorization.DnsResourceRecord.Builder

This builder for chaining.

setType(String value)

public DnsAuthorization.DnsResourceRecord.Builder setType(String value)

Output only. Type of the DNS Resource Record. Currently always set to "CNAME".

string type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The type to set.

Returns
Type Description
DnsAuthorization.DnsResourceRecord.Builder

This builder for chaining.

setTypeBytes(ByteString value)

public DnsAuthorization.DnsResourceRecord.Builder setTypeBytes(ByteString value)

Output only. Type of the DNS Resource Record. Currently always set to "CNAME".

string type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for type to set.

Returns
Type Description
DnsAuthorization.DnsResourceRecord.Builder

This builder for chaining.