diff --git a/jraft-example/src/main/java/com/alipay/sofa/jraft/example/flexibleRaft/rpc/FlexibleRaftOutter.java b/jraft-example/src/main/java/com/alipay/sofa/jraft/example/flexibleRaft/rpc/FlexibleRaftOutter.java index e3839a6d4..c64a38b68 100644 --- a/jraft-example/src/main/java/com/alipay/sofa/jraft/example/flexibleRaft/rpc/FlexibleRaftOutter.java +++ b/jraft-example/src/main/java/com/alipay/sofa/jraft/example/flexibleRaft/rpc/FlexibleRaftOutter.java @@ -17,7 +17,6 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: counter.proto - package com.alipay.sofa.jraft.example.flexibleRaft.rpc; public final class FlexibleRaftOutter { @@ -115,13 +114,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { protected FieldAccessorTable internalGetFieldAccessorTable() { return FlexibleRaftOutter.internal_static_jraft_FlexibleGetValueRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - FlexibleGetValueRequest.class, FlexibleGetValueRequest.Builder.class); + .ensureFieldAccessorsInitialized(FlexibleGetValueRequest.class, FlexibleGetValueRequest.Builder.class); } private int bitField0_; - public static final int READONLYSAFE_FIELD_NUMBER = 1; - private boolean readOnlySafe_; + public static final int READONLYSAFE_FIELD_NUMBER = 1; + private boolean readOnlySafe_; /** * required bool readOnlySafe = 1; @@ -325,10 +323,12 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + @Override public boolean getReadOnlySafe() { return readOnlySafe_; } + private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { } @@ -442,7 +442,7 @@ public Builder mergeFrom(com.google.protobuf.CodedInputStream input, return this; } - private int bitField0_; + private int bitField0_; private boolean readOnlySafe_; @@ -452,11 +452,11 @@ public Builder mergeFrom(com.google.protobuf.CodedInputStream input, public boolean hasReadOnlySafe() { return ((bitField0_ & 0x00000001) == 0x00000001); } + /** * required bool readOnlySafe = 1; */ - /** * repeated bool readOnlySafe = 1; */