public static final class

BinaryMessages.CommandResponse

extends GeneratedMessage
implements BinaryMessages.CommandResponseOrBuilder
java.lang.Object
   ↳ com.google.protobuf.AbstractMessageLite
     ↳ com.google.protobuf.AbstractMessage
       ↳ com.google.protobuf.GeneratedMessage
         ↳ com.openxc.BinaryMessages.CommandResponse

Class Overview

Protobuf type openxc.CommandResponse

Summary

Nested Classes
class BinaryMessages.CommandResponse.Builder Protobuf type openxc.CommandResponse  
Constants
int MESSAGE_FIELD_NUMBER
int STATUS_FIELD_NUMBER
int TYPE_FIELD_NUMBER
Fields
public static Parser<BinaryMessages.CommandResponse> PARSER
[Expand]
Inherited Fields
From class com.google.protobuf.GeneratedMessage
From class com.google.protobuf.AbstractMessageLite
Public Methods
static BinaryMessages.CommandResponse getDefaultInstance()
BinaryMessages.CommandResponse getDefaultInstanceForType()
final static Descriptors.Descriptor getDescriptor()
String getMessage()
optional string message = 2;
ByteString getMessageBytes()
optional string message = 2;
Parser<BinaryMessages.CommandResponse> getParserForType()
int getSerializedSize()
boolean getStatus()
optional bool status = 3;
BinaryMessages.ControlCommand.Type getType()
optional .openxc.ControlCommand.Type type = 1;
final UnknownFieldSet getUnknownFields()
boolean hasMessage()
optional string message = 2;
boolean hasStatus()
optional bool status = 3;
boolean hasType()
optional .openxc.ControlCommand.Type type = 1;
final boolean isInitialized()
static BinaryMessages.CommandResponse.Builder newBuilder(BinaryMessages.CommandResponse prototype)
static BinaryMessages.CommandResponse.Builder newBuilder()
BinaryMessages.CommandResponse.Builder newBuilderForType()
static BinaryMessages.CommandResponse parseDelimitedFrom(InputStream input)
static BinaryMessages.CommandResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
static BinaryMessages.CommandResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
static BinaryMessages.CommandResponse parseFrom(CodedInputStream input)
static BinaryMessages.CommandResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
static BinaryMessages.CommandResponse parseFrom(ByteString data)
static BinaryMessages.CommandResponse parseFrom(InputStream input)
static BinaryMessages.CommandResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
static BinaryMessages.CommandResponse parseFrom(byte[] data)
static BinaryMessages.CommandResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
BinaryMessages.CommandResponse.Builder toBuilder()
void writeTo(CodedOutputStream output)
Protected Methods
GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
BinaryMessages.CommandResponse.Builder newBuilderForType(GeneratedMessage.BuilderParent parent)
Object writeReplace()
[Expand]
Inherited Methods
From class com.google.protobuf.GeneratedMessage
From class com.google.protobuf.AbstractMessage
From class com.google.protobuf.AbstractMessageLite
From class java.lang.Object
From interface com.google.protobuf.Message
From interface com.google.protobuf.MessageLite
From interface com.google.protobuf.MessageLiteOrBuilder
From interface com.google.protobuf.MessageOrBuilder
From interface com.openxc.BinaryMessages.CommandResponseOrBuilder

Constants

public static final int MESSAGE_FIELD_NUMBER

Constant Value: 2 (0x00000002)

public static final int STATUS_FIELD_NUMBER

Constant Value: 3 (0x00000003)

public static final int TYPE_FIELD_NUMBER

Constant Value: 1 (0x00000001)

Fields

public static Parser<BinaryMessages.CommandResponse> PARSER

Public Methods

public static BinaryMessages.CommandResponse getDefaultInstance ()

public BinaryMessages.CommandResponse getDefaultInstanceForType ()

public static final Descriptors.Descriptor getDescriptor ()

public String getMessage ()

optional string message = 2;

public ByteString getMessageBytes ()

optional string message = 2;

public Parser<BinaryMessages.CommandResponse> getParserForType ()

public int getSerializedSize ()

public boolean getStatus ()

optional bool status = 3;

public BinaryMessages.ControlCommand.Type getType ()

optional .openxc.ControlCommand.Type type = 1;

public final UnknownFieldSet getUnknownFields ()

public boolean hasMessage ()

optional string message = 2;

public boolean hasStatus ()

optional bool status = 3;

public boolean hasType ()

optional .openxc.ControlCommand.Type type = 1;

public final boolean isInitialized ()

public static BinaryMessages.CommandResponse.Builder newBuilder ()

public BinaryMessages.CommandResponse.Builder newBuilderForType ()

public static BinaryMessages.CommandResponse parseDelimitedFrom (InputStream input)

Throws
IOException

public static BinaryMessages.CommandResponse parseDelimitedFrom (InputStream input, ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static BinaryMessages.CommandResponse parseFrom (CodedInputStream input, ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static BinaryMessages.CommandResponse parseFrom (CodedInputStream input)

Throws
IOException

public static BinaryMessages.CommandResponse parseFrom (byte[] data, ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static BinaryMessages.CommandResponse parseFrom (ByteString data)

Throws
InvalidProtocolBufferException

public static BinaryMessages.CommandResponse parseFrom (InputStream input)

Throws
IOException

public static BinaryMessages.CommandResponse parseFrom (InputStream input, ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static BinaryMessages.CommandResponse parseFrom (byte[] data)

Throws
InvalidProtocolBufferException

public static BinaryMessages.CommandResponse parseFrom (ByteString data, ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public void writeTo (CodedOutputStream output)

Throws
IOException

Protected Methods

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable ()

protected BinaryMessages.CommandResponse.Builder newBuilderForType (GeneratedMessage.BuilderParent parent)

protected Object writeReplace ()