Class DnsAuthorization.DnsResourceRecord (0.48.0)

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > DnsAuthorization.DnsResourceRecord

Static Fields

DATA_FIELD_NUMBER

public static final int DATA_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DnsAuthorization.DnsResourceRecord getDefaultInstance()
Returns
Type Description
DnsAuthorization.DnsResourceRecord

getDescriptor()

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

newBuilder()

public static DnsAuthorization.DnsResourceRecord.Builder newBuilder()
Returns
Type Description
DnsAuthorization.DnsResourceRecord.Builder

newBuilder(DnsAuthorization.DnsResourceRecord prototype)

public static DnsAuthorization.DnsResourceRecord.Builder newBuilder(DnsAuthorization.DnsResourceRecord prototype)
Parameter
Name Description
prototype DnsAuthorization.DnsResourceRecord
Returns
Type Description
DnsAuthorization.DnsResourceRecord.Builder

parseDelimitedFrom(InputStream input)

public static DnsAuthorization.DnsResourceRecord parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DnsAuthorization.DnsResourceRecord
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DnsAuthorization.DnsResourceRecord parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DnsAuthorization.DnsResourceRecord
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DnsAuthorization.DnsResourceRecord parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DnsAuthorization.DnsResourceRecord
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DnsAuthorization.DnsResourceRecord parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DnsAuthorization.DnsResourceRecord
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DnsAuthorization.DnsResourceRecord parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DnsAuthorization.DnsResourceRecord
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DnsAuthorization.DnsResourceRecord parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DnsAuthorization.DnsResourceRecord
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DnsAuthorization.DnsResourceRecord parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DnsAuthorization.DnsResourceRecord
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DnsAuthorization.DnsResourceRecord parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DnsAuthorization.DnsResourceRecord
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DnsAuthorization.DnsResourceRecord parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DnsAuthorization.DnsResourceRecord
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DnsAuthorization.DnsResourceRecord parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DnsAuthorization.DnsResourceRecord
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DnsAuthorization.DnsResourceRecord parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DnsAuthorization.DnsResourceRecord
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DnsAuthorization.DnsResourceRecord parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DnsAuthorization.DnsResourceRecord
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<DnsAuthorization.DnsResourceRecord> parser()
Returns
Type Description
Parser<DnsResourceRecord>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

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.

getParserForType()

public Parser<DnsAuthorization.DnsResourceRecord> getParserForType()
Returns
Type Description
Parser<DnsResourceRecord>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public DnsAuthorization.DnsResourceRecord.Builder newBuilderForType()
Returns
Type Description
DnsAuthorization.DnsResourceRecord.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DnsAuthorization.DnsResourceRecord.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DnsAuthorization.DnsResourceRecord.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public DnsAuthorization.DnsResourceRecord.Builder toBuilder()
Returns
Type Description
DnsAuthorization.DnsResourceRecord.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException