@io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "DeliverFiltered", requestType = org.hyperledger.fabric.protos.common.Common.Envelope.class, responseType = org.hyperledger.fabric.protos.peer.PeerEvents.DeliverResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) public static io.grpc.MethodDescriptor<org.hyperledger.fabric.protos.common.Common.Envelope, org.hyperledger.fabric.protos.peer.PeerEvents.DeliverResponse> getDeliverFilteredMethod() { io.grpc.MethodDescriptor<org.hyperledger.fabric.protos.common.Common.Envelope, org.hyperledger.fabric.protos.peer.PeerEvents.DeliverResponse> getDeliverFilteredMethod; if ((getDeliverFilteredMethod = DeliverGrpc.getDeliverFilteredMethod) == null) { synchronized (DeliverGrpc.class) { if ((getDeliverFilteredMethod = DeliverGrpc.getDeliverFilteredMethod) == null) { DeliverGrpc.getDeliverFilteredMethod = getDeliverFilteredMethod = io.grpc.MethodDescriptor.<org.hyperledger.fabric.protos.common.Common.Envelope, org.hyperledger.fabric.protos.peer.PeerEvents.DeliverResponse>newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) .setFullMethodName(generateFullMethodName( "protos.Deliver", "DeliverFiltered")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.hyperledger.fabric.protos.common.Common.Envelope.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.hyperledger.fabric.protos.peer.PeerEvents.DeliverResponse.getDefaultInstance())) .setSchemaDescriptor(new DeliverMethodDescriptorSupplier("DeliverFiltered")) .build(); } } } return getDeliverFilteredMethod; }
@io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "Deliver", requestType = org.hyperledger.fabric.protos.common.Common.Envelope.class, responseType = org.hyperledger.fabric.protos.peer.PeerEvents.DeliverResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) public static io.grpc.MethodDescriptor<org.hyperledger.fabric.protos.common.Common.Envelope, org.hyperledger.fabric.protos.peer.PeerEvents.DeliverResponse> getDeliverMethod() { io.grpc.MethodDescriptor<org.hyperledger.fabric.protos.common.Common.Envelope, org.hyperledger.fabric.protos.peer.PeerEvents.DeliverResponse> getDeliverMethod; if ((getDeliverMethod = DeliverGrpc.getDeliverMethod) == null) { synchronized (DeliverGrpc.class) { if ((getDeliverMethod = DeliverGrpc.getDeliverMethod) == null) { DeliverGrpc.getDeliverMethod = getDeliverMethod = io.grpc.MethodDescriptor.<org.hyperledger.fabric.protos.common.Common.Envelope, org.hyperledger.fabric.protos.peer.PeerEvents.DeliverResponse>newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) .setFullMethodName(generateFullMethodName( "protos.Deliver", "Deliver")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.hyperledger.fabric.protos.common.Common.Envelope.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.hyperledger.fabric.protos.peer.PeerEvents.DeliverResponse.getDefaultInstance())) .setSchemaDescriptor(new DeliverMethodDescriptorSupplier("Deliver")) .build(); } } } return getDeliverMethod; }
public Builder mergeFrom(org.hyperledger.fabric.protos.peer.PeerEvents.DeliverResponse other) { if (other == org.hyperledger.fabric.protos.peer.PeerEvents.DeliverResponse.getDefaultInstance()) return this; switch (other.getTypeCase()) { case STATUS: { setStatusValue(other.getStatusValue()); break; } case BLOCK: { mergeBlock(other.getBlock()); break; } case FILTERED_BLOCK: { mergeFilteredBlock(other.getFilteredBlock()); break; } case TYPE_NOT_SET: { break; } } onChanged(); return this; }
private static io.grpc.MethodDescriptor<org.hyperledger.fabric.protos.common.Common.Envelope, org.hyperledger.fabric.protos.peer.PeerEvents.DeliverResponse> getDeliverMethodHelper() { io.grpc.MethodDescriptor<org.hyperledger.fabric.protos.common.Common.Envelope, org.hyperledger.fabric.protos.peer.PeerEvents.DeliverResponse> getDeliverMethod; if ((getDeliverMethod = DeliverGrpc.getDeliverMethod) == null) { synchronized (DeliverGrpc.class) { if ((getDeliverMethod = DeliverGrpc.getDeliverMethod) == null) { DeliverGrpc.getDeliverMethod = getDeliverMethod = io.grpc.MethodDescriptor.<org.hyperledger.fabric.protos.common.Common.Envelope, org.hyperledger.fabric.protos.peer.PeerEvents.DeliverResponse>newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) .setFullMethodName(generateFullMethodName( "protos.Deliver", "Deliver")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.hyperledger.fabric.protos.common.Common.Envelope.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.hyperledger.fabric.protos.peer.PeerEvents.DeliverResponse.getDefaultInstance())) .setSchemaDescriptor(new DeliverMethodDescriptorSupplier("Deliver")) .build(); } } } return getDeliverMethod; } @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901")
public Builder mergeFrom(org.hyperledger.fabric.protos.peer.PeerEvents.DeliverResponse other) { if (other == org.hyperledger.fabric.protos.peer.PeerEvents.DeliverResponse.getDefaultInstance()) return this; switch (other.getTypeCase()) { case STATUS: { setStatusValue(other.getStatusValue()); break; } case BLOCK: { mergeBlock(other.getBlock()); break; } case FILTERED_BLOCK: { mergeFilteredBlock(other.getFilteredBlock()); break; } case TYPE_NOT_SET: { break; } } onChanged(); return this; }
private static io.grpc.MethodDescriptor<org.hyperledger.fabric.protos.common.Common.Envelope, org.hyperledger.fabric.protos.peer.PeerEvents.DeliverResponse> getDeliverFilteredMethodHelper() { io.grpc.MethodDescriptor<org.hyperledger.fabric.protos.common.Common.Envelope, org.hyperledger.fabric.protos.peer.PeerEvents.DeliverResponse> getDeliverFilteredMethod; if ((getDeliverFilteredMethod = DeliverGrpc.getDeliverFilteredMethod) == null) { synchronized (DeliverGrpc.class) { if ((getDeliverFilteredMethod = DeliverGrpc.getDeliverFilteredMethod) == null) { DeliverGrpc.getDeliverFilteredMethod = getDeliverFilteredMethod = io.grpc.MethodDescriptor.<org.hyperledger.fabric.protos.common.Common.Envelope, org.hyperledger.fabric.protos.peer.PeerEvents.DeliverResponse>newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) .setFullMethodName(generateFullMethodName( "protos.Deliver", "DeliverFiltered")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.hyperledger.fabric.protos.common.Common.Envelope.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.hyperledger.fabric.protos.peer.PeerEvents.DeliverResponse.getDefaultInstance())) .setSchemaDescriptor(new DeliverMethodDescriptorSupplier("DeliverFiltered")) .build(); } } } return getDeliverFilteredMethod; }
public org.hyperledger.fabric.protos.peer.PeerEvents.DeliverResponse getDefaultInstanceForType() { return org.hyperledger.fabric.protos.peer.PeerEvents.DeliverResponse.getDefaultInstance(); }
public org.hyperledger.fabric.protos.peer.PeerEvents.DeliverResponse getDefaultInstanceForType() { return org.hyperledger.fabric.protos.peer.PeerEvents.DeliverResponse.getDefaultInstance(); }
@io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "DeliverFiltered", requestType = org.hyperledger.fabric.protos.common.Common.Envelope.class, responseType = org.hyperledger.fabric.protos.peer.PeerEvents.DeliverResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) public static io.grpc.MethodDescriptor<org.hyperledger.fabric.protos.common.Common.Envelope, org.hyperledger.fabric.protos.peer.PeerEvents.DeliverResponse> getDeliverFilteredMethod() { io.grpc.MethodDescriptor<org.hyperledger.fabric.protos.common.Common.Envelope, org.hyperledger.fabric.protos.peer.PeerEvents.DeliverResponse> getDeliverFilteredMethod; if ((getDeliverFilteredMethod = DeliverGrpc.getDeliverFilteredMethod) == null) { synchronized (DeliverGrpc.class) { if ((getDeliverFilteredMethod = DeliverGrpc.getDeliverFilteredMethod) == null) { DeliverGrpc.getDeliverFilteredMethod = getDeliverFilteredMethod = io.grpc.MethodDescriptor.<org.hyperledger.fabric.protos.common.Common.Envelope, org.hyperledger.fabric.protos.peer.PeerEvents.DeliverResponse>newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) .setFullMethodName(generateFullMethodName( "protos.Deliver", "DeliverFiltered")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.hyperledger.fabric.protos.common.Common.Envelope.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.hyperledger.fabric.protos.peer.PeerEvents.DeliverResponse.getDefaultInstance())) .setSchemaDescriptor(new DeliverMethodDescriptorSupplier("DeliverFiltered")) .build(); } } } return getDeliverFilteredMethod; }
@io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "Deliver", requestType = org.hyperledger.fabric.protos.common.Common.Envelope.class, responseType = org.hyperledger.fabric.protos.peer.PeerEvents.DeliverResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) public static io.grpc.MethodDescriptor<org.hyperledger.fabric.protos.common.Common.Envelope, org.hyperledger.fabric.protos.peer.PeerEvents.DeliverResponse> getDeliverMethod() { io.grpc.MethodDescriptor<org.hyperledger.fabric.protos.common.Common.Envelope, org.hyperledger.fabric.protos.peer.PeerEvents.DeliverResponse> getDeliverMethod; if ((getDeliverMethod = DeliverGrpc.getDeliverMethod) == null) { synchronized (DeliverGrpc.class) { if ((getDeliverMethod = DeliverGrpc.getDeliverMethod) == null) { DeliverGrpc.getDeliverMethod = getDeliverMethod = io.grpc.MethodDescriptor.<org.hyperledger.fabric.protos.common.Common.Envelope, org.hyperledger.fabric.protos.peer.PeerEvents.DeliverResponse>newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) .setFullMethodName(generateFullMethodName( "protos.Deliver", "Deliver")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.hyperledger.fabric.protos.common.Common.Envelope.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.hyperledger.fabric.protos.peer.PeerEvents.DeliverResponse.getDefaultInstance())) .setSchemaDescriptor(new DeliverMethodDescriptorSupplier("Deliver")) .build(); } } } return getDeliverMethod; }
public Builder mergeFrom(org.hyperledger.fabric.protos.peer.PeerEvents.DeliverResponse other) { if (other == org.hyperledger.fabric.protos.peer.PeerEvents.DeliverResponse.getDefaultInstance()) return this; switch (other.getTypeCase()) { case STATUS: { setStatusValue(other.getStatusValue()); break; } case BLOCK: { mergeBlock(other.getBlock()); break; } case FILTERED_BLOCK: { mergeFilteredBlock(other.getFilteredBlock()); break; } case TYPE_NOT_SET: { break; } } onChanged(); return this; }
public org.hyperledger.fabric.protos.peer.PeerEvents.DeliverResponse getDefaultInstanceForType() { return org.hyperledger.fabric.protos.peer.PeerEvents.DeliverResponse.getDefaultInstance(); }