Class DnsAuthorization.DnsResourceRecord.Builder (0.45.0)

public static final class DnsAuthorization.DnsResourceRecord.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DnsAuthorization.DnsResourceRecord.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DnsAuthorization.DnsResourceRecord.Builder
Overrides

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.

clearField(Descriptors.FieldDescriptor field)

public DnsAuthorization.DnsResourceRecord.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DnsAuthorization.DnsResourceRecord.Builder
Overrides

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.

clearOneof(Descriptors.OneofDescriptor oneof)

public DnsAuthorization.DnsResourceRecord.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DnsAuthorization.DnsResourceRecord.Builder
Overrides

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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DnsAuthorization.DnsResourceRecord.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

public DnsAuthorization.DnsResourceRecord.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DnsAuthorization.DnsResourceRecord.Builder
Overrides

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.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DnsAuthorization.DnsResourceRecord.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DnsAuthorization.DnsResourceRecord.Builder
Overrides

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.

setUnknownFields(UnknownFieldSet unknownFields)

public final DnsAuthorization.DnsResourceRecord.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DnsAuthorization.DnsResourceRecord.Builder
Overrides