public static final class BinaryMessages.CommandResponse.Builder extends <any> implements BinaryMessages.CommandResponseOrBuilder
openxc.CommandResponse
Modifier and Type | Method and Description |
---|---|
BinaryMessages.CommandResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
BinaryMessages.CommandResponse |
build() |
BinaryMessages.CommandResponse |
buildPartial() |
BinaryMessages.CommandResponse.Builder |
clear() |
BinaryMessages.CommandResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
BinaryMessages.CommandResponse.Builder |
clearMessage()
string message = 2; |
BinaryMessages.CommandResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
BinaryMessages.CommandResponse.Builder |
clearStatus()
bool status = 3; |
BinaryMessages.CommandResponse.Builder |
clearType()
.openxc.ControlCommand.Type type = 1; |
BinaryMessages.CommandResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getMessage()
string message = 2; |
com.google.protobuf.ByteString |
getMessageBytes()
string message = 2; |
boolean |
getStatus()
bool status = 3; |
BinaryMessages.ControlCommand.Type |
getType()
.openxc.ControlCommand.Type type = 1; |
int |
getTypeValue()
.openxc.ControlCommand.Type type = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
BinaryMessages.CommandResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BinaryMessages.CommandResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
BinaryMessages.CommandResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
BinaryMessages.CommandResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
BinaryMessages.CommandResponse.Builder |
setMessage(java.lang.String value)
string message = 2; |
BinaryMessages.CommandResponse.Builder |
setMessageBytes(com.google.protobuf.ByteString value)
string message = 2; |
BinaryMessages.CommandResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
BinaryMessages.CommandResponse.Builder |
setStatus(boolean value)
bool status = 3; |
BinaryMessages.CommandResponse.Builder |
setType(BinaryMessages.ControlCommand.Type value)
.openxc.ControlCommand.Type type = 1; |
BinaryMessages.CommandResponse.Builder |
setTypeValue(int value)
.openxc.ControlCommand.Type type = 1; |
BinaryMessages.CommandResponse.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public BinaryMessages.CommandResponse.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public BinaryMessages.CommandResponse getDefaultInstanceForType()
public BinaryMessages.CommandResponse build()
public BinaryMessages.CommandResponse buildPartial()
public BinaryMessages.CommandResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public BinaryMessages.CommandResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public BinaryMessages.CommandResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public BinaryMessages.CommandResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
public BinaryMessages.CommandResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public BinaryMessages.CommandResponse.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public BinaryMessages.CommandResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public int getTypeValue()
.openxc.ControlCommand.Type type = 1;
getTypeValue
in interface BinaryMessages.CommandResponseOrBuilder
public BinaryMessages.CommandResponse.Builder setTypeValue(int value)
.openxc.ControlCommand.Type type = 1;
value
- The enum numeric value on the wire for type to set.public BinaryMessages.ControlCommand.Type getType()
.openxc.ControlCommand.Type type = 1;
getType
in interface BinaryMessages.CommandResponseOrBuilder
public BinaryMessages.CommandResponse.Builder setType(BinaryMessages.ControlCommand.Type value)
.openxc.ControlCommand.Type type = 1;
value
- The type to set.public BinaryMessages.CommandResponse.Builder clearType()
.openxc.ControlCommand.Type type = 1;
public java.lang.String getMessage()
string message = 2;
getMessage
in interface BinaryMessages.CommandResponseOrBuilder
public com.google.protobuf.ByteString getMessageBytes()
string message = 2;
getMessageBytes
in interface BinaryMessages.CommandResponseOrBuilder
public BinaryMessages.CommandResponse.Builder setMessage(java.lang.String value)
string message = 2;
value
- The message to set.public BinaryMessages.CommandResponse.Builder clearMessage()
string message = 2;
public BinaryMessages.CommandResponse.Builder setMessageBytes(com.google.protobuf.ByteString value)
string message = 2;
value
- The bytes for message to set.public boolean getStatus()
bool status = 3;
getStatus
in interface BinaryMessages.CommandResponseOrBuilder
public BinaryMessages.CommandResponse.Builder setStatus(boolean value)
bool status = 3;
value
- The status to set.public BinaryMessages.CommandResponse.Builder clearStatus()
bool status = 3;
public final BinaryMessages.CommandResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final BinaryMessages.CommandResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)