@io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "Chat", requestType = org.hyperledger.fabric.protos.peer.PeerEvents.SignedEvent.class, responseType = org.hyperledger.fabric.protos.peer.PeerEvents.Event.class, methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) public static io.grpc.MethodDescriptor<org.hyperledger.fabric.protos.peer.PeerEvents.SignedEvent, org.hyperledger.fabric.protos.peer.PeerEvents.Event> getChatMethod() { io.grpc.MethodDescriptor<org.hyperledger.fabric.protos.peer.PeerEvents.SignedEvent, org.hyperledger.fabric.protos.peer.PeerEvents.Event> getChatMethod; if ((getChatMethod = EventsGrpc.getChatMethod) == null) { synchronized (EventsGrpc.class) { if ((getChatMethod = EventsGrpc.getChatMethod) == null) { EventsGrpc.getChatMethod = getChatMethod = io.grpc.MethodDescriptor.<org.hyperledger.fabric.protos.peer.PeerEvents.SignedEvent, org.hyperledger.fabric.protos.peer.PeerEvents.Event>newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) .setFullMethodName(generateFullMethodName( "protos.Events", "Chat")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.hyperledger.fabric.protos.peer.PeerEvents.SignedEvent.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.hyperledger.fabric.protos.peer.PeerEvents.Event.getDefaultInstance())) .setSchemaDescriptor(new EventsMethodDescriptorSupplier("Chat")) .build(); } } } return getChatMethod; }
private static io.grpc.MethodDescriptor<org.hyperledger.fabric.protos.peer.PeerEvents.SignedEvent, org.hyperledger.fabric.protos.peer.PeerEvents.Event> getChatMethodHelper() { io.grpc.MethodDescriptor<org.hyperledger.fabric.protos.peer.PeerEvents.SignedEvent, org.hyperledger.fabric.protos.peer.PeerEvents.Event> getChatMethod; if ((getChatMethod = EventsGrpc.getChatMethod) == null) { synchronized (EventsGrpc.class) { if ((getChatMethod = EventsGrpc.getChatMethod) == null) { EventsGrpc.getChatMethod = getChatMethod = io.grpc.MethodDescriptor.<org.hyperledger.fabric.protos.peer.PeerEvents.SignedEvent, org.hyperledger.fabric.protos.peer.PeerEvents.Event>newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) .setFullMethodName(generateFullMethodName( "protos.Events", "Chat")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.hyperledger.fabric.protos.peer.PeerEvents.SignedEvent.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.hyperledger.fabric.protos.peer.PeerEvents.Event.getDefaultInstance())) .setSchemaDescriptor(new EventsMethodDescriptorSupplier("Chat")) .build(); } } } return getChatMethod; }
public org.hyperledger.fabric.protos.peer.PeerEvents.SignedEvent getDefaultInstanceForType() { return org.hyperledger.fabric.protos.peer.PeerEvents.SignedEvent.getDefaultInstance(); }
public org.hyperledger.fabric.protos.peer.PeerEvents.SignedEvent getDefaultInstanceForType() { return org.hyperledger.fabric.protos.peer.PeerEvents.SignedEvent.getDefaultInstance(); }
/** * <pre> * Marshal of Event object * </pre> * * <code>optional bytes eventBytes = 2;</code> */ public Builder clearEventBytes() { eventBytes_ = getDefaultInstance().getEventBytes(); onChanged(); return this; } public final Builder setUnknownFields(
/** * <pre> * Marshal of Event object * </pre> * * <code>optional bytes eventBytes = 2;</code> */ public Builder clearEventBytes() { eventBytes_ = getDefaultInstance().getEventBytes(); onChanged(); return this; } public final Builder setUnknownFields(
/** * <pre> * Signature over the event bytes * </pre> * * <code>optional bytes signature = 1;</code> */ public Builder clearSignature() { signature_ = getDefaultInstance().getSignature(); onChanged(); return this; }
public Builder mergeFrom(org.hyperledger.fabric.protos.peer.PeerEvents.SignedEvent other) { if (other == org.hyperledger.fabric.protos.peer.PeerEvents.SignedEvent.getDefaultInstance()) return this; if (other.getSignature() != com.google.protobuf.ByteString.EMPTY) { setSignature(other.getSignature()); } if (other.getEventBytes() != com.google.protobuf.ByteString.EMPTY) { setEventBytes(other.getEventBytes()); } onChanged(); return this; }
/** * <pre> * Signature over the event bytes * </pre> * * <code>optional bytes signature = 1;</code> */ public Builder clearSignature() { signature_ = getDefaultInstance().getSignature(); onChanged(); return this; }
public Builder mergeFrom(org.hyperledger.fabric.protos.peer.PeerEvents.SignedEvent other) { if (other == org.hyperledger.fabric.protos.peer.PeerEvents.SignedEvent.getDefaultInstance()) return this; if (other.getSignature() != com.google.protobuf.ByteString.EMPTY) { setSignature(other.getSignature()); } if (other.getEventBytes() != com.google.protobuf.ByteString.EMPTY) { setEventBytes(other.getEventBytes()); } onChanged(); return this; }
@io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "Chat", requestType = org.hyperledger.fabric.protos.peer.PeerEvents.SignedEvent.class, responseType = org.hyperledger.fabric.protos.peer.PeerEvents.Event.class, methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) public static io.grpc.MethodDescriptor<org.hyperledger.fabric.protos.peer.PeerEvents.SignedEvent, org.hyperledger.fabric.protos.peer.PeerEvents.Event> getChatMethod() { io.grpc.MethodDescriptor<org.hyperledger.fabric.protos.peer.PeerEvents.SignedEvent, org.hyperledger.fabric.protos.peer.PeerEvents.Event> getChatMethod; if ((getChatMethod = EventsGrpc.getChatMethod) == null) { synchronized (EventsGrpc.class) { if ((getChatMethod = EventsGrpc.getChatMethod) == null) { EventsGrpc.getChatMethod = getChatMethod = io.grpc.MethodDescriptor.<org.hyperledger.fabric.protos.peer.PeerEvents.SignedEvent, org.hyperledger.fabric.protos.peer.PeerEvents.Event>newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) .setFullMethodName(generateFullMethodName( "protos.Events", "Chat")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.hyperledger.fabric.protos.peer.PeerEvents.SignedEvent.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( org.hyperledger.fabric.protos.peer.PeerEvents.Event.getDefaultInstance())) .setSchemaDescriptor(new EventsMethodDescriptorSupplier("Chat")) .build(); } } } return getChatMethod; }
public org.hyperledger.fabric.protos.peer.PeerEvents.SignedEvent getDefaultInstanceForType() { return org.hyperledger.fabric.protos.peer.PeerEvents.SignedEvent.getDefaultInstance(); }
/** * <pre> * Marshal of Event object * </pre> * * <code>optional bytes eventBytes = 2;</code> */ public Builder clearEventBytes() { eventBytes_ = getDefaultInstance().getEventBytes(); onChanged(); return this; } public final Builder setUnknownFields(
public Builder mergeFrom(org.hyperledger.fabric.protos.peer.PeerEvents.SignedEvent other) { if (other == org.hyperledger.fabric.protos.peer.PeerEvents.SignedEvent.getDefaultInstance()) return this; if (other.getSignature() != com.google.protobuf.ByteString.EMPTY) { setSignature(other.getSignature()); } if (other.getEventBytes() != com.google.protobuf.ByteString.EMPTY) { setEventBytes(other.getEventBytes()); } onChanged(); return this; }
/** * <pre> * Signature over the event bytes * </pre> * * <code>optional bytes signature = 1;</code> */ public Builder clearSignature() { signature_ = getDefaultInstance().getSignature(); onChanged(); return this; }