public org.apache.ratis.proto.netty.NettyProtos.RaftNettyServerRequestProto build() { org.apache.ratis.proto.netty.NettyProtos.RaftNettyServerRequestProto result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
/** * <code>bytes exception = 2;</code> */ public Builder clearException() { exception_ = getDefaultInstance().getException(); onChanged(); return this; } public final Builder setUnknownFields(
public org.apache.ratis.proto.netty.NettyProtos.RaftNettyExceptionReplyProto build() { org.apache.ratis.proto.netty.NettyProtos.RaftNettyExceptionReplyProto result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
public Builder mergeFrom(org.apache.ratis.proto.netty.NettyProtos.RaftNettyExceptionReplyProto other) { if (other == org.apache.ratis.proto.netty.NettyProtos.RaftNettyExceptionReplyProto.getDefaultInstance()) return this; if (other.hasRpcReply()) { mergeRpcReply(other.getRpcReply()); } if (other.getException() != org.apache.ratis.thirdparty.com.google.protobuf.ByteString.EMPTY) { setException(other.getException()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
public org.apache.ratis.proto.netty.NettyProtos.RaftNettyServerReplyProto build() { org.apache.ratis.proto.netty.NettyProtos.RaftNettyServerReplyProto result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
/** * <code>.ratis.common.RaftRpcReplyProto rpcReply = 1;</code> */ public org.apache.ratis.proto.RaftProtos.RaftRpcReplyProtoOrBuilder getRpcReplyOrBuilder() { return getRpcReply(); }
public RaftNettyServerRequestCase getRaftNettyServerRequestCase() { return RaftNettyServerRequestCase.forNumber( raftNettyServerRequestCase_); }
@java.lang.Override protected Builder newBuilderForType( org.apache.ratis.thirdparty.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /**
public Builder clearRaftNettyServerRequest() { raftNettyServerRequestCase_ = 0; raftNettyServerRequest_ = null; onChanged(); return this; }
private Builder( org.apache.ratis.thirdparty.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() {
public RaftNettyServerReplyCase getRaftNettyServerReplyCase() { return RaftNettyServerReplyCase.forNumber( raftNettyServerReplyCase_); }
@java.lang.Override protected Builder newBuilderForType( org.apache.ratis.thirdparty.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /**
private Builder( org.apache.ratis.thirdparty.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() {
/** * <code>.ratis.netty.RaftNettyExceptionReplyProto exceptionReply = 7;</code> */ public org.apache.ratis.proto.netty.NettyProtos.RaftNettyExceptionReplyProtoOrBuilder getExceptionReplyOrBuilder() { if (raftNettyServerReplyCase_ == 7) { return (org.apache.ratis.proto.netty.NettyProtos.RaftNettyExceptionReplyProto) raftNettyServerReply_; } return org.apache.ratis.proto.netty.NettyProtos.RaftNettyExceptionReplyProto.getDefaultInstance(); }
public static void registerAllExtensions( org.apache.ratis.thirdparty.com.google.protobuf.ExtensionRegistry registry) { registerAllExtensions( (org.apache.ratis.thirdparty.com.google.protobuf.ExtensionRegistryLite) registry); } public interface RaftNettyExceptionReplyProtoOrBuilder extends
public Builder clearRaftNettyServerReply() { raftNettyServerReplyCase_ = 0; raftNettyServerReply_ = null; onChanged(); return this; }
public RaftNettyServerRequestCase getRaftNettyServerRequestCase() { return RaftNettyServerRequestCase.forNumber( raftNettyServerRequestCase_); }