public final class ResourceRecord extends GeneratedMessageV3 implements ResourceRecordOrBuilder
A DNS resource record.
Protobuf type google.appengine.v1.ResourceRecord
Static Fields
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
RRDATA_FIELD_NUMBER
public static final int RRDATA_FIELD_NUMBER
Field Value
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ResourceRecord getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ResourceRecord.Builder newBuilder()
Returns
newBuilder(ResourceRecord prototype)
public static ResourceRecord.Builder newBuilder(ResourceRecord prototype)
Parameter
Returns
public static ResourceRecord parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ResourceRecord parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ResourceRecord parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ResourceRecord parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ResourceRecord parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ResourceRecord parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ResourceRecord parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ResourceRecord parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ResourceRecord parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ResourceRecord parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ResourceRecord parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ResourceRecord parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ResourceRecord> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public ResourceRecord getDefaultInstanceForType()
Returns
getName()
Relative name of the object affected by this record. Only applicable for
CNAME
records. Example: 'www'.
string name = 1;
Returns
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
Relative name of the object affected by this record. Only applicable for
CNAME
records. Example: 'www'.
string name = 1;
Returns
getParserForType()
public Parser<ResourceRecord> getParserForType()
Returns
Overrides
getRrdata()
public String getRrdata()
Data for this record. Values vary by record type, as defined in RFC 1035
(section 5) and RFC 1034 (section 3.6.1).
string rrdata = 2;
Returns
Type | Description |
String | The rrdata.
|
getRrdataBytes()
public ByteString getRrdataBytes()
Data for this record. Values vary by record type, as defined in RFC 1035
(section 5) and RFC 1034 (section 3.6.1).
string rrdata = 2;
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getType()
public ResourceRecord.RecordType getType()
Resource record type. Example: AAAA
.
.google.appengine.v1.ResourceRecord.RecordType type = 3;
Returns
getTypeValue()
public int getTypeValue()
Resource record type. Example: AAAA
.
.google.appengine.v1.ResourceRecord.RecordType type = 3;
Returns
Type | Description |
int | The enum numeric value on the wire for type.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ResourceRecord.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ResourceRecord.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ResourceRecord.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions