public static final class

BinaryMessages.CommandResponse.Builder

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

Class Overview

Protobuf type openxc.CommandResponse

Summary

Public Methods
BinaryMessages.CommandResponse build()
BinaryMessages.CommandResponse buildPartial()
BinaryMessages.CommandResponse.Builder clear()
BinaryMessages.CommandResponse.Builder clearMessage()
optional string message = 2;
BinaryMessages.CommandResponse.Builder clearStatus()
optional bool status = 3;
BinaryMessages.CommandResponse.Builder clearType()
optional .openxc.ControlCommand.Type type = 1;
BinaryMessages.CommandResponse.Builder clone()
BinaryMessages.CommandResponse getDefaultInstanceForType()
final static Descriptors.Descriptor getDescriptor()
Descriptors.Descriptor getDescriptorForType()
String getMessage()
optional string message = 2;
ByteString getMessageBytes()
optional string message = 2;
boolean getStatus()
optional bool status = 3;
BinaryMessages.ControlCommand.Type getType()
optional .openxc.ControlCommand.Type type = 1;
boolean hasMessage()
optional string message = 2;
boolean hasStatus()
optional bool status = 3;
boolean hasType()
optional .openxc.ControlCommand.Type type = 1;
final boolean isInitialized()
BinaryMessages.CommandResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
BinaryMessages.CommandResponse.Builder mergeFrom(BinaryMessages.CommandResponse other)
BinaryMessages.CommandResponse.Builder mergeFrom(Message other)
BinaryMessages.CommandResponse.Builder setMessage(String value)
optional string message = 2;
BinaryMessages.CommandResponse.Builder setMessageBytes(ByteString value)
optional string message = 2;
BinaryMessages.CommandResponse.Builder setStatus(boolean value)
optional bool status = 3;
BinaryMessages.CommandResponse.Builder setType(BinaryMessages.ControlCommand.Type value)
optional .openxc.ControlCommand.Type type = 1;
Protected Methods
GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
[Expand]
Inherited Methods
From class com.google.protobuf.GeneratedMessage.Builder
From class com.google.protobuf.AbstractMessage.Builder
From class com.google.protobuf.AbstractMessageLite.Builder
From class java.lang.Object
From interface com.google.protobuf.Message.Builder
From interface com.google.protobuf.MessageLite.Builder
From interface com.google.protobuf.MessageLiteOrBuilder
From interface com.google.protobuf.MessageOrBuilder
From interface com.openxc.BinaryMessages.CommandResponseOrBuilder

Public Methods

public BinaryMessages.CommandResponse buildPartial ()

public BinaryMessages.CommandResponse.Builder clearMessage ()

optional string message = 2;

public BinaryMessages.CommandResponse.Builder clearStatus ()

optional bool status = 3;

public BinaryMessages.CommandResponse.Builder clearType ()

optional .openxc.ControlCommand.Type type = 1;

public BinaryMessages.CommandResponse getDefaultInstanceForType ()

public static final Descriptors.Descriptor getDescriptor ()

public Descriptors.Descriptor getDescriptorForType ()

public String getMessage ()

optional string message = 2;

public ByteString getMessageBytes ()

optional string message = 2;

public boolean getStatus ()

optional bool status = 3;

public BinaryMessages.ControlCommand.Type getType ()

optional .openxc.ControlCommand.Type type = 1;

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 BinaryMessages.CommandResponse.Builder mergeFrom (CodedInputStream input, ExtensionRegistryLite extensionRegistry)

Throws
IOException

public BinaryMessages.CommandResponse.Builder mergeFrom (Message other)

public BinaryMessages.CommandResponse.Builder setMessage (String value)

optional string message = 2;

public BinaryMessages.CommandResponse.Builder setMessageBytes (ByteString value)

optional string message = 2;

public BinaryMessages.CommandResponse.Builder setStatus (boolean value)

optional bool status = 3;

public BinaryMessages.CommandResponse.Builder setType (BinaryMessages.ControlCommand.Type value)

optional .openxc.ControlCommand.Type type = 1;

Protected Methods

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable ()