// Generated by the protocol buffer compiler. DO NOT EDIT! // NO CHECKED-IN PROTOBUF GENCODE // source: robot_data.proto // Protobuf Java Version: 4.27.2 package com.example.removemarineanimals.models; public final class RobotData { private RobotData() {} static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, /* major= */ 4, /* minor= */ 27, /* patch= */ 2, /* suffix= */ "", RobotData.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 DataTransOrBuilder extends // @@protoc_insertion_point(interface_extends:DataTrans) com.google.protobuf.MessageOrBuilder { /** *
     * 横滚角
     * 
* * int32 RF_Angle_Roll = 1; * @return The rFAngleRoll. */ int getRFAngleRoll(); /** *
     * 俯仰角
     * 
* * int32 RF_Angle_Pitch = 2; * @return The rFAnglePitch. */ int getRFAnglePitch(); /** *
     * 航向角
     * 
* * int32 RF_Angle_Yaw = 3; * @return The rFAngleYaw. */ int getRFAngleYaw(); /** *
     * 海洋深度
     * 
* * int32 RF_Depth = 4; * @return The rFDepth. */ int getRFDepth(); } /** * Protobuf type {@code DataTrans} */ public static final class DataTrans extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:DataTrans) DataTransOrBuilder { 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= */ "", DataTrans.class.getName()); } // Use DataTrans.newBuilder() to construct. private DataTrans(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private DataTrans() { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.example.removemarineanimals.models.RobotData.internal_static_DataTrans_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.example.removemarineanimals.models.RobotData.internal_static_DataTrans_fieldAccessorTable .ensureFieldAccessorsInitialized( com.example.removemarineanimals.models.RobotData.DataTrans.class, com.example.removemarineanimals.models.RobotData.DataTrans.Builder.class); } public static final int RF_ANGLE_ROLL_FIELD_NUMBER = 1; private int rFAngleRoll_ = 0; /** *
     * 横滚角
     * 
* * int32 RF_Angle_Roll = 1; * @return The rFAngleRoll. */ @java.lang.Override public int getRFAngleRoll() { return rFAngleRoll_; } public static final int RF_ANGLE_PITCH_FIELD_NUMBER = 2; private int rFAnglePitch_ = 0; /** *
     * 俯仰角
     * 
* * int32 RF_Angle_Pitch = 2; * @return The rFAnglePitch. */ @java.lang.Override public int getRFAnglePitch() { return rFAnglePitch_; } public static final int RF_ANGLE_YAW_FIELD_NUMBER = 3; private int rFAngleYaw_ = 0; /** *
     * 航向角
     * 
* * int32 RF_Angle_Yaw = 3; * @return The rFAngleYaw. */ @java.lang.Override public int getRFAngleYaw() { return rFAngleYaw_; } public static final int RF_DEPTH_FIELD_NUMBER = 4; private int rFDepth_ = 0; /** *
     * 海洋深度
     * 
* * int32 RF_Depth = 4; * @return The rFDepth. */ @java.lang.Override public int getRFDepth() { return rFDepth_; } 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 (rFAngleRoll_ != 0) { output.writeInt32(1, rFAngleRoll_); } if (rFAnglePitch_ != 0) { output.writeInt32(2, rFAnglePitch_); } if (rFAngleYaw_ != 0) { output.writeInt32(3, rFAngleYaw_); } if (rFDepth_ != 0) { output.writeInt32(4, rFDepth_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (rFAngleRoll_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(1, rFAngleRoll_); } if (rFAnglePitch_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(2, rFAnglePitch_); } if (rFAngleYaw_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(3, rFAngleYaw_); } if (rFDepth_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(4, rFDepth_); } 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 com.example.removemarineanimals.models.RobotData.DataTrans)) { return super.equals(obj); } com.example.removemarineanimals.models.RobotData.DataTrans other = (com.example.removemarineanimals.models.RobotData.DataTrans) obj; if (getRFAngleRoll() != other.getRFAngleRoll()) return false; if (getRFAnglePitch() != other.getRFAnglePitch()) return false; if (getRFAngleYaw() != other.getRFAngleYaw()) return false; if (getRFDepth() != other.getRFDepth()) 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) + RF_ANGLE_ROLL_FIELD_NUMBER; hash = (53 * hash) + getRFAngleRoll(); hash = (37 * hash) + RF_ANGLE_PITCH_FIELD_NUMBER; hash = (53 * hash) + getRFAnglePitch(); hash = (37 * hash) + RF_ANGLE_YAW_FIELD_NUMBER; hash = (53 * hash) + getRFAngleYaw(); hash = (37 * hash) + RF_DEPTH_FIELD_NUMBER; hash = (53 * hash) + getRFDepth(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.example.removemarineanimals.models.RobotData.DataTrans parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.example.removemarineanimals.models.RobotData.DataTrans parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.example.removemarineanimals.models.RobotData.DataTrans parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.example.removemarineanimals.models.RobotData.DataTrans parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.example.removemarineanimals.models.RobotData.DataTrans parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.example.removemarineanimals.models.RobotData.DataTrans parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.example.removemarineanimals.models.RobotData.DataTrans parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } public static com.example.removemarineanimals.models.RobotData.DataTrans 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 com.example.removemarineanimals.models.RobotData.DataTrans parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } public static com.example.removemarineanimals.models.RobotData.DataTrans 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 com.example.removemarineanimals.models.RobotData.DataTrans parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } public static com.example.removemarineanimals.models.RobotData.DataTrans 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(com.example.removemarineanimals.models.RobotData.DataTrans 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 DataTrans} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:DataTrans) com.example.removemarineanimals.models.RobotData.DataTransOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.example.removemarineanimals.models.RobotData.internal_static_DataTrans_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.example.removemarineanimals.models.RobotData.internal_static_DataTrans_fieldAccessorTable .ensureFieldAccessorsInitialized( com.example.removemarineanimals.models.RobotData.DataTrans.class, com.example.removemarineanimals.models.RobotData.DataTrans.Builder.class); } // Construct using com.example.removemarineanimals.models.RobotData.DataTrans.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; rFAngleRoll_ = 0; rFAnglePitch_ = 0; rFAngleYaw_ = 0; rFDepth_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.example.removemarineanimals.models.RobotData.internal_static_DataTrans_descriptor; } @java.lang.Override public com.example.removemarineanimals.models.RobotData.DataTrans getDefaultInstanceForType() { return com.example.removemarineanimals.models.RobotData.DataTrans.getDefaultInstance(); } @java.lang.Override public com.example.removemarineanimals.models.RobotData.DataTrans build() { com.example.removemarineanimals.models.RobotData.DataTrans result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.example.removemarineanimals.models.RobotData.DataTrans buildPartial() { com.example.removemarineanimals.models.RobotData.DataTrans result = new com.example.removemarineanimals.models.RobotData.DataTrans(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.example.removemarineanimals.models.RobotData.DataTrans result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.rFAngleRoll_ = rFAngleRoll_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.rFAnglePitch_ = rFAnglePitch_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.rFAngleYaw_ = rFAngleYaw_; } if (((from_bitField0_ & 0x00000008) != 0)) { result.rFDepth_ = rFDepth_; } } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.example.removemarineanimals.models.RobotData.DataTrans) { return mergeFrom((com.example.removemarineanimals.models.RobotData.DataTrans)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.example.removemarineanimals.models.RobotData.DataTrans other) { if (other == com.example.removemarineanimals.models.RobotData.DataTrans.getDefaultInstance()) return this; if (other.getRFAngleRoll() != 0) { setRFAngleRoll(other.getRFAngleRoll()); } if (other.getRFAnglePitch() != 0) { setRFAnglePitch(other.getRFAnglePitch()); } if (other.getRFAngleYaw() != 0) { setRFAngleYaw(other.getRFAngleYaw()); } if (other.getRFDepth() != 0) { setRFDepth(other.getRFDepth()); } 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: { rFAngleRoll_ = input.readInt32(); bitField0_ |= 0x00000001; break; } // case 8 case 16: { rFAnglePitch_ = input.readInt32(); bitField0_ |= 0x00000002; break; } // case 16 case 24: { rFAngleYaw_ = input.readInt32(); bitField0_ |= 0x00000004; break; } // case 24 case 32: { rFDepth_ = 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 rFAngleRoll_ ; /** *
       * 横滚角
       * 
* * int32 RF_Angle_Roll = 1; * @return The rFAngleRoll. */ @java.lang.Override public int getRFAngleRoll() { return rFAngleRoll_; } /** *
       * 横滚角
       * 
* * int32 RF_Angle_Roll = 1; * @param value The rFAngleRoll to set. * @return This builder for chaining. */ public Builder setRFAngleRoll(int value) { rFAngleRoll_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * 横滚角
       * 
* * int32 RF_Angle_Roll = 1; * @return This builder for chaining. */ public Builder clearRFAngleRoll() { bitField0_ = (bitField0_ & ~0x00000001); rFAngleRoll_ = 0; onChanged(); return this; } private int rFAnglePitch_ ; /** *
       * 俯仰角
       * 
* * int32 RF_Angle_Pitch = 2; * @return The rFAnglePitch. */ @java.lang.Override public int getRFAnglePitch() { return rFAnglePitch_; } /** *
       * 俯仰角
       * 
* * int32 RF_Angle_Pitch = 2; * @param value The rFAnglePitch to set. * @return This builder for chaining. */ public Builder setRFAnglePitch(int value) { rFAnglePitch_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * 俯仰角
       * 
* * int32 RF_Angle_Pitch = 2; * @return This builder for chaining. */ public Builder clearRFAnglePitch() { bitField0_ = (bitField0_ & ~0x00000002); rFAnglePitch_ = 0; onChanged(); return this; } private int rFAngleYaw_ ; /** *
       * 航向角
       * 
* * int32 RF_Angle_Yaw = 3; * @return The rFAngleYaw. */ @java.lang.Override public int getRFAngleYaw() { return rFAngleYaw_; } /** *
       * 航向角
       * 
* * int32 RF_Angle_Yaw = 3; * @param value The rFAngleYaw to set. * @return This builder for chaining. */ public Builder setRFAngleYaw(int value) { rFAngleYaw_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * 航向角
       * 
* * int32 RF_Angle_Yaw = 3; * @return This builder for chaining. */ public Builder clearRFAngleYaw() { bitField0_ = (bitField0_ & ~0x00000004); rFAngleYaw_ = 0; onChanged(); return this; } private int rFDepth_ ; /** *
       * 海洋深度
       * 
* * int32 RF_Depth = 4; * @return The rFDepth. */ @java.lang.Override public int getRFDepth() { return rFDepth_; } /** *
       * 海洋深度
       * 
* * int32 RF_Depth = 4; * @param value The rFDepth to set. * @return This builder for chaining. */ public Builder setRFDepth(int value) { rFDepth_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** *
       * 海洋深度
       * 
* * int32 RF_Depth = 4; * @return This builder for chaining. */ public Builder clearRFDepth() { bitField0_ = (bitField0_ & ~0x00000008); rFDepth_ = 0; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:DataTrans) } // @@protoc_insertion_point(class_scope:DataTrans) private static final com.example.removemarineanimals.models.RobotData.DataTrans DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.example.removemarineanimals.models.RobotData.DataTrans(); } public static com.example.removemarineanimals.models.RobotData.DataTrans getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DataTrans 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 com.example.removemarineanimals.models.RobotData.DataTrans getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_DataTrans_descriptor; private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_DataTrans_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\020robot_data.proto\"b\n\tDataTrans\022\025\n\rRF_An" + "gle_Roll\030\001 \001(\005\022\026\n\016RF_Angle_Pitch\030\002 \001(\005\022\024" + "\n\014RF_Angle_Yaw\030\003 \001(\005\022\020\n\010RF_Depth\030\004 \001(\005B*" + "\n&com.example.removemarineanimals.models" + "P\000b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { }); internal_static_DataTrans_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_DataTrans_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_DataTrans_descriptor, new java.lang.String[] { "RFAngleRoll", "RFAnglePitch", "RFAngleYaw", "RFDepth", }); descriptor.resolveAllFeaturesImmutable(); } // @@protoc_insertion_point(outer_class_scope) }