rina.dns
Class DNS.DNSRecord

java.lang.Object
  extended by com.google.protobuf.AbstractMessageLite
      extended by com.google.protobuf.AbstractMessage
          extended by com.google.protobuf.GeneratedMessage
              extended by rina.dns.DNS.DNSRecord
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, java.io.Serializable, DNS.DNSRecordOrBuilder
Enclosing class:
DNS

public static final class DNS.DNSRecord
extends com.google.protobuf.GeneratedMessage
implements DNS.DNSRecordOrBuilder

See Also:
Serialized Form

Nested Class Summary
static class DNS.DNSRecord.Builder
           
 
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>
 
Field Summary
static int CONTROLPORT_FIELD_NUMBER
           
static int DATAPORT_FIELD_NUMBER
           
static int IP_FIELD_NUMBER
           
static int NAME_FIELD_NUMBER
           
static int OPCODE_FIELD_NUMBER
           
static int PORT_FIELD_NUMBER
           
 
Method Summary
 int getControlPort()
           
 int getDataPort()
           
static DNS.DNSRecord getDefaultInstance()
           
 DNS.DNSRecord getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 java.lang.String getIp()
           
 java.lang.String getName()
           
 DNS.opCode_t getOpCode()
           
 int getPort()
           
 int getSerializedSize()
           
 boolean hasControlPort()
           
 boolean hasDataPort()
           
 boolean hasIp()
           
 boolean hasName()
           
 boolean hasOpCode()
           
 boolean hasPort()
           
 boolean isInitialized()
           
static DNS.DNSRecord.Builder newBuilder()
           
static DNS.DNSRecord.Builder newBuilder(DNS.DNSRecord prototype)
           
 DNS.DNSRecord.Builder newBuilderForType()
           
static DNS.DNSRecord parseDelimitedFrom(java.io.InputStream input)
           
static DNS.DNSRecord parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static DNS.DNSRecord parseFrom(byte[] data)
           
static DNS.DNSRecord parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static DNS.DNSRecord parseFrom(com.google.protobuf.ByteString data)
           
static DNS.DNSRecord parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static DNS.DNSRecord parseFrom(com.google.protobuf.CodedInputStream input)
           
static DNS.DNSRecord parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static DNS.DNSRecord parseFrom(java.io.InputStream input)
           
static DNS.DNSRecord parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 DNS.DNSRecord.Builder toBuilder()
           
 void writeTo(com.google.protobuf.CodedOutputStream output)
           
 
Methods inherited from class com.google.protobuf.GeneratedMessage
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension
 
Methods inherited from class com.google.protobuf.AbstractMessage
equals, hashCode, toString
 
Methods inherited from class com.google.protobuf.AbstractMessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.google.protobuf.MessageOrBuilder
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField
 
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
 

Field Detail

OPCODE_FIELD_NUMBER

public static final int OPCODE_FIELD_NUMBER
See Also:
Constant Field Values

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
See Also:
Constant Field Values

IP_FIELD_NUMBER

public static final int IP_FIELD_NUMBER
See Also:
Constant Field Values

PORT_FIELD_NUMBER

public static final int PORT_FIELD_NUMBER
See Also:
Constant Field Values

CONTROLPORT_FIELD_NUMBER

public static final int CONTROLPORT_FIELD_NUMBER
See Also:
Constant Field Values

DATAPORT_FIELD_NUMBER

public static final int DATAPORT_FIELD_NUMBER
See Also:
Constant Field Values
Method Detail

getDefaultInstance

public static DNS.DNSRecord getDefaultInstance()

getDefaultInstanceForType

public DNS.DNSRecord getDefaultInstanceForType()
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder

getDescriptor

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()

hasOpCode

public boolean hasOpCode()
Specified by:
hasOpCode in interface DNS.DNSRecordOrBuilder

getOpCode

public DNS.opCode_t getOpCode()
Specified by:
getOpCode in interface DNS.DNSRecordOrBuilder

hasName

public boolean hasName()
Specified by:
hasName in interface DNS.DNSRecordOrBuilder

getName

public java.lang.String getName()
Specified by:
getName in interface DNS.DNSRecordOrBuilder

hasIp

public boolean hasIp()
Specified by:
hasIp in interface DNS.DNSRecordOrBuilder

getIp

public java.lang.String getIp()
Specified by:
getIp in interface DNS.DNSRecordOrBuilder

hasPort

public boolean hasPort()
Specified by:
hasPort in interface DNS.DNSRecordOrBuilder

getPort

public int getPort()
Specified by:
getPort in interface DNS.DNSRecordOrBuilder

hasControlPort

public boolean hasControlPort()
Specified by:
hasControlPort in interface DNS.DNSRecordOrBuilder

getControlPort

public int getControlPort()
Specified by:
getControlPort in interface DNS.DNSRecordOrBuilder

hasDataPort

public boolean hasDataPort()
Specified by:
hasDataPort in interface DNS.DNSRecordOrBuilder

getDataPort

public int getDataPort()
Specified by:
getDataPort in interface DNS.DNSRecordOrBuilder

isInitialized

public final boolean isInitialized()
Specified by:
isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
Overrides:
isInitialized in class com.google.protobuf.GeneratedMessage

writeTo

public void writeTo(com.google.protobuf.CodedOutputStream output)
             throws java.io.IOException
Specified by:
writeTo in interface com.google.protobuf.MessageLite
Overrides:
writeTo in class com.google.protobuf.AbstractMessage
Throws:
java.io.IOException

getSerializedSize

public int getSerializedSize()
Specified by:
getSerializedSize in interface com.google.protobuf.MessageLite
Overrides:
getSerializedSize in class com.google.protobuf.AbstractMessage

parseFrom

public static DNS.DNSRecord parseFrom(com.google.protobuf.ByteString data)
                               throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static DNS.DNSRecord parseFrom(com.google.protobuf.ByteString data,
                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                               throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static DNS.DNSRecord parseFrom(byte[] data)
                               throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static DNS.DNSRecord parseFrom(byte[] data,
                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                               throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static DNS.DNSRecord parseFrom(java.io.InputStream input)
                               throws java.io.IOException
Throws:
java.io.IOException

parseFrom

public static DNS.DNSRecord parseFrom(java.io.InputStream input,
                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                               throws java.io.IOException
Throws:
java.io.IOException

parseDelimitedFrom

public static DNS.DNSRecord parseDelimitedFrom(java.io.InputStream input)
                                        throws java.io.IOException
Throws:
java.io.IOException

parseDelimitedFrom

public static DNS.DNSRecord parseDelimitedFrom(java.io.InputStream input,
                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                        throws java.io.IOException
Throws:
java.io.IOException

parseFrom

public static DNS.DNSRecord parseFrom(com.google.protobuf.CodedInputStream input)
                               throws java.io.IOException
Throws:
java.io.IOException

parseFrom

public static DNS.DNSRecord parseFrom(com.google.protobuf.CodedInputStream input,
                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                               throws java.io.IOException
Throws:
java.io.IOException

newBuilder

public static DNS.DNSRecord.Builder newBuilder()

newBuilderForType

public DNS.DNSRecord.Builder newBuilderForType()
Specified by:
newBuilderForType in interface com.google.protobuf.Message
Specified by:
newBuilderForType in interface com.google.protobuf.MessageLite

newBuilder

public static DNS.DNSRecord.Builder newBuilder(DNS.DNSRecord prototype)

toBuilder

public DNS.DNSRecord.Builder toBuilder()
Specified by:
toBuilder in interface com.google.protobuf.Message
Specified by:
toBuilder in interface com.google.protobuf.MessageLite