// 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 implements // @@protoc_insertion_point(builder_implements:IV_struct_define) BspIV.IV_struct_defineOrBuilder { 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); } // Construct using BspIV.IV_struct_define.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; robotMoveSpeed_ = 0; robotSwingSpeed_ = 0; robotTiltSpeed_ = 0; robotTiltCurrent_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return BspIV.internal_static_IV_struct_define_descriptor; } @java.lang.Override public BspIV.IV_struct_define getDefaultInstanceForType() { return BspIV.IV_struct_define.getDefaultInstance(); } @java.lang.Override public BspIV.IV_struct_define build() { BspIV.IV_struct_define result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public BspIV.IV_struct_define buildPartial() { BspIV.IV_struct_define result = new BspIV.IV_struct_define(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(BspIV.IV_struct_define result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.robotMoveSpeed_ = robotMoveSpeed_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.robotSwingSpeed_ = robotSwingSpeed_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.robotTiltSpeed_ = robotTiltSpeed_; } if (((from_bitField0_ & 0x00000008) != 0)) { result.robotTiltCurrent_ = robotTiltCurrent_; } } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof BspIV.IV_struct_define) { return mergeFrom((BspIV.IV_struct_define)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(BspIV.IV_struct_define other) { if (other == BspIV.IV_struct_define.getDefaultInstance()) return this; if (other.getRobotMoveSpeed() != 0) { setRobotMoveSpeed(other.getRobotMoveSpeed()); } if (other.getRobotSwingSpeed() != 0) { setRobotSwingSpeed(other.getRobotSwingSpeed()); } if (other.getRobotTiltSpeed() != 0) { setRobotTiltSpeed(other.getRobotTiltSpeed()); } if (other.getRobotTiltCurrent() != 0) { setRobotTiltCurrent(other.getRobotTiltCurrent()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { robotMoveSpeed_ = input.readInt32(); bitField0_ |= 0x00000001; break; } // case 8 case 16: { robotSwingSpeed_ = input.readInt32(); bitField0_ |= 0x00000002; break; } // case 16 case 24: { robotTiltSpeed_ = input.readInt32(); bitField0_ |= 0x00000004; break; } // case 24 case 32: { robotTiltCurrent_ = input.readInt32(); bitField0_ |= 0x00000008; break; } // case 32 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private int robotMoveSpeed_ ; /** *
       * 洗舱项目
       * 
* * 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 PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public IV_struct_define parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public BspIV.IV_struct_define getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_IV_struct_define_descriptor; private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_IV_struct_define_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } private static com.google.protobuf.Descriptors.FileDescriptor descriptor; static { java.lang.String[] descriptorData = { "\n\014bsp_IV.proto\"}\n\020IV_struct_define\022\030\n\020Ro" + "bot_Move_Speed\030\001 \001(\005\022\031\n\021Robot_Swing_Spee" + "d\030\002 \001(\005\022\030\n\020Robot_Tilt_Speed\030\003 \001(\005\022\032\n\022Rob" + "ot_Tilt_Current\030\004 \001(\005b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { }); internal_static_IV_struct_define_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_IV_struct_define_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_IV_struct_define_descriptor, new java.lang.String[] { "RobotMoveSpeed", "RobotSwingSpeed", "RobotTiltSpeed", "RobotTiltCurrent", }); descriptor.resolveAllFeaturesImmutable(); } // @@protoc_insertion_point(outer_class_scope) }