|
|
@ -52,6 +52,18 @@ public final class BspPV { |
|
|
* @return The stepLen. |
|
|
* @return The stepLen. |
|
|
*/ |
|
|
*/ |
|
|
int getStepLen(); |
|
|
int getStepLen(); |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
* <code>int32 scan_len = 5;</code> |
|
|
|
|
|
* @return The scanLen. |
|
|
|
|
|
*/ |
|
|
|
|
|
int getScanLen(); |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
* <code>int32 scan_back_len = 6;</code> |
|
|
|
|
|
* @return The scanBackLen. |
|
|
|
|
|
*/ |
|
|
|
|
|
int getScanBackLen(); |
|
|
} |
|
|
} |
|
|
/** |
|
|
/** |
|
|
* Protobuf type {@code PV_struct_define} |
|
|
* Protobuf type {@code PV_struct_define} |
|
|
@ -134,6 +146,28 @@ public final class BspPV { |
|
|
return stepLen_; |
|
|
return stepLen_; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public static final int SCAN_LEN_FIELD_NUMBER = 5; |
|
|
|
|
|
private int scanLen_ = 0; |
|
|
|
|
|
/** |
|
|
|
|
|
* <code>int32 scan_len = 5;</code> |
|
|
|
|
|
* @return The scanLen. |
|
|
|
|
|
*/ |
|
|
|
|
|
@java.lang.Override |
|
|
|
|
|
public int getScanLen() { |
|
|
|
|
|
return scanLen_; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public static final int SCAN_BACK_LEN_FIELD_NUMBER = 6; |
|
|
|
|
|
private int scanBackLen_ = 0; |
|
|
|
|
|
/** |
|
|
|
|
|
* <code>int32 scan_back_len = 6;</code> |
|
|
|
|
|
* @return The scanBackLen. |
|
|
|
|
|
*/ |
|
|
|
|
|
@java.lang.Override |
|
|
|
|
|
public int getScanBackLen() { |
|
|
|
|
|
return scanBackLen_; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
private byte memoizedIsInitialized = -1; |
|
|
private byte memoizedIsInitialized = -1; |
|
|
@java.lang.Override |
|
|
@java.lang.Override |
|
|
public final boolean isInitialized() { |
|
|
public final boolean isInitialized() { |
|
|
@ -160,6 +194,12 @@ public final class BspPV { |
|
|
if (stepLen_ != 0) { |
|
|
if (stepLen_ != 0) { |
|
|
output.writeInt32(4, stepLen_); |
|
|
output.writeInt32(4, stepLen_); |
|
|
} |
|
|
} |
|
|
|
|
|
if (scanLen_ != 0) { |
|
|
|
|
|
output.writeInt32(5, scanLen_); |
|
|
|
|
|
} |
|
|
|
|
|
if (scanBackLen_ != 0) { |
|
|
|
|
|
output.writeInt32(6, scanBackLen_); |
|
|
|
|
|
} |
|
|
getUnknownFields().writeTo(output); |
|
|
getUnknownFields().writeTo(output); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@ -185,6 +225,14 @@ public final class BspPV { |
|
|
size += com.google.protobuf.CodedOutputStream |
|
|
size += com.google.protobuf.CodedOutputStream |
|
|
.computeInt32Size(4, stepLen_); |
|
|
.computeInt32Size(4, stepLen_); |
|
|
} |
|
|
} |
|
|
|
|
|
if (scanLen_ != 0) { |
|
|
|
|
|
size += com.google.protobuf.CodedOutputStream |
|
|
|
|
|
.computeInt32Size(5, scanLen_); |
|
|
|
|
|
} |
|
|
|
|
|
if (scanBackLen_ != 0) { |
|
|
|
|
|
size += com.google.protobuf.CodedOutputStream |
|
|
|
|
|
.computeInt32Size(6, scanBackLen_); |
|
|
|
|
|
} |
|
|
size += getUnknownFields().getSerializedSize(); |
|
|
size += getUnknownFields().getSerializedSize(); |
|
|
memoizedSize = size; |
|
|
memoizedSize = size; |
|
|
return size; |
|
|
return size; |
|
|
@ -208,6 +256,10 @@ public final class BspPV { |
|
|
!= other.getMainAxisSpeed()) return false; |
|
|
!= other.getMainAxisSpeed()) return false; |
|
|
if (getStepLen() |
|
|
if (getStepLen() |
|
|
!= other.getStepLen()) return false; |
|
|
!= other.getStepLen()) return false; |
|
|
|
|
|
if (getScanLen() |
|
|
|
|
|
!= other.getScanLen()) return false; |
|
|
|
|
|
if (getScanBackLen() |
|
|
|
|
|
!= other.getScanBackLen()) return false; |
|
|
if (!getUnknownFields().equals(other.getUnknownFields())) return false; |
|
|
if (!getUnknownFields().equals(other.getUnknownFields())) return false; |
|
|
return true; |
|
|
return true; |
|
|
} |
|
|
} |
|
|
@ -227,6 +279,10 @@ public final class BspPV { |
|
|
hash = (53 * hash) + getMainAxisSpeed(); |
|
|
hash = (53 * hash) + getMainAxisSpeed(); |
|
|
hash = (37 * hash) + STEP_LEN_FIELD_NUMBER; |
|
|
hash = (37 * hash) + STEP_LEN_FIELD_NUMBER; |
|
|
hash = (53 * hash) + getStepLen(); |
|
|
hash = (53 * hash) + getStepLen(); |
|
|
|
|
|
hash = (37 * hash) + SCAN_LEN_FIELD_NUMBER; |
|
|
|
|
|
hash = (53 * hash) + getScanLen(); |
|
|
|
|
|
hash = (37 * hash) + SCAN_BACK_LEN_FIELD_NUMBER; |
|
|
|
|
|
hash = (53 * hash) + getScanBackLen(); |
|
|
hash = (29 * hash) + getUnknownFields().hashCode(); |
|
|
hash = (29 * hash) + getUnknownFields().hashCode(); |
|
|
memoizedHashCode = hash; |
|
|
memoizedHashCode = hash; |
|
|
return hash; |
|
|
return hash; |
|
|
@ -362,6 +418,8 @@ public final class BspPV { |
|
|
knifeDescendingHeight_ = 0; |
|
|
knifeDescendingHeight_ = 0; |
|
|
mainAxisSpeed_ = 0; |
|
|
mainAxisSpeed_ = 0; |
|
|
stepLen_ = 0; |
|
|
stepLen_ = 0; |
|
|
|
|
|
scanLen_ = 0; |
|
|
|
|
|
scanBackLen_ = 0; |
|
|
return this; |
|
|
return this; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@ -407,6 +465,12 @@ public final class BspPV { |
|
|
if (((from_bitField0_ & 0x00000008) != 0)) { |
|
|
if (((from_bitField0_ & 0x00000008) != 0)) { |
|
|
result.stepLen_ = stepLen_; |
|
|
result.stepLen_ = stepLen_; |
|
|
} |
|
|
} |
|
|
|
|
|
if (((from_bitField0_ & 0x00000010) != 0)) { |
|
|
|
|
|
result.scanLen_ = scanLen_; |
|
|
|
|
|
} |
|
|
|
|
|
if (((from_bitField0_ & 0x00000020) != 0)) { |
|
|
|
|
|
result.scanBackLen_ = scanBackLen_; |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@java.lang.Override |
|
|
@java.lang.Override |
|
|
@ -433,6 +497,12 @@ public final class BspPV { |
|
|
if (other.getStepLen() != 0) { |
|
|
if (other.getStepLen() != 0) { |
|
|
setStepLen(other.getStepLen()); |
|
|
setStepLen(other.getStepLen()); |
|
|
} |
|
|
} |
|
|
|
|
|
if (other.getScanLen() != 0) { |
|
|
|
|
|
setScanLen(other.getScanLen()); |
|
|
|
|
|
} |
|
|
|
|
|
if (other.getScanBackLen() != 0) { |
|
|
|
|
|
setScanBackLen(other.getScanBackLen()); |
|
|
|
|
|
} |
|
|
this.mergeUnknownFields(other.getUnknownFields()); |
|
|
this.mergeUnknownFields(other.getUnknownFields()); |
|
|
onChanged(); |
|
|
onChanged(); |
|
|
return this; |
|
|
return this; |
|
|
@ -479,6 +549,16 @@ public final class BspPV { |
|
|
bitField0_ |= 0x00000008; |
|
|
bitField0_ |= 0x00000008; |
|
|
break; |
|
|
break; |
|
|
} // case 32
|
|
|
} // case 32
|
|
|
|
|
|
case 40: { |
|
|
|
|
|
scanLen_ = input.readInt32(); |
|
|
|
|
|
bitField0_ |= 0x00000010; |
|
|
|
|
|
break; |
|
|
|
|
|
} // case 40
|
|
|
|
|
|
case 48: { |
|
|
|
|
|
scanBackLen_ = input.readInt32(); |
|
|
|
|
|
bitField0_ |= 0x00000020; |
|
|
|
|
|
break; |
|
|
|
|
|
} // case 48
|
|
|
default: { |
|
|
default: { |
|
|
if (!super.parseUnknownField(input, extensionRegistry, tag)) { |
|
|
if (!super.parseUnknownField(input, extensionRegistry, tag)) { |
|
|
done = true; // was an endgroup tag
|
|
|
done = true; // was an endgroup tag
|
|
|
@ -624,6 +704,70 @@ public final class BspPV { |
|
|
return this; |
|
|
return this; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private int scanLen_ ; |
|
|
|
|
|
/** |
|
|
|
|
|
* <code>int32 scan_len = 5;</code> |
|
|
|
|
|
* @return The scanLen. |
|
|
|
|
|
*/ |
|
|
|
|
|
@java.lang.Override |
|
|
|
|
|
public int getScanLen() { |
|
|
|
|
|
return scanLen_; |
|
|
|
|
|
} |
|
|
|
|
|
/** |
|
|
|
|
|
* <code>int32 scan_len = 5;</code> |
|
|
|
|
|
* @param value The scanLen to set. |
|
|
|
|
|
* @return This builder for chaining. |
|
|
|
|
|
*/ |
|
|
|
|
|
public Builder setScanLen(int value) { |
|
|
|
|
|
|
|
|
|
|
|
scanLen_ = value; |
|
|
|
|
|
bitField0_ |= 0x00000010; |
|
|
|
|
|
onChanged(); |
|
|
|
|
|
return this; |
|
|
|
|
|
} |
|
|
|
|
|
/** |
|
|
|
|
|
* <code>int32 scan_len = 5;</code> |
|
|
|
|
|
* @return This builder for chaining. |
|
|
|
|
|
*/ |
|
|
|
|
|
public Builder clearScanLen() { |
|
|
|
|
|
bitField0_ = (bitField0_ & ~0x00000010); |
|
|
|
|
|
scanLen_ = 0; |
|
|
|
|
|
onChanged(); |
|
|
|
|
|
return this; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private int scanBackLen_ ; |
|
|
|
|
|
/** |
|
|
|
|
|
* <code>int32 scan_back_len = 6;</code> |
|
|
|
|
|
* @return The scanBackLen. |
|
|
|
|
|
*/ |
|
|
|
|
|
@java.lang.Override |
|
|
|
|
|
public int getScanBackLen() { |
|
|
|
|
|
return scanBackLen_; |
|
|
|
|
|
} |
|
|
|
|
|
/** |
|
|
|
|
|
* <code>int32 scan_back_len = 6;</code> |
|
|
|
|
|
* @param value The scanBackLen to set. |
|
|
|
|
|
* @return This builder for chaining. |
|
|
|
|
|
*/ |
|
|
|
|
|
public Builder setScanBackLen(int value) { |
|
|
|
|
|
|
|
|
|
|
|
scanBackLen_ = value; |
|
|
|
|
|
bitField0_ |= 0x00000020; |
|
|
|
|
|
onChanged(); |
|
|
|
|
|
return this; |
|
|
|
|
|
} |
|
|
|
|
|
/** |
|
|
|
|
|
* <code>int32 scan_back_len = 6;</code> |
|
|
|
|
|
* @return This builder for chaining. |
|
|
|
|
|
*/ |
|
|
|
|
|
public Builder clearScanBackLen() { |
|
|
|
|
|
bitField0_ = (bitField0_ & ~0x00000020); |
|
|
|
|
|
scanBackLen_ = 0; |
|
|
|
|
|
onChanged(); |
|
|
|
|
|
return this; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
// @@protoc_insertion_point(builder_scope:PV_struct_define)
|
|
|
// @@protoc_insertion_point(builder_scope:PV_struct_define)
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@ -689,11 +833,12 @@ public final class BspPV { |
|
|
descriptor; |
|
|
descriptor; |
|
|
static { |
|
|
static { |
|
|
java.lang.String[] descriptorData = { |
|
|
java.lang.String[] descriptorData = { |
|
|
"\n\014bsp_PV.proto\"|\n\020PV_struct_define\022\034\n\024ro" + |
|
|
"\n\014bsp_PV.proto\"\245\001\n\020PV_struct_define\022\034\n\024r" + |
|
|
"bot_operation_mode\030\001 \001(\005\022\037\n\027knife_descen" + |
|
|
"obot_operation_mode\030\001 \001(\005\022\037\n\027knife_desce" + |
|
|
"ding_height\030\002 \001(\005\022\027\n\017main_axis_speed\030\003 \001" + |
|
|
"nding_height\030\002 \001(\005\022\027\n\017main_axis_speed\030\003 " + |
|
|
"(\005\022\020\n\010step_len\030\004 \001(\005B%\n!com.example.diao" + |
|
|
"\001(\005\022\020\n\010step_len\030\004 \001(\005\022\020\n\010scan_len\030\005 \001(\005\022" + |
|
|
"erqiegeapp.modelsP\000b\006proto3" |
|
|
"\025\n\rscan_back_len\030\006 \001(\005B%\n!com.example.di" + |
|
|
|
|
|
"aoerqiegeapp.modelsP\000b\006proto3" |
|
|
}; |
|
|
}; |
|
|
descriptor = com.google.protobuf.Descriptors.FileDescriptor |
|
|
descriptor = com.google.protobuf.Descriptors.FileDescriptor |
|
|
.internalBuildGeneratedFileFrom(descriptorData, |
|
|
.internalBuildGeneratedFileFrom(descriptorData, |
|
|
@ -704,7 +849,7 @@ public final class BspPV { |
|
|
internal_static_PV_struct_define_fieldAccessorTable = new |
|
|
internal_static_PV_struct_define_fieldAccessorTable = new |
|
|
com.google.protobuf.GeneratedMessage.FieldAccessorTable( |
|
|
com.google.protobuf.GeneratedMessage.FieldAccessorTable( |
|
|
internal_static_PV_struct_define_descriptor, |
|
|
internal_static_PV_struct_define_descriptor, |
|
|
new java.lang.String[] { "RobotOperationMode", "KnifeDescendingHeight", "MainAxisSpeed", "StepLen", }); |
|
|
new java.lang.String[] { "RobotOperationMode", "KnifeDescendingHeight", "MainAxisSpeed", "StepLen", "ScanLen", "ScanBackLen", }); |
|
|
descriptor.resolveAllFeaturesImmutable(); |
|
|
descriptor.resolveAllFeaturesImmutable(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|