public final class ResourceRecord extends GeneratedMessageV3 implements ResourceRecordOrBuilder
A DNS resource record.
Protobuf type google.appengine.v1.ResourceRecord
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
Static Fields
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
RRDATA_FIELD_NUMBER
public static final int RRDATA_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 ResourceRecord getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ResourceRecord.Builder newBuilder()
newBuilder(ResourceRecord prototype)
public static ResourceRecord.Builder newBuilder(ResourceRecord prototype)
public static ResourceRecord parseDelimitedFrom(InputStream input)
public static ResourceRecord parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ResourceRecord parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ResourceRecord parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ResourceRecord parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ResourceRecord parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ResourceRecord parseFrom(CodedInputStream input)
public static ResourceRecord parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ResourceRecord parseFrom(InputStream input)
public static ResourceRecord parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ResourceRecord parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ResourceRecord parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ResourceRecord> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public ResourceRecord getDefaultInstanceForType()
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 |
---|
Type | Description |
ByteString | The bytes for name.
|
getParserForType()
public Parser<ResourceRecord> getParserForType()
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 |
---|
Type | Description |
ByteString | The bytes for rrdata.
|
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getType()
public ResourceRecord.RecordType getType()
Resource record type. Example: AAAA
.
.google.appengine.v1.ResourceRecord.RecordType type = 3;
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.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ResourceRecord.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ResourceRecord.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public ResourceRecord.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides