Class DnsAuthorization.DnsResourceRecord.Builder (0.42.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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

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
Overrides

build()

public DnsAuthorization.DnsResourceRecord build()

buildPartial()

public DnsAuthorization.DnsResourceRecord buildPartial()

clear()

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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