@io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "ReceivePackets",
      requestType = com.google.cloud.visionai.v1.ReceivePacketsRequest.class,
      responseType = com.google.cloud.visionai.v1.ReceivePacketsResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING)
  public static io.grpc.MethodDescriptor<
          com.google.cloud.visionai.v1.ReceivePacketsRequest,
          com.google.cloud.visionai.v1.ReceivePacketsResponse>
      getReceivePacketsMethod() {
    io.grpc.MethodDescriptor<
            com.google.cloud.visionai.v1.ReceivePacketsRequest,
            com.google.cloud.visionai.v1.ReceivePacketsResponse>
        getReceivePacketsMethod;
    if ((getReceivePacketsMethod = StreamingServiceGrpc.getReceivePacketsMethod) == null) {
      synchronized (StreamingServiceGrpc.class) {
        if ((getReceivePacketsMethod = StreamingServiceGrpc.getReceivePacketsMethod) == null) {
          StreamingServiceGrpc.getReceivePacketsMethod =
              getReceivePacketsMethod =
                  io.grpc.MethodDescriptor
                      .<com.google.cloud.visionai.v1.ReceivePacketsRequest,
                          com.google.cloud.visionai.v1.ReceivePacketsResponse>
                          newBuilder()
                      .setType(io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING)
                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ReceivePackets"))
                      .setSampledToLocalTracing(true)
                      .setRequestMarshaller(
                          io.grpc.protobuf.ProtoUtils.marshaller(
                              com.google.cloud.visionai.v1.ReceivePacketsRequest
                                  .getDefaultInstance()))
                      .setResponseMarshaller(
                          io.grpc.protobuf.ProtoUtils.marshaller(
                              com.google.cloud.visionai.v1.ReceivePacketsResponse
                                  .getDefaultInstance()))
                      .setSchemaDescriptor(
                          new StreamingServiceMethodDescriptorSupplier("ReceivePackets"))
                      .build();
        }
      }
    }
    return getReceivePacketsMethod;
  }
<pre>
Streaming service for receiving and sending packets.
</pre>
java-visionai/grpc-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/StreamingServiceGrpc.java