Class DnsAuthorization.DnsResourceRecord.Builder (0.25.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DnsAuthorization.DnsResourceRecord.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DnsAuthorization.DnsResourceRecord.Builder
Overrides

build()

public DnsAuthorization.DnsResourceRecord build()
Returns
TypeDescription
DnsAuthorization.DnsResourceRecord

buildPartial()

public DnsAuthorization.DnsResourceRecord buildPartial()
Returns
TypeDescription
DnsAuthorization.DnsResourceRecord

clear()

public DnsAuthorization.DnsResourceRecord.Builder clear()
Returns
TypeDescription
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
TypeDescription
DnsAuthorization.DnsResourceRecord.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public DnsAuthorization.DnsResourceRecord.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
DnsAuthorization.DnsResourceRecord.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DnsAuthorization.DnsResourceRecord.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
DnsAuthorization.DnsResourceRecord.Builder

This builder for chaining.

clone()

public DnsAuthorization.DnsResourceRecord.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for data.

getDefaultInstanceForType()

public DnsAuthorization.DnsResourceRecord getDefaultInstanceForType()
Returns
TypeDescription
DnsAuthorization.DnsResourceRecord

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for type.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DnsAuthorization.DnsResourceRecord other)

public DnsAuthorization.DnsResourceRecord.Builder mergeFrom(DnsAuthorization.DnsResourceRecord other)
Parameter
NameDescription
otherDnsAuthorization.DnsResourceRecord
Returns
TypeDescription
DnsAuthorization.DnsResourceRecord.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DnsAuthorization.DnsResourceRecord.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DnsAuthorization.DnsResourceRecord.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DnsAuthorization.DnsResourceRecord.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DnsAuthorization.DnsResourceRecord.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DnsAuthorization.DnsResourceRecord.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The data to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for data to set.

Returns
TypeDescription
DnsAuthorization.DnsResourceRecord.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public DnsAuthorization.DnsResourceRecord.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The type to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for type to set.

Returns
TypeDescription
DnsAuthorization.DnsResourceRecord.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final DnsAuthorization.DnsResourceRecord.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DnsAuthorization.DnsResourceRecord.Builder
Overrides