// Generated by the protocol buffer compiler. DO NOT EDIT! // NO CHECKED-IN PROTOBUF GENCODE // source: bsp_IV.proto // Protobuf Java Version: 4.27.2 public final class BspIV { private BspIV() {} static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 27, /* patch= */ 2, /* suffix= */ "", BspIV.class.getName()); } public static void registerAllExtensions( com.google.protobuf.ExtensionRegistryLite registry) { } public static void registerAllExtensions( com.google.protobuf.ExtensionRegistry registry) { registerAllExtensions( (com.google.protobuf.ExtensionRegistryLite) registry); } public interface IV_struct_defineOrBuilder extends // @@protoc_insertion_point(interface_extends:IV_struct_define) com.google.protobuf.MessageOrBuilder { /** *
* 洗舱项目
*
*
* int32 Robot_Move_Speed = 1;
* @return The robotMoveSpeed.
*/
int getRobotMoveSpeed();
/**
* int32 Robot_Swing_Speed = 2;
* @return The robotSwingSpeed.
*/
int getRobotSwingSpeed();
/**
* int32 Robot_Tilt_Speed = 3;
* @return The robotTiltSpeed.
*/
int getRobotTiltSpeed();
/**
* int32 Robot_Tilt_Current = 4;
* @return The robotTiltCurrent.
*/
int getRobotTiltCurrent();
}
/**
* Protobuf type {@code IV_struct_define}
*/
public static final class IV_struct_define extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:IV_struct_define)
IV_struct_defineOrBuilder {
private static final long serialVersionUID = 0L;
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 27,
/* patch= */ 2,
/* suffix= */ "",
IV_struct_define.class.getName());
}
// Use IV_struct_define.newBuilder() to construct.
private IV_struct_define(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private IV_struct_define() {
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return BspIV.internal_static_IV_struct_define_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return BspIV.internal_static_IV_struct_define_fieldAccessorTable
.ensureFieldAccessorsInitialized(
BspIV.IV_struct_define.class, BspIV.IV_struct_define.Builder.class);
}
public static final int ROBOT_MOVE_SPEED_FIELD_NUMBER = 1;
private int robotMoveSpeed_ = 0;
/**
*
* 洗舱项目
*
*
* int32 Robot_Move_Speed = 1;
* @return The robotMoveSpeed.
*/
@java.lang.Override
public int getRobotMoveSpeed() {
return robotMoveSpeed_;
}
public static final int ROBOT_SWING_SPEED_FIELD_NUMBER = 2;
private int robotSwingSpeed_ = 0;
/**
* int32 Robot_Swing_Speed = 2;
* @return The robotSwingSpeed.
*/
@java.lang.Override
public int getRobotSwingSpeed() {
return robotSwingSpeed_;
}
public static final int ROBOT_TILT_SPEED_FIELD_NUMBER = 3;
private int robotTiltSpeed_ = 0;
/**
* int32 Robot_Tilt_Speed = 3;
* @return The robotTiltSpeed.
*/
@java.lang.Override
public int getRobotTiltSpeed() {
return robotTiltSpeed_;
}
public static final int ROBOT_TILT_CURRENT_FIELD_NUMBER = 4;
private int robotTiltCurrent_ = 0;
/**
* int32 Robot_Tilt_Current = 4;
* @return The robotTiltCurrent.
*/
@java.lang.Override
public int getRobotTiltCurrent() {
return robotTiltCurrent_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (robotMoveSpeed_ != 0) {
output.writeInt32(1, robotMoveSpeed_);
}
if (robotSwingSpeed_ != 0) {
output.writeInt32(2, robotSwingSpeed_);
}
if (robotTiltSpeed_ != 0) {
output.writeInt32(3, robotTiltSpeed_);
}
if (robotTiltCurrent_ != 0) {
output.writeInt32(4, robotTiltCurrent_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (robotMoveSpeed_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, robotMoveSpeed_);
}
if (robotSwingSpeed_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, robotSwingSpeed_);
}
if (robotTiltSpeed_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(3, robotTiltSpeed_);
}
if (robotTiltCurrent_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(4, robotTiltCurrent_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof BspIV.IV_struct_define)) {
return super.equals(obj);
}
BspIV.IV_struct_define other = (BspIV.IV_struct_define) obj;
if (getRobotMoveSpeed()
!= other.getRobotMoveSpeed()) return false;
if (getRobotSwingSpeed()
!= other.getRobotSwingSpeed()) return false;
if (getRobotTiltSpeed()
!= other.getRobotTiltSpeed()) return false;
if (getRobotTiltCurrent()
!= other.getRobotTiltCurrent()) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + ROBOT_MOVE_SPEED_FIELD_NUMBER;
hash = (53 * hash) + getRobotMoveSpeed();
hash = (37 * hash) + ROBOT_SWING_SPEED_FIELD_NUMBER;
hash = (53 * hash) + getRobotSwingSpeed();
hash = (37 * hash) + ROBOT_TILT_SPEED_FIELD_NUMBER;
hash = (53 * hash) + getRobotTiltSpeed();
hash = (37 * hash) + ROBOT_TILT_CURRENT_FIELD_NUMBER;
hash = (53 * hash) + getRobotTiltCurrent();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static BspIV.IV_struct_define parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static BspIV.IV_struct_define parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static BspIV.IV_struct_define parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static BspIV.IV_struct_define parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static BspIV.IV_struct_define parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static BspIV.IV_struct_define parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static BspIV.IV_struct_define parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static BspIV.IV_struct_define parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static BspIV.IV_struct_define parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input);
}
public static BspIV.IV_struct_define parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static BspIV.IV_struct_define parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input);
}
public static BspIV.IV_struct_define parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessage
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(BspIV.IV_struct_define prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code IV_struct_define}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder
* 洗舱项目
*
*
* int32 Robot_Move_Speed = 1;
* @return The robotMoveSpeed.
*/
@java.lang.Override
public int getRobotMoveSpeed() {
return robotMoveSpeed_;
}
/**
*
* 洗舱项目
*
*
* int32 Robot_Move_Speed = 1;
* @param value The robotMoveSpeed to set.
* @return This builder for chaining.
*/
public Builder setRobotMoveSpeed(int value) {
robotMoveSpeed_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
* 洗舱项目
*
*
* int32 Robot_Move_Speed = 1;
* @return This builder for chaining.
*/
public Builder clearRobotMoveSpeed() {
bitField0_ = (bitField0_ & ~0x00000001);
robotMoveSpeed_ = 0;
onChanged();
return this;
}
private int robotSwingSpeed_ ;
/**
* int32 Robot_Swing_Speed = 2;
* @return The robotSwingSpeed.
*/
@java.lang.Override
public int getRobotSwingSpeed() {
return robotSwingSpeed_;
}
/**
* int32 Robot_Swing_Speed = 2;
* @param value The robotSwingSpeed to set.
* @return This builder for chaining.
*/
public Builder setRobotSwingSpeed(int value) {
robotSwingSpeed_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* int32 Robot_Swing_Speed = 2;
* @return This builder for chaining.
*/
public Builder clearRobotSwingSpeed() {
bitField0_ = (bitField0_ & ~0x00000002);
robotSwingSpeed_ = 0;
onChanged();
return this;
}
private int robotTiltSpeed_ ;
/**
* int32 Robot_Tilt_Speed = 3;
* @return The robotTiltSpeed.
*/
@java.lang.Override
public int getRobotTiltSpeed() {
return robotTiltSpeed_;
}
/**
* int32 Robot_Tilt_Speed = 3;
* @param value The robotTiltSpeed to set.
* @return This builder for chaining.
*/
public Builder setRobotTiltSpeed(int value) {
robotTiltSpeed_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* int32 Robot_Tilt_Speed = 3;
* @return This builder for chaining.
*/
public Builder clearRobotTiltSpeed() {
bitField0_ = (bitField0_ & ~0x00000004);
robotTiltSpeed_ = 0;
onChanged();
return this;
}
private int robotTiltCurrent_ ;
/**
* int32 Robot_Tilt_Current = 4;
* @return The robotTiltCurrent.
*/
@java.lang.Override
public int getRobotTiltCurrent() {
return robotTiltCurrent_;
}
/**
* int32 Robot_Tilt_Current = 4;
* @param value The robotTiltCurrent to set.
* @return This builder for chaining.
*/
public Builder setRobotTiltCurrent(int value) {
robotTiltCurrent_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* int32 Robot_Tilt_Current = 4;
* @return This builder for chaining.
*/
public Builder clearRobotTiltCurrent() {
bitField0_ = (bitField0_ & ~0x00000008);
robotTiltCurrent_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:IV_struct_define)
}
// @@protoc_insertion_point(class_scope:IV_struct_define)
private static final BspIV.IV_struct_define DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new BspIV.IV_struct_define();
}
public static BspIV.IV_struct_define getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser