@io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ProcessProposal", requestType = org.hyperledger.fabric.protos.peer.FabricProposal.SignedProposal.class, responseType = org.hyperledger.fabric.protos.peer.FabricProposalResponse.ProposalResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor<org.hyperledger.fabric.protos.peer.FabricProposal.SignedProposal, org.hyperledger.fabric.protos.peer.FabricProposalResponse.ProposalResponse> getProcessProposalMethod() { io.grpc.MethodDescriptor<org.hyperledger.fabric.protos.peer.FabricProposal.SignedProposal, org.hyperledger.fabric.protos.peer.FabricProposalResponse.ProposalResponse> getProcessProposalMethod; if ((getProcessProposalMethod = EndorserGrpc.getProcessProposalMethod) == null) { synchronized (EndorserGrpc.class) { if ((getProcessProposalMethod = EndorserGrpc.getProcessProposalMethod) == null) { EndorserGrpc.getProcessProposalMethod = getProcessProposalMethod = io.grpc.MethodDescriptor.<org.hyperledger.fabric.protos.peer.FabricProposal.SignedProposal, org.hyperledger.fabric.protos.peer.FabricProposalResponse.ProposalResponse>newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName( "protos.Endorser", "ProcessProposal")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.hyperledger.fabric.protos.peer.FabricProposal.SignedProposal.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.hyperledger.fabric.protos.peer.FabricProposalResponse.ProposalResponse.getDefaultInstance())) .setSchemaDescriptor(new EndorserMethodDescriptorSupplier("ProcessProposal")) .build(); } } } return getProcessProposalMethod; }
private static io.grpc.MethodDescriptor<org.hyperledger.fabric.protos.peer.FabricProposal.SignedProposal, org.hyperledger.fabric.protos.peer.FabricProposalResponse.ProposalResponse> getProcessProposalMethodHelper() { io.grpc.MethodDescriptor<org.hyperledger.fabric.protos.peer.FabricProposal.SignedProposal, org.hyperledger.fabric.protos.peer.FabricProposalResponse.ProposalResponse> getProcessProposalMethod; if ((getProcessProposalMethod = EndorserGrpc.getProcessProposalMethod) == null) { synchronized (EndorserGrpc.class) { if ((getProcessProposalMethod = EndorserGrpc.getProcessProposalMethod) == null) { EndorserGrpc.getProcessProposalMethod = getProcessProposalMethod = io.grpc.MethodDescriptor.<org.hyperledger.fabric.protos.peer.FabricProposal.SignedProposal, org.hyperledger.fabric.protos.peer.FabricProposalResponse.ProposalResponse>newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName( "protos.Endorser", "ProcessProposal")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.hyperledger.fabric.protos.peer.FabricProposal.SignedProposal.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.hyperledger.fabric.protos.peer.FabricProposalResponse.ProposalResponse.getDefaultInstance())) .setSchemaDescriptor(new EndorserMethodDescriptorSupplier("ProcessProposal")) .build(); } } } return getProcessProposalMethod; }
/** * <pre> * Signaure over proposalBytes; this signature is to be verified against * the creator identity contained in the header of the Proposal message * marshaled as proposalBytes * </pre> * * <code>optional bytes signature = 2;</code> */ public Builder clearSignature() { signature_ = getDefaultInstance().getSignature(); onChanged(); return this; } public final Builder setUnknownFields(
/** * <pre> * Signaure over proposalBytes; this signature is to be verified against * the creator identity contained in the header of the Proposal message * marshaled as proposalBytes * </pre> * * <code>optional bytes signature = 2;</code> */ public Builder clearSignature() { signature_ = getDefaultInstance().getSignature(); onChanged(); return this; } public final Builder setUnknownFields(
public org.hyperledger.fabric.protos.peer.FabricProposal.SignedProposal getDefaultInstanceForType() { return org.hyperledger.fabric.protos.peer.FabricProposal.SignedProposal.getDefaultInstance(); }
public org.hyperledger.fabric.protos.peer.FabricProposal.SignedProposal getDefaultInstanceForType() { return org.hyperledger.fabric.protos.peer.FabricProposal.SignedProposal.getDefaultInstance(); }
/** * <pre> * The bytes of Proposal * </pre> * * <code>optional bytes proposal_bytes = 1;</code> */ public Builder clearProposalBytes() { proposalBytes_ = getDefaultInstance().getProposalBytes(); onChanged(); return this; }
public Builder mergeFrom(org.hyperledger.fabric.protos.peer.FabricProposal.SignedProposal other) { if (other == org.hyperledger.fabric.protos.peer.FabricProposal.SignedProposal.getDefaultInstance()) return this; if (other.getProposalBytes() != com.google.protobuf.ByteString.EMPTY) { setProposalBytes(other.getProposalBytes()); } if (other.getSignature() != com.google.protobuf.ByteString.EMPTY) { setSignature(other.getSignature()); } onChanged(); return this; }
/** * <pre> * The bytes of Proposal * </pre> * * <code>optional bytes proposal_bytes = 1;</code> */ public Builder clearProposalBytes() { proposalBytes_ = getDefaultInstance().getProposalBytes(); onChanged(); return this; }
public Builder mergeFrom(org.hyperledger.fabric.protos.peer.FabricProposal.SignedProposal other) { if (other == org.hyperledger.fabric.protos.peer.FabricProposal.SignedProposal.getDefaultInstance()) return this; if (other.getProposalBytes() != com.google.protobuf.ByteString.EMPTY) { setProposalBytes(other.getProposalBytes()); } if (other.getSignature() != com.google.protobuf.ByteString.EMPTY) { setSignature(other.getSignature()); } onChanged(); return this; }
@io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ProcessProposal", requestType = org.hyperledger.fabric.protos.peer.FabricProposal.SignedProposal.class, responseType = org.hyperledger.fabric.protos.peer.FabricProposalResponse.ProposalResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor<org.hyperledger.fabric.protos.peer.FabricProposal.SignedProposal, org.hyperledger.fabric.protos.peer.FabricProposalResponse.ProposalResponse> getProcessProposalMethod() { io.grpc.MethodDescriptor<org.hyperledger.fabric.protos.peer.FabricProposal.SignedProposal, org.hyperledger.fabric.protos.peer.FabricProposalResponse.ProposalResponse> getProcessProposalMethod; if ((getProcessProposalMethod = EndorserGrpc.getProcessProposalMethod) == null) { synchronized (EndorserGrpc.class) { if ((getProcessProposalMethod = EndorserGrpc.getProcessProposalMethod) == null) { EndorserGrpc.getProcessProposalMethod = getProcessProposalMethod = io.grpc.MethodDescriptor.<org.hyperledger.fabric.protos.peer.FabricProposal.SignedProposal, org.hyperledger.fabric.protos.peer.FabricProposalResponse.ProposalResponse>newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName( "protos.Endorser", "ProcessProposal")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.hyperledger.fabric.protos.peer.FabricProposal.SignedProposal.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.hyperledger.fabric.protos.peer.FabricProposalResponse.ProposalResponse.getDefaultInstance())) .setSchemaDescriptor(new EndorserMethodDescriptorSupplier("ProcessProposal")) .build(); } } } return getProcessProposalMethod; }
/** * <pre> * Signaure over proposalBytes; this signature is to be verified against * the creator identity contained in the header of the Proposal message * marshaled as proposalBytes * </pre> * * <code>optional bytes signature = 2;</code> */ public Builder clearSignature() { signature_ = getDefaultInstance().getSignature(); onChanged(); return this; } public final Builder setUnknownFields(
public org.hyperledger.fabric.protos.peer.FabricProposal.SignedProposal getDefaultInstanceForType() { return org.hyperledger.fabric.protos.peer.FabricProposal.SignedProposal.getDefaultInstance(); }
/** * <pre> * The bytes of Proposal * </pre> * * <code>optional bytes proposal_bytes = 1;</code> */ public Builder clearProposalBytes() { proposalBytes_ = getDefaultInstance().getProposalBytes(); onChanged(); return this; }
public Builder mergeFrom(org.hyperledger.fabric.protos.peer.FabricProposal.SignedProposal other) { if (other == org.hyperledger.fabric.protos.peer.FabricProposal.SignedProposal.getDefaultInstance()) return this; if (other.getProposalBytes() != com.google.protobuf.ByteString.EMPTY) { setProposalBytes(other.getProposalBytes()); } if (other.getSignature() != com.google.protobuf.ByteString.EMPTY) { setSignature(other.getSignature()); } onChanged(); return this; }